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