How to Use Claude API with Cursor in 2026
Cursor supports custom API endpoints natively. With Claude Api.Tech, you get full access to Claude Fable 5, Opus 4.8, and Sonnet 4.6 inside Cursor — the same models as Anthropic, at a fraction of the cost.
1. Get your Claude Api.Tech API key
Register at Claude Api.Tech (takes under 2 minutes). You get a $1.50 free test bonus instantly. Generate your sk-cs2-* key in the dashboard.
2. Open Cursor Settings → AI
Go to Cursor Settings (⌘+,) → AI tab → Override OpenAI Base URL.
3. Set the API endpoint
api3.claudeapitech.com/v1Paste the endpoint above as Base URL. Add your sk-cs2-* key as the API Key.
4. Select Claude model
In Cursor, select claude-opus-4-5 or claude-sonnet-4-5 as your model. All Claude models work with one key and one balance.
Your Claude Api.Tech balance is shared across all tools — Cursor, Claude Code, Cline, VS Code. You pay only for tokens actually used.