@tanstack/ai-vercel-gateway 0.0.1
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/LICENSE +21 -0
- package/README.md +37 -0
- package/dist/esm/adapters/embedding.d.ts +21 -0
- package/dist/esm/adapters/embedding.js +73 -0
- package/dist/esm/adapters/embedding.js.map +1 -0
- package/dist/esm/adapters/factory.d.ts +16 -0
- package/dist/esm/adapters/factory.js +28 -0
- package/dist/esm/adapters/factory.js.map +1 -0
- package/dist/esm/adapters/image.d.ts +22 -0
- package/dist/esm/adapters/image.js +87 -0
- package/dist/esm/adapters/image.js.map +1 -0
- package/dist/esm/adapters/responses-text.d.ts +26 -0
- package/dist/esm/adapters/responses-text.js +38 -0
- package/dist/esm/adapters/responses-text.js.map +1 -0
- package/dist/esm/adapters/summarize.d.ts +9 -0
- package/dist/esm/adapters/summarize.js +17 -0
- package/dist/esm/adapters/summarize.js.map +1 -0
- package/dist/esm/adapters/text.d.ts +60 -0
- package/dist/esm/adapters/text.js +29 -0
- package/dist/esm/adapters/text.js.map +1 -0
- package/dist/esm/embedding/embedding-provider-options.d.ts +5 -0
- package/dist/esm/image/image-provider-options.d.ts +7 -0
- package/dist/esm/index.d.ts +17 -0
- package/dist/esm/index.js +9 -0
- package/dist/esm/message-types.d.ts +44 -0
- package/dist/esm/model-meta.d.ts +493 -0
- package/dist/esm/model-meta.js +351 -0
- package/dist/esm/model-meta.js.map +1 -0
- package/dist/esm/text/responses-provider-options.d.ts +3 -0
- package/dist/esm/text/text-provider-options.d.ts +40 -0
- package/dist/esm/tools/function-tool.d.ts +16 -0
- package/dist/esm/tools/function-tool.js +30 -0
- package/dist/esm/tools/function-tool.js.map +1 -0
- package/dist/esm/tools/index.d.ts +2 -0
- package/dist/esm/tools/index.js +3 -0
- package/dist/esm/tools/tool-converter.d.ts +7 -0
- package/dist/esm/tools/tool-converter.js +15 -0
- package/dist/esm/tools/tool-converter.js.map +1 -0
- package/dist/esm/utils/client.d.ts +8 -0
- package/dist/esm/utils/client.js +29 -0
- package/dist/esm/utils/client.js.map +1 -0
- package/dist/esm/utils/map-gateway-options.d.ts +4 -0
- package/dist/esm/utils/map-gateway-options.js +14 -0
- package/dist/esm/utils/map-gateway-options.js.map +1 -0
- package/package.json +73 -0
- package/src/adapters/embedding.ts +122 -0
- package/src/adapters/factory.ts +81 -0
- package/src/adapters/image.ts +156 -0
- package/src/adapters/responses-text.ts +99 -0
- package/src/adapters/summarize.ts +44 -0
- package/src/adapters/text.ts +68 -0
- package/src/embedding/embedding-provider-options.ts +6 -0
- package/src/image/image-provider-options.ts +13 -0
- package/src/index.ts +78 -0
- package/src/message-types.ts +45 -0
- package/src/model-meta.ts +2512 -0
- package/src/text/responses-provider-options.ts +10 -0
- package/src/text/text-provider-options.ts +47 -0
- package/src/tools/function-tool.ts +46 -0
- package/src/tools/index.ts +5 -0
- package/src/tools/tool-converter.ts +15 -0
- package/src/utils/client.ts +40 -0
- package/src/utils/map-gateway-options.ts +15 -0
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
import { VercelGatewayEmbeddingProviderOptions } from './embedding/embedding-provider-options.js';
|
|
2
|
+
import { VercelGatewayImageProviderOptions, VercelGatewayImageSize } from './image/image-provider-options.js';
|
|
3
|
+
import { VercelGatewayBaseOptions, VercelGatewayCommonOptions, VercelGatewayTextProviderOptions } from './text/text-provider-options.js';
|
|
4
|
+
export declare const VERCEL_GATEWAY_CHAT_MODELS: readonly ["alibaba/qwen-3-14b", "alibaba/qwen-3-235b", "alibaba/qwen-3-30b", "alibaba/qwen-3-32b", "alibaba/qwen-3.6-max-preview", "alibaba/qwen3-235b-a22b-thinking", "alibaba/qwen3-coder", "alibaba/qwen3-coder-30b-a3b", "alibaba/qwen3-coder-next", "alibaba/qwen3-coder-plus", "alibaba/qwen3-max", "alibaba/qwen3-max-preview", "alibaba/qwen3-max-thinking", "alibaba/qwen3-next-80b-a3b-instruct", "alibaba/qwen3-next-80b-a3b-thinking", "alibaba/qwen3-vl-235b-a22b-instruct", "alibaba/qwen3-vl-instruct", "alibaba/qwen3-vl-thinking", "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-max", "amazon/nova-2-lite", "amazon/nova-lite", "amazon/nova-micro", "amazon/nova-pro", "anthropic/claude-3-haiku", "anthropic/claude-fable-5", "anthropic/claude-haiku-4.5", "anthropic/claude-opus-4", "anthropic/claude-opus-4.5", "anthropic/claude-opus-4.6", "anthropic/claude-opus-4.7", "anthropic/claude-opus-4.8", "anthropic/claude-opus-4.8-fast", "anthropic/claude-opus-5", "anthropic/claude-opus-5-fast", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-sonnet-5", "arcee-ai/trinity-large-thinking", "arcee-ai/trinity-mini", "bytedance/seed-1.6", "bytedance/seed-1.8", "cohere/command-a", "deepseek/deepseek-r1", "deepseek/deepseek-v3", "deepseek/deepseek-v3.1", "deepseek/deepseek-v3.1-terminus", "deepseek/deepseek-v3.2", "deepseek/deepseek-v3.2-thinking", "deepseek/deepseek-v4-flash", "deepseek/deepseek-v4-flash-0731", "deepseek/deepseek-v4-pro", "fish-audio/s1", "fish-audio/s2-pro", "fish-audio/s2.1-pro", "fish-audio/transcribe-1", "google/gemini-2.5-flash", "google/gemini-2.5-flash-image", "google/gemini-2.5-flash-lite", "google/gemini-2.5-pro", "google/gemini-3-flash", "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-image", "google/gemini-3.1-pro-preview", "google/gemini-3.5-flash", "google/gemini-3.5-flash-lite", "google/gemini-3.6-flash", "google/gemini-omni-flash-preview", "google/gemma-4-26b-a4b-it", "google/gemma-4-31b-it", "inception/mercury-2", "inception/mercury-coder-small", "inclusionai/ling-3.0-flash", "inclusionai/ling-3.0-tiny-free", "interfaze/interfaze-beta", "kwaipilot/kat-coder-air-v2.5", "kwaipilot/kat-coder-pro-v1", "kwaipilot/kat-coder-pro-v2", "kwaipilot/kat-coder-pro-v2.5", "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", "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/devstral-2", "mistral/devstral-small-2", "mistral/magistral-medium", "mistral/magistral-small", "mistral/ministral-14b", "mistral/ministral-3b", "mistral/ministral-8b", "mistral/mistral-large-3", "mistral/mistral-medium", "mistral/mistral-medium-3.5", "mistral/mistral-nemo", "mistral/mistral-small", "mistral/pixtral-12b", "moonshotai/kimi-k2", "moonshotai/kimi-k2-thinking", "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-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-mini", "openai/gpt-4.1-nano", "openai/gpt-4o", "openai/gpt-4o-mini", "openai/gpt-4o-mini-search-preview", "openai/gpt-4o-mini-transcribe", "openai/gpt-4o-transcribe", "openai/gpt-5", "openai/gpt-5-codex", "openai/gpt-5-mini", "openai/gpt-5-nano", "openai/gpt-5-pro", "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.2", "openai/gpt-5.2-codex", "openai/gpt-5.2-pro", "openai/gpt-5.3-codex", "openai/gpt-5.4", "openai/gpt-5.4-mini", "openai/gpt-5.4-nano", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-pro", "openai/gpt-5.6-luna", "openai/gpt-5.6-sol", "openai/gpt-5.6-terra", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/gpt-oss-safeguard-20b", "openai/gpt-realtime-1.5", "openai/gpt-realtime-2", "openai/gpt-realtime-2.1", "openai/gpt-realtime-mini", "openai/gpt-realtime-whisper", "openai/o1", "openai/o3", "openai/o3-deep-research", "openai/o3-mini", "openai/o3-pro", "openai/o4-mini", "openai/tts-1", "openai/tts-1-hd", "openai/whisper-1", "perplexity/sonar", "perplexity/sonar-pro", "perplexity/sonar-reasoning-pro", "poolside/laguna-s-2.1", "poolside/laguna-s-2.1-free", "sakana/fugu-ultra", "sakana/namazu", "stepfun/step-3.5-flash", "stepfun/step-3.7-flash", "tencent/hy3", "thinkingmachines/inkling", "thinkingmachines/inkling-small", "xai/grok-4.1-fast-non-reasoning", "xai/grok-4.1-fast-reasoning", "xai/grok-4.20-multi-agent", "xai/grok-4.20-multi-agent-beta", "xai/grok-4.20-non-reasoning", "xai/grok-4.20-non-reasoning-beta", "xai/grok-4.20-reasoning", "xai/grok-4.20-reasoning-beta", "xai/grok-4.3", "xai/grok-4.5", "xai/grok-build-0.1", "xai/grok-stt", "xai/grok-tts", "xai/grok-voice-think-fast-1.0", "xai/grok-voice-think-fast-2.0", "xiaomi/mimo-v2.5", "xiaomi/mimo-v2.5-pro", "zai/glm-4.5", "zai/glm-4.5-air", "zai/glm-4.5v", "zai/glm-4.6", "zai/glm-4.6v", "zai/glm-4.6v-flash", "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-5v-turbo"];
|
|
5
|
+
export type VercelGatewayChatModel = (typeof VERCEL_GATEWAY_CHAT_MODELS)[number];
|
|
6
|
+
export declare const VERCEL_GATEWAY_PROVIDERS: readonly ["alibaba", "amazon", "anthropic", "arcee-ai", "bfl", "bytedance", "cohere", "deepseek", "fish-audio", "google", "inception", "inclusionai", "interfaze", "klingai", "kwaipilot", "meta", "minimax", "mistral", "moonshotai", "morph", "nvidia", "openai", "perplexity", "poolside", "prodia", "quiverai", "recraft", "sakana", "stepfun", "tencent", "thinkingmachines", "voyage", "xai", "xiaomi", "zai"];
|
|
7
|
+
export type VercelGatewayProvider = (typeof VERCEL_GATEWAY_PROVIDERS)[number];
|
|
8
|
+
export declare const VERCEL_GATEWAY_MODEL_TAGS: readonly ["explicit-caching", "fast", "file-input", "free", "image-generation", "implicit-caching", "reasoning", "structured-output", "tool-use", "video-generation", "vision", "web-search", "websocket-realtime", "websocket-transcription"];
|
|
9
|
+
export type VercelGatewayModelTag = (typeof VERCEL_GATEWAY_MODEL_TAGS)[number];
|
|
10
|
+
export declare const VERCEL_GATEWAY_EMBEDDING_MODELS: readonly ["alibaba/qwen3-embedding-0.6b", "alibaba/qwen3-embedding-4b", "alibaba/qwen3-embedding-8b", "amazon/titan-embed-text-v2", "cohere/embed-v4.0", "google/gemini-embedding-001", "google/gemini-embedding-2", "google/text-embedding-005", "google/text-multilingual-embedding-002", "mistral/codestral-embed", "mistral/mistral-embed", "openai/text-embedding-3-large", "openai/text-embedding-3-small", "openai/text-embedding-ada-002", "perplexity/pplx-embed-v1-0.6b", "perplexity/pplx-embed-v1-4b", "voyage/voyage-3-large", "voyage/voyage-3.5", "voyage/voyage-3.5-lite", "voyage/voyage-4", "voyage/voyage-4-large", "voyage/voyage-4-lite", "voyage/voyage-code-2", "voyage/voyage-code-3", "voyage/voyage-finance-2", "voyage/voyage-law-2"];
|
|
11
|
+
export type VercelGatewayEmbeddingModel = (typeof VERCEL_GATEWAY_EMBEDDING_MODELS)[number];
|
|
12
|
+
export declare const VERCEL_GATEWAY_IMAGE_MODELS: readonly ["bfl/flux-2-flex", "bfl/flux-2-klein-4b", "bfl/flux-2-klein-9b", "bfl/flux-2-max", "bfl/flux-2-pro", "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", "google/imagen-4.0-fast-generate-001", "google/imagen-4.0-generate-001", "google/imagen-4.0-ultra-generate-001", "openai/gpt-image-1", "openai/gpt-image-1-mini", "openai/gpt-image-1.5", "openai/gpt-image-2", "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-pro", "recraft/recraft-v4.1-utility", "recraft/recraft-v4.1-utility-pro", "xai/grok-imagine-image", "xai/grok-imagine-image-2.0"];
|
|
13
|
+
export type VercelGatewayImageModel = (typeof VERCEL_GATEWAY_IMAGE_MODELS)[number];
|
|
14
|
+
export type VercelGatewayChatModelProviderOptionsByName = {
|
|
15
|
+
'alibaba/qwen-3-14b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
16
|
+
'alibaba/qwen-3-235b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
17
|
+
'alibaba/qwen-3-30b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
18
|
+
'alibaba/qwen-3-32b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
19
|
+
'alibaba/qwen-3.6-max-preview': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
20
|
+
'alibaba/qwen3-235b-a22b-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
21
|
+
'alibaba/qwen3-coder': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
22
|
+
'alibaba/qwen3-coder-30b-a3b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
23
|
+
'alibaba/qwen3-coder-next': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
24
|
+
'alibaba/qwen3-coder-plus': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
25
|
+
'alibaba/qwen3-max': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
26
|
+
'alibaba/qwen3-max-preview': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
27
|
+
'alibaba/qwen3-max-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
28
|
+
'alibaba/qwen3-next-80b-a3b-instruct': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
29
|
+
'alibaba/qwen3-next-80b-a3b-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
30
|
+
'alibaba/qwen3-vl-235b-a22b-instruct': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
31
|
+
'alibaba/qwen3-vl-instruct': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
32
|
+
'alibaba/qwen3-vl-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
33
|
+
'alibaba/qwen3.5-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
34
|
+
'alibaba/qwen3.5-plus': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
35
|
+
'alibaba/qwen3.6-27b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
36
|
+
'alibaba/qwen3.6-plus': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
37
|
+
'alibaba/qwen3.7-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
38
|
+
'alibaba/qwen3.7-max': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
39
|
+
'alibaba/qwen3.7-plus': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
40
|
+
'alibaba/qwen3.8-max': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
41
|
+
'amazon/nova-2-lite': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
42
|
+
'amazon/nova-lite': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
43
|
+
'amazon/nova-micro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
44
|
+
'amazon/nova-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
45
|
+
'anthropic/claude-3-haiku': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
46
|
+
'anthropic/claude-fable-5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
47
|
+
'anthropic/claude-haiku-4.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
48
|
+
'anthropic/claude-opus-4': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
49
|
+
'anthropic/claude-opus-4.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
50
|
+
'anthropic/claude-opus-4.6': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
51
|
+
'anthropic/claude-opus-4.7': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
52
|
+
'anthropic/claude-opus-4.8': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
53
|
+
'anthropic/claude-opus-4.8-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
54
|
+
'anthropic/claude-opus-5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
55
|
+
'anthropic/claude-opus-5-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
56
|
+
'anthropic/claude-sonnet-4': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
57
|
+
'anthropic/claude-sonnet-4.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
58
|
+
'anthropic/claude-sonnet-4.6': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
59
|
+
'anthropic/claude-sonnet-5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
60
|
+
'arcee-ai/trinity-large-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
61
|
+
'arcee-ai/trinity-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
62
|
+
'bytedance/seed-1.6': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
63
|
+
'bytedance/seed-1.8': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
64
|
+
'cohere/command-a': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
65
|
+
'deepseek/deepseek-r1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
66
|
+
'deepseek/deepseek-v3': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
67
|
+
'deepseek/deepseek-v3.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
68
|
+
'deepseek/deepseek-v3.1-terminus': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
69
|
+
'deepseek/deepseek-v3.2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
70
|
+
'deepseek/deepseek-v3.2-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
71
|
+
'deepseek/deepseek-v4-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
72
|
+
'deepseek/deepseek-v4-flash-0731': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
73
|
+
'deepseek/deepseek-v4-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
74
|
+
'fish-audio/s1': VercelGatewayCommonOptions;
|
|
75
|
+
'fish-audio/s2-pro': VercelGatewayCommonOptions;
|
|
76
|
+
'fish-audio/s2.1-pro': VercelGatewayCommonOptions;
|
|
77
|
+
'fish-audio/transcribe-1': VercelGatewayCommonOptions;
|
|
78
|
+
'google/gemini-2.5-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
79
|
+
'google/gemini-2.5-flash-image': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
80
|
+
'google/gemini-2.5-flash-lite': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
81
|
+
'google/gemini-2.5-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
82
|
+
'google/gemini-3-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
83
|
+
'google/gemini-3-pro-image': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
84
|
+
'google/gemini-3.1-flash-image': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
85
|
+
'google/gemini-3.1-flash-image-preview': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
86
|
+
'google/gemini-3.1-flash-lite': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
87
|
+
'google/gemini-3.1-flash-lite-image': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
88
|
+
'google/gemini-3.1-pro-preview': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
89
|
+
'google/gemini-3.5-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
90
|
+
'google/gemini-3.5-flash-lite': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
91
|
+
'google/gemini-3.6-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
92
|
+
'google/gemini-omni-flash-preview': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
93
|
+
'google/gemma-4-26b-a4b-it': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
94
|
+
'google/gemma-4-31b-it': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
95
|
+
'inception/mercury-2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
96
|
+
'inception/mercury-coder-small': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
97
|
+
'inclusionai/ling-3.0-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
98
|
+
'inclusionai/ling-3.0-tiny-free': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
99
|
+
'interfaze/interfaze-beta': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
100
|
+
'kwaipilot/kat-coder-air-v2.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
101
|
+
'kwaipilot/kat-coder-pro-v1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
102
|
+
'kwaipilot/kat-coder-pro-v2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
103
|
+
'kwaipilot/kat-coder-pro-v2.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
104
|
+
'meta/llama-3.1-70b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
105
|
+
'meta/llama-3.1-8b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
106
|
+
'meta/llama-3.3-70b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
107
|
+
'meta/llama-4-maverick': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
108
|
+
'meta/llama-4-scout': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
109
|
+
'meta/muse-glimmer-30b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
110
|
+
'meta/muse-spark-1.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
111
|
+
'meta/muse-spark-1.2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
112
|
+
'meta/muse-spark-1.2-contributor': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
113
|
+
'minimax/minimax-m2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
114
|
+
'minimax/minimax-m2.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
115
|
+
'minimax/minimax-m2.1-lightning': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
116
|
+
'minimax/minimax-m2.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
117
|
+
'minimax/minimax-m2.5-highspeed': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
118
|
+
'minimax/minimax-m2.7': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
119
|
+
'minimax/minimax-m2.7-highspeed': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
120
|
+
'minimax/minimax-m3': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
121
|
+
'mistral/codestral': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
122
|
+
'mistral/devstral-2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
123
|
+
'mistral/devstral-small-2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
124
|
+
'mistral/magistral-medium': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
125
|
+
'mistral/magistral-small': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
126
|
+
'mistral/ministral-14b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
127
|
+
'mistral/ministral-3b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
128
|
+
'mistral/ministral-8b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
129
|
+
'mistral/mistral-large-3': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
130
|
+
'mistral/mistral-medium': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
131
|
+
'mistral/mistral-medium-3.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
132
|
+
'mistral/mistral-nemo': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
133
|
+
'mistral/mistral-small': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
134
|
+
'mistral/pixtral-12b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
135
|
+
'moonshotai/kimi-k2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
136
|
+
'moonshotai/kimi-k2-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
137
|
+
'moonshotai/kimi-k2.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
138
|
+
'moonshotai/kimi-k2.6': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
139
|
+
'moonshotai/kimi-k2.7-code': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
140
|
+
'moonshotai/kimi-k2.7-code-highspeed': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
141
|
+
'moonshotai/kimi-k3': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
142
|
+
'moonshotai/kimi-k3-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
143
|
+
'morph/morph-v3-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop'>;
|
|
144
|
+
'morph/morph-v3-large': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop'>;
|
|
145
|
+
'nvidia/nemotron-3-nano-30b-a3b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
146
|
+
'nvidia/nemotron-3-super-120b-a12b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
147
|
+
'nvidia/nemotron-3-ultra-550b-a55b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
148
|
+
'nvidia/nemotron-nano-12b-v2-vl': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
149
|
+
'nvidia/nemotron-nano-9b-v2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
150
|
+
'openai/gpt-3.5-turbo': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
151
|
+
'openai/gpt-4-turbo': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
152
|
+
'openai/gpt-4.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
153
|
+
'openai/gpt-4.1-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
154
|
+
'openai/gpt-4.1-nano': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
155
|
+
'openai/gpt-4o': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
156
|
+
'openai/gpt-4o-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
157
|
+
'openai/gpt-4o-mini-search-preview': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
158
|
+
'openai/gpt-4o-mini-transcribe': VercelGatewayCommonOptions;
|
|
159
|
+
'openai/gpt-4o-transcribe': VercelGatewayCommonOptions;
|
|
160
|
+
'openai/gpt-5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
161
|
+
'openai/gpt-5-codex': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
162
|
+
'openai/gpt-5-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
163
|
+
'openai/gpt-5-nano': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
164
|
+
'openai/gpt-5-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
165
|
+
'openai/gpt-5.1-codex': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
166
|
+
'openai/gpt-5.1-codex-max': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
167
|
+
'openai/gpt-5.1-codex-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
168
|
+
'openai/gpt-5.1-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
169
|
+
'openai/gpt-5.2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
170
|
+
'openai/gpt-5.2-codex': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
171
|
+
'openai/gpt-5.2-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
172
|
+
'openai/gpt-5.3-codex': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
173
|
+
'openai/gpt-5.4': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
174
|
+
'openai/gpt-5.4-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
175
|
+
'openai/gpt-5.4-nano': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
176
|
+
'openai/gpt-5.4-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
177
|
+
'openai/gpt-5.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
178
|
+
'openai/gpt-5.5-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
179
|
+
'openai/gpt-5.6-luna': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
180
|
+
'openai/gpt-5.6-sol': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
181
|
+
'openai/gpt-5.6-terra': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
182
|
+
'openai/gpt-oss-120b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
183
|
+
'openai/gpt-oss-20b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
184
|
+
'openai/gpt-oss-safeguard-20b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
185
|
+
'openai/gpt-realtime-1.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
186
|
+
'openai/gpt-realtime-2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
187
|
+
'openai/gpt-realtime-2.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
188
|
+
'openai/gpt-realtime-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
189
|
+
'openai/gpt-realtime-whisper': VercelGatewayCommonOptions;
|
|
190
|
+
'openai/o1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
191
|
+
'openai/o3': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
192
|
+
'openai/o3-deep-research': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
193
|
+
'openai/o3-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
194
|
+
'openai/o3-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
195
|
+
'openai/o4-mini': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
196
|
+
'openai/tts-1': VercelGatewayCommonOptions;
|
|
197
|
+
'openai/tts-1-hd': VercelGatewayCommonOptions;
|
|
198
|
+
'openai/whisper-1': VercelGatewayCommonOptions;
|
|
199
|
+
'perplexity/sonar': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
200
|
+
'perplexity/sonar-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
201
|
+
'perplexity/sonar-reasoning-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
202
|
+
'poolside/laguna-s-2.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
203
|
+
'poolside/laguna-s-2.1-free': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
204
|
+
'sakana/fugu-ultra': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
205
|
+
'sakana/namazu': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
206
|
+
'stepfun/step-3.5-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
207
|
+
'stepfun/step-3.7-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
208
|
+
'tencent/hy3': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
209
|
+
'thinkingmachines/inkling': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
210
|
+
'thinkingmachines/inkling-small': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
211
|
+
'xai/grok-4.1-fast-non-reasoning': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
212
|
+
'xai/grok-4.1-fast-reasoning': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
213
|
+
'xai/grok-4.20-multi-agent': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
214
|
+
'xai/grok-4.20-multi-agent-beta': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
215
|
+
'xai/grok-4.20-non-reasoning': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
216
|
+
'xai/grok-4.20-non-reasoning-beta': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
217
|
+
'xai/grok-4.20-reasoning': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
218
|
+
'xai/grok-4.20-reasoning-beta': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
219
|
+
'xai/grok-4.3': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
220
|
+
'xai/grok-4.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
221
|
+
'xai/grok-build-0.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
222
|
+
'xai/grok-stt': VercelGatewayCommonOptions;
|
|
223
|
+
'xai/grok-tts': VercelGatewayCommonOptions;
|
|
224
|
+
'xai/grok-voice-think-fast-1.0': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
225
|
+
'xai/grok-voice-think-fast-2.0': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
226
|
+
'xiaomi/mimo-v2.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
227
|
+
'xiaomi/mimo-v2.5-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
228
|
+
'zai/glm-4.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
229
|
+
'zai/glm-4.5-air': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
230
|
+
'zai/glm-4.5v': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
231
|
+
'zai/glm-4.6': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
232
|
+
'zai/glm-4.6v': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
233
|
+
'zai/glm-4.6v-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
234
|
+
'zai/glm-4.7': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
235
|
+
'zai/glm-4.7-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
236
|
+
'zai/glm-4.7-flashx': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
237
|
+
'zai/glm-5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
238
|
+
'zai/glm-5-turbo': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
239
|
+
'zai/glm-5.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
240
|
+
'zai/glm-5.2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
241
|
+
'zai/glm-5.2-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
242
|
+
'zai/glm-5v-turbo': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
243
|
+
};
|
|
244
|
+
export type VercelGatewayModelInputModalitiesByName = {
|
|
245
|
+
'alibaba/qwen-3-14b': readonly ['text'];
|
|
246
|
+
'alibaba/qwen-3-235b': readonly ['text'];
|
|
247
|
+
'alibaba/qwen-3-30b': readonly ['text'];
|
|
248
|
+
'alibaba/qwen-3-32b': readonly ['text'];
|
|
249
|
+
'alibaba/qwen-3.6-max-preview': readonly ['text'];
|
|
250
|
+
'alibaba/qwen3-235b-a22b-thinking': readonly ['text', 'image', 'document'];
|
|
251
|
+
'alibaba/qwen3-coder': readonly ['text'];
|
|
252
|
+
'alibaba/qwen3-coder-30b-a3b': readonly ['text'];
|
|
253
|
+
'alibaba/qwen3-coder-next': readonly ['text'];
|
|
254
|
+
'alibaba/qwen3-coder-plus': readonly ['text'];
|
|
255
|
+
'alibaba/qwen3-max': readonly ['text'];
|
|
256
|
+
'alibaba/qwen3-max-preview': readonly ['text'];
|
|
257
|
+
'alibaba/qwen3-max-thinking': readonly ['text'];
|
|
258
|
+
'alibaba/qwen3-next-80b-a3b-instruct': readonly ['text'];
|
|
259
|
+
'alibaba/qwen3-next-80b-a3b-thinking': readonly ['text'];
|
|
260
|
+
'alibaba/qwen3-vl-235b-a22b-instruct': readonly ['text', 'image'];
|
|
261
|
+
'alibaba/qwen3-vl-instruct': readonly ['text', 'image'];
|
|
262
|
+
'alibaba/qwen3-vl-thinking': readonly ['text', 'image', 'document'];
|
|
263
|
+
'alibaba/qwen3.5-flash': readonly ['text', 'image', 'document'];
|
|
264
|
+
'alibaba/qwen3.5-plus': readonly ['text', 'image', 'document'];
|
|
265
|
+
'alibaba/qwen3.6-27b': readonly ['text', 'image', 'document'];
|
|
266
|
+
'alibaba/qwen3.6-plus': readonly ['text', 'image', 'document'];
|
|
267
|
+
'alibaba/qwen3.7-flash': readonly ['text', 'image', 'document'];
|
|
268
|
+
'alibaba/qwen3.7-max': readonly ['text'];
|
|
269
|
+
'alibaba/qwen3.7-plus': readonly ['text', 'image', 'document'];
|
|
270
|
+
'alibaba/qwen3.8-max': readonly ['text', 'image'];
|
|
271
|
+
'amazon/nova-2-lite': readonly ['text', 'image', 'document'];
|
|
272
|
+
'amazon/nova-lite': readonly ['text', 'image', 'document'];
|
|
273
|
+
'amazon/nova-micro': readonly ['text'];
|
|
274
|
+
'amazon/nova-pro': readonly ['text', 'image', 'document'];
|
|
275
|
+
'anthropic/claude-3-haiku': readonly ['text', 'image'];
|
|
276
|
+
'anthropic/claude-fable-5': readonly ['text', 'image', 'document'];
|
|
277
|
+
'anthropic/claude-haiku-4.5': readonly ['text', 'image', 'document'];
|
|
278
|
+
'anthropic/claude-opus-4': readonly ['text', 'image', 'document'];
|
|
279
|
+
'anthropic/claude-opus-4.5': readonly ['text', 'image', 'document'];
|
|
280
|
+
'anthropic/claude-opus-4.6': readonly ['text', 'image', 'document'];
|
|
281
|
+
'anthropic/claude-opus-4.7': readonly ['text', 'image', 'document'];
|
|
282
|
+
'anthropic/claude-opus-4.8': readonly ['text', 'image', 'document'];
|
|
283
|
+
'anthropic/claude-opus-4.8-fast': readonly ['text', 'image', 'document'];
|
|
284
|
+
'anthropic/claude-opus-5': readonly ['text', 'image', 'document'];
|
|
285
|
+
'anthropic/claude-opus-5-fast': readonly ['text', 'image', 'document'];
|
|
286
|
+
'anthropic/claude-sonnet-4': readonly ['text', 'image', 'document'];
|
|
287
|
+
'anthropic/claude-sonnet-4.5': readonly ['text', 'image', 'document'];
|
|
288
|
+
'anthropic/claude-sonnet-4.6': readonly ['text', 'image', 'document'];
|
|
289
|
+
'anthropic/claude-sonnet-5': readonly ['text', 'image', 'document'];
|
|
290
|
+
'arcee-ai/trinity-large-thinking': readonly ['text'];
|
|
291
|
+
'arcee-ai/trinity-mini': readonly ['text'];
|
|
292
|
+
'bytedance/seed-1.6': readonly ['text', 'image'];
|
|
293
|
+
'bytedance/seed-1.8': readonly ['text', 'image'];
|
|
294
|
+
'cohere/command-a': readonly ['text'];
|
|
295
|
+
'deepseek/deepseek-r1': readonly ['text'];
|
|
296
|
+
'deepseek/deepseek-v3': readonly ['text'];
|
|
297
|
+
'deepseek/deepseek-v3.1': readonly ['text'];
|
|
298
|
+
'deepseek/deepseek-v3.1-terminus': readonly ['text'];
|
|
299
|
+
'deepseek/deepseek-v3.2': readonly ['text'];
|
|
300
|
+
'deepseek/deepseek-v3.2-thinking': readonly ['text'];
|
|
301
|
+
'deepseek/deepseek-v4-flash': readonly ['text'];
|
|
302
|
+
'deepseek/deepseek-v4-flash-0731': readonly ['text'];
|
|
303
|
+
'deepseek/deepseek-v4-pro': readonly ['text'];
|
|
304
|
+
'fish-audio/s1': readonly ['text'];
|
|
305
|
+
'fish-audio/s2-pro': readonly ['text'];
|
|
306
|
+
'fish-audio/s2.1-pro': readonly ['text'];
|
|
307
|
+
'fish-audio/transcribe-1': readonly ['text', 'audio'];
|
|
308
|
+
'google/gemini-2.5-flash': readonly ['text', 'image', 'document'];
|
|
309
|
+
'google/gemini-2.5-flash-image': readonly ['text', 'image'];
|
|
310
|
+
'google/gemini-2.5-flash-lite': readonly ['text', 'image', 'document'];
|
|
311
|
+
'google/gemini-2.5-pro': readonly ['text', 'image', 'document'];
|
|
312
|
+
'google/gemini-3-flash': readonly ['text', 'image', 'document'];
|
|
313
|
+
'google/gemini-3-pro-image': readonly ['text', 'image'];
|
|
314
|
+
'google/gemini-3.1-flash-image': readonly ['text', 'image'];
|
|
315
|
+
'google/gemini-3.1-flash-image-preview': readonly ['text', 'image'];
|
|
316
|
+
'google/gemini-3.1-flash-lite': readonly ['text', 'image', 'document'];
|
|
317
|
+
'google/gemini-3.1-flash-lite-image': readonly ['text', 'image'];
|
|
318
|
+
'google/gemini-3.1-pro-preview': readonly ['text', 'image', 'document'];
|
|
319
|
+
'google/gemini-3.5-flash': readonly ['text', 'image', 'document'];
|
|
320
|
+
'google/gemini-3.5-flash-lite': readonly ['text', 'image', 'document'];
|
|
321
|
+
'google/gemini-3.6-flash': readonly ['text', 'image', 'document'];
|
|
322
|
+
'google/gemini-omni-flash-preview': readonly ['text', 'image', 'document'];
|
|
323
|
+
'google/gemma-4-26b-a4b-it': readonly ['text', 'image', 'document'];
|
|
324
|
+
'google/gemma-4-31b-it': readonly ['text', 'image', 'document'];
|
|
325
|
+
'inception/mercury-2': readonly ['text'];
|
|
326
|
+
'inception/mercury-coder-small': readonly ['text'];
|
|
327
|
+
'inclusionai/ling-3.0-flash': readonly ['text'];
|
|
328
|
+
'inclusionai/ling-3.0-tiny-free': readonly ['text'];
|
|
329
|
+
'interfaze/interfaze-beta': readonly ['text', 'image', 'document'];
|
|
330
|
+
'kwaipilot/kat-coder-air-v2.5': readonly ['text', 'image'];
|
|
331
|
+
'kwaipilot/kat-coder-pro-v1': readonly ['text'];
|
|
332
|
+
'kwaipilot/kat-coder-pro-v2': readonly ['text'];
|
|
333
|
+
'kwaipilot/kat-coder-pro-v2.5': readonly ['text', 'image'];
|
|
334
|
+
'meta/llama-3.1-70b': readonly ['text'];
|
|
335
|
+
'meta/llama-3.1-8b': readonly ['text'];
|
|
336
|
+
'meta/llama-3.3-70b': readonly ['text'];
|
|
337
|
+
'meta/llama-4-maverick': readonly ['text', 'image'];
|
|
338
|
+
'meta/llama-4-scout': readonly ['text', 'image'];
|
|
339
|
+
'meta/muse-glimmer-30b': readonly ['text', 'image'];
|
|
340
|
+
'meta/muse-spark-1.1': readonly ['text', 'image', 'document'];
|
|
341
|
+
'meta/muse-spark-1.2': readonly ['text', 'image', 'document'];
|
|
342
|
+
'meta/muse-spark-1.2-contributor': readonly ['text', 'image', 'document'];
|
|
343
|
+
'minimax/minimax-m2': readonly ['text'];
|
|
344
|
+
'minimax/minimax-m2.1': readonly ['text'];
|
|
345
|
+
'minimax/minimax-m2.1-lightning': readonly ['text'];
|
|
346
|
+
'minimax/minimax-m2.5': readonly ['text'];
|
|
347
|
+
'minimax/minimax-m2.5-highspeed': readonly ['text'];
|
|
348
|
+
'minimax/minimax-m2.7': readonly ['text'];
|
|
349
|
+
'minimax/minimax-m2.7-highspeed': readonly ['text'];
|
|
350
|
+
'minimax/minimax-m3': readonly ['text', 'image', 'document'];
|
|
351
|
+
'mistral/codestral': readonly ['text'];
|
|
352
|
+
'mistral/devstral-2': readonly ['text'];
|
|
353
|
+
'mistral/devstral-small-2': readonly ['text', 'image'];
|
|
354
|
+
'mistral/magistral-medium': readonly ['text', 'image'];
|
|
355
|
+
'mistral/magistral-small': readonly ['text', 'image'];
|
|
356
|
+
'mistral/ministral-14b': readonly ['text', 'image', 'document'];
|
|
357
|
+
'mistral/ministral-3b': readonly ['text', 'image'];
|
|
358
|
+
'mistral/ministral-8b': readonly ['text', 'image'];
|
|
359
|
+
'mistral/mistral-large-3': readonly ['text', 'image'];
|
|
360
|
+
'mistral/mistral-medium': readonly ['text', 'image'];
|
|
361
|
+
'mistral/mistral-medium-3.5': readonly ['text', 'image'];
|
|
362
|
+
'mistral/mistral-nemo': readonly ['text', 'image'];
|
|
363
|
+
'mistral/mistral-small': readonly ['text', 'image'];
|
|
364
|
+
'mistral/pixtral-12b': readonly ['text', 'image'];
|
|
365
|
+
'moonshotai/kimi-k2': readonly ['text'];
|
|
366
|
+
'moonshotai/kimi-k2-thinking': readonly ['text'];
|
|
367
|
+
'moonshotai/kimi-k2.5': readonly ['text', 'image'];
|
|
368
|
+
'moonshotai/kimi-k2.6': readonly ['text', 'image'];
|
|
369
|
+
'moonshotai/kimi-k2.7-code': readonly ['text', 'image', 'document'];
|
|
370
|
+
'moonshotai/kimi-k2.7-code-highspeed': readonly ['text', 'image', 'document'];
|
|
371
|
+
'moonshotai/kimi-k3': readonly ['text', 'image', 'document'];
|
|
372
|
+
'moonshotai/kimi-k3-fast': readonly ['text', 'image', 'document'];
|
|
373
|
+
'morph/morph-v3-fast': readonly ['text'];
|
|
374
|
+
'morph/morph-v3-large': readonly ['text'];
|
|
375
|
+
'nvidia/nemotron-3-nano-30b-a3b': readonly ['text'];
|
|
376
|
+
'nvidia/nemotron-3-super-120b-a12b': readonly ['text'];
|
|
377
|
+
'nvidia/nemotron-3-ultra-550b-a55b': readonly ['text'];
|
|
378
|
+
'nvidia/nemotron-nano-12b-v2-vl': readonly ['text', 'image'];
|
|
379
|
+
'nvidia/nemotron-nano-9b-v2': readonly ['text'];
|
|
380
|
+
'openai/gpt-3.5-turbo': readonly ['text'];
|
|
381
|
+
'openai/gpt-4-turbo': readonly ['text', 'image'];
|
|
382
|
+
'openai/gpt-4.1': readonly ['text', 'image', 'document'];
|
|
383
|
+
'openai/gpt-4.1-mini': readonly ['text', 'image', 'document'];
|
|
384
|
+
'openai/gpt-4.1-nano': readonly ['text', 'image', 'document'];
|
|
385
|
+
'openai/gpt-4o': readonly ['text', 'image', 'document'];
|
|
386
|
+
'openai/gpt-4o-mini': readonly ['text', 'image', 'document'];
|
|
387
|
+
'openai/gpt-4o-mini-search-preview': readonly ['text'];
|
|
388
|
+
'openai/gpt-4o-mini-transcribe': readonly ['text', 'audio'];
|
|
389
|
+
'openai/gpt-4o-transcribe': readonly ['text', 'audio'];
|
|
390
|
+
'openai/gpt-5': readonly ['text', 'image', 'document'];
|
|
391
|
+
'openai/gpt-5-codex': readonly ['text', 'image', 'document'];
|
|
392
|
+
'openai/gpt-5-mini': readonly ['text', 'image', 'document'];
|
|
393
|
+
'openai/gpt-5-nano': readonly ['text', 'image', 'document'];
|
|
394
|
+
'openai/gpt-5-pro': readonly ['text', 'image', 'document'];
|
|
395
|
+
'openai/gpt-5.1-codex': readonly ['text', 'image', 'document'];
|
|
396
|
+
'openai/gpt-5.1-codex-max': readonly ['text', 'image', 'document'];
|
|
397
|
+
'openai/gpt-5.1-codex-mini': readonly ['text', 'image', 'document'];
|
|
398
|
+
'openai/gpt-5.1-thinking': readonly ['text', 'image', 'document'];
|
|
399
|
+
'openai/gpt-5.2': readonly ['text', 'image', 'document'];
|
|
400
|
+
'openai/gpt-5.2-codex': readonly ['text', 'image', 'document'];
|
|
401
|
+
'openai/gpt-5.2-pro': readonly ['text', 'image', 'document'];
|
|
402
|
+
'openai/gpt-5.3-codex': readonly ['text', 'image', 'document'];
|
|
403
|
+
'openai/gpt-5.4': readonly ['text', 'image', 'document'];
|
|
404
|
+
'openai/gpt-5.4-mini': readonly ['text', 'image', 'document'];
|
|
405
|
+
'openai/gpt-5.4-nano': readonly ['text', 'image', 'document'];
|
|
406
|
+
'openai/gpt-5.4-pro': readonly ['text', 'image', 'document'];
|
|
407
|
+
'openai/gpt-5.5': readonly ['text', 'image', 'document'];
|
|
408
|
+
'openai/gpt-5.5-pro': readonly ['text', 'image', 'document'];
|
|
409
|
+
'openai/gpt-5.6-luna': readonly ['text', 'image', 'document'];
|
|
410
|
+
'openai/gpt-5.6-sol': readonly ['text', 'image', 'document'];
|
|
411
|
+
'openai/gpt-5.6-terra': readonly ['text', 'image', 'document'];
|
|
412
|
+
'openai/gpt-oss-120b': readonly ['text'];
|
|
413
|
+
'openai/gpt-oss-20b': readonly ['text'];
|
|
414
|
+
'openai/gpt-oss-safeguard-20b': readonly ['text'];
|
|
415
|
+
'openai/gpt-realtime-1.5': readonly ['text', 'audio'];
|
|
416
|
+
'openai/gpt-realtime-2': readonly ['text', 'audio'];
|
|
417
|
+
'openai/gpt-realtime-2.1': readonly ['text', 'audio'];
|
|
418
|
+
'openai/gpt-realtime-mini': readonly ['text', 'audio'];
|
|
419
|
+
'openai/gpt-realtime-whisper': readonly ['text', 'audio'];
|
|
420
|
+
'openai/o1': readonly ['text', 'image', 'document'];
|
|
421
|
+
'openai/o3': readonly ['text', 'image', 'document'];
|
|
422
|
+
'openai/o3-deep-research': readonly ['text', 'image', 'document'];
|
|
423
|
+
'openai/o3-mini': readonly ['text'];
|
|
424
|
+
'openai/o3-pro': readonly ['text', 'image', 'document'];
|
|
425
|
+
'openai/o4-mini': readonly ['text', 'image', 'document'];
|
|
426
|
+
'openai/tts-1': readonly ['text'];
|
|
427
|
+
'openai/tts-1-hd': readonly ['text'];
|
|
428
|
+
'openai/whisper-1': readonly ['text', 'audio'];
|
|
429
|
+
'perplexity/sonar': readonly ['text', 'image'];
|
|
430
|
+
'perplexity/sonar-pro': readonly ['text', 'image'];
|
|
431
|
+
'perplexity/sonar-reasoning-pro': readonly ['text', 'image'];
|
|
432
|
+
'poolside/laguna-s-2.1': readonly ['text'];
|
|
433
|
+
'poolside/laguna-s-2.1-free': readonly ['text'];
|
|
434
|
+
'sakana/fugu-ultra': readonly ['text', 'image'];
|
|
435
|
+
'sakana/namazu': readonly ['text', 'image', 'document'];
|
|
436
|
+
'stepfun/step-3.5-flash': readonly ['text', 'image'];
|
|
437
|
+
'stepfun/step-3.7-flash': readonly ['text', 'image'];
|
|
438
|
+
'tencent/hy3': readonly ['text'];
|
|
439
|
+
'thinkingmachines/inkling': readonly ['text', 'image', 'document'];
|
|
440
|
+
'thinkingmachines/inkling-small': readonly ['text', 'image', 'document'];
|
|
441
|
+
'xai/grok-4.1-fast-non-reasoning': readonly ['text', 'image', 'document'];
|
|
442
|
+
'xai/grok-4.1-fast-reasoning': readonly ['text', 'image', 'document'];
|
|
443
|
+
'xai/grok-4.20-multi-agent': readonly ['text', 'image', 'document'];
|
|
444
|
+
'xai/grok-4.20-multi-agent-beta': readonly ['text', 'image', 'document'];
|
|
445
|
+
'xai/grok-4.20-non-reasoning': readonly ['text', 'image', 'document'];
|
|
446
|
+
'xai/grok-4.20-non-reasoning-beta': readonly ['text', 'image', 'document'];
|
|
447
|
+
'xai/grok-4.20-reasoning': readonly ['text', 'image', 'document'];
|
|
448
|
+
'xai/grok-4.20-reasoning-beta': readonly ['text', 'image', 'document'];
|
|
449
|
+
'xai/grok-4.3': readonly ['text', 'image', 'document'];
|
|
450
|
+
'xai/grok-4.5': readonly ['text', 'image', 'document'];
|
|
451
|
+
'xai/grok-build-0.1': readonly ['text', 'image'];
|
|
452
|
+
'xai/grok-stt': readonly ['text', 'audio'];
|
|
453
|
+
'xai/grok-tts': readonly ['text'];
|
|
454
|
+
'xai/grok-voice-think-fast-1.0': readonly ['text', 'audio'];
|
|
455
|
+
'xai/grok-voice-think-fast-2.0': readonly ['text', 'audio'];
|
|
456
|
+
'xiaomi/mimo-v2.5': readonly ['text', 'image', 'document'];
|
|
457
|
+
'xiaomi/mimo-v2.5-pro': readonly ['text'];
|
|
458
|
+
'zai/glm-4.5': readonly ['text'];
|
|
459
|
+
'zai/glm-4.5-air': readonly ['text'];
|
|
460
|
+
'zai/glm-4.5v': readonly ['text', 'image'];
|
|
461
|
+
'zai/glm-4.6': readonly ['text'];
|
|
462
|
+
'zai/glm-4.6v': readonly ['text', 'image', 'document'];
|
|
463
|
+
'zai/glm-4.6v-flash': readonly ['text', 'image', 'document'];
|
|
464
|
+
'zai/glm-4.7': readonly ['text'];
|
|
465
|
+
'zai/glm-4.7-flash': readonly ['text'];
|
|
466
|
+
'zai/glm-4.7-flashx': readonly ['text'];
|
|
467
|
+
'zai/glm-5': readonly ['text'];
|
|
468
|
+
'zai/glm-5-turbo': readonly ['text'];
|
|
469
|
+
'zai/glm-5.1': readonly ['text'];
|
|
470
|
+
'zai/glm-5.2': readonly ['text'];
|
|
471
|
+
'zai/glm-5.2-fast': readonly ['text'];
|
|
472
|
+
'zai/glm-5v-turbo': readonly ['text', 'image', 'document'];
|
|
473
|
+
};
|
|
474
|
+
export type VercelGatewayChatModelToolCapabilitiesByName = {
|
|
475
|
+
[K in VercelGatewayChatModel]: readonly [];
|
|
476
|
+
};
|
|
477
|
+
export type VercelGatewayEmbeddingModelProviderOptionsByName = {
|
|
478
|
+
[K in VercelGatewayEmbeddingModel]: VercelGatewayEmbeddingProviderOptions;
|
|
479
|
+
};
|
|
480
|
+
export type VercelGatewayEmbeddingModelInputModalitiesByName = {
|
|
481
|
+
[K in VercelGatewayEmbeddingModel]: readonly ['text'];
|
|
482
|
+
};
|
|
483
|
+
export type VercelGatewayImageModelProviderOptionsByName = {
|
|
484
|
+
[K in VercelGatewayImageModel]: VercelGatewayImageProviderOptions;
|
|
485
|
+
};
|
|
486
|
+
export type VercelGatewayImageModelSizeByName = {
|
|
487
|
+
[K in VercelGatewayImageModel]: VercelGatewayImageSize;
|
|
488
|
+
};
|
|
489
|
+
export type VercelGatewayImageModelInputModalitiesByName = {
|
|
490
|
+
[K in VercelGatewayImageModel]: readonly [];
|
|
491
|
+
};
|
|
492
|
+
export type ResolveProviderOptions<TModel extends string> = TModel extends keyof VercelGatewayChatModelProviderOptionsByName ? VercelGatewayChatModelProviderOptionsByName[TModel] : TModel extends VercelGatewayEmbeddingModel ? VercelGatewayEmbeddingProviderOptions : TModel extends VercelGatewayImageModel ? VercelGatewayImageProviderOptions : VercelGatewayTextProviderOptions;
|
|
493
|
+
export type ResolveInputModalities<TModel extends string> = TModel extends keyof VercelGatewayModelInputModalitiesByName ? VercelGatewayModelInputModalitiesByName[TModel] : readonly ['text'];
|