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 0129319
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .speakeasy/out.openapi.yaml
+28-4Lines changed: 28 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2871,7 +2871,7 @@ components:
2871
2871
allowed_models:
2872
2872
- 'anthropic/*'
2873
2873
- 'openai/gpt-4o'
2874
-
cost_quality_tradeoff: 9
2874
+
cost_tier: 'low'
2875
2875
enabled: true
2876
2876
id: 'auto-beta-router'
2877
2877
properties:
@@ -2885,11 +2885,23 @@ components:
2885
2885
type: 'string'
2886
2886
type: 'array'
2887
2887
cost_quality_tradeoff:
2888
-
description: '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.'
2888
+
deprecated: true
2889
+
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.'
2889
2890
example: 9
2890
2891
maximum: 10
2891
2892
minimum: 0
2892
2893
type: 'integer'
2894
+
cost_tier:
2895
+
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.'
2896
+
enum:
2897
+
- 'low'
2898
+
- 'medium'
2899
+
- 'high'
2900
+
- 'xhigh'
2901
+
- 'max'
2902
+
example: 'low'
2903
+
type: 'string'
2904
+
x-speakeasy-unknown-values: allow
2893
2905
enabled:
2894
2906
description: 'Set to false to disable the auto-beta-router plugin for this request. Defaults to true.'
2895
2907
type: 'boolean'
@@ -2905,7 +2917,7 @@ components:
2905
2917
allowed_models:
2906
2918
- 'anthropic/*'
2907
2919
- 'openai/gpt-4o'
2908
-
cost_quality_tradeoff: 7
2920
+
cost_tier: 'medium'
2909
2921
enabled: true
2910
2922
id: 'auto-router'
2911
2923
pin_model: false
@@ -2920,11 +2932,23 @@ components:
2920
2932
type: 'string'
2921
2933
type: 'array'
2922
2934
cost_quality_tradeoff:
2923
-
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.'
2935
+
deprecated: true
2936
+
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.'
2924
2937
example: 7
2925
2938
maximum: 10
2926
2939
minimum: 0
2927
2940
type: 'integer'
2941
+
cost_tier:
2942
+
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.'
2943
+
enum:
2944
+
- 'low'
2945
+
- 'medium'
2946
+
- 'high'
2947
+
- 'xhigh'
2948
+
- 'max'
2949
+
example: 'medium'
2950
+
type: 'string'
2951
+
x-speakeasy-unknown-values: allow
2928
2952
enabled:
2929
2953
description: 'Set to false to disable the auto-router plugin for this request. Defaults to true.'
0 commit comments