CodeGPT is an AI coding assistant VS Code extension with 2M+ installs that supports BYOK (bring your own API key) for full model flexibility across Claude, Gemini, GPT and other LLMs. Features agent/planning mode, MCP support, advanced autocomplete.
CodeGPT is an AI coding assistant VS Code extension developed by the CodeGPT team, with over 2 million installs, that supports bring-your-own-API-key (BYOK) for full model flexibility across Claude, Gemini, GPT-4, and 50+ other LLMs. It features an agent and planning mode, MCP integration, and advanced autocomplete — all within VS Code without requiring a standalone IDE installation. As a Cursor alternative, it targets VS Code developers who want model-agnostic AI assistance with full control over which AI providers power their workflow, without switching to a new IDE.
| CodeGPT | Cursor | |
|---|---|---|
| Type | VS Code extension | Standalone IDE (VS Code fork) |
| Pricing | Free (30 interactions) / BYOK Pro $8/mo / Enterprise custom | Free / $20 / $40 per month |
| LLM choice | Claude, Gemini, GPT, 50+ models via BYOK | Built-in models + own key |
| Offline / local models | Yes — via Ollama and local providers | No |
| Open source | No | No |
| Codebase indexing | No (relies on in-context file selection) | Yes (automatic) |
| Multi-file edits | Yes (via Agent & Planning mode) | Yes |
CodeGPT is best suited for VS Code developers who want to stay in their existing editor while gaining model-agnostic AI coding assistance with full control over which LLM providers they use. It's particularly well-suited for teams with existing enterprise AI agreements (OpenAI, Anthropic, Google) who want to leverage those agreements directly without additional platform markups, and for developers who require local/Ollama model support for privacy or air-gapped environments. The Rules feature makes it especially valuable for larger teams that need consistent AI behavior across multiple developers working on shared codebases.
Prices are subject to change. Check the official pricing page for current details.
Cursor is a standalone VS Code fork with automatic codebase indexing, a polished multi-model interface, and a flat-rate subscription that includes model costs. CodeGPT stays within VS Code as an extension, requiring no IDE switch, and trades Cursor's codebase indexing for broader model flexibility (50+ providers via BYOK), local model support (Ollama), and a lower pro price ($8/month vs. $20/month). For developers who specifically value model agnosticism, local execution, and staying within standard VS Code rather than a fork, CodeGPT offers a compelling value proposition at a significantly lower price point.
CodeGPT is the right Cursor alternative for VS Code developers who want AI coding assistance without switching IDEs, with full control over which AI models power their workflow via BYOK. If you want local model support via Ollama, 50+ LLM provider options, and consistent team-wide AI behavior via Rules — all at $8/month — CodeGPT delivers meaningful functionality that rivals Cursor for many everyday coding tasks at a fraction of the price.
Yes, CodeGPT has a free tier with 30 interactions per period. For unlimited usage, the BYOK Pro plan costs $8/month, or you can use your own API keys (BYOK) for additional flexibility within the free tier.
Yes — CodeGPT is exclusively a VS Code extension with 2M+ installs. It does not support JetBrains IDEs or standalone desktop use.
Cursor is a standalone VS Code fork with automatic codebase indexing and a $20/month subscription that includes model costs. CodeGPT is a VS Code extension with BYOK for 50+ models, local Ollama support, and a $8/month Pro plan — cheaper and more model-flexible, but without automatic codebase indexing or the need to switch from standard VS Code.
Yes. CodeGPT supports local model execution via Ollama, allowing developers to run Llama, Mistral, and other open-weight models entirely locally without sending code to external APIs — an important feature for privacy-sensitive codebases or air-gapped environments.
AI pair programmer that suggests code directly in your existing IDE.
Privacy-focused AI code assistant with extensive IDE support and customizable models.
Agentic code integrity platform for reviewing, testing, and writing code with AI across development workflows.