Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/proxy/schema/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ export const AvailableEndpointTypes: { [name: string]: ModelEndpointType[] } = {
"databricks-meta-llama-3-1-405b-instruct": ["databricks"],
"databricks-meta-llama-3-1-8b-instruct": ["databricks"],
"openai/gpt-oss-120b": ["groq", "together", "baseten"],
"openai/gpt-oss-20b": ["groq"], // NOTE: We use groq pricing for this and Together pricing for the 120B model
"openai/gpt-oss-20b": ["groq", "together"],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep GPT-OSS 20B pricing/provider pin in sync

This makes openai/gpt-oss-20b routable through Groq while the same commit changes the catalog price to Together's lower $0.05/$0.20 rate; Groq's current public price for GPT OSS 20B is still $0.075/$0.30 (Groq, Together). The proxy chooses among returned provider secrets starting at a random index (packages/proxy/src/proxy.ts:1422-1439), and the billing callback sends only model/token counts, not the chosen provider (packages/proxy/src/proxy.ts:1235-1246), so any request that lands on a Groq secret for this model will be costed from the Together-priced catalog entry. Keep this id pinned to one priced provider, or keep Groq pricing while Groq remains routable.

Useful? React with 👍 / 👎.

"o4-mini-deep-research-2025-06-26": ["openai", "azure"],
"o4-mini-deep-research": ["openai", "azure"],
"o3-deep-research-2025-06-26": ["openai", "azure"],
Expand Down
4 changes: 2 additions & 2 deletions packages/proxy/schema/model_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -5934,8 +5934,8 @@
"openai/gpt-oss-20b": {
"format": "openai",
"flavor": "chat",
"input_cost_per_mil_tokens": 0.075,
"output_cost_per_mil_tokens": 0.3,
"input_cost_per_mil_tokens": 0.05,
"output_cost_per_mil_tokens": 0.2,
"input_cache_read_cost_per_mil_tokens": 0.0375,
"displayName": "OpenAI GPT-OSS (20B)",
"reasoning": true,
Expand Down