Integration · VS Code

Bring ubc now into VS Code.

VS Code's AI extensions speak the OpenAI API. Point any of them at ubc now's endpoint and get frontier models in your editor on a free daily budget.

What works

Supported in VS Code.

Any VS Code extension that accepts a custom OpenAI base URL works with ubc now. The popular ones:

Continue

Open-source autopilot — set an OpenAI-compatible provider in config.yaml.

Cline

Agentic coding — choose the “OpenAI Compatible” provider (see the Cline guide).

Roo Code / Kilo

Cline forks that take the same OpenAI-compatible base URL + key.

Setup

Connect in a few steps.

Mint a ubc now key

Mint an API key at /api-keys after verifying with Self. Keep it handy; it starts with ubc_sk_.

Install an OpenAI-compatible extension

Continue is the simplest starting point. Install it from the VS Code Marketplace, then open its config.

Add ubc now as a provider

In Continue's config.yaml, add a model with the openai provider and ubc now's apiBase. Replace the model id with one from /v1/models.

~/.continue/config.yaml
models:
- name: ubc now
provider: openai
apiBase: https://ubcnow.ai/v1
apiKey: ubc_sk_…
model: <model-id>

Reload and chat

Reload VS Code, open the extension's chat, select the ubc now model, and send a prompt.

Examples

Copy, paste, run.

Discover available model ids

Continue's `model` field must be a real ubc now model id. List them first.

List the models ubc now serves
curl https://ubcnow.ai/v1/models \
-H "Authorization: Bearer ubc_sk_…"
Troubleshooting

If something's off.

The extension expects an OpenAI key format

ubc now keys (ubc_sk_…) work anywhere an OpenAI key is accepted — the prefix differs but the Bearer-token auth is identical.

401 Unauthorized

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.

402 / budget exhausted

You have spent your daily token allowance. It resets at 00:00 UTC. Image and chat usage both draw from the same daily pool.

Model not found

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.

Your editor, your free budget.

Mint a key and point your favorite VS Code extension at ubc now.