Install
Install Roo Code from the VS Code Marketplace.Usage with Ollama
- Open Roo Code in VS Code and click the gear icon on the top right corner of the Roo Code window to open Provider Settings
- Set
API Provider
toOllama
- (Optional) Update
Base URL
if your Ollama instance is running remotely. The default ishttp://localhost:11434
- Enter a valid
Model ID
(for exampleqwen3
orqwen3-coder:480b-cloud
) - Adjust the
Context Window
to at least 32K tokens for coding tasks
Coding tools require a larger context window. It is recommended to use a context window of at least 32K tokens. See Context length for more information.
Connecting to ollama.com
- Create an API key from ollama.com
- Enable
Use custom base URL
and set it tohttps://ollama.com
- Enter your Ollama API Key
- Select a model from the list
Recommended Models
qwen3-coder:480b
deepseek-v3.1:671b