You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .speakeasy/in.openapi.yaml
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2936,7 +2936,7 @@ components:
2936
2936
id: 'auto-beta-router'
2937
2937
properties:
2938
2938
allowed_models:
2939
-
description: 'List of model patterns to filter which models the auto-beta-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, uses the default supported models list.'
2939
+
description: 'List of model patterns to filter which models the auto-beta-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, every model ranked for the classified task type is a candidate, falling back to a default model set when rankings are unavailable.'
2940
2940
example:
2941
2941
- 'anthropic/*'
2942
2942
- 'openai/gpt-4o'
@@ -2946,13 +2946,13 @@ components:
2946
2946
type: 'array'
2947
2947
cost_quality_tradeoff:
2948
2948
deprecated: true
2949
-
description: 'Deprecated: Use cost_tier instead. Balances routing between cost and quality on a 0-10 scale. The auto-beta-router ranks models for the classified task type by community spend share, then filters candidates by their average cost per generation for that task. Higher values favor cheaper models: 10 keeps only models around the cheapest 10th percentile, while 0 permits models up to the 90th percentile for cost. Defaults to 9. Numeric cost_quality_tradeoff remains supported, retains ceiling behavior, and takes precedence over cost_tier when both are provided.'
2949
+
description: 'Deprecated: Use cost_tier instead. Balances routing between cost and quality on a 0-10 scale. The auto-beta-router ranks models for the classified task type by community spend share, then filters candidates by their average cost per generation for that task. Higher values favor cheaper models: 10 keeps only models around the cheapest 10th percentile, while 0 permits models up to the 90th percentile for cost. Defaults to 9 when no cost setting is provided. It remains supported and retains ceiling behavior, but cost_tier takes precedence when both are provided.'
2950
2950
example: 9
2951
2951
maximum: 10
2952
2952
minimum: 0
2953
2953
type: 'integer'
2954
2954
cost_tier:
2955
-
description: 'Named cost/quality setting. For auto-beta-router, tiers select cost-percentile bands: low = [0, 20), medium = [20, 40), high = [40, 60), xhigh = [60, 80), and max = [80, 100]. Numeric cost_quality_tradeoff takes precedence and retains ceiling behavior.'
2955
+
description: 'Named cost/quality setting. For auto-beta-router, tiers select cost-percentile bands: low = [0, 20), medium = [20, 40), high = [40, 60), xhigh = [60, 80), and max = [80, 100]. Takes precedence over the deprecated numeric cost_quality_tradeoff when both are provided.'
2956
2956
enum:
2957
2957
- 'low'
2958
2958
- 'medium'
@@ -2984,15 +2984,15 @@ components:
2984
2984
allowed_models:
2985
2985
- 'anthropic/*'
2986
2986
- 'openai/*'
2987
-
cost_tier: 'medium'
2987
+
cost_tier: 'low'
2988
2988
enabled: true
2989
2989
excluded_models:
2990
2990
- 'openai/gpt-4o'
2991
2991
id: 'auto-router'
2992
2992
pin_model: false
2993
2993
properties:
2994
2994
allowed_models:
2995
-
description: 'List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, uses the default supported models list.'
2995
+
description: 'List of model patterns to filter which models the auto-router can route between. Supports wildcards (e.g., "anthropic/*" matches all Anthropic models). When not specified, every model ranked for the classified task type is a candidate, falling back to a default model set when rankings are unavailable.'
2996
2996
example:
2997
2997
- 'anthropic/*'
2998
2998
- 'openai/gpt-4o'
@@ -3002,20 +3002,20 @@ components:
3002
3002
type: 'array'
3003
3003
cost_quality_tradeoff:
3004
3004
deprecated: true
3005
-
description: 'Deprecated: Use cost_tier instead. 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. Numeric cost_quality_tradeoff remains supported and takes precedence over cost_tier when both are provided.'
3006
-
example: 7
3005
+
description: 'Deprecated: Use cost_tier instead. Balances routing between cost and quality on a 0-10 scale. The auto-router ranks models for the classified task type by community spend share, then filters candidates by their average cost per generation for that task. Higher values favor cheaper models: 10 keeps only models around the cheapest 10th percentile, while 0 permits models up to the 90th percentile for cost. Defaults to 9 when no cost setting is provided. It remains supported and retains ceiling behavior, but cost_tier takes precedence when both are provided.'
3006
+
example: 9
3007
3007
maximum: 10
3008
3008
minimum: 0
3009
3009
type: 'integer'
3010
3010
cost_tier:
3011
-
description: 'Shorthand for cost_quality_tradeoff. Higher tiers spend more on better models: low = 9, medium = 7, high = 5, xhigh = 3, and max = 1. Numeric cost_quality_tradeoff takes precedence when both are provided.'
3011
+
description: 'Named cost/quality setting. Tiers select cost-percentile bands: low = [0, 20), medium = [20, 40), high = [40, 60), xhigh = [60, 80), and max = [80, 100]. Takes precedence over the deprecated numeric cost_quality_tradeoff when both are provided.'
3012
3012
enum:
3013
3013
- 'low'
3014
3014
- 'medium'
3015
3015
- 'high'
3016
3016
- 'xhigh'
3017
3017
- 'max'
3018
-
example: 'medium'
3018
+
example: 'low'
3019
3019
type: 'string'
3020
3020
enabled:
3021
3021
description: 'Set to false to disable the auto-router plugin for this request. Defaults to true.'
0 commit comments