@tanstack/ai-vercel-gateway 0.3.1 → 0.3.2
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/dist/esm/model-meta.d.ts +21 -11
- package/dist/esm/model-meta.js +11 -3
- package/dist/esm/model-meta.js.map +1 -1
- package/package.json +3 -3
- package/src/model-meta.ts +95 -30
package/dist/esm/model-meta.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VercelGatewayEmbeddingProviderOptions } from './embedding/embedding-provider-options.js';
|
|
2
2
|
import { VercelGatewayImageProviderOptions, VercelGatewayImageSize } from './image/image-provider-options.js';
|
|
3
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-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-3-haiku", "anthropic/claude-fable-5", "anthropic/claude-fable-5.1", "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-opus-5.5", "anthropic/claude-opus-5.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", "bytedance/seed-1.6", "bytedance/seed-1.8", "bytedance/seed-2.1-turbo", "cohere/command-a", "deepseek/deepseek-r1", "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-flash-vision-exp", "deepseek/deepseek-v4-pro", "deepseek/deepseek-v4-pro-0813", "deepseek/deepseek-v4.1-flash", "fireworks/ember-1", "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.5-transcribe", "google/gemini-3.5-transcribe-live", "google/gemini-3.6-flash", "google/gemini-3.7-flash", "google/gemini-3.8-flash", "google/gemini-3.8-flash-lite-tts", "google/gemini-3.8-flash-tts", "google/gemini-3.8-live", "google/gemini-3.8-live-extended-thinking", "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-
|
|
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-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-3-haiku", "anthropic/claude-fable-5", "anthropic/claude-fable-5.1", "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-opus-5.5", "anthropic/claude-opus-5.5-fast", "anthropic/claude-sonnet-4", "anthropic/claude-sonnet-4.5", "anthropic/claude-sonnet-4.6", "anthropic/claude-sonnet-5", "anthropic/claude-sonnet-5.5", "arcee-ai/trinity-large-thinking", "bytedance/seed-1.6", "bytedance/seed-1.8", "bytedance/seed-2.1-turbo", "cohere/command-a", "deepseek/deepseek-r1", "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-flash-vision-exp", "deepseek/deepseek-v4-pro", "deepseek/deepseek-v4-pro-0813", "deepseek/deepseek-v4.1-flash", "fireworks/ember-1", "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.5-transcribe", "google/gemini-3.5-transcribe-live", "google/gemini-3.6-flash", "google/gemini-3.7-flash", "google/gemini-3.8-flash", "google/gemini-3.8-flash-lite-tts", "google/gemini-3.8-flash-tts", "google/gemini-3.8-live", "google/gemini-3.8-live-extended-thinking", "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-sante-free", "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", "liquid/d1", "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", "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-medium-3.5", "mistral/mistral-nemo", "mistral/mistral-small", "mixedbread/toast-1", "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-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-fast", "openai/gpt-4.1-mini", "openai/gpt-4.1-mini-fast", "openai/gpt-4.1-nano", "openai/gpt-4.1-nano-fast", "openai/gpt-4o", "openai/gpt-4o-fast", "openai/gpt-4o-mini", "openai/gpt-4o-mini-fast", "openai/gpt-4o-mini-transcribe", "openai/gpt-4o-transcribe", "openai/gpt-5", "openai/gpt-5-codex", "openai/gpt-5-fast", "openai/gpt-5-mini", "openai/gpt-5-mini-fast", "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.1-thinking-fast", "openai/gpt-5.2", "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-fast", "openai/gpt-5.4-mini", "openai/gpt-5.4-mini-fast", "openai/gpt-5.4-nano", "openai/gpt-5.4-pro", "openai/gpt-5.5", "openai/gpt-5.5-fast", "openai/gpt-5.5-pro", "openai/gpt-5.6-luna", "openai/gpt-5.6-luna-fast", "openai/gpt-5.6-sol", "openai/gpt-5.6-sol-fast", "openai/gpt-5.6-terra", "openai/gpt-5.6-terra-fast", "openai/gpt-6-astra", "openai/gpt-6-astra-fast", "openai/gpt-6-luna", "openai/gpt-6-luna-fast", "openai/gpt-6-sol", "openai/gpt-6-sol-fast", "openai/gpt-6.1-sol", "openai/gpt-6.1-sol-fast", "openai/gpt-live-1", "openai/gpt-oss-120b", "openai/gpt-oss-20b", "openai/gpt-oss-safeguard-120b", "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-fast", "openai/o3-mini", "openai/o3-pro", "openai/o4-mini", "openai/o4-mini-fast", "openai/tts-1", "openai/tts-1-hd", "openai/whisper-1", "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-beta", "spacexai/grok-4.20-non-reasoning", "spacexai/grok-4.20-non-reasoning-beta", "spacexai/grok-4.20-reasoning", "spacexai/grok-4.20-reasoning-beta", "spacexai/grok-4.3", "spacexai/grok-4.5", "spacexai/grok-4.6", "spacexai/grok-4.7", "spacexai/grok-build-0.1", "spacexai/grok-stt", "spacexai/grok-tts", "spacexai/grok-voice-think-fast-1.0", "spacexai/grok-voice-think-fast-2.0", "stealth/pixel-canary", "stepfun/step-3.5-flash", "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", "typesafe-ai/jev", "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"];
|
|
5
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", "fireworks", "fish-audio", "google", "inception", "inclusionai", "inference-net", "interfaze", "klingai", "meta", "minimax", "mistral", "mixedbread", "moonshotai", "morph", "nvidia", "openai", "perplexity", "poolside", "prodia", "quiverai", "recraft", "sakana", "spacexai", "stepfun", "tencent", "thinkingmachines", "typesafe-ai", "voyage", "xiaomi", "zai"];
|
|
6
|
+
export declare const VERCEL_GATEWAY_PROVIDERS: readonly ["alibaba", "amazon", "anthropic", "arcee-ai", "bfl", "bytedance", "cohere", "deepseek", "fireworks", "fish-audio", "google", "inception", "inclusionai", "inference-net", "interfaze", "klingai", "liquid", "meituan", "meta", "minimax", "mistral", "mixedbread", "moonshotai", "morph", "nvidia", "openai", "perplexity", "poolside", "prodia", "quiverai", "recraft", "sakana", "spacexai", "stealth", "stepfun", "tencent", "thinkingmachines", "typesafe-ai", "voyage", "xiaomi", "zai"];
|
|
7
7
|
export type VercelGatewayProvider = (typeof VERCEL_GATEWAY_PROVIDERS)[number];
|
|
8
8
|
export declare const VERCEL_GATEWAY_MODEL_TAGS: readonly ["audio-input", "explicit-caching", "fast", "file-input", "free", "image-generation", "implicit-caching", "reasoning", "structured-output", "tool-use", "video-generation", "video-input", "vision", "web-search", "websocket-realtime", "websocket-transcription"];
|
|
9
9
|
export type VercelGatewayModelTag = (typeof VERCEL_GATEWAY_MODEL_TAGS)[number];
|
|
@@ -60,12 +60,13 @@ export type VercelGatewayChatModelProviderOptionsByName = {
|
|
|
60
60
|
'anthropic/claude-opus-4.8-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
61
61
|
'anthropic/claude-opus-5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
62
62
|
'anthropic/claude-opus-5-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
63
|
-
'anthropic/claude-opus-5.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
64
|
-
'anthropic/claude-opus-5.5-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
63
|
+
'anthropic/claude-opus-5.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
64
|
+
'anthropic/claude-opus-5.5-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
65
65
|
'anthropic/claude-sonnet-4': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
66
66
|
'anthropic/claude-sonnet-4.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
67
67
|
'anthropic/claude-sonnet-4.6': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
68
68
|
'anthropic/claude-sonnet-5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
69
|
+
'anthropic/claude-sonnet-5.5': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
69
70
|
'arcee-ai/trinity-large-thinking': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
70
71
|
'bytedance/seed-1.6': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
71
72
|
'bytedance/seed-1.8': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
@@ -117,13 +118,16 @@ export type VercelGatewayChatModelProviderOptionsByName = {
|
|
|
117
118
|
'inception/mercury-coder-small': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'response_format' | 'structured_outputs'>;
|
|
118
119
|
'inclusionai/ling-3.0-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
119
120
|
'inclusionai/ling-3.0-flash-fin': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
120
|
-
'inclusionai/ling-3.0-flash-fin-free': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
121
121
|
'inclusionai/ling-3.0-flash-sante': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
122
122
|
'inclusionai/ling-3.0-flash-sante-free': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
123
123
|
'inclusionai/ling-3.0-flash-vl': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
124
|
+
'inclusionai/ling-3.1-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
125
|
+
'inclusionai/ling-3.1-flash-free': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
124
126
|
'inference-net/schematron-v2-small': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'response_format' | 'structured_outputs'>;
|
|
125
127
|
'inference-net/schematron-v2-turbo': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'response_format' | 'structured_outputs'>;
|
|
126
128
|
'interfaze/interfaze-beta': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
129
|
+
'liquid/d1': VercelGatewayCommonOptions;
|
|
130
|
+
'meituan/longcat-2.5-preview': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
127
131
|
'meta/llama-3.1-70b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
128
132
|
'meta/llama-3.1-8b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
129
133
|
'meta/llama-3.3-70b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
@@ -221,6 +225,8 @@ export type VercelGatewayChatModelProviderOptionsByName = {
|
|
|
221
225
|
'openai/gpt-6-luna-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
222
226
|
'openai/gpt-6-sol': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
223
227
|
'openai/gpt-6-sol-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
228
|
+
'openai/gpt-6.1-sol': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
229
|
+
'openai/gpt-6.1-sol-fast': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
224
230
|
'openai/gpt-live-1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop'>;
|
|
225
231
|
'openai/gpt-oss-120b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
226
232
|
'openai/gpt-oss-20b': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
@@ -241,9 +247,7 @@ export type VercelGatewayChatModelProviderOptionsByName = {
|
|
|
241
247
|
'openai/tts-1': VercelGatewayCommonOptions;
|
|
242
248
|
'openai/tts-1-hd': VercelGatewayCommonOptions;
|
|
243
249
|
'openai/whisper-1': VercelGatewayCommonOptions;
|
|
244
|
-
'perplexity/sonar': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'response_format' | 'structured_outputs'>;
|
|
245
|
-
'perplexity/sonar-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'response_format' | 'structured_outputs'>;
|
|
246
|
-
'perplexity/sonar-reasoning-pro': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
250
|
+
'perplexity/sonar': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
247
251
|
'poolside/laguna-s-2.1': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
248
252
|
'poolside/laguna-s-2.1-free': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
249
253
|
'quiverai/arrow-2': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
@@ -269,6 +273,7 @@ export type VercelGatewayChatModelProviderOptionsByName = {
|
|
|
269
273
|
'spacexai/grok-tts': VercelGatewayCommonOptions;
|
|
270
274
|
'spacexai/grok-voice-think-fast-1.0': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
271
275
|
'spacexai/grok-voice-think-fast-2.0': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
276
|
+
'stealth/pixel-canary': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
272
277
|
'stepfun/step-3.5-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning'>;
|
|
273
278
|
'stepfun/step-3.7-flash': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
274
279
|
'stepfun/step-5-preview': VercelGatewayCommonOptions & Pick<VercelGatewayBaseOptions, 'max_tokens' | 'max_output_tokens' | 'temperature' | 'stop' | 'reasoning' | 'include_reasoning' | 'response_format' | 'structured_outputs'>;
|
|
@@ -358,6 +363,7 @@ export type VercelGatewayModelInputModalitiesByName = {
|
|
|
358
363
|
'anthropic/claude-sonnet-4.5': readonly ['text', 'image', 'document'];
|
|
359
364
|
'anthropic/claude-sonnet-4.6': readonly ['text', 'image', 'document'];
|
|
360
365
|
'anthropic/claude-sonnet-5': readonly ['text', 'image', 'document'];
|
|
366
|
+
'anthropic/claude-sonnet-5.5': readonly ['text', 'image', 'document'];
|
|
361
367
|
'arcee-ai/trinity-large-thinking': readonly ['text'];
|
|
362
368
|
'bytedance/seed-1.6': readonly ['text', 'image'];
|
|
363
369
|
'bytedance/seed-1.8': readonly ['text', 'image'];
|
|
@@ -419,13 +425,16 @@ export type VercelGatewayModelInputModalitiesByName = {
|
|
|
419
425
|
'inception/mercury-coder-small': readonly ['text'];
|
|
420
426
|
'inclusionai/ling-3.0-flash': readonly ['text'];
|
|
421
427
|
'inclusionai/ling-3.0-flash-fin': readonly ['text'];
|
|
422
|
-
'inclusionai/ling-3.0-flash-fin-free': readonly ['text'];
|
|
423
428
|
'inclusionai/ling-3.0-flash-sante': readonly ['text'];
|
|
424
429
|
'inclusionai/ling-3.0-flash-sante-free': readonly ['text'];
|
|
425
430
|
'inclusionai/ling-3.0-flash-vl': readonly ['text', 'image', 'video'];
|
|
431
|
+
'inclusionai/ling-3.1-flash': readonly ['text'];
|
|
432
|
+
'inclusionai/ling-3.1-flash-free': readonly ['text'];
|
|
426
433
|
'inference-net/schematron-v2-small': readonly ['text'];
|
|
427
434
|
'inference-net/schematron-v2-turbo': readonly ['text'];
|
|
428
435
|
'interfaze/interfaze-beta': readonly ['text', 'image', 'document'];
|
|
436
|
+
'liquid/d1': readonly ['text'];
|
|
437
|
+
'meituan/longcat-2.5-preview': readonly ['text', 'image'];
|
|
429
438
|
'meta/llama-3.1-70b': readonly ['text'];
|
|
430
439
|
'meta/llama-3.1-8b': readonly ['text'];
|
|
431
440
|
'meta/llama-3.3-70b': readonly ['text'];
|
|
@@ -528,6 +537,8 @@ export type VercelGatewayModelInputModalitiesByName = {
|
|
|
528
537
|
'openai/gpt-6-luna-fast': readonly ['text', 'image', 'document'];
|
|
529
538
|
'openai/gpt-6-sol': readonly ['text', 'image', 'document'];
|
|
530
539
|
'openai/gpt-6-sol-fast': readonly ['text', 'image', 'document'];
|
|
540
|
+
'openai/gpt-6.1-sol': readonly ['text', 'image', 'document'];
|
|
541
|
+
'openai/gpt-6.1-sol-fast': readonly ['text', 'image', 'document'];
|
|
531
542
|
'openai/gpt-live-1': readonly ['text', 'audio'];
|
|
532
543
|
'openai/gpt-oss-120b': readonly ['text'];
|
|
533
544
|
'openai/gpt-oss-20b': readonly ['text'];
|
|
@@ -549,8 +560,6 @@ export type VercelGatewayModelInputModalitiesByName = {
|
|
|
549
560
|
'openai/tts-1-hd': readonly ['text'];
|
|
550
561
|
'openai/whisper-1': readonly ['text', 'audio'];
|
|
551
562
|
'perplexity/sonar': readonly ['text', 'image'];
|
|
552
|
-
'perplexity/sonar-pro': readonly ['text', 'image'];
|
|
553
|
-
'perplexity/sonar-reasoning-pro': readonly ['text', 'image'];
|
|
554
563
|
'poolside/laguna-s-2.1': readonly ['text'];
|
|
555
564
|
'poolside/laguna-s-2.1-free': readonly ['text'];
|
|
556
565
|
'quiverai/arrow-2': readonly ['text', 'image'];
|
|
@@ -580,6 +589,7 @@ export type VercelGatewayModelInputModalitiesByName = {
|
|
|
580
589
|
'spacexai/grok-tts': readonly ['text'];
|
|
581
590
|
'spacexai/grok-voice-think-fast-1.0': readonly ['text', 'audio'];
|
|
582
591
|
'spacexai/grok-voice-think-fast-2.0': readonly ['text', 'audio'];
|
|
592
|
+
'stealth/pixel-canary': readonly ['text', 'image'];
|
|
583
593
|
'stepfun/step-3.5-flash': readonly ['text', 'image'];
|
|
584
594
|
'stepfun/step-3.7-flash': readonly ['text', 'image'];
|
|
585
595
|
'stepfun/step-5-preview': readonly ['text', 'image'];
|
package/dist/esm/model-meta.js
CHANGED
|
@@ -54,6 +54,7 @@ var VERCEL_GATEWAY_CHAT_MODELS = [
|
|
|
54
54
|
"anthropic/claude-sonnet-4.5",
|
|
55
55
|
"anthropic/claude-sonnet-4.6",
|
|
56
56
|
"anthropic/claude-sonnet-5",
|
|
57
|
+
"anthropic/claude-sonnet-5.5",
|
|
57
58
|
"arcee-ai/trinity-large-thinking",
|
|
58
59
|
"bytedance/seed-1.6",
|
|
59
60
|
"bytedance/seed-1.8",
|
|
@@ -105,13 +106,16 @@ var VERCEL_GATEWAY_CHAT_MODELS = [
|
|
|
105
106
|
"inception/mercury-coder-small",
|
|
106
107
|
"inclusionai/ling-3.0-flash",
|
|
107
108
|
"inclusionai/ling-3.0-flash-fin",
|
|
108
|
-
"inclusionai/ling-3.0-flash-fin-free",
|
|
109
109
|
"inclusionai/ling-3.0-flash-sante",
|
|
110
110
|
"inclusionai/ling-3.0-flash-sante-free",
|
|
111
111
|
"inclusionai/ling-3.0-flash-vl",
|
|
112
|
+
"inclusionai/ling-3.1-flash",
|
|
113
|
+
"inclusionai/ling-3.1-flash-free",
|
|
112
114
|
"inference-net/schematron-v2-small",
|
|
113
115
|
"inference-net/schematron-v2-turbo",
|
|
114
116
|
"interfaze/interfaze-beta",
|
|
117
|
+
"liquid/d1",
|
|
118
|
+
"meituan/longcat-2.5-preview",
|
|
115
119
|
"meta/llama-3.1-70b",
|
|
116
120
|
"meta/llama-3.1-8b",
|
|
117
121
|
"meta/llama-3.3-70b",
|
|
@@ -209,6 +213,8 @@ var VERCEL_GATEWAY_CHAT_MODELS = [
|
|
|
209
213
|
"openai/gpt-6-luna-fast",
|
|
210
214
|
"openai/gpt-6-sol",
|
|
211
215
|
"openai/gpt-6-sol-fast",
|
|
216
|
+
"openai/gpt-6.1-sol",
|
|
217
|
+
"openai/gpt-6.1-sol-fast",
|
|
212
218
|
"openai/gpt-live-1",
|
|
213
219
|
"openai/gpt-oss-120b",
|
|
214
220
|
"openai/gpt-oss-20b",
|
|
@@ -230,8 +236,6 @@ var VERCEL_GATEWAY_CHAT_MODELS = [
|
|
|
230
236
|
"openai/tts-1-hd",
|
|
231
237
|
"openai/whisper-1",
|
|
232
238
|
"perplexity/sonar",
|
|
233
|
-
"perplexity/sonar-pro",
|
|
234
|
-
"perplexity/sonar-reasoning-pro",
|
|
235
239
|
"poolside/laguna-s-2.1",
|
|
236
240
|
"poolside/laguna-s-2.1-free",
|
|
237
241
|
"quiverai/arrow-2",
|
|
@@ -257,6 +261,7 @@ var VERCEL_GATEWAY_CHAT_MODELS = [
|
|
|
257
261
|
"spacexai/grok-tts",
|
|
258
262
|
"spacexai/grok-voice-think-fast-1.0",
|
|
259
263
|
"spacexai/grok-voice-think-fast-2.0",
|
|
264
|
+
"stealth/pixel-canary",
|
|
260
265
|
"stepfun/step-3.5-flash",
|
|
261
266
|
"stepfun/step-3.7-flash",
|
|
262
267
|
"stepfun/step-5-preview",
|
|
@@ -308,6 +313,8 @@ var VERCEL_GATEWAY_PROVIDERS = [
|
|
|
308
313
|
"inference-net",
|
|
309
314
|
"interfaze",
|
|
310
315
|
"klingai",
|
|
316
|
+
"liquid",
|
|
317
|
+
"meituan",
|
|
311
318
|
"meta",
|
|
312
319
|
"minimax",
|
|
313
320
|
"mistral",
|
|
@@ -323,6 +330,7 @@ var VERCEL_GATEWAY_PROVIDERS = [
|
|
|
323
330
|
"recraft",
|
|
324
331
|
"sakana",
|
|
325
332
|
"spacexai",
|
|
333
|
+
"stealth",
|
|
326
334
|
"stepfun",
|
|
327
335
|
"tencent",
|
|
328
336
|
"thinkingmachines",
|