If you’d like to write your own chat model, see this how-to. If you’d like to contribute an integration, see Contributing integrations.
Install and use
Groq
Groq
Install:Add environment variables:Instantiate the model:
OpenAI
OpenAI
Install:Add environment variables:Instantiate the model:
Anthropic
Anthropic
Install:Add environment variables:Instantiate the model:
Google Gemini
Google Gemini
Install:Add environment variables:Instantiate the model:
FireworksAI
FireworksAI
Install:Add environment variables:Instantiate the model:
MistralAI
MistralAI
Install:Add environment variables:Instantiate the model:
VertexAI
VertexAI
Install:Add environment variables:Instantiate the model:
Featured providers
Model | Stream | JSON mode | Tool Calling | withStructuredOutput() | Multimodal |
---|---|---|---|---|---|
BedrockChat | ✅ | ❌ | 🟡 (Bedrock Anthropic only) | 🟡 (Bedrock Anthropic only) | 🟡 (Bedrock Anthropic only) |
ChatBedrockConverse | ✅ | ❌ | ✅ | ✅ | ✅ |
ChatAnthropic | ✅ | ❌ | ✅ | ✅ | ✅ |
ChatCloudflareWorkersAI | ✅ | ❌ | ❌ | ❌ | ❌ |
ChatCohere | ✅ | ❌ | ✅ | ✅ | ✅ |
ChatFireworks | ✅ | ✅ | ✅ | ✅ | ✅ |
ChatGoogleGenerativeAI | ✅ | ❌ | ✅ | ✅ | ✅ |
ChatVertexAI | ✅ | ❌ | ✅ | ✅ | ✅ |
ChatGroq | ✅ | ✅ | ✅ | ✅ | ✅ |
ChatMistralAI | ✅ | ✅ | ✅ | ✅ | ✅ |
ChatOllama | ✅ | ✅ | ✅ | ✅ | ✅ |
ChatOpenAI | ✅ | ✅ | ✅ | ✅ | ✅ |
ChatTogetherAI | ✅ | ✅ | ✅ | ✅ | ✅ |
ChatXAI | ✅ | ✅ | ✅ | ✅ | ❌ |