Skip to content

Commit 67bd505

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#272)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 859e89d commit 67bd505

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2266,6 +2266,7 @@ components:
22662266
allowed_models:
22672267
- anthropic/*
22682268
- openai/gpt-4o
2269+
cost_quality_tradeoff: 7
22692270
enabled: true
22702271
id: auto-router
22712272
properties:
@@ -2280,6 +2281,15 @@ components:
22802281
items:
22812282
type: string
22822283
type: array
2284+
cost_quality_tradeoff:
2285+
description: >-
2286+
Controls cost vs. quality routing tradeoff (0–10). 0 = pure quality (best model regardless of cost), 10 =
2287+
maximize for cost (cheapest model wins). Intermediate values blend quality and cost signals continuously.
2288+
Defaults to 7.
2289+
example: 7
2290+
maximum: 10
2291+
minimum: 0
2292+
type: integer
22832293
enabled:
22842294
description: Set to false to disable the auto-router plugin for this request. Defaults to true.
22852295
type: boolean

0 commit comments

Comments
 (0)