> ## 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.

# Ollama integrations

> Integrate with Ollama using LangChain Python.

This page covers all LangChain integrations with [Ollama](https://ollama.com/).

Ollama allows you to run open-source models (like [`gpt-oss`](https://ollama.com/library/gpt-oss)) locally or in the cloud.

For a complete list of supported models and variants, see the [Ollama model library](https://ollama.ai/library).

## Model interfaces

> [card] [ChatOllama](https://docs.langchain.com/oss/python/integrations/chat/ollama)
>
> Ollama chat models.

> [card] [OllamaEmbeddings](https://docs.langchain.com/oss/python/integrations/embeddings/ollama)
>
> Ollama embedding models.

## Other

> [card] [OllamaLLM](https://docs.langchain.com/oss/python/integrations/llms/ollama)
>
> (Legacy) Ollama text completion models.

***

[Connect these docs](https://docs.langchain.com/use-these-docs.md) to your agent of choice via MCP for real-time answers.

[Edit this page on GitHub](https://github.com/langchain-ai/docs/edit/main/src/oss/python/integrations/providers/ollama.mdx) or [file an issue](https://github.com/langchain-ai/docs/issues/new/choose).
