# Bring Your Own LLM

Learn how to use any LLM with CopilotKit.

LLM Adapters are responsible for executing the request with the LLM and standardizing the request/response format in a way that the Copilot Runtime can understand.

Currently, we support the following LLM adapters natively:

- [OpenAI Adapter (Azure also supported)](https://docs.copilotkit.ai/reference/classes/llm-adapters/OpenAIAdapter)
- [OpenAI Assistant Adapter](https://docs.copilotkit.ai/reference/classes/llm-adapters/OpenAIAssistantAdapter)
- [LangChain Adapter](https://docs.copilotkit.ai/reference/classes/llm-adapters/LangChainAdapter)
- [Groq Adapter](https://docs.copilotkit.ai/reference/classes/llm-adapters/GroqAdapter)
- [Google Generative AI Adapter](https://docs.copilotkit.ai/reference/classes/llm-adapters/GoogleGenerativeAIAdapter)
- [Anthropic Adapter](https://docs.copilotkit.ai/reference/classes/llm-adapters/AnthropicAdapter)

You can use the [LangChain Adapter](https://docs.copilotkit.ai/reference/classes/llm-adapters/LangChainAdapter) to use any LLM provider we don't yet natively support!

It's not too hard to write your own LLM adapter from scratch -- see the existing adapters for inspiration. And of course, we would love a contribution! ⭐️

Copilot Cloud (Recommended)

Use our hosted backend endpoint to get started quickly.

Self-hosting

Learn to host CopilotKit's runtime yourself with your own backend.

Configure the used LLM adapter [on your Copilot Cloud dashboard](https://cloud.copilotkit.ai/)!

[Previous\\
\\
Copilot Suggestions](https://docs.copilotkit.ai/guides/copilot-suggestions) [Next\\
\\
Copilot Textarea](https://docs.copilotkit.ai/guides/copilot-textarea)

### On this page

No Headings

[Edit on GitHub](https://github.com/CopilotKit/CopilotKit/blob/main/docs/content/docs/(root)/guides/bring-your-own-llm.mdx)

![](https://static.scarf.sh/a.png?x-pxid=ffc9f65d-0186-4575-b065-61d62ea9d7d3)

## Custom UI Options
CrewAI CrewAI support is here! Checkout the [Crew](https://docs.copilotkit.ai/crewai-crews) and [Flow](https://docs.copilotkit.ai/crewai-flows) documentation.

Search docs

`⌘`  `K`

On this page