| 1 | --- |
| 2 | title: "Models" |
| 3 | description: "Models form the foundation of the entire agent experience, offering different specialized capabilities:" |
| 4 | --- |
| 5 | |
| 6 | import { ModelRecommendations } from "/snippets/ModelRecommendations.jsx"; |
| 7 | |
| 8 | - **[Chat](/customize/model-roles/chat)**: Power conversational interactions about code and provide detailed guidance |
| 9 | - **[Edit](/customize/model-roles/edit)**: Handle complex code transformations and refactoring tasks |
| 10 | - **[Apply](/customize/model-roles/apply)**: Execute targeted code modifications with high accuracy |
| 11 | - **[Autocomplete](/customize/model-roles/autocomplete)**: Provide real-time suggestions as developers type |
| 12 | - **[Embedding](/customize/model-roles/embeddings)**: Transform code into vector representations for semantic search |
| 13 | - **[Reranker](/customize/model-roles/reranking)**: Improve search relevance by ordering results based on semantic meaning |
| 14 | |
| 15 |  |
| 16 | |
| 17 | ## Recommended Models |
| 18 | |
| 19 | ### Best Models by Role |
| 20 | |
| 21 | <ModelRecommendations role="all" /> |
| 22 | |
| 23 | ## Learn More About Models |
| 24 | |
| 25 | Continue supports [many model providers](/customize/model-providers/top-level/openai), including Anthropic, OpenAI, Gemini, Ollama, Amazon Bedrock, Azure, xAI, and more. Models can have various roles like `chat`, `edit`, `apply`, `autocomplete`, `embed`, and `rerank`. |
| 26 | |
| 27 | Read more about [model roles](/customize/model-roles), [model capabilities](/customize/deep-dives/model-capabilities) and view [`models`](/reference#models) in the YAML Reference. |
| 28 | |
| 29 | ### Example Model Setup Instructions |
| 30 | |
| 31 | # Frontier Models |
| 32 | |
| 33 | [Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) from Anthropic |
| 34 | |
| 35 | 1. Get your API key from [Anthropic](https://console.anthropic.com/) |
| 36 | 2. Add [Claude 4 Sonnet](https://hub.continue.dev/anthropic/claude-4-sonnet) to an agent on Continue Hub |
| 37 | 3. Add `ANTHROPIC_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 38 | 4. Click `Reload config` in the agent selector in the Continue IDE extension |
| 39 | |
| 40 | [Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) from Qwen |
| 41 | |
| 42 | 1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys) |
| 43 | 2. Add [Qwen Coder 3 480B](https://hub.continue.dev/openrouter/qwen3-coder) to an agent on Continue Hub |
| 44 | 3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 45 | 4. Click `Reload config` in the agent selector in the Continue IDE extension |
| 46 | |
| 47 | [GPT-5](https://hub.continue.dev/openai/gpt-5) from OpenAI |
| 48 | |
| 49 | 1. Get your API key from [OpenAI](https://platform.openai.com) |
| 50 | 2. Add [GPT-5](https://hub.continue.dev/openai/gpt-5) to an agent on Continue Hub |
| 51 | 3. Add `OPENAI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 52 | 4. Click `Reload config` in the agent selector in the Continue IDE extension |
| 53 | |
| 54 | [Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) from Moonshot AI |
| 55 | |
| 56 | 1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys) |
| 57 | 2. Add [Kimi K2](https://hub.continue.dev/openrouter/kimi-k2) to an agent on Continue Hub |
| 58 | 3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 59 | 4. Click `Reload config` in the agent selector in the Continue IDE extension |
| 60 | |
| 61 | [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) from Google |
| 62 | |
| 63 | 1. Get your API key from [Google AI Studio](https://aistudio.google.com) |
| 64 | 2. Add [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) to an agent on Continue Hub |
| 65 | 3. Add `GEMINI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 66 | 4. Click `Reload config` in the agent selector in the Continue IDE extension |
| 67 | |
| 68 | [Grok Code Fast 1](https://hub.continue.dev/xai/grok-code-fast-1) from xAI |
| 69 | |
| 70 | 1. Get your API key from [xAI](https://console.x.ai/) |
| 71 | 2. Add [Grok Code Fast 1](https://hub.continue.dev/xai/grok-code-fast-1) to an agent on Continue Hub |
| 72 | 3. Add `XAI_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 73 | 4. Click `Reload config` in the agent selector in the Continue IDE extension |
| 74 | |
| 75 | [Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) from Mistral AI |
| 76 | |
| 77 | 1. Get your API key from [Mistral AI](https://console.mistral.ai/) |
| 78 | 2. Add [Devstral Medium](https://hub.continue.dev/mistral/devstral-medium) to an agent on Continue Hub |
| 79 | 3. Add `MISTRAL_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 80 | 4. Click `Reload config` in the agent selector in the Continue IDE extension |
| 81 | |
| 82 | [gpt-oss-120b](https://hub.continue.dev/openrouter/gpt-oss-120b) from OpenAI |
| 83 | |
| 84 | 1. Get your API key from [OpenRouter](https://openrouter.ai/settings/keys) |
| 85 | 2. Add [gpt-oss-120b](https://hub.continue.dev/openrouter/gpt-oss-120b) to an agent on Continue Hub |
| 86 | 3. Add `OPENROUTER_API_KEY` as a [User Secret](https://docs.continue.dev/hub/secrets/secret-types#user-secrets) on Continue Hub [here](https://hub.continue.dev/settings/secrets) |
| 87 | 4. Click `Reload config` in the agent selector in the Continue IDE extension |
| 88 | |
| 89 | ### Local Models |
| 90 | |
| 91 | These models can be run on your computer if you have enough VRAM. |
| 92 | |
| 93 | Their limited tool calling and reasoning capabilities will make it challenging to use Agent mode. |
| 94 | |
| 95 | [Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b) |
| 96 | |
| 97 | 1. Add [Qwen3 Coder 30B](https://hub.continue.dev/ollama/qwen3-coder-30b) to an agent on Continue Hub |
| 98 | 2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide) |
| 99 | 3. Click `Reload config` in the agent selector in the Continue IDE extension |
| 100 | |
| 101 | [gpt-oss-20b](https://hub.continue.dev/ollama/gpt-oss-20b) |
| 102 | |
| 103 | 1. Add [gpt-oss-20b](ttps://hub.continue.dev/ollama/gpt-oss-20b) to an agent on Continue Hub |
| 104 | 2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide) |
| 105 | 3. Click `Reload config` in the agent selector in the Continue IDE extension |
| 106 | |
| 107 | [Devstral Small 27B](https://hub.continue.dev/ollama/devstral) |
| 108 | |
| 109 | 1. Add [Devstral Small](https://hub.continue.dev/ollama/devstral) to an agent on Continue Hub |
| 110 | 2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide) |
| 111 | 3. Click `Reload config` in the agent selector in the Continue IDE extension |
| 112 | |
| 113 | [Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) from Qwen |
| 114 | |
| 115 | 1. Add [Qwen2.5-Coder 7B](https://hub.continue.dev/ollama/qwen2.5-coder-7b) to an agent on Continue Hub |
| 116 | 2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide) |
| 117 | 3. Click `Reload config` in the agent selector in the Continue IDE extension |
| 118 | |
| 119 | [Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) from Google |
| 120 | |
| 121 | 1. Add [Gemma 3 4B](https://hub.continue.dev/ollama/gemma3-4b) to an agent on Continue Hub |
| 122 | 2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide) |
| 123 | 3. Click `Reload config` in the agent selector in the Continue IDE extension |
| 124 | |
| 125 | [Qwen2.5-Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) from Qwen |
| 126 | |
| 127 | 1. Add [Qwen2.5-Coder 1.5B](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b) to an agent on Continue Hub |
| 128 | 2. Run the model with [Ollama](https://docs.continue.dev/guides/ollama-guide#using-ollama-with-continue-a-developers-guide) |
| 129 | 3. Click `Reload config` in the agent selector in the Continue IDE extension |