modelpedia 0.0.3 → 0.0.5
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/README.md +10 -4
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +10 -2
- package/dist/index.d.mts +10 -2
- package/dist/index.mjs +1 -1
- package/dist/providers/alibaba.cjs +2 -2
- package/dist/providers/alibaba.d.cts +1 -1
- package/dist/providers/alibaba.d.mts +1 -1
- package/dist/providers/alibaba.mjs +2 -2
- package/dist/providers/amazon.cjs +2 -2
- package/dist/providers/amazon.d.cts +1 -1
- package/dist/providers/amazon.d.mts +1 -1
- package/dist/providers/amazon.mjs +2 -2
- package/dist/providers/anthropic.cjs +2 -2
- package/dist/providers/anthropic.d.cts +1 -1
- package/dist/providers/anthropic.d.mts +1 -1
- package/dist/providers/anthropic.mjs +2 -2
- package/dist/providers/azure.cjs +2 -2
- package/dist/providers/azure.d.cts +1 -1
- package/dist/providers/azure.d.mts +1 -1
- package/dist/providers/azure.mjs +2 -2
- package/dist/providers/baseten.cjs +2 -2
- package/dist/providers/baseten.d.cts +1 -1
- package/dist/providers/baseten.d.mts +1 -1
- package/dist/providers/baseten.mjs +2 -2
- package/dist/providers/cerebras.cjs +2 -2
- package/dist/providers/cerebras.d.cts +1 -1
- package/dist/providers/cerebras.d.mts +1 -1
- package/dist/providers/cerebras.mjs +2 -2
- package/dist/providers/cloudflare-ai-gateway.cjs +4 -0
- package/dist/providers/cloudflare-ai-gateway.d.cts +7 -0
- package/dist/providers/cloudflare-ai-gateway.d.mts +7 -0
- package/dist/providers/cloudflare-ai-gateway.mjs +4 -0
- package/dist/providers/cloudflare-workers-ai.cjs +4 -0
- package/dist/providers/cloudflare-workers-ai.d.cts +7 -0
- package/dist/providers/cloudflare-workers-ai.d.mts +7 -0
- package/dist/providers/cloudflare-workers-ai.mjs +4 -0
- package/dist/providers/cohere.cjs +2 -2
- package/dist/providers/cohere.d.cts +1 -1
- package/dist/providers/cohere.d.mts +1 -1
- package/dist/providers/cohere.mjs +2 -2
- package/dist/providers/cursor.cjs +1 -1
- package/dist/providers/cursor.d.cts +1 -1
- package/dist/providers/cursor.d.mts +1 -1
- package/dist/providers/cursor.mjs +1 -1
- package/dist/providers/deepseek.cjs +2 -2
- package/dist/providers/deepseek.d.cts +1 -1
- package/dist/providers/deepseek.d.mts +1 -1
- package/dist/providers/deepseek.mjs +2 -2
- package/dist/providers/fireworks.cjs +2 -2
- package/dist/providers/fireworks.d.cts +1 -1
- package/dist/providers/fireworks.d.mts +1 -1
- package/dist/providers/fireworks.mjs +2 -2
- package/dist/providers/google.cjs +2 -2
- package/dist/providers/google.d.cts +1 -1
- package/dist/providers/google.d.mts +1 -1
- package/dist/providers/google.mjs +2 -2
- package/dist/providers/groq.cjs +2 -2
- package/dist/providers/groq.d.cts +1 -1
- package/dist/providers/groq.d.mts +1 -1
- package/dist/providers/groq.mjs +2 -2
- package/dist/providers/huggingface.cjs +2 -2
- package/dist/providers/huggingface.d.cts +1 -1
- package/dist/providers/huggingface.d.mts +1 -1
- package/dist/providers/huggingface.mjs +2 -2
- package/dist/providers/meta.cjs +2 -2
- package/dist/providers/meta.d.cts +1 -1
- package/dist/providers/meta.d.mts +1 -1
- package/dist/providers/meta.mjs +2 -2
- package/dist/providers/minimax.cjs +2 -2
- package/dist/providers/minimax.d.cts +1 -1
- package/dist/providers/minimax.d.mts +1 -1
- package/dist/providers/minimax.mjs +2 -2
- package/dist/providers/mistral.cjs +2 -2
- package/dist/providers/mistral.d.cts +1 -1
- package/dist/providers/mistral.d.mts +1 -1
- package/dist/providers/mistral.mjs +2 -2
- package/dist/providers/moonshot.cjs +2 -2
- package/dist/providers/moonshot.d.cts +1 -1
- package/dist/providers/moonshot.d.mts +1 -1
- package/dist/providers/moonshot.mjs +2 -2
- package/dist/providers/nvidia.cjs +2 -2
- package/dist/providers/nvidia.d.cts +1 -1
- package/dist/providers/nvidia.d.mts +1 -1
- package/dist/providers/nvidia.mjs +2 -2
- package/dist/providers/ollama.cjs +2 -2
- package/dist/providers/ollama.d.cts +1 -1
- package/dist/providers/ollama.d.mts +1 -1
- package/dist/providers/ollama.mjs +2 -2
- package/dist/providers/openai.cjs +2 -2
- package/dist/providers/openai.d.cts +1 -1
- package/dist/providers/openai.d.mts +1 -1
- package/dist/providers/openai.mjs +2 -2
- package/dist/providers/opencode.cjs +2 -2
- package/dist/providers/opencode.d.cts +1 -1
- package/dist/providers/opencode.d.mts +1 -1
- package/dist/providers/opencode.mjs +2 -2
- package/dist/providers/openrouter.cjs +15 -6
- package/dist/providers/openrouter.d.cts +1 -1
- package/dist/providers/openrouter.d.mts +1 -1
- package/dist/providers/openrouter.mjs +15 -6
- package/dist/providers/perplexity.cjs +2 -2
- package/dist/providers/perplexity.d.cts +1 -1
- package/dist/providers/perplexity.d.mts +1 -1
- package/dist/providers/perplexity.mjs +2 -2
- package/dist/providers/qwen.cjs +2 -2
- package/dist/providers/qwen.d.cts +1 -1
- package/dist/providers/qwen.d.mts +1 -1
- package/dist/providers/qwen.mjs +2 -2
- package/dist/providers/together.cjs +2 -2
- package/dist/providers/together.d.cts +1 -1
- package/dist/providers/together.d.mts +1 -1
- package/dist/providers/together.mjs +2 -2
- package/dist/providers/vercel.cjs +2 -2
- package/dist/providers/vercel.d.cts +1 -1
- package/dist/providers/vercel.d.mts +1 -1
- package/dist/providers/vercel.mjs +2 -2
- package/dist/providers/vertex.cjs +2 -2
- package/dist/providers/vertex.d.cts +1 -1
- package/dist/providers/vertex.d.mts +1 -1
- package/dist/providers/vertex.mjs +2 -2
- package/dist/providers/xai.cjs +2 -2
- package/dist/providers/xai.d.cts +1 -1
- package/dist/providers/xai.d.mts +1 -1
- package/dist/providers/xai.mjs +2 -2
- package/dist/providers/zai.cjs +2 -2
- package/dist/providers/zai.d.cts +1 -1
- package/dist/providers/zai.d.mts +1 -1
- package/dist/providers/zai.mjs +2 -2
- package/dist/types.d.cts +80 -8
- package/dist/types.d.mts +80 -8
- package/package.json +3 -3
- package/dist/providers/cloudflare.cjs +0 -4
- package/dist/providers/cloudflare.d.cts +0 -7
- package/dist/providers/cloudflare.d.mts +0 -7
- package/dist/providers/cloudflare.mjs +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e={id:`vertex`,name:`Google Vertex AI`,region:`US`,url:`https://cloud.google.com/vertex-ai`,api_url:`https://us-central1-aiplatform.googleapis.com/v1`,docs_url:`https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models`,pricing_url:`https://cloud.google.com/vertex-ai/generative-ai/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
1
|
+
const e={id:`vertex`,name:`Google Vertex AI`,region:`US`,headquarters:`Mountain View, CA`,url:`https://cloud.google.com/vertex-ai`,api_url:`https://us-central1-aiplatform.googleapis.com/v1`,docs_url:`https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models`,pricing_url:`https://cloud.google.com/vertex-ai/generative-ai/pricing`,description:`Google Cloud Vertex AI provides enterprise access to Gemini, Claude, Llama, and Mistral models.`,type:`cloud`,playground_url:`https://console.cloud.google.com/vertex-ai/generative`,status_url:`https://status.cloud.google.com`,sdk:{python:`google-cloud-aiplatform`,javascript:`@google-cloud/vertexai`},openai_compatible:!0,free_tier:!1,models_url:`https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models`,twitter_url:`https://x.com/GoogleDeepMind`,blog_url:`https://cloud.google.com/blog/products/ai-machine-learning`,terms_url:`https://cloud.google.com/terms/service-terms`,support_url:`https://cloud.google.com/vertex-ai/docs/support/getting-support`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
2
2
|
<path d="M11.995 20.216a1.892 1.892 0 100 3.785 1.892 1.892 0 000-3.785zm0 2.806a.927.927 0 11.927-.914.914.914 0 01-.927.914z"/>
|
|
3
3
|
<path clip-rule="evenodd" d="M21.687 14.144c.237.038.452.16.605.344a.978.978 0 01-.18 1.3l-8.24 6.082a1.892 1.892 0 00-1.147-1.508l8.28-6.08a.991.991 0 01.682-.138z"/>
|
|
4
4
|
<path clip-rule="evenodd" d="M10.122 21.842l-8.217-6.066a.952.952 0 01-.206-1.287.978.978 0 011.287-.206l8.28 6.08a1.893 1.893 0 00-1.144 1.479z"/>
|
|
@@ -7,4 +7,4 @@ const e={id:`vertex`,name:`Google Vertex AI`,region:`US`,url:`https://cloud.goog
|
|
|
7
7
|
<path d="M11.995 15.917a.978.978 0 01-.965-.965v-2.459a.978.978 0 011.943 0v2.433a.976.976 0 01-.978.991zM11.995 18.762a.978.978 0 100-1.956.978.978 0 000 1.956zM11.995 10.64a.978.978 0 100-1.956.978.978 0 000 1.956zM11.995 7.783a.978.978 0 100-1.956.978.978 0 000 1.956z"/>
|
|
8
8
|
<path d="M15.856 10.177a.978.978 0 01-.965-.965v-2.42a.977.977 0 011.702-.763.979.979 0 01.241.763v2.42a.978.978 0 01-.978.965zM15.869 4.913a.978.978 0 100-1.956.978.978 0 000 1.956zM15.869 15.853a.978.978 0 100-1.956.978.978 0 000 1.956zM15.869 12.996a.978.978 0 100-1.956.978.978 0 000 1.956z"/>
|
|
9
9
|
<path d="M8.121 15.853a.978.978 0 100-1.956.978.978 0 000 1.956zM8.121 7.783a.978.978 0 100-1.956.978.978 0 000 1.956zM8.121 4.913a.978.978 0 100-1.957.978.978 0 000 1.957zM8.134 12.996a.978.978 0 01-.978-.94V9.611a.965.965 0 011.93 0v2.445a.966.966 0 01-.952.94z"/>
|
|
10
|
-
</svg>`,models:[{id:`claude-haiku-4-5@vertex`,name:`Claude Haiku 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-haiku`,context_window:2e5,max_output_tokens:64e3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]}},{id:`claude-opus-4-6@vertex`,name:`Claude Opus 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-opus`,context_window:1e6,max_output_tokens:128e3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]}},{id:`claude-sonnet-4-6@vertex`,name:`Claude Sonnet 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-21`,family:`claude-sonnet`,context_window:1e6,max_output_tokens:64e3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]}},{id:`gemini-2.0-flash-001`,name:`gemini-2.0-flash-001`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.0`,status:`active`,deprecation_date:`2026-06-01`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-2.5-flash`},{id:`gemini-2.0-flash-lite-001`,name:`gemini-2.0-flash-lite-001`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.0`,status:`active`,deprecation_date:`2026-06-01`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-2.5-flash-lite`},{id:`gemini-2.0-flash-lite-preview-02-05`,name:`gemini-2.0-flash-lite-preview-02-05`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.0`,status:`deprecated`,deprecation_date:`2025-12-09`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-2.5-flash-lite`},{id:`gemini-2.0-flash-lite-preview`,name:`gemini-2.0-flash-lite-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.0`,status:`deprecated`,deprecation_date:`2025-12-09`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-2.5-flash-lite`},{id:`gemini-2.0-flash-lite`,name:`gemini-2.0-flash-lite`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.0`,status:`active`,deprecation_date:`2026-06-01`,knowledge_cutoff:`2024-08`,context_window:1048576,max_output_tokens:8192,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},successor:`gemini-2.5-flash-lite`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.0-flash-live-001`,name:`gemini-2.0-flash-live-001`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.0`,status:`deprecated`,deprecation_date:`2025-12-09`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-2.5-flash-native-audio-preview-12-2025`},{id:`gemini-2.0-flash-preview-image-generation`,name:`gemini-2.0-flash-preview-image-generation`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.0`,status:`deprecated`,deprecation_date:`2025-11-14`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-2.5-flash-image`},{id:`gemini-2.0-flash`,name:`gemini-2.0-flash`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.0`,status:`active`,deprecation_date:`2026-06-01`,knowledge_cutoff:`2024-08`,context_window:1048576,max_output_tokens:8192,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},successor:`gemini-2.5-flash`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-computer-use-preview-10-2025`,name:`gemini-2.5-computer-use-preview-10-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,context_window:128e3,max_output_tokens:64e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-flash-image-preview`,name:`gemini-2.5-flash-image-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2026-01-15`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-2.5-flash-image`},{id:`gemini-2.5-flash-image`,name:`gemini-2.5-flash-image`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-10-02`,knowledge_cutoff:`2025-06`,context_window:65536,max_output_tokens:32768,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},successor:`gemini-3.1-flash-image-preview`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-flash-lite-preview-09-2025`,name:`gemini-2.5-flash-lite-preview-09-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-03-31`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},successor:`gemini-3.1-flash-lite-preview`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-flash-lite`,name:`gemini-2.5-flash-lite`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-07-22`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},successor:`gemini-3.1-flash-lite-preview`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-flash-native-audio-preview-12-2025`,name:`gemini-2.5-flash-native-audio-preview-12-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,knowledge_cutoff:`2025-01`,context_window:131072,max_output_tokens:8192,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-flash-preview-05-20`,name:`gemini-2.5-flash-preview-05-20`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2025-11-18`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-3-flash-preview`},{id:`gemini-2.5-flash-preview-09-2025`,name:`gemini-2.5-flash-preview-09-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-flash-preview-09-25`,name:`gemini-2.5-flash-preview-09-25`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2026-02-17`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-3-flash-preview`},{id:`gemini-2.5-flash-preview-tts`,name:`gemini-2.5-flash-preview-tts`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,context_window:8192,max_output_tokens:16384,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},model_type:`tts`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-flash`,name:`gemini-2.5-flash`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-06-17`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},successor:`gemini-3-flash-preview`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-pro-preview-03-25`,name:`gemini-2.5-pro-preview-03-25`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2025-12-02`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-3.1-pro-preview`},{id:`gemini-2.5-pro-preview-05-06`,name:`gemini-2.5-pro-preview-05-06`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2025-12-02`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-3.1-pro-preview`},{id:`gemini-2.5-pro-preview-06-05`,name:`gemini-2.5-pro-preview-06-05`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2025-12-02`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-3.1-pro-preview`},{id:`gemini-2.5-pro-preview-tts`,name:`gemini-2.5-pro-preview-tts`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,context_window:8192,max_output_tokens:16384,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},model_type:`tts`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-2.5-pro`,name:`gemini-2.5-pro`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-06-17`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},successor:`gemini-3.1-pro-preview`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-3-flash-preview`,name:`gemini-3-flash-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-3`,status:`deprecated`,deprecation_date:`2025-12-17`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-3-pro-image-preview`,name:`gemini-3-pro-image-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-3`,status:`deprecated`,deprecation_date:`2025-11-20`,knowledge_cutoff:`2025-01`,context_window:65536,max_output_tokens:32768,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-3-pro-preview`,name:`gemini-3-pro-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-3`,status:`deprecated`,deprecation_date:`2026-03-09`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},successor:`gemini-3.1-pro-preview`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-3.1-flash-image-preview`,name:`gemini-3.1-flash-image-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-3.1`,status:`deprecated`,deprecation_date:`2026-02-26`,knowledge_cutoff:`2025-01`,context_window:131072,max_output_tokens:32768,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-3.1-flash-lite-preview`,name:`gemini-3.1-flash-lite-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-3.1`,status:`deprecated`,deprecation_date:`2026-03-03`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-3.1-pro-preview`,name:`gemini-3.1-pro-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,family:`gemini-3.1`,status:`deprecated`,deprecation_date:`2026-02-19`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-embedding-001`,name:`gemini-embedding-001`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,status:`active`,deprecation_date:`2026-07-14`,context_window:2048,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},model_type:`embed`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-embedding-2-preview`,name:`gemini-embedding-2-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,status:`active`,context_window:8192,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},model_type:`embed`,tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`gemini-embedding-exp-03-07`,name:`gemini-embedding-exp-03-07`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,status:`deprecated`,deprecation_date:`2025-10-30`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-embedding-001`,model_type:`embed`},{id:`gemini-embedding-exp`,name:`gemini-embedding-exp`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,status:`deprecated`,deprecation_date:`2025-10-30`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-embedding-001`,model_type:`embed`},{id:`gemini-live-2.5-flash-preview`,name:`gemini-live-2.5-flash-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,status:`deprecated`,deprecation_date:`2025-12-09`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},successor:`gemini-2.5-flash-native-audio-preview-12-2025`},{id:`gemini-robotics-er-1.5-preview`,name:`gemini-robotics-er-1.5-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-21`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`]},{id:`jamba-1.5-large@vertex`,name:`Jamba 1.5 Large`,created_by:`ai21`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}},{id:`jamba-1.5-mini@vertex`,name:`Jamba 1.5 Mini`,created_by:`ai21`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}},{id:`mistral-medium-3@vertex`,name:`Mistral Medium 3`,created_by:`mistral`,source:`official`,last_updated:`2026-03-21`,family:`mistral-medium`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};
|
|
10
|
+
</svg>`,models:[{id:`claude-haiku-4-5@vertex`,name:`Claude Haiku 4.5`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-haiku`,context_window:2e5,max_output_tokens:64e3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.1,output:5.5,cached_input:.11,batch_input:.55,batch_output:2.75,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[1.1,.11,5.5]},{label:`Batch`,values:[.55,null,2.75]}]}]},model_type:`chat`,tools:[`function_calling`],description:`The fastest model with near-frontier intelligence`,tagline:`The fastest model with near-frontier intelligence`,knowledge_cutoff:`2025-02`,training_data_cutoff:`2025-07`,license:`proprietary`,open_weight:!1},{id:`claude-opus-4-6@vertex`,name:`Claude Opus 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-opus`,context_window:1e6,max_output_tokens:128e3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:5.5,output:27.5,cached_input:.55,batch_input:2.75,batch_output:13.75,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[5.5,.55,27.5]},{label:`Batch`,values:[2.75,null,13.75]}]}]},model_type:`chat`,tools:[`function_calling`],description:`The most intelligent model for building agents and coding`,tagline:`The most intelligent model for building agents and coding`,knowledge_cutoff:`2025-05`,training_data_cutoff:`2025-08`,license:`proprietary`,open_weight:!1},{id:`claude-sonnet-4-6@vertex`,name:`Claude Sonnet 4.6`,created_by:`anthropic`,source:`official`,last_updated:`2026-03-23`,family:`claude-sonnet`,context_window:1e6,max_output_tokens:64e3,capabilities:{streaming:!0,vision:!0,tool_call:!0,reasoning:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:3.3,output:16.5,cached_input:.33,batch_input:1.65,batch_output:8.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[3.3,.33,16.5]},{label:`Batch`,values:[1.65,null,8.25]}]}]},model_type:`chat`,tools:[`function_calling`],description:`The best combination of speed and intelligence`,tagline:`The best combination of speed and intelligence`,knowledge_cutoff:`2025-08`,training_data_cutoff:`2026-01`,license:`proprietary`,open_weight:!1},{id:`deep-research-pro-preview-12-2025`,name:`deep-research-pro-preview-12-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,context_window:1048576,max_output_tokens:65536,model_type:`reasoning`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],family:`deep-research`,license:`proprietary`,open_weight:!1},{id:`embedding-001`,name:`embedding-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2025-10-30`,model_type:`embed`,successor:`gemini-embedding-001`,modalities:{input:[`text`],output:[`text`]},family:`embed`,license:`proprietary`,open_weight:!1},{id:`embedding-gecko-001`,name:`embedding-gecko-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2025-10-30`,model_type:`embed`,successor:`gemini-embedding-001`,modalities:{input:[`text`],output:[`text`]},family:`embed`,license:`proprietary`,open_weight:!1},{id:`gemini-2.0-flash-001`,name:`gemini-2.0-flash-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.0`,status:`active`,deprecation_date:`2026-06-01`,successor:`gemini-2.5-flash`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:.15,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.15,null,.6]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.0-flash-lite-001`,name:`gemini-2.0-flash-lite-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.0`,status:`active`,deprecation_date:`2026-06-01`,successor:`gemini-2.5-flash-lite`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:.15,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.15,null,.6]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.0-flash-lite-preview-02-05`,name:`gemini-2.0-flash-lite-preview-02-05`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.0`,status:`deprecated`,deprecation_date:`2025-12-09`,successor:`gemini-2.5-flash-lite`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:.15,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.15,null,.6]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.0-flash-lite-preview`,name:`gemini-2.0-flash-lite-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.0`,status:`deprecated`,deprecation_date:`2025-12-09`,successor:`gemini-2.5-flash-lite`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:.15,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.15,null,.6]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.0-flash-lite`,name:`gemini-2.0-flash-lite`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.0`,status:`active`,deprecation_date:`2026-06-01`,knowledge_cutoff:`2024-08`,context_window:1048576,max_output_tokens:8192,successor:`gemini-2.5-flash-lite`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.25,output:.075,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.075,null,.3]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.0-flash-live-001`,name:`gemini-2.0-flash-live-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.0`,status:`deprecated`,deprecation_date:`2025-12-09`,successor:`gemini-2.5-flash-native-audio-preview-12-2025`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:.15,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.15,null,.6]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.0-flash-preview-image-generation`,name:`gemini-2.0-flash-preview-image-generation`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.0`,status:`deprecated`,deprecation_date:`2025-11-14`,successor:`gemini-2.5-flash-image`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.25,output:.15,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.15,null,.6]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.0-flash`,name:`gemini-2.0-flash`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.0`,status:`active`,deprecation_date:`2026-06-01`,knowledge_cutoff:`2024-08`,context_window:1048576,max_output_tokens:8192,successor:`gemini-2.5-flash`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.25,output:.15,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.15,null,.6]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-computer-use-preview-10-2025`,name:`gemini-2.5-computer-use-preview-10-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,context_window:128e3,max_output_tokens:64e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-image-preview`,name:`gemini-2.5-flash-image-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2026-01-15`,successor:`gemini-2.5-flash-image`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[.54,null,4.5]},{label:`Flex`,values:[.15,null,1.25]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-image`,name:`gemini-2.5-flash-image`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-10-02`,knowledge_cutoff:`2025-06`,context_window:65536,max_output_tokens:32768,successor:`gemini-3.1-flash-image-preview`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[null,null,null]},{label:`Flex`,values:[.15,null,1.25]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-lite-preview-09-2025`,name:`gemini-2.5-flash-lite-preview-09-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-03-31`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,successor:`gemini-3.1-flash-lite-preview`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[.54,null,4.5]},{label:`Flex`,values:[.15,null,1.25]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-lite`,name:`gemini-2.5-flash-lite`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-07-22`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,successor:`gemini-3.1-flash-lite-preview`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.1,output:.4,batch_input:.05,batch_output:.2,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.1,null,.4]},{label:`Priority`,values:[.18,null,.72]},{label:`Flex`,values:[.05,null,.2]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-native-audio-preview-12-2025`,name:`gemini-2.5-flash-native-audio-preview-12-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,knowledge_cutoff:`2025-01`,context_window:131072,max_output_tokens:8192,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[.54,null,4.5]},{label:`Flex`,values:[.15,null,1.25]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-preview-05-20`,name:`gemini-2.5-flash-preview-05-20`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2025-11-18`,successor:`gemini-3-flash-preview`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[.54,null,4.5]},{label:`Flex`,values:[.15,null,1.25]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-preview-09-2025`,name:`gemini-2.5-flash-preview-09-2025`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[.54,null,4.5]},{label:`Flex`,values:[.15,null,1.25]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-preview-09-25`,name:`gemini-2.5-flash-preview-09-25`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2026-02-17`,successor:`gemini-3-flash-preview`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[.54,null,4.5]},{label:`Flex`,values:[.15,null,1.25]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash-preview-tts`,name:`gemini-2.5-flash-preview-tts`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,context_window:8192,max_output_tokens:16384,model_type:`tts`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[.54,null,4.5]},{label:`Flex`,values:[.15,null,1.25]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],license:`proprietary`,open_weight:!1},{id:`gemini-2.5-flash`,name:`gemini-2.5-flash`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-06-17`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,successor:`gemini-3-flash-preview`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.3,output:2.5,batch_input:.15,batch_output:1.25,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.3,null,2.5]},{label:`Priority`,values:[.54,null,4.5]},{label:`Flex`,values:[.15,null,1.25]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-pro-preview-03-25`,name:`gemini-2.5-pro-preview-03-25`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2025-12-02`,successor:`gemini-3.1-pro-preview`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.25,output:10,batch_input:.625,batch_output:5,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[1.25,null,10]},{label:`Priority`,values:[2.25,null,18]},{label:`Flex`,values:[.625,null,5]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-pro-preview-05-06`,name:`gemini-2.5-pro-preview-05-06`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2025-12-02`,successor:`gemini-3.1-pro-preview`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.25,output:10,batch_input:.625,batch_output:5,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[1.25,null,10]},{label:`Priority`,values:[2.25,null,18]},{label:`Flex`,values:[.625,null,5]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-pro-preview-06-05`,name:`gemini-2.5-pro-preview-06-05`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`deprecated`,deprecation_date:`2025-12-02`,successor:`gemini-3.1-pro-preview`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:1.25,output:10,batch_input:.625,batch_output:5,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[1.25,null,10]},{label:`Priority`,values:[2.25,null,18]},{label:`Flex`,values:[.625,null,5]}]}]},model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-2.5-pro-preview-tts`,name:`gemini-2.5-pro-preview-tts`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,context_window:8192,max_output_tokens:16384,model_type:`tts`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:1.25,output:10,batch_input:.625,batch_output:5,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[1.25,null,10]},{label:`Priority`,values:[2.25,null,18]},{label:`Flex`,values:[.625,null,5]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],license:`proprietary`,open_weight:!1},{id:`gemini-2.5-pro`,name:`gemini-2.5-pro`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-2.5`,status:`active`,deprecation_date:`2026-06-17`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,successor:`gemini-3.1-pro-preview`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:1.25,output:10,batch_input:.625,batch_output:5,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[1.25,null,10]},{label:`Priority`,values:[2.25,null,18]},{label:`Flex`,values:[.625,null,5]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-3-flash-preview`,name:`gemini-3-flash-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-3`,status:`deprecated`,deprecation_date:`2025-12-17`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.5,output:3,batch_input:.25,batch_output:1.5,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.5,null,3]},{label:`Priority`,values:[.9,null,5.4]},{label:`Flex`,values:[.25,null,1.5]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-3-pro-image-preview`,name:`gemini-3-pro-image-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-3`,status:`deprecated`,deprecation_date:`2025-11-20`,knowledge_cutoff:`2025-01`,context_window:65536,max_output_tokens:32768,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:2,output:12,batch_input:1,batch_output:6,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[2,null,12]},{label:`Priority`,values:[null,null,null]},{label:`Flex`,values:[1,null,6]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-3-pro-preview`,name:`gemini-3-pro-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-3`,status:`deprecated`,deprecation_date:`2026-03-09`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,successor:`gemini-3.1-pro-preview`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:2,output:12,batch_input:1,batch_output:6,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[2,null,12]},{label:`Priority`,values:[3.6,null,21.6]},{label:`Flex`,values:[1,null,6]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-3.1-flash-image-preview`,name:`gemini-3.1-flash-image-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-3.1`,status:`deprecated`,deprecation_date:`2026-02-26`,knowledge_cutoff:`2025-01`,context_window:131072,max_output_tokens:32768,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.5,output:3,batch_input:.25,batch_output:1.5,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.5,null,3]},{label:`Priority`,values:[null,null,null]},{label:`Flex`,values:[.25,null,1.5]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-3.1-flash-lite-preview`,name:`gemini-3.1-flash-lite-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-3.1`,status:`deprecated`,deprecation_date:`2026-03-03`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:.25,output:1.5,batch_input:.13,batch_output:.75,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.25,null,1.5]},{label:`Priority`,values:[.45,null,2.7]},{label:`Flex`,values:[.13,null,.75]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-3.1-pro-preview`,name:`gemini-3.1-pro-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,family:`gemini-3.1`,status:`deprecated`,deprecation_date:`2026-02-19`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},pricing:{input:2,output:12,batch_input:1,batch_output:6,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[2,null,12]},{label:`Priority`,values:[3.6,null,21.6]},{label:`Flex`,values:[1,null,6]}]}]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-embedding-001`,name:`gemini-embedding-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,deprecation_date:`2026-07-14`,context_window:2048,model_type:`embed`,capabilities:{vision:!0},modalities:{input:[`text`],output:[`text`]},endpoints:[`generateContent`,`streamGenerateContent`],family:`gemini-embedding`,license:`proprietary`,open_weight:!1},{id:`gemini-embedding-2-preview`,name:`gemini-embedding-2-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,context_window:8192,model_type:`embed`,capabilities:{vision:!0},modalities:{input:[`text`],output:[`text`]},endpoints:[`generateContent`,`streamGenerateContent`],family:`gemini-embedding`,license:`proprietary`,open_weight:!1},{id:`gemini-embedding-exp-03-07`,name:`gemini-embedding-exp-03-07`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2025-10-30`,model_type:`embed`,successor:`gemini-embedding-001`,modalities:{input:[`text`],output:[`text`]},family:`gemini-embedding`,license:`proprietary`,open_weight:!1},{id:`gemini-embedding-exp`,name:`gemini-embedding-exp`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2025-10-30`,model_type:`embed`,successor:`gemini-embedding-001`,modalities:{input:[`text`],output:[`text`]},family:`gemini-embedding`,license:`proprietary`,open_weight:!1},{id:`gemini-live-2.5-flash-preview`,name:`gemini-live-2.5-flash-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2025-12-09`,successor:`gemini-2.5-flash-native-audio-preview-12-2025`,capabilities:{streaming:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`text`]},family:`gemini-2.5`,model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`gemini-robotics-er-1.5-preview`,name:`gemini-robotics-er-1.5-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,knowledge_cutoff:`2025-01`,context_window:1048576,max_output_tokens:65536,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`,`video`,`audio`],output:[`text`,`image`,`audio`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],family:`gemini-1.5`,model_type:`chat`,license:`proprietary`,open_weight:!1},{id:`imagen-3.0-generate-002`,name:`imagen-3.0-generate-002`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2025-11-10`,model_type:`image`,successor:`imagen-4.0-generate-001`,modalities:{input:[`text`],output:[`image`]},family:`imagen-3.0`,license:`proprietary`,open_weight:!1},{id:`imagen-4.0-fast-generate-001`,name:`imagen-4.0-fast-generate-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,deprecation_date:`2026-06-24`,model_type:`image`,successor:[`gemini-3-pro-image-preview`,`gemini-2.5-flash-image`],modalities:{input:[`text`],output:[`image`]},family:`imagen-4.0`,license:`proprietary`,open_weight:!1},{id:`imagen-4.0-generate-001`,name:`imagen-4.0-generate-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,deprecation_date:`2026-06-24`,model_type:`image`,successor:[`gemini-3-pro-image-preview`,`gemini-2.5-flash-image`],modalities:{input:[`text`],output:[`image`]},family:`imagen-4.0`,license:`proprietary`,open_weight:!1},{id:`imagen-4.0-generate-preview-06-06`,name:`imagen-4.0-generate-preview-06-06`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2026-02-17`,model_type:`image`,successor:`imagen-4.0-generate-001`,modalities:{input:[`text`],output:[`image`]},family:`imagen-4.0`,license:`proprietary`,open_weight:!1},{id:`imagen-4.0-ultra-generate-001`,name:`imagen-4.0-ultra-generate-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,deprecation_date:`2026-06-24`,model_type:`image`,successor:[`gemini-3-pro-image-preview`,`gemini-2.5-flash-image`],modalities:{input:[`text`],output:[`image`]},family:`imagen-4.0`,license:`proprietary`,open_weight:!1},{id:`imagen-4.0-ultra-generate-preview-06-06`,name:`imagen-4.0-ultra-generate-preview-06-06`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2026-02-17`,model_type:`image`,successor:`imagen-4.0-ultra-generate-001`,modalities:{input:[`text`],output:[`image`]},family:`imagen-4.0`,license:`proprietary`,open_weight:!1},{id:`imagen`,name:`imagen`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,context_window:480,model_type:`image`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`],output:[`image`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],family:`imagen`,license:`proprietary`,open_weight:!1},{id:`jamba-1.5-large@vertex`,name:`Jamba 1.5 Large`,created_by:`ai21`,source:`official`,last_updated:`2026-03-22`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`},{id:`jamba-1.5-mini@vertex`,name:`Jamba 1.5 Mini`,created_by:`ai21`,source:`official`,last_updated:`2026-03-22`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`},{id:`lyria-realtime-exp`,name:`lyria-realtime-exp`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,model_type:`tts`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`],output:[`audio`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],license:`proprietary`,open_weight:!1},{id:`mistral-medium-3@vertex`,name:`Mistral Medium 3`,created_by:`mistral`,source:`official`,last_updated:`2026-03-23`,family:`mistral-medium`,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},pricing:{input:.4,output:2,tiers:[{label:`Text tokens`,unit:`Per 1M tokens`,columns:[`Input`,`Cached input`,`Output`],rows:[{label:`Standard`,values:[.4,null,2]}]}]},model_type:`chat`,tools:[`function_calling`]},{id:`text-embedding-004`,name:`text-embedding-004`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2026-01-14`,model_type:`embed`,successor:`gemini-embedding-001`,modalities:{input:[`text`],output:[`text`]},family:`text-embedding`,license:`proprietary`,open_weight:!1},{id:`veo-2.0-generate-001`,name:`veo-2.0-generate-001`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,model_type:`video`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`video`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],family:`veo-2.0`,license:`proprietary`,open_weight:!1},{id:`veo-3.0-fast-generate-preview`,name:`veo-3.0-fast-generate-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2025-11-12`,model_type:`video`,successor:`veo-3.1-fast-generate-preview`,modalities:{input:[`text`],output:[`video`]},family:`veo-3.0`,license:`proprietary`,open_weight:!1},{id:`veo-3.0-generate-preview`,name:`veo-3.0-generate-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`deprecated`,deprecation_date:`2025-11-12`,model_type:`video`,successor:`veo-3.1-generate-preview`,modalities:{input:[`text`],output:[`video`]},family:`veo-3.0`,license:`proprietary`,open_weight:!1},{id:`veo-3.1-generate-preview`,name:`veo-3.1-generate-preview`,created_by:`google`,source:`official`,last_updated:`2026-03-22`,status:`active`,context_window:1024,model_type:`video`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,batch:!0,vision:!0},modalities:{input:[`text`,`image`],output:[`video`]},tools:[`function_calling`],endpoints:[`generateContent`,`streamGenerateContent`],family:`veo-3.1`,license:`proprietary`,open_weight:!1}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};
|
package/dist/providers/xai.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`xai`,name:`xAI`,region:`US`,url:`https://x.ai`,api_url:`https://api.x.ai/v1`,docs_url:`https://docs.x.ai`,pricing_url:`https://docs.x.ai/docs/model-pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`xai`,name:`xAI`,region:`US`,headquarters:`Palo Alto, CA`,founded:2023,url:`https://x.ai`,api_url:`https://api.x.ai/v1`,docs_url:`https://docs.x.ai`,pricing_url:`https://docs.x.ai/docs/model-pricing`,description:`Elon Musk-founded AI company building Grok models.`,type:`direct`,sdk:{python:`xai-sdk`},openai_compatible:!0,free_tier:!1,github_url:`https://github.com/xai-org`,models_url:`https://docs.x.ai/docs/models`,twitter_url:`https://x.com/xai`,blog_url:`https://x.ai/news`,terms_url:`https://x.ai/legal/terms-of-service`,support_url:`https://x.ai/contact`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
2
2
|
<path d="M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"/>
|
|
3
|
-
</svg>`,models:[{id:`grok-3-mini`,name:`grok-3-mini`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-04-04`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},context_window:131072,description:`A lightweight model that thinks before responding.`,modalities:{input:[`text`],output:[`text`]}},{id:`grok-3`,name:`grok-3`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-04-04`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},context_window:131072,description:`Grok 3 is the latest model from xAI.`,modalities:{input:[`text`],output:[`text`]}},{id:`grok-4-0709`,name:`grok-4-0709`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-07-09`,capabilities:{streaming:!0,tool_call:!0}},{id:`grok-4-1-fast-non-reasoning`,name:`grok-4-1-fast-non-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-
|
|
3
|
+
</svg>`,models:[{id:`grok-3-mini`,name:`grok-3-mini`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-04-04`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},context_window:131072,description:`A lightweight model that thinks before responding.`,modalities:{input:[`text`],output:[`text`]},family:`grok-3`,model_type:`chat`,license:`proprietary`},{id:`grok-3`,name:`grok-3`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-04-04`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},context_window:131072,description:`Grok 3 is the latest model from xAI.`,modalities:{input:[`text`],output:[`text`]},family:`grok-3`,model_type:`chat`,license:`proprietary`},{id:`grok-4-0709`,name:`grok-4-0709`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-07-09`,capabilities:{streaming:!0,tool_call:!0},family:`grok-4`,model_type:`chat`,license:`proprietary`},{id:`grok-4-1-fast-non-reasoning`,name:`grok-4-1-fast-non-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2025-11-19`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},family:`grok-4`,context_window:2e6,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.2,output:.5,cached_input:.05},model_type:`reasoning`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4-1-fast-non-reasoning`,open_weight:!1,tools:[`function_calling`]},{id:`grok-4-1-fast-reasoning`,name:`grok-4-1-fast-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2025-11-19`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},family:`grok-4`,context_window:2e6,reasoning_tokens:!0,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.2,output:.5,cached_input:.05},model_type:`reasoning`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4-1-fast-reasoning`,open_weight:!1,tools:[`function_calling`]},{id:`grok-4-fast-non-reasoning`,name:`grok-4-fast-non-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-09-04`,capabilities:{streaming:!0,tool_call:!0},model_type:`reasoning`,family:`grok-4`,license:`proprietary`},{id:`grok-4-fast-reasoning`,name:`grok-4-fast-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-09-04`,capabilities:{streaming:!0,tool_call:!0},model_type:`reasoning`,family:`grok-4`,license:`proprietary`},{id:`grok-4.20-0309-non-reasoning`,name:`grok-4.20-0309-non-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-03-09`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},family:`grok-4.20`,context_window:2e6,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2,output:6,cached_input:.2},model_type:`reasoning`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4.20-0309-non-reasoning`,open_weight:!1,tools:[`function_calling`]},{id:`grok-4.20-0309-reasoning`,name:`grok-4.20-0309-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-03-09`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},family:`grok-4.20`,context_window:2e6,reasoning_tokens:!0,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2,output:6,cached_input:.2},model_type:`reasoning`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4.20-0309-reasoning`,open_weight:!1,tools:[`function_calling`]},{id:`grok-4.20-multi-agent-0309`,name:`grok-4.20-multi-agent-0309`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-03-09`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},family:`grok-4.20`,context_window:2e6,reasoning_tokens:!0,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2,output:6,cached_input:.2},model_type:`chat`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4.20-multi-agent-0309`,open_weight:!1,tools:[`function_calling`]},{id:`grok-code-fast-1`,name:`grok-code-fast-1`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-08-24`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},context_window:256e3,max_output_tokens:1e4,description:`Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding.`,modalities:{input:[`text`],output:[`text`]},family:`grok-code`,model_type:`code`,license:`proprietary`},{id:`grok-imagine-image-pro`,name:`grok-imagine-image-pro`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-01-28`,capabilities:{streaming:!0,tool_call:!0},family:`grok-imagine`,model_type:`image`,modalities:{input:[`text`,`image`],output:[`image`]},license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-imagine-image-pro`,open_weight:!1,tools:[`function_calling`]},{id:`grok-imagine-image`,name:`grok-imagine-image`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-01-28`,capabilities:{streaming:!0,tool_call:!0},family:`grok-imagine`,model_type:`image`,modalities:{input:[`text`,`image`],output:[`image`]},license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-imagine-image`,open_weight:!1,tools:[`function_calling`]},{id:`grok-imagine-video`,name:`grok-imagine-video`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-01-28`,capabilities:{streaming:!0,tool_call:!0},family:`grok-imagine`,model_type:`image`,modalities:{input:[`text`,`image`,`video`],output:[`video`]},license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-imagine-video`,open_weight:!1,tools:[`function_calling`]}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;
|
package/dist/providers/xai.d.cts
CHANGED
package/dist/providers/xai.d.mts
CHANGED
package/dist/providers/xai.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const e={id:`xai`,name:`xAI`,region:`US`,url:`https://x.ai`,api_url:`https://api.x.ai/v1`,docs_url:`https://docs.x.ai`,pricing_url:`https://docs.x.ai/docs/model-pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
1
|
+
const e={id:`xai`,name:`xAI`,region:`US`,headquarters:`Palo Alto, CA`,founded:2023,url:`https://x.ai`,api_url:`https://api.x.ai/v1`,docs_url:`https://docs.x.ai`,pricing_url:`https://docs.x.ai/docs/model-pricing`,description:`Elon Musk-founded AI company building Grok models.`,type:`direct`,sdk:{python:`xai-sdk`},openai_compatible:!0,free_tier:!1,github_url:`https://github.com/xai-org`,models_url:`https://docs.x.ai/docs/models`,twitter_url:`https://x.com/xai`,blog_url:`https://x.ai/news`,terms_url:`https://x.ai/legal/terms-of-service`,support_url:`https://x.ai/contact`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
2
2
|
<path d="M6.469 8.776L16.512 23h-4.464L2.005 8.776H6.47zm-.004 7.9l2.233 3.164L6.467 23H2l4.465-6.324zM22 2.582V23h-3.659V7.764L22 2.582zM22 1l-9.952 14.095-2.233-3.163L17.533 1H22z"/>
|
|
3
|
-
</svg>`,models:[{id:`grok-3-mini`,name:`grok-3-mini`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-04-04`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},context_window:131072,description:`A lightweight model that thinks before responding.`,modalities:{input:[`text`],output:[`text`]}},{id:`grok-3`,name:`grok-3`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-04-04`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},context_window:131072,description:`Grok 3 is the latest model from xAI.`,modalities:{input:[`text`],output:[`text`]}},{id:`grok-4-0709`,name:`grok-4-0709`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-07-09`,capabilities:{streaming:!0,tool_call:!0}},{id:`grok-4-1-fast-non-reasoning`,name:`grok-4-1-fast-non-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-
|
|
3
|
+
</svg>`,models:[{id:`grok-3-mini`,name:`grok-3-mini`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-04-04`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},context_window:131072,description:`A lightweight model that thinks before responding.`,modalities:{input:[`text`],output:[`text`]},family:`grok-3`,model_type:`chat`,license:`proprietary`},{id:`grok-3`,name:`grok-3`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-04-04`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},context_window:131072,description:`Grok 3 is the latest model from xAI.`,modalities:{input:[`text`],output:[`text`]},family:`grok-3`,model_type:`chat`,license:`proprietary`},{id:`grok-4-0709`,name:`grok-4-0709`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-07-09`,capabilities:{streaming:!0,tool_call:!0},family:`grok-4`,model_type:`chat`,license:`proprietary`},{id:`grok-4-1-fast-non-reasoning`,name:`grok-4-1-fast-non-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2025-11-19`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},family:`grok-4`,context_window:2e6,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.2,output:.5,cached_input:.05},model_type:`reasoning`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4-1-fast-non-reasoning`,open_weight:!1,tools:[`function_calling`]},{id:`grok-4-1-fast-reasoning`,name:`grok-4-1-fast-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2025-11-19`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},family:`grok-4`,context_window:2e6,reasoning_tokens:!0,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:.2,output:.5,cached_input:.05},model_type:`reasoning`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4-1-fast-reasoning`,open_weight:!1,tools:[`function_calling`]},{id:`grok-4-fast-non-reasoning`,name:`grok-4-fast-non-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-09-04`,capabilities:{streaming:!0,tool_call:!0},model_type:`reasoning`,family:`grok-4`,license:`proprietary`},{id:`grok-4-fast-reasoning`,name:`grok-4-fast-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-09-04`,capabilities:{streaming:!0,tool_call:!0},model_type:`reasoning`,family:`grok-4`,license:`proprietary`},{id:`grok-4.20-0309-non-reasoning`,name:`grok-4.20-0309-non-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-03-09`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},family:`grok-4.20`,context_window:2e6,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2,output:6,cached_input:.2},model_type:`reasoning`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4.20-0309-non-reasoning`,open_weight:!1,tools:[`function_calling`]},{id:`grok-4.20-0309-reasoning`,name:`grok-4.20-0309-reasoning`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-03-09`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},family:`grok-4.20`,context_window:2e6,reasoning_tokens:!0,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2,output:6,cached_input:.2},model_type:`reasoning`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4.20-0309-reasoning`,open_weight:!1,tools:[`function_calling`]},{id:`grok-4.20-multi-agent-0309`,name:`grok-4.20-multi-agent-0309`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-03-09`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},family:`grok-4.20`,context_window:2e6,reasoning_tokens:!0,modalities:{input:[`text`,`image`],output:[`text`]},pricing:{input:2,output:6,cached_input:.2},model_type:`chat`,license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-4.20-multi-agent-0309`,open_weight:!1,tools:[`function_calling`]},{id:`grok-code-fast-1`,name:`grok-code-fast-1`,created_by:`xai`,source:`official`,last_updated:`2026-03-20`,release_date:`2025-08-24`,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},context_window:256e3,max_output_tokens:1e4,description:`Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding.`,modalities:{input:[`text`],output:[`text`]},family:`grok-code`,model_type:`code`,license:`proprietary`},{id:`grok-imagine-image-pro`,name:`grok-imagine-image-pro`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-01-28`,capabilities:{streaming:!0,tool_call:!0},family:`grok-imagine`,model_type:`image`,modalities:{input:[`text`,`image`],output:[`image`]},license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-imagine-image-pro`,open_weight:!1,tools:[`function_calling`]},{id:`grok-imagine-image`,name:`grok-imagine-image`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-01-28`,capabilities:{streaming:!0,tool_call:!0},family:`grok-imagine`,model_type:`image`,modalities:{input:[`text`,`image`],output:[`image`]},license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-imagine-image`,open_weight:!1,tools:[`function_calling`]},{id:`grok-imagine-video`,name:`grok-imagine-video`,created_by:`xai`,source:`official`,last_updated:`2026-03-23`,release_date:`2026-01-28`,capabilities:{streaming:!0,tool_call:!0},family:`grok-imagine`,model_type:`image`,modalities:{input:[`text`,`image`,`video`],output:[`video`]},license:`proprietary`,page_url:`https://docs.x.ai/docs/models#grok-imagine-video`,open_weight:!1,tools:[`function_calling`]}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};
|
package/dist/providers/zai.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`zai`,name:`Z.AI (Zhipu)`,region:`CN`,url:`https://z.ai`,api_url:`https://api.z.ai/api/paas/v4`,docs_url:`https://docs.z.ai`,pricing_url:`https://z.ai/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e={id:`zai`,name:`Z.AI (Zhipu)`,region:`CN`,headquarters:`Beijing, Beijing`,founded:2019,url:`https://z.ai`,api_url:`https://api.z.ai/api/paas/v4`,docs_url:`https://docs.z.ai`,pricing_url:`https://z.ai/pricing`,description:`Zhipu AI builds GLM models for Chinese and multilingual AI applications.`,type:`direct`,aliases:[`zhipu`],openai_compatible:!0,free_tier:!0,github_url:`https://github.com/THUDM`,models_url:`https://open.bigmodel.cn/modelcenter/overview`,twitter_url:`https://x.com/ZhipuAI`,terms_url:`https://open.bigmodel.cn/dev/howuse/serviceagreement`,support_url:`https://z.ai/contact`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
2
2
|
<path d="M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"/>
|
|
3
|
-
</svg>`,models:[{id:`glm-4-32b-0414-128k`,name:`GLM-4-32B-0414-128K`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,max_output_tokens:16e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.5`,name:`GLM-4.5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,max_output_tokens:96e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.5v`,name:`GLM-4.5V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,max_output_tokens:16e3,capabilities:{streaming:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6`,name:`GLM-4.6`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v-flash`,name:`GLM-4.6V-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v-flashx`,name:`GLM-4.6V-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v`,name:`GLM-4.6V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7-flash`,name:`GLM-4.7-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7-flashx`,name:`GLM-4.7-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7`,name:`GLM-4.7`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-5-turbo`,name:`GLM-5-TURBO`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-5`,name:`GLM-5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-ocr`,name:`GLM-OCR`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;
|
|
3
|
+
</svg>`,models:[{id:`autoglm-phone-multilingual`,name:`AUTOGLM-PHONE-MULTILINGUAL`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/vlm/autoglm-phone-multilingual`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},open_weight:!0},{id:`cogvideox-3`,name:`COGVIDEOX-3`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/cogvideox-3`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0,model_type:`video`},{id:`cogview-4-250304`,name:`COGVIEW-4-250304`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/image/cogview-4`,modalities:{input:[`text`],output:[`image`]},open_weight:!0,model_type:`image`},{id:`curl`,name:`cURL`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/audio/glm-asr-2512`,modalities:{input:[`audio`],output:[`text`]},open_weight:!0},{id:`glm-4-32b-0414-128k`,name:`GLM-4-32B-0414-128K`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,max_output_tokens:16e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`,family:`glm-4`,license:`mit`,parameters:32,open_weight:!0,tools:[`function_calling`],page_url:`https://docs.z.ai/guides/llm/glm-4-32b-0414-128k`,pricing:{input:.1,output:.1}},{id:`glm-4.5`,name:`GLM-4.5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,max_output_tokens:96e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.5`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`The first-principle measure of AGI lies in integrating more general intelligence capabilities without compromising existing functions. GLM-4.5 represents our first complete realization of this concept. It combines advanced reasoning, coding, and agent capabilities within a single model, achieving a significant technological breakthrough by natively fusing reasoning, coding, and agent abilities to meet the complex demands of agent-based applications.`,parameters:355,active_parameters:32,page_url:`https://docs.z.ai/guides/llm/glm-4.5`,architecture:`moe`,tagline:`The first-principle measure of AGI lies in integrating more general intelligence capabilities without compromising existing functions.`,pricing:{input:.6,output:2.2,cached_input:.11}},{id:`glm-4.5v`,name:`GLM-4.5V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,max_output_tokens:16e3,capabilities:{streaming:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.5`,model_type:`chat`,license:`mit`,open_weight:!0,parameters:106,active_parameters:12,page_url:`https://docs.z.ai/guides/vlm/glm-4.5v`,architecture:`moe`,pricing:{input:.6,output:1.8,cached_input:.11}},{id:`glm-4.6`,name:`GLM-4.6`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,max_output_tokens:128e3,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.6`,model_type:`chat`,license:`mit`,open_weight:!0,page_url:`https://docs.z.ai/guides/llm/glm-4.6`,pricing:{input:.6,output:2.2,cached_input:.11}},{id:`glm-4.6v-flash`,name:`GLM-4.6V-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.6`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`GLM-4.6V-Flash: Lightweight, Completely Free`,page_url:`https://docs.z.ai/guides/vlm/glm-4.6v`,tagline:`GLM-4.6V-Flash: Lightweight, Completely Free`,pricing:{input:0,output:0,cached_input:0}},{id:`glm-4.6v-flashx`,name:`GLM-4.6V-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.6`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`GLM-4.6V-FlashX: Lightweight, High-Speed,and Affordable`,page_url:`https://docs.z.ai/guides/vlm/glm-4.6v`,tagline:`GLM-4.6V-FlashX: Lightweight, High-Speed,and Affordable`,pricing:{input:.04,output:.4,cached_input:.004}},{id:`glm-4.6v`,name:`GLM-4.6V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.6`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],page_url:`https://docs.z.ai/guides/vlm/glm-4.6v`,pricing:{input:.3,output:.9,cached_input:.05}},{id:`glm-4.7-flash`,name:`GLM-4.7-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.7`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`GLM-4.7-Flash: Lightweight, Completely Free`,page_url:`https://docs.z.ai/guides/llm/glm-4.7`,tagline:`GLM-4.7-Flash: Lightweight, Completely Free`,pricing:{input:0,output:0,cached_input:0}},{id:`glm-4.7-flashx`,name:`GLM-4.7-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.7`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`GLM-4.7-FlashX: Lightweight, High-Speed,and Affordable`,page_url:`https://docs.z.ai/guides/llm/glm-4.7`,tagline:`GLM-4.7-FlashX: Lightweight, High-Speed,and Affordable`,pricing:{input:.07,output:.4,cached_input:.01}},{id:`glm-4.7`,name:`GLM-4.7`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.7`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],page_url:`https://docs.z.ai/guides/llm/glm-4.7`,pricing:{input:.6,output:2.2,cached_input:.11}},{id:`glm-5-turbo`,name:`GLM-5-TURBO`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`,family:`glm-5`,license:`proprietary`,open_weight:!1,tools:[`function_calling`],page_url:`https://docs.z.ai/guides/llm/glm-5-turbo`,pricing:{input:1.2,output:4,cached_input:.24}},{id:`glm-5`,name:`GLM-5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`,family:`glm-5`,license:`mit`,open_weight:!0,tools:[`function_calling`],parameters:355,active_parameters:32,page_url:`https://docs.z.ai/guides/llm/glm-5`,pricing:{input:1,output:3.2,cached_input:.2}},{id:`glm-asr-2512`,name:`GLM-ASR-2512`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,family:`glm`,model_type:`chat`,license:`mit`,alias:`glm-asr`,page_url:`https://docs.z.ai/guides/audio/glm-asr-2512`,modalities:{input:[`audio`],output:[`text`]},open_weight:!0},{id:`glm-asr`,name:`GLM-ASR-2512`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,family:`glm`,license:`mit`,page_url:`https://docs.z.ai/guides/audio/glm-asr-2512`,model_type:`chat`,modalities:{input:[`audio`],output:[`text`]},open_weight:!0,snapshots:[`glm-asr-2512`]},{id:`glm-image`,name:`GLM-IMAGE`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,family:`glm`,license:`mit`,page_url:`https://docs.z.ai/guides/image/glm-image`,architecture:`hybrid`,model_type:`chat`,modalities:{input:[`text`],output:[`image`]},open_weight:!0},{id:`glm-ocr`,name:`GLM-OCR`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`,family:`glm`,license:`proprietary`,open_weight:!1,parameters:.9,page_url:`https://docs.z.ai/guides/vlm/glm-ocr`,pricing:{input:.03,output:.03}},{id:`grounding`,name:`Grounding`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,max_output_tokens:16e3,license:`mit`,parameters:106,active_parameters:12,page_url:`https://docs.z.ai/guides/vlm/glm-4.5v`,architecture:`moe`,capabilities:{streaming:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]},open_weight:!0},{id:`java`,name:`Java`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/image/cogview-4`,modalities:{input:[`text`],output:[`image`]},open_weight:!0},{id:`python`,name:`Python`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/image/cogview-4`,modalities:{input:[`text`],output:[`image`]},open_weight:!0},{id:`vidu2-image`,name:`VIDU2-IMAGE`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu2`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`vidu2-reference`,name:`VIDU2-REFERENCE`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu2`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`vidu2-start-end`,name:`VIDU2-START-END`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu2`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`viduq1-image`,name:`VIDUQ1-IMAGE`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu-q1`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`viduq1-start-end`,name:`VIDUQ1-START-END`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu-q1`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`viduq1-text`,name:`VIDUQ1-TEXT`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu-q1`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0}]},t=e.models.map(t=>({...t,provider:e.id}));exports.models=t,exports.provider=e;
|
package/dist/providers/zai.d.cts
CHANGED
package/dist/providers/zai.d.mts
CHANGED
package/dist/providers/zai.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
const e={id:`zai`,name:`Z.AI (Zhipu)`,region:`CN`,url:`https://z.ai`,api_url:`https://api.z.ai/api/paas/v4`,docs_url:`https://docs.z.ai`,pricing_url:`https://z.ai/pricing`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
1
|
+
const e={id:`zai`,name:`Z.AI (Zhipu)`,region:`CN`,headquarters:`Beijing, Beijing`,founded:2019,url:`https://z.ai`,api_url:`https://api.z.ai/api/paas/v4`,docs_url:`https://docs.z.ai`,pricing_url:`https://z.ai/pricing`,description:`Zhipu AI builds GLM models for Chinese and multilingual AI applications.`,type:`direct`,aliases:[`zhipu`],openai_compatible:!0,free_tier:!0,github_url:`https://github.com/THUDM`,models_url:`https://open.bigmodel.cn/modelcenter/overview`,twitter_url:`https://x.com/ZhipuAI`,terms_url:`https://open.bigmodel.cn/dev/howuse/serviceagreement`,support_url:`https://z.ai/contact`,icon:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" fill-rule="evenodd">
|
|
2
2
|
<path d="M12.105 2L9.927 4.953H.653L2.83 2h9.276zM23.254 19.048L21.078 22h-9.242l2.174-2.952h9.244zM24 2L9.264 22H0L14.736 2H24z"/>
|
|
3
|
-
</svg>`,models:[{id:`glm-4-32b-0414-128k`,name:`GLM-4-32B-0414-128K`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,max_output_tokens:16e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.5`,name:`GLM-4.5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,max_output_tokens:96e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.5v`,name:`GLM-4.5V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,max_output_tokens:16e3,capabilities:{streaming:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6`,name:`GLM-4.6`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v-flash`,name:`GLM-4.6V-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v-flashx`,name:`GLM-4.6V-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.6v`,name:`GLM-4.6V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7-flash`,name:`GLM-4.7-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7-flashx`,name:`GLM-4.7-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-4.7`,name:`GLM-4.7`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-5-turbo`,name:`GLM-5-TURBO`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-5`,name:`GLM-5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]}},{id:`glm-ocr`,name:`GLM-OCR`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-21`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]}}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};
|
|
3
|
+
</svg>`,models:[{id:`autoglm-phone-multilingual`,name:`AUTOGLM-PHONE-MULTILINGUAL`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/vlm/autoglm-phone-multilingual`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},open_weight:!0},{id:`cogvideox-3`,name:`COGVIDEOX-3`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/cogvideox-3`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0,model_type:`video`},{id:`cogview-4-250304`,name:`COGVIEW-4-250304`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/image/cogview-4`,modalities:{input:[`text`],output:[`image`]},open_weight:!0,model_type:`image`},{id:`curl`,name:`cURL`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/audio/glm-asr-2512`,modalities:{input:[`audio`],output:[`text`]},open_weight:!0},{id:`glm-4-32b-0414-128k`,name:`GLM-4-32B-0414-128K`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,max_output_tokens:16e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`,family:`glm-4`,license:`mit`,parameters:32,open_weight:!0,tools:[`function_calling`],page_url:`https://docs.z.ai/guides/llm/glm-4-32b-0414-128k`,pricing:{input:.1,output:.1}},{id:`glm-4.5`,name:`GLM-4.5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,max_output_tokens:96e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.5`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`The first-principle measure of AGI lies in integrating more general intelligence capabilities without compromising existing functions. GLM-4.5 represents our first complete realization of this concept. It combines advanced reasoning, coding, and agent capabilities within a single model, achieving a significant technological breakthrough by natively fusing reasoning, coding, and agent abilities to meet the complex demands of agent-based applications.`,parameters:355,active_parameters:32,page_url:`https://docs.z.ai/guides/llm/glm-4.5`,architecture:`moe`,tagline:`The first-principle measure of AGI lies in integrating more general intelligence capabilities without compromising existing functions.`,pricing:{input:.6,output:2.2,cached_input:.11}},{id:`glm-4.5v`,name:`GLM-4.5V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,max_output_tokens:16e3,capabilities:{streaming:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.5`,model_type:`chat`,license:`mit`,open_weight:!0,parameters:106,active_parameters:12,page_url:`https://docs.z.ai/guides/vlm/glm-4.5v`,architecture:`moe`,pricing:{input:.6,output:1.8,cached_input:.11}},{id:`glm-4.6`,name:`GLM-4.6`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,max_output_tokens:128e3,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.6`,model_type:`chat`,license:`mit`,open_weight:!0,page_url:`https://docs.z.ai/guides/llm/glm-4.6`,pricing:{input:.6,output:2.2,cached_input:.11}},{id:`glm-4.6v-flash`,name:`GLM-4.6V-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.6`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`GLM-4.6V-Flash: Lightweight, Completely Free`,page_url:`https://docs.z.ai/guides/vlm/glm-4.6v`,tagline:`GLM-4.6V-Flash: Lightweight, Completely Free`,pricing:{input:0,output:0,cached_input:0}},{id:`glm-4.6v-flashx`,name:`GLM-4.6V-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.6`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`GLM-4.6V-FlashX: Lightweight, High-Speed,and Affordable`,page_url:`https://docs.z.ai/guides/vlm/glm-4.6v`,tagline:`GLM-4.6V-FlashX: Lightweight, High-Speed,and Affordable`,pricing:{input:.04,output:.4,cached_input:.004}},{id:`glm-4.6v`,name:`GLM-4.6V`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:128e3,capabilities:{streaming:!0,tool_call:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.6`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],page_url:`https://docs.z.ai/guides/vlm/glm-4.6v`,pricing:{input:.3,output:.9,cached_input:.05}},{id:`glm-4.7-flash`,name:`GLM-4.7-Flash`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.7`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`GLM-4.7-Flash: Lightweight, Completely Free`,page_url:`https://docs.z.ai/guides/llm/glm-4.7`,tagline:`GLM-4.7-Flash: Lightweight, Completely Free`,pricing:{input:0,output:0,cached_input:0}},{id:`glm-4.7-flashx`,name:`GLM-4.7-FlashX`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.7`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],description:`GLM-4.7-FlashX: Lightweight, High-Speed,and Affordable`,page_url:`https://docs.z.ai/guides/llm/glm-4.7`,tagline:`GLM-4.7-FlashX: Lightweight, High-Speed,and Affordable`,pricing:{input:.07,output:.4,cached_input:.01}},{id:`glm-4.7`,name:`GLM-4.7`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},family:`glm-4.7`,model_type:`chat`,license:`mit`,open_weight:!0,tools:[`function_calling`],page_url:`https://docs.z.ai/guides/llm/glm-4.7`,pricing:{input:.6,output:2.2,cached_input:.11}},{id:`glm-5-turbo`,name:`GLM-5-TURBO`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`,family:`glm-5`,license:`proprietary`,open_weight:!1,tools:[`function_calling`],page_url:`https://docs.z.ai/guides/llm/glm-5-turbo`,pricing:{input:1.2,output:4,cached_input:.24}},{id:`glm-5`,name:`GLM-5`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,context_window:2e5,max_output_tokens:128e3,capabilities:{streaming:!0,tool_call:!0,structured_output:!0,reasoning:!0,prompt_caching:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`,family:`glm-5`,license:`mit`,open_weight:!0,tools:[`function_calling`],parameters:355,active_parameters:32,page_url:`https://docs.z.ai/guides/llm/glm-5`,pricing:{input:1,output:3.2,cached_input:.2}},{id:`glm-asr-2512`,name:`GLM-ASR-2512`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,family:`glm`,model_type:`chat`,license:`mit`,alias:`glm-asr`,page_url:`https://docs.z.ai/guides/audio/glm-asr-2512`,modalities:{input:[`audio`],output:[`text`]},open_weight:!0},{id:`glm-asr`,name:`GLM-ASR-2512`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,family:`glm`,license:`mit`,page_url:`https://docs.z.ai/guides/audio/glm-asr-2512`,model_type:`chat`,modalities:{input:[`audio`],output:[`text`]},open_weight:!0,snapshots:[`glm-asr-2512`]},{id:`glm-image`,name:`GLM-IMAGE`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,family:`glm`,license:`mit`,page_url:`https://docs.z.ai/guides/image/glm-image`,architecture:`hybrid`,model_type:`chat`,modalities:{input:[`text`],output:[`image`]},open_weight:!0},{id:`glm-ocr`,name:`GLM-OCR`,created_by:`zhipu`,source:`official`,last_updated:`2026-03-23`,capabilities:{streaming:!0},modalities:{input:[`text`],output:[`text`]},model_type:`chat`,family:`glm`,license:`proprietary`,open_weight:!1,parameters:.9,page_url:`https://docs.z.ai/guides/vlm/glm-ocr`,pricing:{input:.03,output:.03}},{id:`grounding`,name:`Grounding`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,max_output_tokens:16e3,license:`mit`,parameters:106,active_parameters:12,page_url:`https://docs.z.ai/guides/vlm/glm-4.5v`,architecture:`moe`,capabilities:{streaming:!0,reasoning:!0},modalities:{input:[`text`],output:[`text`]},open_weight:!0},{id:`java`,name:`Java`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/image/cogview-4`,modalities:{input:[`text`],output:[`image`]},open_weight:!0},{id:`python`,name:`Python`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/image/cogview-4`,modalities:{input:[`text`],output:[`image`]},open_weight:!0},{id:`vidu2-image`,name:`VIDU2-IMAGE`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu2`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`vidu2-reference`,name:`VIDU2-REFERENCE`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu2`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`vidu2-start-end`,name:`VIDU2-START-END`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu2`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`viduq1-image`,name:`VIDUQ1-IMAGE`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu-q1`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`viduq1-start-end`,name:`VIDUQ1-START-END`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu-q1`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0},{id:`viduq1-text`,name:`VIDUQ1-TEXT`,created_by:`zai`,source:`official`,last_updated:`2026-03-23`,license:`mit`,page_url:`https://docs.z.ai/guides/video/vidu-q1`,modalities:{input:[`image`,`text`],output:[`video`]},open_weight:!0}]},t=e.models.map(t=>({...t,provider:e.id}));export{t as models,e as provider};
|
package/dist/types.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region src/types.d.ts
|
|
1
|
+
//#region ../data/src/types.d.ts
|
|
2
2
|
/** Model lifecycle status */
|
|
3
3
|
type ModelStatus = "active" | "deprecated" | "preview";
|
|
4
4
|
/** Data source: "official" (auto-fetched, scripts can overwrite) or "community" (manual, scripts skip) */
|
|
@@ -26,6 +26,8 @@ interface ModelCapabilities {
|
|
|
26
26
|
fine_tuning?: boolean;
|
|
27
27
|
/** Supports batch API */
|
|
28
28
|
batch?: boolean;
|
|
29
|
+
/** Supports prompt caching */
|
|
30
|
+
prompt_caching?: boolean;
|
|
29
31
|
}
|
|
30
32
|
/** Input and output modality support */
|
|
31
33
|
interface ModelModalities {
|
|
@@ -97,6 +99,8 @@ interface ModelData {
|
|
|
97
99
|
description?: string;
|
|
98
100
|
/** One-line tagline / subtitle */
|
|
99
101
|
tagline?: string;
|
|
102
|
+
/** URL to the model's official page / introduction page */
|
|
103
|
+
page_url?: string;
|
|
100
104
|
/** Current lifecycle status */
|
|
101
105
|
status?: ModelStatus;
|
|
102
106
|
/** Release date (YYYY-MM-DD), null if not applicable */
|
|
@@ -120,13 +124,19 @@ interface ModelData {
|
|
|
120
124
|
/** Pricing per 1M tokens */
|
|
121
125
|
pricing?: ModelPricing;
|
|
122
126
|
/** Model type classification */
|
|
123
|
-
model_type?: "chat" | "reasoning" | "embed" | "rerank" | "image" | "video" | "audio" | "tts" | "transcription" | "moderation" | "code" | "translation" | "other";
|
|
127
|
+
model_type?: "chat" | "reasoning" | "embed" | "rerank" | "image" | "video" | "audio" | "tts" | "transcription" | "moderation" | "code" | "translation" | "classification" | "other";
|
|
124
128
|
/** Supported tools and integrations (e.g. "function_calling", "web_search", "computer_use", "mcp") */
|
|
125
129
|
tools?: string[];
|
|
126
130
|
/** Supported API endpoints (e.g. "chat_completions", "responses", "batch") */
|
|
127
131
|
endpoints?: string[];
|
|
128
132
|
/** Whether output includes reasoning/thinking tokens (o-series, extended thinking) */
|
|
129
133
|
reasoning_tokens?: boolean;
|
|
134
|
+
/** License: SPDX ID ("apache-2.0", "mit"), custom name ("llama-3.3"), or "proprietary" */
|
|
135
|
+
license?: string;
|
|
136
|
+
/** Total parameters in billions (e.g. 70 for 70B) */
|
|
137
|
+
parameters?: number;
|
|
138
|
+
/** Active parameters in billions for MoE architectures (e.g. 22 for 235B-A22B) */
|
|
139
|
+
active_parameters?: number;
|
|
130
140
|
/**
|
|
131
141
|
* For alias models: list of snapshot IDs this alias has pointed to.
|
|
132
142
|
* e.g. on "claude-opus-4-6": ["claude-opus-4-6-20260101", "claude-opus-4-6-20260701"]
|
|
@@ -144,26 +154,44 @@ interface ModelData {
|
|
|
144
154
|
reasoning?: number;
|
|
145
155
|
/** Speed/latency rating (1-5 scale, 1=slow 5=fast) */
|
|
146
156
|
speed?: number;
|
|
147
|
-
/** Recommended successor model ID (for deprecated models) */
|
|
148
|
-
successor?: string;
|
|
157
|
+
/** Recommended successor model ID(s) (for deprecated models) */
|
|
158
|
+
successor?: string | string[];
|
|
149
159
|
/** Pricing notes/caveats (e.g. long-context surcharges, regional uplifts) */
|
|
150
160
|
pricing_notes?: string[];
|
|
161
|
+
/** Training data cutoff date (YYYY-MM or YYYY-MM-DD). Distinct from knowledge_cutoff which is the model's effective knowledge boundary. */
|
|
162
|
+
training_data_cutoff?: string | null;
|
|
163
|
+
/** Model architecture (e.g. "transformer", "moe", "ssm", "hybrid") */
|
|
164
|
+
architecture?: string;
|
|
165
|
+
/** Whether the model weights are publicly available for download */
|
|
166
|
+
open_weight?: boolean;
|
|
167
|
+
/** Provider-specific extra fields */
|
|
168
|
+
[key: string]: unknown;
|
|
151
169
|
}
|
|
152
170
|
/** Model data with provider context, used at runtime */
|
|
153
171
|
interface Model extends ModelData {
|
|
154
172
|
/** Provider this model belongs to (directory name, e.g. "openai", "openrouter") */
|
|
155
173
|
provider: string;
|
|
156
174
|
}
|
|
175
|
+
/** Provider type classification */
|
|
176
|
+
type ProviderType = "direct" | "aggregator" | "cloud";
|
|
157
177
|
/** AI model provider / API service */
|
|
158
178
|
interface Provider {
|
|
159
179
|
/** Unique provider identifier (directory name, e.g. "openai", "openrouter") */
|
|
160
180
|
id: string;
|
|
161
181
|
/** Display name (e.g. "OpenAI", "OpenRouter") */
|
|
162
182
|
name: string;
|
|
183
|
+
/** Short description of the provider */
|
|
184
|
+
description?: string;
|
|
185
|
+
/** Provider type: direct (creates models), aggregator (resells), cloud (platform) */
|
|
186
|
+
type?: ProviderType;
|
|
187
|
+
/** Alternative names / IDs this provider is known by (e.g. ["zhipu"] for "zai") */
|
|
188
|
+
aliases?: string[];
|
|
163
189
|
/** Headquarters country, ISO 3166-1 alpha-2 (e.g. "US", "CN", "FR") */
|
|
164
190
|
region: string;
|
|
165
|
-
/**
|
|
166
|
-
|
|
191
|
+
/** Headquarters city (e.g. "San Francisco, CA", "Paris", "Beijing") */
|
|
192
|
+
headquarters?: string;
|
|
193
|
+
/** Year the company was founded (e.g. 2021) */
|
|
194
|
+
founded?: number;
|
|
167
195
|
/** Provider website URL */
|
|
168
196
|
url: string;
|
|
169
197
|
/** API base URL */
|
|
@@ -172,15 +200,59 @@ interface Provider {
|
|
|
172
200
|
docs_url: string;
|
|
173
201
|
/** Pricing page URL */
|
|
174
202
|
pricing_url: string;
|
|
175
|
-
/** Playground base URL
|
|
203
|
+
/** Playground base URL */
|
|
176
204
|
playground_url?: string;
|
|
205
|
+
/** Status / uptime page URL */
|
|
206
|
+
status_url?: string;
|
|
207
|
+
/** Changelog / release notes URL */
|
|
208
|
+
changelog_url?: string;
|
|
209
|
+
/** Official SDK packages (e.g. { python: "openai", javascript: "@anthropic-ai/sdk" }) */
|
|
210
|
+
sdk?: Record<string, string>;
|
|
211
|
+
/** Whether the provider offers a free tier / free credits */
|
|
212
|
+
free_tier?: boolean;
|
|
213
|
+
/** Whether the API is OpenAI-compatible (accepts OpenAI SDK requests) */
|
|
214
|
+
openai_compatible?: boolean;
|
|
215
|
+
/** GitHub organization or repository URL */
|
|
216
|
+
github_url?: string;
|
|
217
|
+
/** URL to the provider's model listing / catalog page */
|
|
218
|
+
models_url?: string;
|
|
219
|
+
/** URL to the provider's tokenizer tool */
|
|
220
|
+
tokenizer_url?: string;
|
|
221
|
+
/** X/Twitter profile URL */
|
|
222
|
+
twitter_url?: string;
|
|
223
|
+
/** Discord community invite URL */
|
|
224
|
+
discord_url?: string;
|
|
225
|
+
/** Official blog or research blog URL */
|
|
226
|
+
blog_url?: string;
|
|
227
|
+
/** Terms of service URL */
|
|
228
|
+
terms_url?: string;
|
|
229
|
+
/** Support or contact page URL */
|
|
230
|
+
support_url?: string;
|
|
177
231
|
/** Inline SVG icon (monochrome, viewBox 0 0 24 24, fill="currentColor"). Auto-read from icon.svg. */
|
|
178
232
|
icon?: string;
|
|
179
233
|
}
|
|
234
|
+
/** A single entry in the changes log */
|
|
235
|
+
interface ChangeEntry {
|
|
236
|
+
/** ISO-8601 timestamp */
|
|
237
|
+
ts: string;
|
|
238
|
+
/** Provider id */
|
|
239
|
+
provider: string;
|
|
240
|
+
/** Model id */
|
|
241
|
+
model: string;
|
|
242
|
+
/** Type of change */
|
|
243
|
+
action: "create" | "update" | "delete";
|
|
244
|
+
/** Git commit hash */
|
|
245
|
+
commit?: string;
|
|
246
|
+
/** Field-level diffs (for updates) */
|
|
247
|
+
changes?: Record<string, {
|
|
248
|
+
from: unknown;
|
|
249
|
+
to: unknown;
|
|
250
|
+
}>;
|
|
251
|
+
}
|
|
180
252
|
/** Provider with its full model list, used in generated data */
|
|
181
253
|
interface ProviderWithModels extends Provider {
|
|
182
254
|
/** All models under this provider */
|
|
183
255
|
models: ModelData[];
|
|
184
256
|
}
|
|
185
257
|
//#endregion
|
|
186
|
-
export {
|
|
258
|
+
export { ModelData as a, ModelSource as c, PricingTierRow as d, Provider as f, ModelCapabilities as i, ModelStatus as l, ProviderWithModels as m, Modality as n, ModelModalities as o, ProviderType as p, Model as r, ModelPricing as s, ChangeEntry as t, PricingTier as u };
|