How to Use Cursor IDE with Qubax API
Cursor is the AI-first code editor built on VS Code. It uses AI for autocomplete, chat, and code generation. By connecting Cursor to Qubax, you get the same AI coding experience at up to 99% off retail API prices.
Step 1: Get Your Qubax API Key
- Go to qubax.ai/register — $1 free credits
- Dashboard → API Keys → Create Key
- Copy your key (
qbx_live_...)
Step 2: Configure Cursor
Open Cursor → Settings (gear icon) → Models:
- Find "Override OpenAI Base URL"
- Set it to:
https://api.qubax.ai/v1 - Enter your Qubax API key
- Add model names:
claude-sonnet-5,gpt-5.6-terra,deepseek-v4-pro
Step 3: Choose Your Model
| Use Case | Model | Price (Qubax) | Discount |
|---|---|---|---|
| Best coding | claude-sonnet-5 | $0.33/1M in | 83% off |
| Cheapest | gpt-5.6-terra | $0.03/1M in | 99% off |
| Strong reasoning | deepseek-v4-pro | $0.22/1M in | 49% off |
| Large context | claude-opus-5 | $0.97/1M in | 80% off |
Step 4: Start Coding
Use Cursor's features as normal:
- Cmd+K: Inline code generation
- Cmd+L: Chat sidebar
- Tab: AI autocomplete
- Composer: Multi-file edits
All requests go through Qubax at discounted prices.
Monthly Cost Estimate
A typical Cursor user sends ~500 requests/day with 4K input + 1K output tokens:
| Model | Daily Cost | Monthly Cost | vs OpenRouter |
|---|---|---|---|
| Claude Sonnet 5 | $1.51 | $45.17 | Save 83% |
| GPT-5.6 Terra | $0.16 | $4.87 | Save 99% |
Troubleshooting
"Model not found" error Make sure you typed the model ID exactly: claude-sonnet-5 (not "Claude Sonnet 5").
Connection refused Check that your base URL is https://api.qubax.ai/v1 (with /v1 at the end).
Out of credits Go to qubax.ai/billing and deposit USDC on Base.
Related Guides
Model Pages
- Claude Sonnet 5 — 83% off
- GPT-5.6 Terra — 99% off
- Browse all models
Start saving on AI coding — [get $1 free credits](https://qubax.ai/register).