Cursor & Windsurf
Both editors accept an OpenAI-compatible base URL, so they work with Primex directly.
Settings
In the editor's AI / model settings, set an OpenAI-compatible provider:
| Field | Value |
|---|---|
| Base URL | https://gateway.primex.work/v1 |
| API Key | prx-YOUR_KEY |
| Model | e.g. gpt-5.5, gpt-5.3-codex, claude-sonnet-4-6 |
That's it — completions and chat now bill through your Primex credits.
Continue / Cline
The same OpenAI-compatible settings work for the Continue and Cline
extensions. Point the provider's apiBase at https://gateway.primex.work/v1
and set apiKey to your prx- key. Cline can also use the
Anthropic format with Claude models.
Tips
- Pick a passthrough model (
gpt-5.5,gpt-5.3-codex) for agentic/tool-heavy work — see Responses. - Use
gpt-5.4-mini/gpt-5.4-nanofor cheap autocomplete and quick edits.