Skip to main content
The TypeScript SDK and docs are currently in beta. Report issues on GitHub.

Example Usage

import { ParetoRouterPlugin } from "@openrouter/sdk/models";

let value: ParetoRouterPlugin = {
  id: "pareto-router",
};

Fields

FieldTypeRequiredDescriptionExample
enabledboolean:heavy_minus_sign:Set to false to disable the pareto-router plugin for this request. Defaults to true.
id”pareto-router”:heavy_check_mark:N/A
minCodingScorenumber:heavy_minus_sign: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.0.8