# On-Demand Usage OFF blocks OpenAI-compatible / Vercel AI Gateway models (looks like misconfig)

**URL:** <https://forum.cursor.com/t/on-demand-usage-off-blocks-openai-compatible-vercel-ai-gateway-models-looks-like-misconfig/170567>\
**Category:** Help\
**Tags:** byok\
**Created:** [September 4, 2026, 9:48am UTC](https://forum.cursor.com/t/on-demand-usage-off-blocks-openai-compatible-vercel-ai-gateway-models-looks-like-misconfig/170567 "2026-09-04T09:48:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ta9to](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/ta9to/32/119875_2.png) [@ta9to](https://forum.cursor.com/u/ta9to)\
**Post date:** [September 4, 2026, 9:48am UTC](https://forum.cursor.com/t/on-demand-usage-off-blocks-openai-compatible-vercel-ai-gateway-models-looks-like-misconfig/170567/1 "2026-09-04T09:48:59Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

I configured **Vercel AI Gateway** in Cursor as an **OpenAI-compatible** (BYOK-style) provider: API Key, Base URL, and Model ID were set. Every model selection still failed with errors that looked like a Gateway / provider misconfiguration.

I double-checked Vercel AI Gateway settings and available models; the Gateway side looked fine, and requests still failed in Cursor.

Eventually I noticed **On-Demand Usage was OFF** in Cursor. Immediately after turning **On-Demand Usage ON** , the same Vercel AI Gateway models started working with no other config changes.

The confusing part: with an external / BYOK-style setup, Cursor’s **On-Demand Usage** setting can block requests in a way that looks like a **Vercel AI Gateway misconfiguration** , not a Cursor billing gate.

### Steps to Reproduce

1. Configure Cursor Models with an OpenAI-compatible provider pointing at **Vercel AI Gateway** (API Key, Base URL, Model ID).
2. Ensure **On-Demand Usage is OFF** in Cursor account / spending settings.
3. Select a Gateway-backed model and send a chat / agent request.
4. Observe errors (while Gateway settings/models appear correct).
5. Turn **On-Demand Usage ON**.
6. Retry the same model / request with no other changes.

### Expected Behavior

If Cursor is using an external OpenAI-compatible / BYOK provider (e.g. Vercel AI Gateway) with a valid key and base URL, requests should work (or fail with a clear message that a Cursor billing setting is blocking them)—not with errors that read like the external API is misconfigured.

### Operating System

Other

### Version Information

Not provided

### Additional Information

### Actual Behavior

With On-Demand Usage OFF, Gateway-backed models failed in a way that suggested a Vercel AI Gateway / OpenAI-compatible setup problem. Turning On-Demand Usage ON made the same configuration work immediately.

### Workaround

Enable **On-Demand Usage** in Cursor. After that, the previously failing Vercel AI Gateway models worked without changing API Key / Base URL / Model ID.

### Open question

Is requiring **On-Demand Usage** for external OpenAI-compatible / BYOK providers (including Vercel AI Gateway) **intended product behavior** , or a bug / UX issue (billing gate presented as a provider error)?

### Related

- Forum (BYOK blocked / On-Demand workaround): [Get more usage to switch models?](https://forum.cursor.com/t/get-more-usage-to-switch-models/167671)
- Docs (On-Demand / usage-based): [Usage-based charges | Cursor Docs](https://cursor.com/help/account-and-billing/overages)

Also related by title only (no URLs, due to new-user link limit): “On demande usage limit even when using my own API keys”; “AWS Bedrock + Auto/Premium — Which quota is actually being used?”; Models & Pricing and Team Pricing docs (BYOK / Cursor Token Rate).

_(Observed behavior only; not asserting root cause or product intent.)_

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [September 4, 2026, 12:39pm UTC](https://forum.cursor.com/t/on-demand-usage-off-blocks-openai-compatible-vercel-ai-gateway-models-looks-like-misconfig/170567/5 "2026-09-04T12:39:02Z")

</div>

Hey there.

Have a look here.

> [@I use my own API key, but the actual usage is still counted under "Other Models." As a result, when the usage limit for "Other Models" is reached, I can no longer use my own API key](https://forum.cursor.com/t/i-use-my-own-api-key-but-the-actual-usage-is-still-counted-under-other-models-as-a-result-when-the-usage-limit-for-other-models-is-reached-i-can-no-longer-use-my-own-api-key/166751/6):
>
> Hey there! This is actually expected behavior on Teams and Enterprise plans, and I can see why the docs made it look otherwise. Here’s what’s going on: On Teams/Enterprise plans, third-party models carry a Cursor Token Rate of $0.25 per million tokens, and that applies to models you run with your own API key too (BYOK or not). The actual model cost still goes to your own provider account, but the Cursor Token Rate is real usage, so your own-key requests appear under Other Models and draw from …

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [October 13, 2026, 10:36am UTC](https://forum.cursor.com/t/on-demand-usage-off-blocks-openai-compatible-vercel-ai-gateway-models-looks-like-misconfig/170567/8 "2026-10-13T10:36:50Z")

</div>

Closed on October 13, 2026, 10:36am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
