AI SDK Providers
The AI SDK comes with several providers that you can use to interact with different language models:
OpenAI
Image Input*
Object Generation
Tool Usage
Tool Streaming
Anthropic
Image Input
Object Generation
Tool Usage
Image Input
Object Generation
Tool Usage
Tool Streaming
Mistral
Object Generation
Tool Usage
Tool Streaming
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 officially supported providers.
Provider | Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
---|---|---|---|---|---|
OpenAI | gpt-4o | ||||
OpenAI | gpt-4-turbo | ||||
OpenAI | gpt-4 | ||||
OpenAI | gpt-3.5-turbo | ||||
Anthropic | claude-3-opus-20240229 | ||||
Anthropic | claude-3-sonnet-20240229 | ||||
Anthropic | claude-3-haiku-20240307 | ||||
Mistral | mistral-large-latest | ||||
Mistral | mistral-small-latest | ||||
models/gemini-1.5-pro-latest |