For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
The TypeScript SDK and docs are currently in beta.
Report issues on GitHub.
Example Usage
1
import { ParetoRouterPlugin } from "@openrouter/sdk/models";
2
3
let value: ParetoRouterPlugin = {
4
id: "pareto-router",
5
};
Fields
Field
Type
Required
Description
Example
enabled
boolean
➖
Set to false to disable the pareto-router plugin for this request. Defaults to true.
id
”pareto-router”
✔️
N/A
minCodingScore
number
➖
Minimum desired coding score between 0 and 1, where 1 is best. Higher values select from stronger coding models (sourced from Artificial Analysis coding percentiles). Maps internally to one of three tiers (low, medium, high). Omit to use the router default tier.