Connect LangChain to the language models that power your application's reasoning and responses.
Models are the part of a LangChain application that generate text, understand instructions, decide what to do, or produce structured outputs. LangChain provides a common interface so applications can work with different model providers without rewriting the entire application around one API.
Choosing a model is not only about how smart it is. Cost, latency, context window, tool-calling support, structured output, reliability, and the type of task you are solving all affect which model makes sense.
What you'll walk away knowing