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
17 changes: 16 additions & 1 deletion packages/proxy/schema/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ export const AvailableEndpointTypes: { [name: string]: ModelEndpointType[] } = {
"databricks-gpt-oss-20b": ["databricks"],
"databricks-qwen35-122b-a10b": ["databricks"],
"databricks-qwen3-next-80b-a3b-instruct": ["databricks"],
"thinkingmachines/inkling": ["baseten"],
"thinkingmachines/inkling": ["baseten", "together"],
"databricks-claude-opus-4-8": ["databricks"],
"databricks-gpt-oss-120b": ["databricks"],
"databricks-llama-4-maverick": ["databricks"],
Expand Down Expand Up @@ -1075,6 +1075,21 @@ export const AvailableEndpointTypes: { [name: string]: ModelEndpointType[] } = {
"google.gemma-4-26b-a4b": ["bedrock"],
"google.gemma-4-e2b": ["bedrock"],
"accounts/fireworks/models/nemotron-3-ultra-nvfp4": ["fireworks"],
"gpt-realtime-2.1": ["openai", "azure"],
"gpt-realtime-2.1-mini": ["openai", "azure"],
"gpt-4o": ["openai", "azure"],
o1: ["openai", "azure"],
"o3-mini": ["openai", "azure"],
"o4-mini": ["openai", "azure"],
"gpt-4-turbo": ["openai", "azure"],
"gpt-4.1-nano": ["openai", "azure"],
"publishers/mistralai/models/mistral-medium-3": ["vertex"],
"publishers/mistralai/models/mistral-small-2503": ["vertex"],
"publishers/mistralai/models/codestral-2": ["vertex"],
"publishers/openai/models/gpt-oss-120b-maas": ["vertex"],
"publishers/openai/models/gpt-oss-20b-maas": ["vertex"],
"publishers/xai/models/grok-4.3": ["vertex"],
"publishers/xai/models/grok-4.20-non-reasoning": ["vertex"],
Comment on lines +1089 to +1092

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Route OpenAI/xAI Vertex MaaS through OpenAPI

When these new OpenAI/xAI Vertex models are selected, packages/proxy/src/proxy.ts:2202-2225 only sends publishers/meta and publishers/qwen through the OpenAI-compatible /endpoints/openapi/chat/completions path; these entries therefore fall into the rawPredict branch. Google/xAI docs for Grok use the OpenAI-compatible endpoint and xai/... model IDs, and Google's gpt-oss MaaS examples likewise use the OpenAI-compatible API with openai/... IDs, so these newly advertised Vertex options will return not-found/unsupported until the routing and model-id rewrite are extended. Sources: https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/partner-models/grok/capabilities/function-calling, https://discuss.google.dev/t/now-ga-openais-gpt-oss-qwen3-models-on-vertex-ai-as-open-model-apis/253945

Useful? React with 👍 / 👎.

};

const modelEndpointAvailableModels = getAvailableModels();
Expand Down
151 changes: 148 additions & 3 deletions packages/proxy/schema/model_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -740,6 +740,7 @@
"output_cost_per_mil_tokens": 0.4,
"input_cache_read_cost_per_mil_tokens": 0.025,
"displayName": "GPT-4.1 nano",
"deprecation_date": "2026-10-23",
"max_input_tokens": 1047576,
"max_output_tokens": 32768,
"available_providers": [
Expand Down Expand Up @@ -815,6 +816,7 @@
"input_cost_per_mil_tokens": 10,
"output_cost_per_mil_tokens": 30,
"displayName": "GPT-4 Turbo",
"deprecation_date": "2026-10-23",
"max_input_tokens": 128000,
"max_output_tokens": 4096,
"available_providers": [
Expand All @@ -830,6 +832,7 @@
"output_cost_per_mil_tokens": 10,
"input_cache_read_cost_per_mil_tokens": 1.25,
"displayName": "GPT-4o",
"deprecation_date": "2026-10-23",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"available_providers": [
Expand Down Expand Up @@ -1346,6 +1349,7 @@
"input_cache_read_cost_per_mil_tokens": 0.275,
"displayName": "o4-mini",
"reasoning": true,
"deprecation_date": "2026-10-23",
"max_input_tokens": 200000,
"max_output_tokens": 100000,
"available_providers": [
Expand Down Expand Up @@ -1443,6 +1447,7 @@
"input_cache_read_cost_per_mil_tokens": 0.55,
"displayName": "o3 mini",
"reasoning": true,
"deprecation_date": "2026-10-23",
"max_input_tokens": 200000,
"max_output_tokens": 100000,
"available_providers": [
Expand Down Expand Up @@ -1542,6 +1547,7 @@
"input_cache_read_cost_per_mil_tokens": 7.5,
"displayName": "o1",
"reasoning": true,
"deprecation_date": "2026-10-23",
"max_input_tokens": 200000,
"max_output_tokens": 100000,
"available_providers": [
Expand Down Expand Up @@ -5888,6 +5894,34 @@
"cerebras"
]
},
"gpt-realtime-2.1": {
"format": "openai",
"flavor": "chat",
"input_cost_per_mil_tokens": 4,
"output_cost_per_mil_tokens": 24,
"input_cache_read_cost_per_mil_tokens": 0.4,
"displayName": "GPT Realtime 2.1",
"max_input_tokens": 128000,
"max_output_tokens": 32000,
"available_providers": [
"openai",
"azure"
]
},
"gpt-realtime-2.1-mini": {
"format": "openai",
"flavor": "chat",
"input_cost_per_mil_tokens": 0.6,
"output_cost_per_mil_tokens": 2.4,
"input_cache_read_cost_per_mil_tokens": 0.06,
"displayName": "GPT Realtime 2.1 mini",
"max_input_tokens": 128000,
"max_output_tokens": 32000,
"available_providers": [
"openai",
"azure"
]
},
"zai-glm-4.7": {
"format": "openai",
"flavor": "chat",
Expand Down Expand Up @@ -7439,6 +7473,116 @@
"max_input_tokens": 262144,
"max_output_tokens": 16384
},
"publishers/mistralai/models/mistral-medium-3": {
"format": "openai",
"flavor": "chat",
"input_cost_per_mil_tokens": 0.4,
"output_cost_per_mil_tokens": 2,
"displayName": "Mistral Medium 3 (Vertex)",
"locations": [
"europe-west4",
"us-central1"
],
"max_input_tokens": 131072,
"available_providers": [
"vertex"
]
},
"publishers/mistralai/models/mistral-small-2503": {
"format": "openai",
"flavor": "chat",
"input_cost_per_mil_tokens": 0.1,
"output_cost_per_mil_tokens": 0.3,
"displayName": "Mistral Small 3.1 (Vertex)",
"locations": [
"europe-west4",
"us-central1"
],
"max_input_tokens": 131072,
"available_providers": [
"vertex"
]
},
"publishers/mistralai/models/codestral-2": {
"format": "openai",
"flavor": "chat",
"input_cost_per_mil_tokens": 0.3,
"output_cost_per_mil_tokens": 0.9,
"displayName": "Codestral 2 (Vertex)",
"locations": [
"europe-west4",
"us-central1"
],
"max_input_tokens": 262144,
"available_providers": [
"vertex"
]
},
"publishers/openai/models/gpt-oss-120b-maas": {
"format": "openai",
"flavor": "chat",
"input_cost_per_mil_tokens": 0.15,
"output_cost_per_mil_tokens": 0.6,
"displayName": "GPT-OSS 120B (Vertex)",
"reasoning": true,
"locations": [
"us-central1"
],
"max_input_tokens": 131072,
"max_output_tokens": 32768,
"available_providers": [
"vertex"
]
},
"publishers/openai/models/gpt-oss-20b-maas": {
"format": "openai",
"flavor": "chat",
"input_cost_per_mil_tokens": 0.075,
"output_cost_per_mil_tokens": 0.3,
"displayName": "GPT-OSS 20B (Vertex)",
"reasoning": true,
"locations": [
"us-central1"
],
"max_input_tokens": 131072,
"max_output_tokens": 32768,
"available_providers": [
"vertex"
]
},
"publishers/xai/models/grok-4.3": {
"format": "openai",
"flavor": "chat",
"multimodal": true,
"input_cost_per_mil_tokens": 1.25,
"output_cost_per_mil_tokens": 2.5,
"input_cache_read_cost_per_mil_tokens": 0.2,
"displayName": "Grok 4.3 (Vertex)",
"reasoning": true,
"locations": [
"global"
],
"max_input_tokens": 1000000,
"max_output_tokens": 1000000,
"available_providers": [
"vertex"
]
},
"publishers/xai/models/grok-4.20-non-reasoning": {
"format": "openai",
"flavor": "chat",
"multimodal": true,
"input_cost_per_mil_tokens": 1.25,
"output_cost_per_mil_tokens": 2.5,
"displayName": "Grok 4.20 Non-Reasoning (Vertex)",
"locations": [
"global"
],
"max_input_tokens": 1000000,
"available_providers": [
"vertex"
]
},
"text-davinci-003": {
"format": "openai",
"flavor": "completion",
Expand Down Expand Up @@ -11619,7 +11763,7 @@
"multimodal": true,
"input_cost_per_mil_tokens": 2,
"output_cost_per_mil_tokens": 6,
"input_cache_read_cost_per_mil_tokens": 0.5,
"input_cache_read_cost_per_mil_tokens": 0.3,
"displayName": "Grok 4.5",
"reasoning": true,
"max_input_tokens": 500000,
Expand All @@ -11634,7 +11778,7 @@
"multimodal": true,
"input_cost_per_mil_tokens": 2,
"output_cost_per_mil_tokens": 6,
"input_cache_read_cost_per_mil_tokens": 0.5,
"input_cache_read_cost_per_mil_tokens": 0.3,
"displayName": "Grok 4.5 (Latest)",
"reasoning": true,
"parent": "grok-4.5",
Expand Down Expand Up @@ -12395,7 +12539,8 @@
"reasoning": true,
"max_input_tokens": 1048576,
"available_providers": [
"baseten"
"baseten",
"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 Use Together's exact Inkling model id

For Together requests the proxy forwards bodyData.model unchanged to the OpenAI-compatible endpoint, and a repo-wide search only finds this lowercase thinkingmachines/inkling catalog key. Together's serverless catalog lists the API model string as thinkingmachines/Inkling, so enabling Together on the lowercase Baseten id advertises a model name that Together users are likely to have rejected; add a correct-case Together entry or a provider-specific translation instead. Source: https://docs.together.ai/docs/serverless/models

Useful? React with 👍 / 👎.

]
}
}