Integration · Cline

Run Cline on ubc now.

Cline is an agentic coder for VS Code. Its “OpenAI Compatible” provider points straight at ubc now, so your agent runs on frontier models within your daily budget.

What works

Supported in Cline.

Cline's OpenAI-compatible provider unlocks the full agent loop against ubc now:

Plan & Act

Cline plans a change, then edits files — all calls go to ubc now.

Terminal commands

Command suggestions are generated by your chosen ubc now model.

Multi-file edits

Larger refactors stream from the same endpoint and budget.

Setup

Connect in a few steps.

Mint a ubc now key

Verify with Self and mint a key at /api-keys. Agentic tools burn tokens quickly, so keep an eye on your daily budget.

Open Cline's API settings

In VS Code, open the Cline panel → settings (gear). For “API Provider”, choose “OpenAI Compatible”.

Fill in the connection

Set the Base URL and API Key, then enter a Model ID from /v1/models.

Cline · OpenAI Compatible
Base URL https://ubcnow.ai/v1
API Key ubc_sk_…
Model ID <model-id>

Start a task

Type a task in the Cline input and let it plan. Watch the request count against your budget in the ubc now usage page.

Examples

Copy, paste, run.

Pick a capable model id

Agentic work benefits from a strong model. List options and choose one for the Model ID field.

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

If something's off.

Cline stops mid-task with a budget error

Agents make many calls. If you hit a 402, your daily budget is spent — it resets at 00:00 UTC. Earn credits via quests on the usage page to extend a session.

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.

Give your agent a free brain.

Mint a key, pick the OpenAI Compatible provider, and let Cline build.