Roo Code 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 to Ollama (Optional) Update Base URL if your Ollama instance is running remotely. The default is http://localhost:11434 Enter a valid Model ID (for example qwen3 or qwen3-coder:480b-cloud. See all supported models here) 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 to https://ollama.com Enter your Ollama API Key Select a model from the list