Chat model integrations
Chat models are language models that use a sequence of messages as inputs and return messages as outputs (as opposed to plaintext).
Install and use
Featured models
Info
While these LangChain classes support the indicated advanced feature, you may need to refer to provider-specific documentation to learn which hosted models or backends support the feature.
| Model | Stream | Tool Calling | withStructuredOutput() | Multimodal | Downloads |
|---|---|---|---|---|---|
ChatOpenAI | ✅ | ✅ | ✅ | ✅ | |
ChatAnthropic | ✅ | ✅ | ✅ | ✅ | |
ChatBedrockConverse | ✅ | ✅ | ✅ | ✅ | |
ChatGroq | ✅ | ✅ | ✅ | ❌ | |
ChatOllama | ✅ | ✅ | ✅ | ✅ | |
ChatMistralAI | ✅ | ✅ | ✅ | ✅ | |
ChatGoogle | ✅ | ✅ | ✅ | ✅ | |
ChatXAI | ✅ | ✅ | ✅ | ❌ | |
ChatCohere | ✅ | ✅ | ✅ | ❌ | |
ChatFireworks | ✅ | ✅ | ✅ | ❌ | |
ChatCloudflareWorkersAI | ✅ | ❌ | ❌ | ✅ | |
ChatTogetherAI | ✅ | ✅ | ✅ | ✅ | |
ChatPerplexity | ✅ | ❌ | ✅ | ❌ |
See the full list of chat model integrations below for more options.
Routers & proxies
Routers and proxies give you access to models from multiple providers through a single API and credential. They can simplify billing, let you switch between models without changing integrations, and offer features like automatic fallbacks.
| Provider | Integration | Description |
|---|---|---|
| OpenRouter | ChatOpenRouter | Unified access to models from OpenAI, Anthropic, Google, Meta, and more |
| FuturMix | ChatOpenAI | Unified AI gateway for 22+ models with OpenAI-compatible API and 99.99% SLA |
Chat Completions API
Certain model providers offer endpoints that are compatible with OpenAI's (legacy) Chat Completions API. In such case, you can use ChatOpenAI with a custom base_url to connect to these endpoints. Note that features built on top of the Chat Completions API may not be fully supported by ChatOpenAI; in such cases, consider using a provider-specific class if available.
All chat models
| Model | Stream | Tool Calling | withStructuredOutput() | Multimodal | Downloads |
|---|---|---|---|---|---|
AzureChatOpenAI | ✅ | ✅ | ✅ | ✅ | |
ChatOpenAI | ✅ | ✅ | ✅ | ✅ | |
ChatAnthropic | ✅ | ✅ | ✅ | ✅ | |
ChatGoogleGenerativeAI | ✅ | ✅ | ✅ | ✅ | |
ChatBedrockConverse | ✅ | ✅ | ✅ | ✅ | |
ChatVertexAI | ✅ | ✅ | ✅ | ✅ | |
ChatGroq | ✅ | ✅ | ✅ | ❌ | |
ChatOllama | ✅ | ✅ | ✅ | ✅ | |
ChatMistralAI | ✅ | ✅ | ✅ | ✅ | |
ChatGoogle | ✅ | ✅ | ✅ | ✅ | |
ChatXAI | ✅ | ✅ | ✅ | ❌ | |
ChatCohere | ✅ | ✅ | ✅ | ❌ | |
ChatOpenRouter | ✅ | ✅ | ✅ | ✅ | |
ChatDeepSeek | ✅ | ✅ | ✅ | ❌ | |
ChatCerebras | ✅ | ✅ | ✅ | ❌ | |
ChatFireworks | ✅ | ✅ | ✅ | ❌ | |
ChatBaiduQianfan | |||||
ChatCloudflareWorkersAI | ✅ | ❌ | ❌ | ✅ | |
ChatTogetherAI | ✅ | ✅ | ✅ | ✅ | |
ChatWatsonx | ✅ | ✅ | ✅ | ✅ | |
ChatPerplexity | ✅ | ❌ | ✅ | ❌ | |
ChatYandexGPT | |||||
ChatInterfaze | ✅ | ✅ | ✅ | ✅ | |
ChatKServe | ✅ | ✅ | ✅ | ✅ | |
ChatWebLLM | ✅ | ✅ | ✅ | ||
RecallToolkit | |||||
ChatSCX | ✅ | ✅ | ✅ | ✅ | |
Auxen | ✅ | ✅ | ✅ | ❌ | N/A |
ChatEmpirioLabs | ✅ | ✅ | ✅ | ✅ | N/A |
FakeListChatModel | N/A | ||||
FuturMix | ✅ | ✅ | ✅ | ✅ | N/A |
Tuning Engines | ✅ | ✅ | ✅ | ❌ | N/A |
Info
If you'd like to contribute an integration, see Contributing integrations.