Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

Chat models are language models that use a sequence of messages as inputs and return messages as outputs .
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.
ModelTool callingStructured outputMultimodal
ChatOpenAI
ChatAnthropic
ChatVertexAI (deprecated)
ChatGoogleGenerativeAI
AzureChatOpenAI
ChatGroq
ChatBedrock
ChatAmazonNova
ChatHuggingFace
ChatOllama
ChatWatsonx
ChatXAI
ChatNVIDIA
ChatCohere
ChatMistralAI
ChatTogether
ChatFireworks
ChatDeepSeek
ChatDatabricks
ChatPerplexity
ChatOpenRouter
ChatLiteLLM
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.
ProviderIntegrationDescription
OpenRouterChatOpenRouterUnified access to models from OpenAI, Anthropic, Google, Meta, and more
LiteLLMChatLiteLLMUnified interface for OpenAI, Anthropic, Azure, Hugging Face, and more with routing and fallbacks

Chat Completions API

Certain model providers offer endpoints that are compatible with OpenAI’s Chat Completions API. In such cases, you can use ChatOpenAI with a custom base_url to connect to these endpoints for basic chat functionality.
ChatOpenAI targets official OpenAI API specifications only. Non-standard response fields from third-party providers (e.g., reasoning_content, reasoning, reasoning_details) are not extracted or preserved. Use a provider-specific package when you need access to non-standard features.For instance, OpenRouter has a dedicated LangChain integration. See the ChatOpenRouter guide for setup and usage.

All chat models

Abso

AI21 Labs

AI/ML API

Amazon Nova

Anthropic

AzureAIOpenAIApiChatModel

Azure OpenAI

Baseten

AWS Bedrock

Cerebras

CloudflareWorkersAI

Cohere

ContextualAI

Databricks

DeepSeek

Featherless AI

Fireworks

Google Gemini

Google Cloud Vertex AI

Google Anthropic on Vertex AI

DigitalOcean Gradient

GreenNode

Groq

ChatHuggingFace

IBM watsonx.ai

Kinetica

LiteLLM

MistralAI

ModelScope

Moonshot

Naver

Nebius

Netmind

NVIDIA AI Endpoints

OCIGenAI

OCI Data Science

Ollama

OpenAI

OpenRouter

Parallel

Perplexity

Pipeshift

ChatPredictionGuard

Qwen QwQ

Qwen

RunPod Chat Model

SambaNova

ChatSeekrFlow

Together

Upstage

vLLM Chat

ChatWriter

xAI

Xinference

If you’d like to contribute an integration, see Contributing integrations.