Cline
Editor's pickAutonomous coding agent in VS Code that uses your own API keys.
Overview
Cline is an open-source VS Code agent that can plan, edit files, run terminal commands and use a browser, asking for approval at each step. It works with Anthropic, OpenAI, Gemini, OpenRouter, Bedrock and local models via your keys.
- Plan and Act modes
- Terminal and browser use
- MCP marketplace
- Checkpoints
- Cost tracking
Our verdict
What we like
- Transparent, step-by-step approvals
- Huge provider support
Watch out for
- Can burn tokens quickly on large tasks
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in Cline
Grade A
Your key is stored on your device and requests go directly to the provider.
- Key storage40/40
Key stays on your device; requests go direct to the provider.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting8/15
Runs as a local app, but not as a self-hosted service.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice10/10
14 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
Cline FAQ
- Does Cline support bring your own key?
- Yes. Cline accepts your own API key from OpenAI, Anthropic, Google Gemini, OpenRouter, Mistral, Groq, DeepSeek, xAI, Ollama, LM Studio, Azure OpenAI, AWS Bedrock, Together AI and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does Cline store my API key?
- On your device. Requests go directly from Cline to the provider. Its BYOK Tools Key Safety Score is 93/100.
- Is Cline free?
- Open source: Free & open source. API usage is billed separately by your model provider.
- Is Cline open source?
- Yes. The source code is at https://github.com/cline/cline.
- Can Cline run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does Cline support?
- VS Code.
Community reviews
No reviews yet.
Alternatives to Cline
All coding agents & ides →Continue
Coding Agents & IDEs
Open-source AI coding assistant for VS Code and JetBrains.
Roo Code
Coding Agents & IDEs
Customizable multi-mode AI coding agent for VS Code.
OpenCode
Coding Agents & IDEs
Open-source terminal coding agent that works with any provider.
Kilo Code
Coding Agents & IDEs
Open-source VS Code and JetBrains agent combining Cline and Roo ideas.
Aider
Coding Agents & IDEs
AI pair programming in your terminal with git-aware edits.
gptel
Coding Agents & IDEs
Simple, provider-agnostic LLM client for Emacs.