@ai-sdk/gateway 4.0.111 → 4.0.113
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @ai-sdk/gateway
|
|
2
2
|
|
|
3
|
+
## 4.0.113
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 42a2895: chore(provider/gateway): update gateway model settings files
|
|
8
|
+
|
|
9
|
+
## 4.0.112
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 685667c: chore(provider/gateway): update gateway model settings files
|
|
14
|
+
- bdbeba3: feat(google): add `gemini-4-argon` model id and long decode support for `generateContent`: requests that reach the per-request cap (`CONTINUATION`) are continued automatically with usage summed across requests and the first request's prompt token count exposed as `providerMetadata.google.initialPromptTokenCount`, and the `continuationToken` provider option / provider metadata resume responses that used up their `maxOutputTokens` budget. `generateText` with the Interactions API now polls `background: true` model calls until they finish.
|
|
15
|
+
- ec2af7b: chore(provider/gateway): update gateway model settings files
|
|
16
|
+
|
|
3
17
|
## 4.0.111
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FetchFunction, InferSchema, WebSocketConstructor } from "@ai-sdk/provider-utils";
|
|
2
2
|
import { APICallError, EmbeddingModelV4, Experimental_BatchV4, Experimental_DecisionModelV4, Experimental_RealtimeFactoryV4, Experimental_VideoModelV4, ImageModelV4, JSONValue, LanguageModelV4, ProviderV4, RerankingModelV4, SpeechModelV4, TranscriptionModelV4, TypeValidationError } from "@ai-sdk/provider";
|
|
3
3
|
//#region src/gateway-decision-model-settings.d.ts
|
|
4
|
-
type GatewayDecisionModelId = 'convaiinnovations/laya' | 'convaiinnovations/laya-free' | 'liquid/d1' | 'openai/gpt-6-luna-decisions' | 'typesafe-ai/jev' | (string & {});
|
|
4
|
+
type GatewayDecisionModelId = 'convaiinnovations/laya' | 'convaiinnovations/laya-free' | 'liquid/d1' | 'microsoft/microsoft-decision-1' | 'openai/gpt-6-luna-decisions' | 'scaledown/scaledown-classify-1' | 'typesafe-ai/jev' | (string & {});
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/gateway-provider-options.d.ts
|
|
7
7
|
/**
|
|
@@ -103,7 +103,7 @@ type GatewayEmbeddingModelId = 'alibaba/qwen3-embedding-0.6b' | 'alibaba/qwen3-e
|
|
|
103
103
|
type GatewayImageModelId = 'bfl/flux-2-flex' | 'bfl/flux-2-klein-4b' | 'bfl/flux-2-klein-9b' | 'bfl/flux-2-max' | 'bfl/flux-2-pro' | 'bfl/flux-3-image' | 'bfl/flux-kontext-max' | 'bfl/flux-kontext-pro' | 'bfl/flux-pro-1.0-fill' | 'bfl/flux-pro-1.1' | 'bfl/flux-pro-1.1-ultra' | 'bytedance/seedream-4.0' | 'bytedance/seedream-4.5' | 'bytedance/seedream-5.0-lite' | 'bytedance/seedream-5.0-pro' | 'meta/muse-image-1.0' | 'openai/gpt-image-1' | 'openai/gpt-image-1-mini' | 'openai/gpt-image-1.5' | 'openai/gpt-image-2' | 'openai/gpt-image-2.5-flare' | 'openai/gpt-image-2.5-sunburst' | 'prodia/flux-fast-schnell' | 'quiverai/arrow-1.1' | 'recraft/recraft-v2' | 'recraft/recraft-v3' | 'recraft/recraft-v4' | 'recraft/recraft-v4-pro' | 'recraft/recraft-v4.1' | 'recraft/recraft-v4.1-flash' | 'recraft/recraft-v4.1-pro' | 'recraft/recraft-v4.1-utility' | 'recraft/recraft-v4.1-utility-pro' | 'spacexai/grok-imagine-image' | 'spacexai/grok-imagine-image-2.0' | 'topaz/wonder-3.5' | (string & {});
|
|
104
104
|
//#endregion
|
|
105
105
|
//#region src/gateway-language-model-settings.d.ts
|
|
106
|
-
type GatewayModelId = 'alibaba/qwen-3-14b' | 'alibaba/qwen-3-235b' | 'alibaba/qwen-3-30b' | 'alibaba/qwen-3-32b' | 'alibaba/
|
|
106
|
+
type GatewayModelId = 'alibaba/qwen-3-14b' | 'alibaba/qwen-3-235b' | 'alibaba/qwen-3-30b' | 'alibaba/qwen-3-32b' | 'alibaba/qwen3-coder' | 'alibaba/qwen3-coder-30b-a3b' | 'alibaba/qwen3-coder-next' | 'alibaba/qwen3-max-thinking' | 'alibaba/qwen3-next-80b-a3b-instruct' | 'alibaba/qwen3-next-80b-a3b-thinking' | 'alibaba/qwen3-vl-instruct' | 'alibaba/qwen3.5-flash' | 'alibaba/qwen3.5-plus' | 'alibaba/qwen3.6-27b' | 'alibaba/qwen3.6-plus' | 'alibaba/qwen3.7-flash' | 'alibaba/qwen3.7-max' | 'alibaba/qwen3.7-plus' | 'alibaba/qwen3.8-2.4t-a95b' | 'alibaba/qwen3.8-27b' | 'alibaba/qwen3.8-flash' | 'alibaba/qwen3.8-max' | 'alibaba/qwen3.8-max-0902' | 'alibaba/qwen3.8-max-prime' | 'alibaba/qwen3.8-omni-flash' | 'amazon/nova-2-lite' | 'amazon/nova-lite' | 'amazon/nova-micro' | 'amazon/nova-pro' | 'anthropic/claude-fable-5' | 'anthropic/claude-fable-5-batch' | 'anthropic/claude-fable-5.1' | 'anthropic/claude-fable-5.1-batch' | 'anthropic/claude-haiku-4.5' | 'anthropic/claude-haiku-4.5-batch' | 'anthropic/claude-haiku-5.5' | 'anthropic/claude-haiku-5.5-batch' | 'anthropic/claude-opus-4.5' | 'anthropic/claude-opus-4.5-batch' | 'anthropic/claude-opus-4.6' | 'anthropic/claude-opus-4.6-batch' | 'anthropic/claude-opus-4.7' | 'anthropic/claude-opus-4.7-batch' | 'anthropic/claude-opus-4.8' | 'anthropic/claude-opus-4.8-batch' | 'anthropic/claude-opus-4.8-fast' | 'anthropic/claude-opus-5' | 'anthropic/claude-opus-5-batch' | 'anthropic/claude-opus-5-fast' | 'anthropic/claude-opus-5.5' | 'anthropic/claude-opus-5.5-batch' | 'anthropic/claude-opus-5.5-fast' | 'anthropic/claude-sonnet-4' | 'anthropic/claude-sonnet-4.5' | 'anthropic/claude-sonnet-4.5-batch' | 'anthropic/claude-sonnet-4.6' | 'anthropic/claude-sonnet-4.6-batch' | 'anthropic/claude-sonnet-5' | 'anthropic/claude-sonnet-5-batch' | 'anthropic/claude-sonnet-5.5' | 'anthropic/claude-sonnet-5.5-batch' | 'arcee-ai/trinity-large-thinking' | 'bytedance/seed-1.6' | 'bytedance/seed-1.8' | 'bytedance/seed-2.1-turbo' | 'callstack/apex' | 'cohere/command-a' | 'deepseek/deepseek-r1' | 'deepseek/deepseek-v3.1' | 'deepseek/deepseek-v3.2' | 'deepseek/deepseek-v3.2-thinking' | 'deepseek/deepseek-v4-flash' | 'deepseek/deepseek-v4-flash-0731' | 'deepseek/deepseek-v4-flash-vision-exp' | 'deepseek/deepseek-v4-pro' | 'deepseek/deepseek-v4-pro-0813' | 'deepseek/deepseek-v4.1-flash' | 'deepseek/deepseek-v4.1-flash-fast' | 'fireworks/ember-1' | 'google/gemini-2.5-flash' | 'google/gemini-2.5-flash-batch' | 'google/gemini-2.5-flash-image' | 'google/gemini-2.5-flash-lite' | 'google/gemini-2.5-flash-lite-batch' | 'google/gemini-2.5-pro' | 'google/gemini-2.5-pro-batch' | 'google/gemini-3-flash' | 'google/gemini-3-flash-batch' | 'google/gemini-3-pro-image' | 'google/gemini-3.1-flash-image' | 'google/gemini-3.1-flash-image-preview' | 'google/gemini-3.1-flash-lite' | 'google/gemini-3.1-flash-lite-batch' | 'google/gemini-3.1-flash-lite-image' | 'google/gemini-3.1-pro-preview' | 'google/gemini-3.1-pro-preview-batch' | 'google/gemini-3.5-flash' | 'google/gemini-3.5-flash-batch' | 'google/gemini-3.5-flash-lite' | 'google/gemini-3.5-flash-lite-batch' | 'google/gemini-3.6-flash' | 'google/gemini-3.6-flash-batch' | 'google/gemini-3.7-flash' | 'google/gemini-3.7-flash-batch' | 'google/gemini-3.8-flash' | 'google/gemini-4-argon' | 'google/gemini-nano-banana-2.1' | 'google/gemini-omni-flash-preview' | 'google/gemma-4-26b-a4b-it' | 'google/gemma-4-31b-it' | 'inception/mercury-2' | 'inception/mercury-2.5' | 'inception/mercury-coder-small' | 'inclusionai/ling-3.0-flash' | 'inclusionai/ling-3.0-flash-fin' | 'inclusionai/ling-3.0-flash-sante' | 'inclusionai/ling-3.0-flash-vl' | 'inclusionai/ling-3.1-flash' | 'inclusionai/ling-3.1-flash-free' | 'inference-net/schematron-v2-small' | 'inference-net/schematron-v2-turbo' | 'interfaze/interfaze-beta' | 'meituan/longcat-2.5-preview' | 'meta/llama-3.1-70b' | 'meta/llama-3.1-8b' | 'meta/llama-3.3-70b' | 'meta/llama-4-maverick' | 'meta/llama-4-scout' | 'meta/muse-glimmer-30b' | 'meta/muse-spark-1.1' | 'meta/muse-spark-1.2' | 'meta/muse-spark-1.2-contributor' | 'meta/muse-spark-1.3' | 'meta/muse-spark-1.3-contributor' | 'meta/muse-wonder-1.0' | 'minimax/minimax-m2' | 'minimax/minimax-m2.1' | 'minimax/minimax-m2.1-lightning' | 'minimax/minimax-m2.5' | 'minimax/minimax-m2.5-highspeed' | 'minimax/minimax-m2.7' | 'minimax/minimax-m2.7-highspeed' | 'minimax/minimax-m3' | 'mistral/codestral' | 'mistral/ministral-14b' | 'mistral/ministral-3b' | 'mistral/ministral-8b' | 'mistral/mistral-large-3' | 'mistral/mistral-large-4' | 'mistral/mistral-medium-3.5' | 'mistral/mistral-nemo' | 'mistral/mistral-small' | 'mixedbread/toast-1' | 'moonshotai/kimi-k2' | 'moonshotai/kimi-k2.5' | 'moonshotai/kimi-k2.6' | 'moonshotai/kimi-k2.7-code' | 'moonshotai/kimi-k2.7-code-highspeed' | 'moonshotai/kimi-k3' | 'moonshotai/kimi-k3-fast' | 'morph/morph-v3-fast' | 'morph/morph-v3-large' | 'nvidia/nemotron-3-nano-30b-a3b' | 'nvidia/nemotron-3-super-120b-a12b' | 'nvidia/nemotron-3-ultra-550b-a55b' | 'nvidia/nemotron-3.5-lightning' | 'nvidia/nemotron-nano-12b-v2-vl' | 'nvidia/nemotron-nano-9b-v2' | 'openai/gpt-3.5-turbo' | 'openai/gpt-4-turbo' | 'openai/gpt-4.1' | 'openai/gpt-4.1-batch' | 'openai/gpt-4.1-fast' | 'openai/gpt-4.1-mini' | 'openai/gpt-4.1-mini-batch' | 'openai/gpt-4.1-mini-fast' | 'openai/gpt-4.1-nano' | 'openai/gpt-4.1-nano-batch' | 'openai/gpt-4.1-nano-fast' | 'openai/gpt-4o' | 'openai/gpt-4o-batch' | 'openai/gpt-4o-fast' | 'openai/gpt-4o-mini' | 'openai/gpt-4o-mini-batch' | 'openai/gpt-4o-mini-fast' | 'openai/gpt-5' | 'openai/gpt-5-batch' | 'openai/gpt-5-codex' | 'openai/gpt-5-fast' | 'openai/gpt-5-mini' | 'openai/gpt-5-mini-batch' | 'openai/gpt-5-mini-fast' | 'openai/gpt-5-nano' | 'openai/gpt-5-nano-batch' | 'openai/gpt-5-pro' | 'openai/gpt-5-pro-batch' | 'openai/gpt-5.1-codex' | 'openai/gpt-5.1-codex-max' | 'openai/gpt-5.1-codex-mini' | 'openai/gpt-5.1-thinking' | 'openai/gpt-5.1-thinking-fast' | 'openai/gpt-5.2' | 'openai/gpt-5.2-batch' | 'openai/gpt-5.2-codex' | 'openai/gpt-5.2-fast' | 'openai/gpt-5.2-pro' | 'openai/gpt-5.3-codex' | 'openai/gpt-5.3-codex-fast' | 'openai/gpt-5.4' | 'openai/gpt-5.4-batch' | 'openai/gpt-5.4-fast' | 'openai/gpt-5.4-mini' | 'openai/gpt-5.4-mini-batch' | 'openai/gpt-5.4-mini-fast' | 'openai/gpt-5.4-nano' | 'openai/gpt-5.4-nano-batch' | 'openai/gpt-5.4-pro' | 'openai/gpt-5.5' | 'openai/gpt-5.5-batch' | 'openai/gpt-5.5-fast' | 'openai/gpt-5.5-pro' | 'openai/gpt-5.5-pro-batch' | 'openai/gpt-5.6-luna' | 'openai/gpt-5.6-luna-batch' | 'openai/gpt-5.6-luna-fast' | 'openai/gpt-5.6-sol' | 'openai/gpt-5.6-sol-batch' | 'openai/gpt-5.6-sol-fast' | 'openai/gpt-5.6-terra' | 'openai/gpt-5.6-terra-batch' | 'openai/gpt-5.6-terra-fast' | 'openai/gpt-6-astra' | 'openai/gpt-6-astra-batch' | 'openai/gpt-6-astra-fast' | 'openai/gpt-6-luna' | 'openai/gpt-6-luna-batch' | 'openai/gpt-6-luna-fast' | 'openai/gpt-6-sol' | 'openai/gpt-6-sol-batch' | 'openai/gpt-6-sol-fast' | 'openai/gpt-6.1-sol' | 'openai/gpt-6.1-sol-batch' | 'openai/gpt-6.1-sol-fast' | 'openai/gpt-oss-120b' | 'openai/gpt-oss-20b' | 'openai/gpt-oss-safeguard-120b' | 'openai/gpt-oss-safeguard-20b' | 'openai/o1' | 'openai/o3' | 'openai/o3-fast' | 'openai/o3-mini' | 'openai/o3-pro' | 'openai/o4-mini' | 'openai/o4-mini-fast' | 'perplexity/sonar' | 'poolside/laguna-s-2.1' | 'poolside/laguna-s-2.1-free' | 'quiverai/arrow-2' | 'quiverai/arrow-2-telos' | 'sakana/fugu-max' | 'sakana/fugu-ultra' | 'sakana/fugu-ultra-v2' | 'sakana/namazu' | 'spacexai/grok-4.1-fast-non-reasoning' | 'spacexai/grok-4.1-fast-reasoning' | 'spacexai/grok-4.20-multi-agent' | 'spacexai/grok-4.20-multi-agent-batch' | 'spacexai/grok-4.20-multi-agent-beta' | 'spacexai/grok-4.20-non-reasoning' | 'spacexai/grok-4.20-non-reasoning-batch' | 'spacexai/grok-4.20-non-reasoning-beta' | 'spacexai/grok-4.20-reasoning' | 'spacexai/grok-4.20-reasoning-batch' | 'spacexai/grok-4.20-reasoning-beta' | 'spacexai/grok-4.3' | 'spacexai/grok-4.3-batch' | 'spacexai/grok-4.5' | 'spacexai/grok-4.6' | 'spacexai/grok-4.7' | 'spacexai/grok-build-0.1' | 'stealth/glyph-cluster' | 'stepfun/step-3.7-flash' | 'stepfun/step-5-preview' | 'tencent/hy-mt2-lite' | 'tencent/hy-mt2-plus' | 'tencent/hy-mt2-pro' | 'tencent/hy3' | 'tencent/hy4-preview' | 'thinkingmachines/inkling' | 'thinkingmachines/inkling-small' | 'xiaomi/mimo-v2.5' | 'xiaomi/mimo-v2.5-pro' | 'xiaomi/mimo-v2.6-flash' | 'xiaomi/mimo-v2.6-pro' | 'xiaomi/mimo-v2.6-pro-ultraspeed' | 'zai/glm-4.5' | 'zai/glm-4.5-air' | 'zai/glm-4.5v' | 'zai/glm-4.6' | 'zai/glm-4.7' | 'zai/glm-4.7-flash' | 'zai/glm-4.7-flashx' | 'zai/glm-5' | 'zai/glm-5-turbo' | 'zai/glm-5.1' | 'zai/glm-5.2' | 'zai/glm-5.2-fast' | 'zai/glm-5.3' | 'zai/glm-5.3-fast' | 'zai/glm-5.3-flash' | 'zai/glm-5.3-flashx' | 'zai/glm-5v-turbo' | (string & {});
|
|
107
107
|
//#endregion
|
|
108
108
|
//#region src/gateway-realtime-auth.d.ts
|
|
109
109
|
/**
|
|
@@ -186,7 +186,7 @@ type GatewaySpeechModelId = 'fish-audio/s1' | 'fish-audio/s2-pro' | 'fish-audio/
|
|
|
186
186
|
type GatewayTranscriptionModelId = 'fish-audio/transcribe-1' | 'google/gemini-3.5-transcribe' | 'google/gemini-3.5-transcribe-live' | 'microsoft/mai-transcribe-2' | 'microsoft/mai-transcribe-2-streaming' | 'openai/gpt-4o-mini-transcribe' | 'openai/gpt-4o-transcribe' | 'openai/gpt-realtime-whisper' | 'openai/whisper-1' | 'spacexai/grok-stt' | (string & {});
|
|
187
187
|
//#endregion
|
|
188
188
|
//#region src/gateway-video-model-settings.d.ts
|
|
189
|
-
type GatewayVideoModelId = 'alibaba/wan-v2.5-t2v-preview' | 'alibaba/wan-v2.6-i2v' | 'alibaba/wan-v2.6-i2v-flash' | 'alibaba/wan-v2.6-r2v' | 'alibaba/wan-v2.6-r2v-flash' | 'alibaba/wan-v2.6-t2v' | 'alibaba/wan-v2.7-r2v' | 'alibaba/wan-v2.7-t2v' | 'alibaba/wan-v3.0-video' | 'alibaba/wan-v3.0-video-prime' | 'bfl/flux-3-video' | 'bytedance/seedance-2.0' | 'bytedance/seedance-2.0-fast' | 'bytedance/seedance-2.0-mini' | 'bytedance/seedance-2.5' | 'bytedance/seedance-v1.0-pro' | 'bytedance/seedance-v1.0-pro-fast' | 'bytedance/seedance-v1.5-pro' | 'google/veo-3.0-fast-generate-001' | 'google/veo-3.0-generate-001' | 'google/veo-3.1-fast-generate-001' | 'google/veo-3.1-generate-001' | 'google/veo-3.1-lite-generate-001' | 'klingai/kling-v2.5-turbo-i2v' | 'klingai/kling-v2.5-turbo-t2v' | 'klingai/kling-v2.6-i2v' | 'klingai/kling-v2.6-motion-control' | 'klingai/kling-v2.6-t2v' | 'klingai/kling-v3.0-i2v' | 'klingai/kling-v3.0-motion-control' | 'klingai/kling-v3.0-t2v' | 'minimax/minimax-h3' | 'minimax/minimax-h3-max' | 'spacexai/grok-imagine-video' | 'spacexai/grok-imagine-video-1.5' | 'spacexai/grok-imagine-video-1.5-lite' | 'topaz/proteus' | 'topaz/starlight-precise-2.6' | (string & {});
|
|
189
|
+
type GatewayVideoModelId = 'alibaba/wan-v2.5-t2v-preview' | 'alibaba/wan-v2.6-i2v' | 'alibaba/wan-v2.6-i2v-flash' | 'alibaba/wan-v2.6-r2v' | 'alibaba/wan-v2.6-r2v-flash' | 'alibaba/wan-v2.6-t2v' | 'alibaba/wan-v2.7-r2v' | 'alibaba/wan-v2.7-t2v' | 'alibaba/wan-v3.0-video' | 'alibaba/wan-v3.0-video-prime' | 'bfl/flux-3-video' | 'bytedance/seedance-2.0' | 'bytedance/seedance-2.0-fast' | 'bytedance/seedance-2.0-mini' | 'bytedance/seedance-2.5' | 'bytedance/seedance-v1.0-pro' | 'bytedance/seedance-v1.0-pro-fast' | 'bytedance/seedance-v1.5-pro' | 'google/veo-3.0-fast-generate-001' | 'google/veo-3.0-generate-001' | 'google/veo-3.1-fast-generate-001' | 'google/veo-3.1-generate-001' | 'google/veo-3.1-lite-generate-001' | 'heygen/heygen-video-1' | 'klingai/kling-v2.5-turbo-i2v' | 'klingai/kling-v2.5-turbo-t2v' | 'klingai/kling-v2.6-i2v' | 'klingai/kling-v2.6-motion-control' | 'klingai/kling-v2.6-t2v' | 'klingai/kling-v3.0-i2v' | 'klingai/kling-v3.0-motion-control' | 'klingai/kling-v3.0-t2v' | 'minimax/minimax-h3' | 'minimax/minimax-h3-max' | 'spacexai/grok-imagine-video' | 'spacexai/grok-imagine-video-1.5' | 'spacexai/grok-imagine-video-1.5-lite' | 'topaz/proteus' | 'topaz/starlight-precise-2.6' | (string & {});
|
|
190
190
|
//#endregion
|
|
191
191
|
//#region src/gateway-model-entry.d.ts
|
|
192
192
|
declare const KNOWN_MODEL_TYPES: readonly ["embedding", "decision", "evaluation", "image", "language", "realtime", "reranking", "speech", "transcription", "video"];
|
package/dist/index.js
CHANGED
|
@@ -3050,7 +3050,7 @@ async function getVercelRequestId() {
|
|
|
3050
3050
|
}
|
|
3051
3051
|
//#endregion
|
|
3052
3052
|
//#region src/version.ts
|
|
3053
|
-
const VERSION = "4.0.
|
|
3053
|
+
const VERSION = "4.0.113";
|
|
3054
3054
|
//#endregion
|
|
3055
3055
|
//#region src/gateway-provider.ts
|
|
3056
3056
|
const AI_GATEWAY_PROTOCOL_VERSION = "0.0.1";
|
package/package.json
CHANGED
|
@@ -3,20 +3,13 @@ export type GatewayModelId =
|
|
|
3
3
|
| 'alibaba/qwen-3-235b'
|
|
4
4
|
| 'alibaba/qwen-3-30b'
|
|
5
5
|
| 'alibaba/qwen-3-32b'
|
|
6
|
-
| 'alibaba/qwen-3.6-max-preview'
|
|
7
|
-
| 'alibaba/qwen3-235b-a22b-thinking'
|
|
8
6
|
| 'alibaba/qwen3-coder'
|
|
9
7
|
| 'alibaba/qwen3-coder-30b-a3b'
|
|
10
8
|
| 'alibaba/qwen3-coder-next'
|
|
11
|
-
| 'alibaba/qwen3-coder-plus'
|
|
12
|
-
| 'alibaba/qwen3-max'
|
|
13
|
-
| 'alibaba/qwen3-max-preview'
|
|
14
9
|
| 'alibaba/qwen3-max-thinking'
|
|
15
10
|
| 'alibaba/qwen3-next-80b-a3b-instruct'
|
|
16
11
|
| 'alibaba/qwen3-next-80b-a3b-thinking'
|
|
17
|
-
| 'alibaba/qwen3-vl-235b-a22b-instruct'
|
|
18
12
|
| 'alibaba/qwen3-vl-instruct'
|
|
19
|
-
| 'alibaba/qwen3-vl-thinking'
|
|
20
13
|
| 'alibaba/qwen3.5-flash'
|
|
21
14
|
| 'alibaba/qwen3.5-plus'
|
|
22
15
|
| 'alibaba/qwen3.6-27b'
|
|
@@ -35,30 +28,43 @@ export type GatewayModelId =
|
|
|
35
28
|
| 'amazon/nova-lite'
|
|
36
29
|
| 'amazon/nova-micro'
|
|
37
30
|
| 'amazon/nova-pro'
|
|
38
|
-
| 'anthropic/claude-3-haiku'
|
|
39
31
|
| 'anthropic/claude-fable-5'
|
|
32
|
+
| 'anthropic/claude-fable-5-batch'
|
|
40
33
|
| 'anthropic/claude-fable-5.1'
|
|
34
|
+
| 'anthropic/claude-fable-5.1-batch'
|
|
41
35
|
| 'anthropic/claude-haiku-4.5'
|
|
36
|
+
| 'anthropic/claude-haiku-4.5-batch'
|
|
42
37
|
| 'anthropic/claude-haiku-5.5'
|
|
43
|
-
| 'anthropic/claude-
|
|
38
|
+
| 'anthropic/claude-haiku-5.5-batch'
|
|
44
39
|
| 'anthropic/claude-opus-4.5'
|
|
40
|
+
| 'anthropic/claude-opus-4.5-batch'
|
|
45
41
|
| 'anthropic/claude-opus-4.6'
|
|
42
|
+
| 'anthropic/claude-opus-4.6-batch'
|
|
46
43
|
| 'anthropic/claude-opus-4.7'
|
|
44
|
+
| 'anthropic/claude-opus-4.7-batch'
|
|
47
45
|
| 'anthropic/claude-opus-4.8'
|
|
46
|
+
| 'anthropic/claude-opus-4.8-batch'
|
|
48
47
|
| 'anthropic/claude-opus-4.8-fast'
|
|
49
48
|
| 'anthropic/claude-opus-5'
|
|
49
|
+
| 'anthropic/claude-opus-5-batch'
|
|
50
50
|
| 'anthropic/claude-opus-5-fast'
|
|
51
51
|
| 'anthropic/claude-opus-5.5'
|
|
52
|
+
| 'anthropic/claude-opus-5.5-batch'
|
|
52
53
|
| 'anthropic/claude-opus-5.5-fast'
|
|
53
54
|
| 'anthropic/claude-sonnet-4'
|
|
54
55
|
| 'anthropic/claude-sonnet-4.5'
|
|
56
|
+
| 'anthropic/claude-sonnet-4.5-batch'
|
|
55
57
|
| 'anthropic/claude-sonnet-4.6'
|
|
58
|
+
| 'anthropic/claude-sonnet-4.6-batch'
|
|
56
59
|
| 'anthropic/claude-sonnet-5'
|
|
60
|
+
| 'anthropic/claude-sonnet-5-batch'
|
|
57
61
|
| 'anthropic/claude-sonnet-5.5'
|
|
62
|
+
| 'anthropic/claude-sonnet-5.5-batch'
|
|
58
63
|
| 'arcee-ai/trinity-large-thinking'
|
|
59
64
|
| 'bytedance/seed-1.6'
|
|
60
65
|
| 'bytedance/seed-1.8'
|
|
61
66
|
| 'bytedance/seed-2.1-turbo'
|
|
67
|
+
| 'callstack/apex'
|
|
62
68
|
| 'cohere/command-a'
|
|
63
69
|
| 'deepseek/deepseek-r1'
|
|
64
70
|
| 'deepseek/deepseek-v3.1'
|
|
@@ -70,23 +76,35 @@ export type GatewayModelId =
|
|
|
70
76
|
| 'deepseek/deepseek-v4-pro'
|
|
71
77
|
| 'deepseek/deepseek-v4-pro-0813'
|
|
72
78
|
| 'deepseek/deepseek-v4.1-flash'
|
|
79
|
+
| 'deepseek/deepseek-v4.1-flash-fast'
|
|
73
80
|
| 'fireworks/ember-1'
|
|
74
81
|
| 'google/gemini-2.5-flash'
|
|
82
|
+
| 'google/gemini-2.5-flash-batch'
|
|
75
83
|
| 'google/gemini-2.5-flash-image'
|
|
76
84
|
| 'google/gemini-2.5-flash-lite'
|
|
85
|
+
| 'google/gemini-2.5-flash-lite-batch'
|
|
77
86
|
| 'google/gemini-2.5-pro'
|
|
87
|
+
| 'google/gemini-2.5-pro-batch'
|
|
78
88
|
| 'google/gemini-3-flash'
|
|
89
|
+
| 'google/gemini-3-flash-batch'
|
|
79
90
|
| 'google/gemini-3-pro-image'
|
|
80
91
|
| 'google/gemini-3.1-flash-image'
|
|
81
92
|
| 'google/gemini-3.1-flash-image-preview'
|
|
82
93
|
| 'google/gemini-3.1-flash-lite'
|
|
94
|
+
| 'google/gemini-3.1-flash-lite-batch'
|
|
83
95
|
| 'google/gemini-3.1-flash-lite-image'
|
|
84
96
|
| 'google/gemini-3.1-pro-preview'
|
|
97
|
+
| 'google/gemini-3.1-pro-preview-batch'
|
|
85
98
|
| 'google/gemini-3.5-flash'
|
|
99
|
+
| 'google/gemini-3.5-flash-batch'
|
|
86
100
|
| 'google/gemini-3.5-flash-lite'
|
|
101
|
+
| 'google/gemini-3.5-flash-lite-batch'
|
|
87
102
|
| 'google/gemini-3.6-flash'
|
|
103
|
+
| 'google/gemini-3.6-flash-batch'
|
|
88
104
|
| 'google/gemini-3.7-flash'
|
|
105
|
+
| 'google/gemini-3.7-flash-batch'
|
|
89
106
|
| 'google/gemini-3.8-flash'
|
|
107
|
+
| 'google/gemini-4-argon'
|
|
90
108
|
| 'google/gemini-nano-banana-2.1'
|
|
91
109
|
| 'google/gemini-omni-flash-preview'
|
|
92
110
|
| 'google/gemma-4-26b-a4b-it'
|
|
@@ -115,6 +133,7 @@ export type GatewayModelId =
|
|
|
115
133
|
| 'meta/muse-spark-1.2-contributor'
|
|
116
134
|
| 'meta/muse-spark-1.3'
|
|
117
135
|
| 'meta/muse-spark-1.3-contributor'
|
|
136
|
+
| 'meta/muse-wonder-1.0'
|
|
118
137
|
| 'minimax/minimax-m2'
|
|
119
138
|
| 'minimax/minimax-m2.1'
|
|
120
139
|
| 'minimax/minimax-m2.1-lightning'
|
|
@@ -151,55 +170,77 @@ export type GatewayModelId =
|
|
|
151
170
|
| 'openai/gpt-3.5-turbo'
|
|
152
171
|
| 'openai/gpt-4-turbo'
|
|
153
172
|
| 'openai/gpt-4.1'
|
|
173
|
+
| 'openai/gpt-4.1-batch'
|
|
154
174
|
| 'openai/gpt-4.1-fast'
|
|
155
175
|
| 'openai/gpt-4.1-mini'
|
|
176
|
+
| 'openai/gpt-4.1-mini-batch'
|
|
156
177
|
| 'openai/gpt-4.1-mini-fast'
|
|
157
178
|
| 'openai/gpt-4.1-nano'
|
|
179
|
+
| 'openai/gpt-4.1-nano-batch'
|
|
158
180
|
| 'openai/gpt-4.1-nano-fast'
|
|
159
181
|
| 'openai/gpt-4o'
|
|
182
|
+
| 'openai/gpt-4o-batch'
|
|
160
183
|
| 'openai/gpt-4o-fast'
|
|
161
184
|
| 'openai/gpt-4o-mini'
|
|
185
|
+
| 'openai/gpt-4o-mini-batch'
|
|
162
186
|
| 'openai/gpt-4o-mini-fast'
|
|
163
187
|
| 'openai/gpt-5'
|
|
188
|
+
| 'openai/gpt-5-batch'
|
|
164
189
|
| 'openai/gpt-5-codex'
|
|
165
190
|
| 'openai/gpt-5-fast'
|
|
166
191
|
| 'openai/gpt-5-mini'
|
|
192
|
+
| 'openai/gpt-5-mini-batch'
|
|
167
193
|
| 'openai/gpt-5-mini-fast'
|
|
168
194
|
| 'openai/gpt-5-nano'
|
|
195
|
+
| 'openai/gpt-5-nano-batch'
|
|
169
196
|
| 'openai/gpt-5-pro'
|
|
197
|
+
| 'openai/gpt-5-pro-batch'
|
|
170
198
|
| 'openai/gpt-5.1-codex'
|
|
171
199
|
| 'openai/gpt-5.1-codex-max'
|
|
172
200
|
| 'openai/gpt-5.1-codex-mini'
|
|
173
201
|
| 'openai/gpt-5.1-thinking'
|
|
174
202
|
| 'openai/gpt-5.1-thinking-fast'
|
|
175
203
|
| 'openai/gpt-5.2'
|
|
204
|
+
| 'openai/gpt-5.2-batch'
|
|
176
205
|
| 'openai/gpt-5.2-codex'
|
|
177
206
|
| 'openai/gpt-5.2-fast'
|
|
178
207
|
| 'openai/gpt-5.2-pro'
|
|
179
208
|
| 'openai/gpt-5.3-codex'
|
|
180
209
|
| 'openai/gpt-5.3-codex-fast'
|
|
181
210
|
| 'openai/gpt-5.4'
|
|
211
|
+
| 'openai/gpt-5.4-batch'
|
|
182
212
|
| 'openai/gpt-5.4-fast'
|
|
183
213
|
| 'openai/gpt-5.4-mini'
|
|
214
|
+
| 'openai/gpt-5.4-mini-batch'
|
|
184
215
|
| 'openai/gpt-5.4-mini-fast'
|
|
185
216
|
| 'openai/gpt-5.4-nano'
|
|
217
|
+
| 'openai/gpt-5.4-nano-batch'
|
|
186
218
|
| 'openai/gpt-5.4-pro'
|
|
187
219
|
| 'openai/gpt-5.5'
|
|
220
|
+
| 'openai/gpt-5.5-batch'
|
|
188
221
|
| 'openai/gpt-5.5-fast'
|
|
189
222
|
| 'openai/gpt-5.5-pro'
|
|
223
|
+
| 'openai/gpt-5.5-pro-batch'
|
|
190
224
|
| 'openai/gpt-5.6-luna'
|
|
225
|
+
| 'openai/gpt-5.6-luna-batch'
|
|
191
226
|
| 'openai/gpt-5.6-luna-fast'
|
|
192
227
|
| 'openai/gpt-5.6-sol'
|
|
228
|
+
| 'openai/gpt-5.6-sol-batch'
|
|
193
229
|
| 'openai/gpt-5.6-sol-fast'
|
|
194
230
|
| 'openai/gpt-5.6-terra'
|
|
231
|
+
| 'openai/gpt-5.6-terra-batch'
|
|
195
232
|
| 'openai/gpt-5.6-terra-fast'
|
|
196
233
|
| 'openai/gpt-6-astra'
|
|
234
|
+
| 'openai/gpt-6-astra-batch'
|
|
197
235
|
| 'openai/gpt-6-astra-fast'
|
|
198
236
|
| 'openai/gpt-6-luna'
|
|
237
|
+
| 'openai/gpt-6-luna-batch'
|
|
199
238
|
| 'openai/gpt-6-luna-fast'
|
|
200
239
|
| 'openai/gpt-6-sol'
|
|
240
|
+
| 'openai/gpt-6-sol-batch'
|
|
201
241
|
| 'openai/gpt-6-sol-fast'
|
|
202
242
|
| 'openai/gpt-6.1-sol'
|
|
243
|
+
| 'openai/gpt-6.1-sol-batch'
|
|
203
244
|
| 'openai/gpt-6.1-sol-fast'
|
|
204
245
|
| 'openai/gpt-oss-120b'
|
|
205
246
|
| 'openai/gpt-oss-20b'
|
|
@@ -224,12 +265,16 @@ export type GatewayModelId =
|
|
|
224
265
|
| 'spacexai/grok-4.1-fast-non-reasoning'
|
|
225
266
|
| 'spacexai/grok-4.1-fast-reasoning'
|
|
226
267
|
| 'spacexai/grok-4.20-multi-agent'
|
|
268
|
+
| 'spacexai/grok-4.20-multi-agent-batch'
|
|
227
269
|
| 'spacexai/grok-4.20-multi-agent-beta'
|
|
228
270
|
| 'spacexai/grok-4.20-non-reasoning'
|
|
271
|
+
| 'spacexai/grok-4.20-non-reasoning-batch'
|
|
229
272
|
| 'spacexai/grok-4.20-non-reasoning-beta'
|
|
230
273
|
| 'spacexai/grok-4.20-reasoning'
|
|
274
|
+
| 'spacexai/grok-4.20-reasoning-batch'
|
|
231
275
|
| 'spacexai/grok-4.20-reasoning-beta'
|
|
232
276
|
| 'spacexai/grok-4.3'
|
|
277
|
+
| 'spacexai/grok-4.3-batch'
|
|
233
278
|
| 'spacexai/grok-4.5'
|
|
234
279
|
| 'spacexai/grok-4.6'
|
|
235
280
|
| 'spacexai/grok-4.7'
|
|
@@ -22,6 +22,7 @@ export type GatewayVideoModelId =
|
|
|
22
22
|
| 'google/veo-3.1-fast-generate-001'
|
|
23
23
|
| 'google/veo-3.1-generate-001'
|
|
24
24
|
| 'google/veo-3.1-lite-generate-001'
|
|
25
|
+
| 'heygen/heygen-video-1'
|
|
25
26
|
| 'klingai/kling-v2.5-turbo-i2v'
|
|
26
27
|
| 'klingai/kling-v2.5-turbo-t2v'
|
|
27
28
|
| 'klingai/kling-v2.6-i2v'
|