VS Code
Microsoft’s Visual Studio Code has built-in support for Ollama through the Copilot sidebar.Setup
Recommended Models for VS Code
qwen3— Efficient all-purpose modelqwen3-coder:480b-cloud— Advanced cloud code generationglm-4.7— Local reasoning model
Tips
JetBrains IDEs
IntelliJ IDEA, PyCharm, WebStorm, and other JetBrains IDEs support Ollama with an AI subscription.To use Ollama with JetBrains IDEs, you need a JetBrains AI Subscription.
Setup (IntelliJ Example)
Supported JetBrains IDEs
IntelliJ IDEA
Java, Kotlin, Scala development
PyCharm
Python development
WebStorm
JavaScript, TypeScript, Node.js
PhpStorm
PHP development
GoLand
Go development
RubyMine
Ruby development
Zed
Zed is a high-performance, collaborative code editor with native Ollama support.Setup
Connecting Zed to ollama.com
Create API key
Create an API key on ollama.com
Cline
Cline is a VS Code extension that provides an autonomous coding agent interface.Setup
Install Cline
Install Cline from the VS Code marketplace

Coding tools require a larger context window (at least 32K tokens). See Context Length for configuration.
Recommended Models for Cline
qwen3-coder:480b-cloud— Advanced code generationdeepseek-v3.1:671b-cloud— Massive reasoning modelglm-4.7— Local reasoning and coding
Connecting Cline to ollama.com
Create API key
Create an API key on ollama.com
Other Extensions
Continue
Continue is an open-source AI code assistant for any IDE. Setup: Add Ollama as a provider in Continue’s settings.Cline CLI
Cline also provides a CLI tool that can be launched with:General Tips
Use Cloud Models
For large codebases, use cloud models with 100k+ context windows
Increase Context
Adjust context length for local models: Context Length
Model Selection
Choose specialized code models like
qwen3-coder for best resultsPerformance
Smaller models (8B) are faster but less capable; balance based on needs
Context Window Configuration
Most IDE integrations work best with large context windows (32k-128k tokens).For Local Models
For Cloud Models
Cloud models automatically use their maximum context window.Troubleshooting
Connection Failed
Verify Ollama is running:Models Not Appearing
Ensure models are pulled:Slow Performance
- Use cloud models for large context
- Use smaller local models for quick tasks
- Ensure sufficient VRAM for local models
IDE Can’t Find Ollama
Check the host URL is correct:- Local:
http://localhost:11434 - Remote: Your server’s URL
- Cloud:
https://ollama.com
Next Steps
Try Coding Agents
Explore autonomous coding agents
API Documentation
Learn about Ollama’s APIs
Context Length
Configure model context windows
Model Library
Browse available models







