AI SDK Providers
Learn how to use AI SDK providers.
The AI SDK comes with several providers that you can use to interact with different language models:
Vercel AI Gateway
Image Input
Image Generation
Object Generation
Tool Usage
Tool Streaming
OpenAI
Image Input
Image Generation
Object Generation
Tool Usage
Tool Streaming
Anthropic
Image Input
Object Generation
Tool Usage
Tool Streaming
Google Generative AI
Image Input
Object Generation
Tool Usage
Tool Streaming
xAI Grok
Image Input
Image Generation
Object Generation
Tool Usage
Tool Streaming
Azure
Image Input
Object Generation
Tool Usage
Tool Streaming
Amazon Bedrock
Image Input
Image Generation
Object Generation
Tool Usage
Tool Streaming
Groq
Image Input
Object Generation
Tool Usage
Tool Streaming
Fal AI
Image Generation
DeepInfra
Image Input
Object Generation
Tool Usage
Tool Streaming
Google Vertex AI
Image Input
Image Generation
Object Generation
Tool Usage
Tool Streaming
Mistral
Image Input
Object Generation
Tool Usage
Tool Streaming
Together.ai
Object Generation
Tool Usage
Tool Streaming
Cohere
Tool Usage
Tool Streaming
Fireworks
Image Generation
Object Generation
Tool Usage
Tool Streaming
DeepSeek
Object Generation
Tool Usage
Tool Streaming
Cerebras
Object Generation
Tool Usage
Tool Streaming
Perplexity
Image Input
Object Generation
Tool Usage
Tool Streaming
Luma AI
Image Generation
Baseten
Object Generation
Tool Usage
There are also community providers that have been created using the Language Model Specification.
Ollama
Provider Dependent
Anthropic Vertex
Provider Dependent
Portkey
Provider Dependent
Cloudflare Workers AI
Provider Dependent
Write your own
Provider Dependent
Provider support
Not all providers support all AI SDK features. Here's a quick comparison of the capabilities of popular models:
| Provider | Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
|---|---|---|---|---|---|
| xAI Grok | grok-4.6 | ||||
| xAI Grok | grok-4.5 | ||||
| xAI Grok | grok-4-fast-reasoning | ||||
| xAI Grok | grok-4 | ||||
| xAI Grok | grok-3 | ||||
| xAI Grok | grok-3-mini | ||||
| OpenAI | gpt-6-astra | ||||
| OpenAI | gpt-6.1-sol | ||||
| OpenAI | gpt-6-luna | ||||
| OpenAI | gpt-6-sol | ||||
| OpenAI | gpt-5.6 | ||||
| OpenAI | gpt-5.6-luna | ||||
| OpenAI | gpt-5.6-sol | ||||
| OpenAI | gpt-5.6-terra | ||||
| OpenAI | gpt-5.5 | ||||
| OpenAI | gpt-5.4-mini | ||||
| OpenAI | gpt-5.4-nano | ||||
| OpenAI | gpt-5.2-pro | ||||
| OpenAI | gpt-5.2 | ||||
| OpenAI | gpt-5.1 | ||||
| OpenAI | gpt-5.1-codex | ||||
| OpenAI | gpt-5 | ||||
| OpenAI | gpt-5-mini | ||||
| OpenAI | gpt-4.1 | ||||
| OpenAI | gpt-4.1-mini | ||||
| OpenAI | gpt-4o | ||||
| OpenAI | gpt-4o-mini | ||||
| Anthropic | claude-opus-5-5 | ||||
| Anthropic | claude-sonnet-5-5 | ||||
| Anthropic | claude-sonnet-5 | ||||
| Anthropic | claude-fable-5-1 | ||||
| Anthropic | claude-fable-5 | ||||
| Anthropic | claude-opus-4-8 | ||||
| Anthropic | claude-opus-4-7 | ||||
| Anthropic | claude-opus-4-6 | ||||
| Anthropic | claude-sonnet-4-6 | ||||
| Anthropic | claude-opus-4-5 | ||||
| Anthropic | claude-sonnet-4-5 | ||||
| Anthropic | claude-haiku-4-5 | ||||
| Anthropic | claude-opus-4-1 | ||||
| Anthropic | claude-sonnet-4-0 | ||||
gemini-3.8-flash | |||||
gemini-3.1-pro-preview | |||||
gemini-3-pro-preview | |||||
gemini-2.5-pro | |||||
gemini-2.5-flash | |||||
| Google Vertex | gemini-3.8-flash | ||||
| Google Vertex | gemini-3.1-pro-preview | ||||
| Google Vertex | gemini-3-pro-preview | ||||
| Google Vertex | gemini-2.5-pro | ||||
| Google Vertex | gemini-2.5-flash | ||||
| Mistral | pixtral-large-latest | ||||
| Mistral | mistral-large-latest | ||||
| Mistral | magistral-medium-2506 | ||||
| Mistral | magistral-small-2506 | ||||
| Mistral | mistral-small-latest | ||||
| Mistral | ministral-8b-latest | ||||
| Cohere | command-a-03-2025 | ||||
| Cohere | command-a-reasoning-08-2025 | ||||
| Cohere | command-r-plus | ||||
| Cohere | command-r | ||||
| DeepSeek | deepseek-v4-flash-vision-exp | ||||
| DeepSeek | deepseek-v4-flash | ||||
| DeepSeek | deepseek-v4-pro | ||||
| Moonshot AI | kimi-k3 | ||||
| Moonshot AI | kimi-k2.7-code | ||||
| Moonshot AI | kimi-k2.6 | ||||
| Groq | meta-llama/llama-4-scout-17b-16e-instruct | ||||
| Groq | llama-3.3-70b-versatile | ||||
| Groq | deepseek-r1-distill-llama-70b | ||||
| Groq | qwen-qwq-32b | ||||
| Groq | openai/gpt-oss-120b | ||||
| Together AI | meta-llama/Meta-Llama-3.3-70B-Instruct-Turbo | ||||
| Together AI | Qwen/Qwen2.5-72B-Instruct-Turbo | ||||
| Together AI | deepseek-ai/DeepSeek-V3 | ||||
| Together AI | mistralai/Mixtral-8x22B-Instruct-v0.1 | ||||
| Fireworks | accounts/fireworks/models/deepseek-r1 | ||||
| Fireworks | accounts/fireworks/models/deepseek-v3 | ||||
| Fireworks | accounts/fireworks/models/llama-v3p3-70b-instruct | ||||
| Fireworks | accounts/fireworks/models/qwen2-vl-72b-instruct | ||||
| Alibaba | qwen3-max | ||||
| Alibaba | qwen-plus | ||||
| DeepInfra | meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8 | ||||
| DeepInfra | meta-llama/Llama-4-Scout-17B-16E-Instruct | ||||
| DeepInfra | meta-llama/Llama-3.3-70B-Instruct | ||||
| DeepInfra | deepseek-ai/DeepSeek-V3 | ||||
| DeepInfra | deepseek-ai/DeepSeek-R1 | ||||
| DeepInfra | Qwen/QwQ-32B | ||||
| Cerebras | gpt-oss-120b | ||||
| Cerebras | gemma-4-31b | ||||
| Hugging Face | meta-llama/Llama-3.1-8B-Instruct | ||||
| Hugging Face | moonshotai/Kimi-K2-Instruct | ||||
| Baseten | Qwen/Qwen3-235B-A22B-Instruct-2507 | ||||
| Baseten | deepseek-ai/DeepSeek-V3.1 | ||||
| Baseten | moonshotai/Kimi-K2-Instruct-0905 |
This table is not exhaustive. Additional models can be found in the provider documentation pages and on the provider websites.