Cursor and Your ChatGPT Subscription: What Works in 2026
Cursor's OpenAI key override can point chat at a subscription-backed endpoint. What survives the override, what stays on Cursor's stack, and when it pays off.
Cursor cannot sign in with a ChatGPT account, but it accepts a custom OpenAI API key and a base URL override. Point both at https://api.proxyllm.ai/v1 with a ProxyLLM key and Cursor’s chat requests to OpenAI models run through Codex Hosted on your own ChatGPT subscription instead of metered API billing. The override covers chat-style traffic; Tab autocomplete and Cursor’s native features stay on Cursor’s own models and its own plan.
That second sentence is the honest part most write-ups skip, so this article covers both halves: the setup and the boundaries.
Cursor has two auth stories
Cursor’s own subscription signs you into Cursor’s product: Tab completion on its custom models, its hosted frontier-model access, its agent infrastructure. Separately, Cursor’s settings accept your own OpenAI API key for model traffic you want billed to you, and that key field comes with a base URL override for OpenAI-compatible endpoints.
The override is the opening. Anything that accepts an OpenAI base URL can point at a subscription-backed endpoint, and Cursor’s custom-key mode qualifies. Your ChatGPT plan does not plug into Cursor directly; it backs the endpoint Cursor talks to.
Configure the override
In Cursor’s settings, under the model and API key section:
OpenAI API Key: pk_live_your_proxyllm_key
Override OpenAI Base URL: https://api.proxyllm.ai/v1
Paste the ProxyLLM key, enable the base URL override, set the URL, and let Cursor verify. The verify step performs a real request, so a pass means the lane works end to end. Behind the endpoint, your ChatGPT account connects once through OpenAI’s device-code flow; the setup guide covers those five minutes.
Give Cursor its own scoped key rather than reusing one from another tool. Editor traffic is bursty, and a per-key budget cap plus the request log tells you exactly what the editor sent and which lane served it.
What survives the override
The honest capability table, as of June 2026:
| Cursor feature | With a custom key and base URL |
|---|---|
| Chat with OpenAI models | Works; billed through your endpoint |
| Tab autocomplete | Unaffected; Cursor’s own models, Cursor’s billing |
| Agent features on Cursor-served models | Stay on Cursor’s plan |
| Features Cursor restricts to its keys | Vary by version; some reject custom keys |
Two caveats worth stating plainly. Cursor ships fast, and which features accept custom keys shifts between releases, so treat the table as a snapshot. And responses on the Codex lane arrive complete rather than streamed: in-editor chat shows a wait, then the full answer, instead of text typing out. Some developers do not notice; some find it jarring. Decide after a day of use, not from this paragraph.
If the override feels too narrow for how you work, a harness built around OpenAI-compatible providers gives the subscription lane more surface area; opencode is the cleanest example.
When the override actually pays
Run the numbers before bothering. A heavy chat user sending 80 requests a day at roughly 6,000 input and 700 output tokens each, on GPT-5.4 (OpenAI’s June 2026 list: $2.50 per million input, $15 per million output):
Input: 80 × 6,000 × 30 = 14.4M tokens × $2.50/M = $36.00
Output: 80 × 700 × 30 = 1.7M tokens × $15/M = $25.20
Editor chat alone ≈ $61/mo
Sixty-one dollars of metered chat does not justify a $129 platform fee plus a $20 plan on its own. One editor’s chat traffic rarely justifies a gateway; a whole toolbelt on one flat plan does. The math works when the same endpoint also carries your coding-agent sessions, scripts, CI jobs, and automation, pooling onto one ChatGPT plan with one request log. On our planning estimates a Plus plan absorbs roughly $700 of API-equivalent work a month, which is a lot of room once several tools share it.
The boundary cases are covered in what works with Codex Hosted: chat-model traffic fits, embeddings and fine-tunes stay on a real API key.
The policy posture, briefly
Programmatic Codex use backed by your own ChatGPT account is documented OpenAI functionality, your account connects through OpenAI’s own device-code flow, and we never see the password. One account runs in one isolated container, never shared or pooled. That is the intended functionality, and OpenAI has the final call on its services.
The condensed setup lives on the Cursor integration page. If you want to see whether your combined tooling spend clears the breakeven, the calculator answers it with your own numbers.
Frequently asked questions
Can Cursor use my ChatGPT subscription?
Not by logging in with it. Cursor accepts a custom OpenAI API key with a base URL override; point both at a Codex-backed endpoint like ProxyLLM and chat requests to OpenAI models bill to your ChatGPT plan. Cursor-native features like Tab keep running on Cursor's own models and its own billing.
Does Cursor Tab autocomplete work with a custom OpenAI key?
No. Tab runs on Cursor's own custom models served from Cursor's infrastructure, and a custom OpenAI key does not carry that traffic. The override applies to chat-style requests against OpenAI models, not to Cursor's native features.
How do I set a custom OpenAI base URL in Cursor?
Open Cursor's settings, find the OpenAI API key section under model settings, paste your key, enable the base URL override, and set it to https://api.proxyllm.ai/v1. Cursor verifies the key with a live test call before enabling it.
Do I still need a Cursor subscription with a custom key?
If you use Tab, Cursor's hosted models, or its native agent features, yes. A custom key changes where OpenAI-model chat billing lands; it does not replace what Cursor's own plan provides. The two subscriptions pay for different things.