Overview
Cursor CLI is an AI-first code editor built on VS Code, trusted by Fortune 500 companies for its advanced capabilities. It features the proprietary Cursor 2.0 model alongside support for GPT-5, Claude 4.5 models, Gemini 3 Pro, and Grok Code. The Composer feature enables instant code generations with parallel agent support for complex tasks.Latest Models
Cursor CLI provides access to cutting-edge models:- Cursor 2.0 - Proprietary model optimized for code editing
- GPT-5 - OpenAI’s latest flagship model
- Claude 4.5 Sonnet - Anthropic’s high-performance model
- Claude 4.5 Opus - Anthropic’s most capable model
- Gemini 3 Pro - Google’s advanced reasoning model
- Grok Code - Specialized code generation model
Cursor’s Composer feature allows multiple agents to work in parallel, significantly speeding up complex multi-file changes.
Authentication
Cursor CLI requires a Cursor API key:- Cursor API Key
Get your Cursor API key
- Sign up at Cursor
- Subscribe to Cursor Pro or Team plan
- Generate an API key in Cursor settings
- Set the environment variable:
CURSOR_API_KEY=cursor-... - In Blocks Dashboard, go to Dashboard → Agents
- Select Cursor CLI and paste your API key
Using Cursor CLI
Use the/cursor slash command to invoke Cursor CLI:
Cursor CLI must be explicitly invoked with the
/cursor command and cannot be set as your default agent.Best For
- VS Code integration (familiar interface)
- Parallel agent workflows (multiple agents working together)
- Instant code generations with Composer
- Fortune 500-grade reliability
- Complex multi-file refactoring
- Teams already using VS Code
- Access to multiple premium models in one subscription
Cost
Cursor CLI uses your Cursor subscription:- Cursor Pro: $20/month (includes API access)
- Cursor Team: Custom pricing for organizations
- Check Cursor Pricing for details
- All models included in subscription (no per-token billing)
- Monitor usage in Cursor dashboard
Unlike pay-as-you-go API services, Cursor uses a subscription model with unlimited usage, making costs predictable.
Next Steps
Agents Overview
Compare all available agents
Set Default Agent
Configure your default agent
Claude Code
Learn about Claude Code
OpenCode Agent
Explore OpenCode’s multi-provider support

