How to Use DevToks with Cursor
Configure Cursor against one endpoint so setup and review stay aligned with the rest of your team tooling.
Step 1: Get Your API Key
- Visit the dashboard
- Sign up or log in
- Go to API Keys -> Create New Key
- Copy the key
Step 2: Configure Cursor
Method A: Via Cursor Settings UI
- Open Cursor
- Press Cmd+, on macOS or Ctrl+, on Windows/Linux
- Search for OpenAI
- Set OpenAI API Base URL to the value below
- Set OpenAI API Key to your DevToks key
https://api.devtoks.com/v1Method B: Via settings.json
{
"openai.apiBaseUrl": "https://api.devtoks.com/v1",
"openai.apiKey": "sk-your-key"
}Step 3: Verify
Open a file, use Cmd+K or Ctrl+K, and send a simple prompt. Then check your dashboard to confirm routing.
Model Recommendations
| Task | Model Tier | Why |
|---|---|---|
| Quick edits, autocomplete | Fast / mini model | Low latency, low cost |
| Code generation | Balanced frontier model | Best code quality per dollar |
| Complex refactoring | Most capable frontier model | Handles large context and reasoning |
Call GET /v1/models with your API key for the current list of available model IDs.
Troubleshooting
- Model not found - Call GET /v1/models for the current list of available models.
- Auth failed - Verify your DevToks key is correct.
- Timeout - Check status.