Skip to main content

AI SDK Providers

还没翻译译自英文(ai-sdk.dev)本页 11 段都还没译

The AI SDK comes with several providers that you can use to interact with different language models:

This part of the page is interactive; see it on the original page.

There are also community providers that have been created using the Language Model Specification.

This part of the page is interactive; see it on the original page.

Provider support

Not all providers support all AI SDK features. Here's a quick comparison of the capabilities of popular models:

ProviderModelImage InputObject GenerationTool UsageTool Streaming
xAI Grokgrok-4.6✓✓✓✓
xAI Grokgrok-4.5✓✓✓✓
xAI Grokgrok-4-fast-reasoning✓✓✓✓
xAI Grokgrok-4✗✓✓✓
xAI Grokgrok-3✗✓✓✓
xAI Grokgrok-3-mini✗✓✓✓
OpenAIgpt-6-astra✓✓✓✓
OpenAIgpt-6.1-sol✓✓✓✓
OpenAIgpt-6.1-terra✓✓✓✓
OpenAIgpt-6-luna✓✓✓✓
OpenAIgpt-6-sol✓✓✓✓
OpenAIgpt-5.6✓✓✓✓
OpenAIgpt-5.6-luna✓✓✓✓
OpenAIgpt-5.6-sol✓✓✓✓
OpenAIgpt-5.6-terra✓✓✓✓
OpenAIgpt-5.5✓✓✓✓
OpenAIgpt-5.4-mini✓✓✓✓
OpenAIgpt-5.4-nano✓✓✓✓
OpenAIgpt-5.2-pro✓✓✓✓
OpenAIgpt-5.2✓✓✓✓
OpenAIgpt-5.1✓✓✓✓
OpenAIgpt-5.1-codex✓✓✓✓
OpenAIgpt-5✓✓✓✓
OpenAIgpt-5-mini✓✓✓✓
OpenAIgpt-4.1✓✓✓✓
OpenAIgpt-4.1-mini✓✓✓✓
OpenAIgpt-4o✓✓✓✓
OpenAIgpt-4o-mini✓✓✓✓
Anthropicclaude-opus-5-5✓✓✓✓
Anthropicclaude-sonnet-5-5✓✓✓✓
Anthropicclaude-sonnet-5✓✓✓✓
Anthropicclaude-haiku-5-5✓✓✓✓
Anthropicclaude-fable-5-1✓✓✓✓
Anthropicclaude-fable-5✓✓✓✓
Anthropicclaude-opus-4-8✓✓✓✓
Anthropicclaude-opus-4-7✓✓✓✓
Anthropicclaude-opus-4-6✓✓✓✓
Anthropicclaude-sonnet-4-6✓✓✓✓
Anthropicclaude-opus-4-5✓✓✓✓
Anthropicclaude-sonnet-4-5✓✓✓✓
Anthropicclaude-haiku-4-5✓✓✓✓
Anthropicclaude-opus-4-1✓✓✓✓
Anthropicclaude-sonnet-4-0✓✓✓✓
Googlegemini-3.8-flash✓✓✓✓
Googlegemini-3.1-pro-preview✓✓✓✓
Googlegemini-3-pro-preview✓✓✓✓
Googlegemini-2.5-pro✓✓✓✓
Googlegemini-2.5-flash✓✓✓✓
Google Vertexgemini-3.8-flash✓✓✓✓
Google Vertexgemini-3.1-pro-preview✓✓✓✓
Google Vertexgemini-3-pro-preview✓✓✓✓
Google Vertexgemini-2.5-pro✓✓✓✓
Google Vertexgemini-2.5-flash✓✓✓✓
Mistralpixtral-large-latest✓✓✓✓
Mistralmistral-large-latest✗✓✓✓
Mistralmagistral-medium-2506✗✓✓✓
Mistralmagistral-small-2506✗✓✓✓
Mistralmistral-small-latest✗✓✓✓
Mistralministral-8b-latest✗✓✓✓
Coherecommand-a-03-2025✗✓✓✓
Coherecommand-a-reasoning-08-2025✗✓✓✓
Coherecommand-r-plus✗✓✓✓
Coherecommand-r✗✓✓✓
DeepSeekdeepseek-v4-flash-vision-exp✓✓✓✓
DeepSeekdeepseek-v4-flash✗✓✓✓
DeepSeekdeepseek-v4-pro✗✓✓✓
Moonshot AIkimi-k3.1-pro✓✓✓✓
Moonshot AIkimi-k3✓✓✓✓
Moonshot AIkimi-k2.7-code✓✓✓✓
Moonshot AIkimi-k2.6✓✓✓✓
Groqmeta-llama/llama-4-scout-17b-16e-instruct✓✓✓✓
Groqllama-3.3-70b-versatile✗✓✓✓
Groqdeepseek-r1-distill-llama-70b✗✓✓✓
Groqqwen-qwq-32b✗✓✓✓
Groqopenai/gpt-oss-120b✗✓✓✓
Together AImeta-llama/Meta-Llama-3.3-70B-Instruct-Turbo✗✗✗✗
Together AIQwen/Qwen2.5-72B-Instruct-Turbo✗✗✗✗
Together AIdeepseek-ai/DeepSeek-V3✗✗✗✗
Together AImistralai/Mixtral-8x22B-Instruct-v0.1✗✓✓✓
Fireworksaccounts/fireworks/models/deepseek-r1✗✗✗✗
Fireworksaccounts/fireworks/models/deepseek-v3✗✓✓✗
Fireworksaccounts/fireworks/models/llama-v3p3-70b-instruct✗✓✓✗
Fireworksaccounts/fireworks/models/qwen2-vl-72b-instruct✓✓✗✗
Alibabaqwen3-max✗✓✓✓
Alibabaqwen-plus✗✓✓✓
DeepInframeta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8✓✗✗✗
DeepInframeta-llama/Llama-4-Scout-17B-16E-Instruct✓✗✗✗
DeepInframeta-llama/Llama-3.3-70B-Instruct✗✓✓✓
DeepInfradeepseek-ai/DeepSeek-V3✗✗✗✗
DeepInfradeepseek-ai/DeepSeek-R1✗✗✗✗
DeepInfraQwen/QwQ-32B✗✓✓✗
Cerebrasgpt-oss-120b✗✓✓✓
Cerebrasgemma-4-31b✓✓✓✓
Hugging Facemeta-llama/Llama-3.1-8B-Instruct✗✓✓✓
Hugging Facemoonshotai/Kimi-K2-Instruct✗✓✓✓
BasetenQwen/Qwen3-235B-A22B-Instruct-2507✗✓✓✓
Basetendeepseek-ai/DeepSeek-V3.1✗✓✓✓
Basetenmoonshotai/Kimi-K2-Instruct-0905✗✓✓✓

Note

This table is not exhaustive. Additional models can be found in the provider documentation pages and on the provider websites.