| 1 | --- |
| 2 | title: "Model Blocks" |
| 3 | description: "These blocks form the foundation of the entire assistant experience, offering different specialized capabilities:" |
| 4 | --- |
| 5 | |
| 6 | - **[Chat](/customize/model-roles/chat)**: Power conversational interactions about code and provide detailed guidance |
| 7 | - **[Edit](/customize/model-roles/edit)**: Handle complex code transformations and refactoring tasks |
| 8 | - **[Apply](/customize/model-roles/apply)**: Execute targeted code modifications with high accuracy |
| 9 | - **[Autocomplete](/customize/model-roles/autocomplete)**: Provide real-time suggestions as developers type |
| 10 | - **[Embedding](/customize/model-roles/embeddings)**: Transform code into vector representations for semantic search |
| 11 | - **[Reranker](/customize/model-roles/reranking)**: Improve search relevance by ordering results based on semantic meaning |
| 12 | |
| 13 |  |
| 14 | |
| 15 | ## Recommended Models |
| 16 | |
| 17 | ### Best Models by Role |
| 18 | |
| 19 | | Model role | Best open models | Best closed models | Notes | |
| 20 | |:------------|:------------------|:-------------------|:--------| |
| 21 | | Agent / Plan | Qwen 3 Coder (480B), Qwen 3 Coder (30B), Qwen2.5-Coder (32B), Devstral (27B), Devstral (24B), GLM 4.5 (355B), GLM 4.5 Air (106B), Kimi K2 (1T), gpt-oss (120B), gpt-oss (20B) | [Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus), [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet), GPT-4, [GPT-5](https://hub.continue.dev/openai/gpt-5), [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro), DeepSeek models | Closed models are slightly better than open models | |
| 22 | | Chat / Edit | Qwen 3 Coder (480B), Qwen 3 Coder (30B), gpt-oss (120B), gpt-oss (20B), DeepSeek Chat | [Claude Opus 4.1](https://hub.continue.dev/anthropic/claude-4-1-opus), [Claude Sonnet 4](https://hub.continue.dev/anthropic/claude-4-sonnet), [GPT-5](https://hub.continue.dev/openai/gpt-5), [Gemini 2.5 Pro](https://hub.continue.dev/google/gemini-2.5-pro) | Closed and open models have pretty similar performance | |
| 23 | | Autocomplete | [QwenCoder2.5 (1.5B)](https://hub.continue.dev/ollama/qwen2.5-coder-1.5b), QwenCoder2.5 (7B) | [Codestral](https://hub.continue.dev/mistral/codestral), Mercury Coder, Mercury Coder Small, DeepSeek Coder | Closed models are slightly better than open models | |
| 24 | | Apply | N/A | [Relace Instant Apply](https://hub.continue.dev/relace/instant-apply), [Morph Fast Apply](https://hub.continue.dev/morphllm/morph-v2) | Open models are basically non-existent / not good enough for this model role | |
| 25 | | Embed | Nomic Embed Text | [Voyage Code 3](https://hub.continue.dev/voyageai/voyage-code-3), [Morph Embeddings](https://hub.continue.dev/morphllm/morph-embedding-v2), Codestral Embed, text-embedding-3-large, text-embedding-004 | Open embeddings models are emerging but closed models still perform better | |
| 26 | | Rerank | zerank-1, zerank-1-small | rerank-2.5, Relace Code Rerank, [Morph Rerank](https://hub.continue.dev/morphllm/morph-rerank-v2) | Open models are beginning to emerge for this model role | |
| 27 | | Next Edit | Zeta | Mercury Coder | Closed models are significantly better than open models | |
| 28 | |
| 29 | ## Learn More About Model Blocks |
| 30 | |
| 31 | Continue supports [many model providers](/customize/model-providers/top-level/openai), including Anthropic, OpenAI, Gemini, Ollama, Amazon Bedrock, Azure, xAI, DeepSeek, and more. Models can have various roles like `chat`, `edit`, `apply`, `autocomplete`, `embed`, and `rerank`. |
| 32 | |
| 33 | Read more about roles [here](/customize/model-roles) and view [`models`](/reference#models) in the YAML Reference. |