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
{{ message }}
Repository navigation
Commit 2135f0a
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -2980,7 +2980,7 @@ components:
2980
2980
id: 'auto-beta-router'
2981
2981
properties:
2982
2982
allowed_models:
2983
-
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.'
2983
+
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.'
2984
2984
example:
2985
2985
- 'anthropic/*'
2986
2986
- 'openai/gpt-4o'
@@ -2990,13 +2990,13 @@ components:
2990
2990
type: 'array'
2991
2991
cost_quality_tradeoff:
2992
2992
deprecated: true
2993
-
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.'
2993
+
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.'
2994
2994
example: 9
2995
2995
maximum: 10
2996
2996
minimum: 0
2997
2997
type: 'integer'
2998
2998
cost_tier:
2999
-
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.'
2999
+
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.'
3000
3000
enum:
3001
3001
- 'low'
3002
3002
- 'medium'
@@ -3029,15 +3029,15 @@ components:
3029
3029
allowed_models:
3030
3030
- 'anthropic/*'
3031
3031
- 'openai/*'
3032
-
cost_tier: 'medium'
3032
+
cost_tier: 'low'
3033
3033
enabled: true
3034
3034
excluded_models:
3035
3035
- 'openai/gpt-4o'
3036
3036
id: 'auto-router'
3037
3037
pin_model: false
3038
3038
properties:
3039
3039
allowed_models:
3040
-
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.'
3040
+
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.'
3041
3041
example:
3042
3042
- 'anthropic/*'
3043
3043
- 'openai/gpt-4o'
@@ -3047,20 +3047,20 @@ components:
3047
3047
type: 'array'
3048
3048
cost_quality_tradeoff:
3049
3049
deprecated: true
3050
-
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.'
3051
-
example: 7
3050
+
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.'
3051
+
example: 9
3052
3052
maximum: 10
3053
3053
minimum: 0
3054
3054
type: 'integer'
3055
3055
cost_tier:
3056
-
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.'
3056
+
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.'
0 commit comments