AI SDK Providers

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

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

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-2-1212
xAI Grokgrok-2-vision-1212
xAI Grokgrok-beta
xAI Grokgrok-vision-beta
OpenAIgpt-4o
OpenAIgpt-4o-mini
OpenAIgpt-4-turbo
OpenAIgpt-4
OpenAIo1
OpenAIo1-mini
OpenAIo1-preview
Anthropicclaude-3-7-sonnet-20250219
Anthropicclaude-3-5-sonnet-20241022
Anthropicclaude-3-5-sonnet-20240620
Anthropicclaude-3-5-haiku-20241022
Groqdeepseek-r1-distill-llama-70b
Groqllama-3.3-70b-versatile
Groqllama-3.1-8b-instant
Groqmistral-saba-24b
Groqqwen-qwq-32b
Groqmixtral-8x7b-32768
Groqgemma2-9b-it
DeepInframeta-llama/Meta-Llama-3.1-8B-Instruct-Turbo
DeepInframeta-llama/Llama-3.3-70B-Instruct
DeepInfradeepseek-ai/DeepSeek-V3
DeepInfradeepseek-ai/DeepSeek-R1
DeepInfradeepseek-ai/DeepSeek-R1-Distill-Llama-70B
DeepInfradeepseek-ai/DeepSeek-R1-Turbo
Mistralpixtral-large-latest
Mistralmistral-large-latest
Mistralmistral-small-latest
Mistralpixtral-12b-2409
Google Generative AIgemini-2.0-flash-exp
Google Generative AIgemini-1.5-flash
Google Generative AIgemini-1.5-pro
Google Vertexgemini-2.0-flash-exp
Google Vertexgemini-1.5-flash
Google Vertexgemini-1.5-pro
DeepSeekdeepseek-chat
DeepSeekdeepseek-reasoner
Cerebrasllama3.1-8b
Cerebrasllama3.3-70b

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