From 67bd50597aebe88ceaa29e20191ef9f88e15015b Mon Sep 17 00:00:00 2001 From: robert-j-y <212159665+robert-j-y@users.noreply.github.com> Date: Tue, 26 May 2026 06:46:07 -0700 Subject: [PATCH] chore: update OpenAPI spec from monorepo (#272) Co-authored-by: OpenRouter SDK Bot --- .speakeasy/in.openapi.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index c84681f..bbee54a 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -2266,6 +2266,7 @@ components: allowed_models: - anthropic/* - openai/gpt-4o + cost_quality_tradeoff: 7 enabled: true id: auto-router properties: @@ -2280,6 +2281,15 @@ components: items: type: string type: array + cost_quality_tradeoff: + description: >- + Controls cost vs. quality routing tradeoff (0–10). 0 = pure quality (best model regardless of cost), 10 = + maximize for cost (cheapest model wins). Intermediate values blend quality and cost signals continuously. + Defaults to 7. + example: 7 + maximum: 10 + minimum: 0 + type: integer enabled: description: Set to false to disable the auto-router plugin for this request. Defaults to true. type: boolean