Chat (⌘L)
Ask questions about your codebase against a ubc now model.
Cursor talks to any OpenAI-compatible API. Point it at ubc now and code against frontier models on your free daily budget — no subscription, no credit card.
ubc now serves a standard OpenAI-compatible endpoint, so the Cursor features that route to a custom model work against your daily budget:
Ask questions about your codebase against a ubc now model.
Rewrite and refactor selections with a frontier model.
Multi-file agentic edits routed through your custom endpoint.
Verify once with Self, then mint an API key at /api-keys. It starts with ubc_sk_ and draws from your shared daily budget.
In Cursor: Settings → Models → OpenAI API Key. Enable “Override OpenAI Base URL”, paste the values below, and save.
OPENAI_BASE_URL=https://ubcnow.ai/v1OPENAI_API_KEY=ubc_sk_…
Cursor needs the exact model id. List what ubc now serves and add one as a custom model in the same settings panel.
curl https://ubcnow.ai/v1/models \-H "Authorization: Bearer ubc_sk_…"
Open Chat (⌘L), select your custom model, and send a message. A reply means Cursor is routing through ubc now.
Before wiring Cursor, sanity-check the key and base URL with curl.
curl https://ubcnow.ai/v1/chat/completions \-H "Authorization: Bearer ubc_sk_…" \-H "Content-Type: application/json" \-d '{"model": "<model-id>","messages": [{"role": "user", "content": "Hello"}]}'
That is expected. Cursor's Tab completion runs on Cursor's own models; only Chat, Inline edit, and Agent route to a custom OpenAI base URL.
Your key must be an active ubc now key (it starts with ubc_sk_). Mint or re-mint one at /api-keys, and make sure it is sent as a Bearer token, not pasted into a username field.
You have spent your daily token allowance. It resets at 00:00 UTC. Image and chat usage both draw from the same daily pool.
Use an exact model id from https://ubcnow.ai/v1/models — copy it verbatim. ubc now does not alias OpenAI model names like "gpt-4o"; pick one of the models it actually serves.
Mint a key and point Cursor at ubc now in under a minute.