Continue
One key in config.yaml: provider openai, apiBase, apiKey, any model id on the list. Pay per token, no subscription.
At the end you have Continue on its openai provider at https://api.uplinkswitch.com/v1, with one API key from the console and any model id on the list in the model field, Claude included. Each request bills per token to the balance behind that key, no subscription, and the live table below is the price per million tokens on each model today.
What you need
VS Code or a JetBrains IDE with the Continue extension installed, an account on the console with credit on it, and one key created there. Create the key for Continue alone, so its requests sit apart from any other tool on the Usage page. The base URL is https://api.uplinkswitch.com/v1 for every model.
Where the settings are
~/.continue/config.yaml on macOS and Linux, %USERPROFILE%\.continue\config.yaml on Windows. Continue creates the file the first time you use it. From the sidebar, open the Agent selector, hover over an agent and click the gear icon to open it. Continue only takes an OpenAI-compatible base URL on its openai provider, so the Anthropic-style variables from the Claude Code guide do not apply. Read 2026-10-28 from Continue's docs.
The config block
One entry under models per id you want in the model picker. provider stays openai; apiBase points it here; apiKey is the key from the console. The two headers under requestOptions name the app on the Usage page.
name: Local Config
version: 0.0.1
schema: v1
models:
- name: Claude Sonnet 5.5
provider: openai
model: claude-sonnet-5-5
apiBase: https://api.uplinkswitch.com/v1
apiKey: sk-uplink-live-...
roles:
- chat
- edit
- apply
capabilities:
- tool_use
requestOptions:
headers:
HTTP-Referer: https://uplinkswitch.ai
X-Title: Continue
- name: Claude Opus 5.5
provider: openai
model: claude-opus-5-5
apiBase: https://api.uplinkswitch.com/v1
apiKey: sk-uplink-live-...
roles:
- chat
- edit
capabilities:
- tool_use
requestOptions:
headers:
HTTP-Referer: https://uplinkswitch.ai
X-Title: Continue
- name: DeepSeek V4 Pro
provider: openai
model: deepseek-v4-pro-0813
apiBase: https://api.uplinkswitch.com/v1
apiKey: sk-uplink-live-...
roles:
- chat
- edit
- apply
capabilities:
- tool_use
requestOptions:
headers:
HTTP-Referer: https://uplinkswitch.ai
X-Title: Continueroles is where the model is offered: chat for the chat panel, edit for inline edits, apply for applying diffs. The default is chat, edit, apply and summarize, so leave roles out if you want all of them. capabilities: [tool_use] turns on Agent mode for that model. Add defaultCompletionOptions with contextLength and maxTokens from the model page if you want Continue to budget context for it.
Which model id to put in
Any chat id on the Models page. Tool calling works on every chat model here, and Continue's Agent mode needs it for file edits and terminal commands, so no id on the list is a dead end. These six fit a coding agent:
claude-sonnet-5-5
claude-opus-5-5
gpt-6.1-sol
gemini-3.1-pro-preview
deepseek-v4-pro-0813
kimi-k3The Claude ids answer the OpenAI format as well as the Anthropic one, so claude-sonnet-5-5 goes in the same field as gpt-6.1-sol or deepseek-v4-pro-0813, with no second provider. Input price decides the session cost, because Continue sends the context and every tool result back on each step; pick by the input column below. The uncensored coding builds work the same way: one id in the model field, billed per token.
Price per token
| Model | Input / 1M | Output / 1M | Cached / 1M | List input | List output | Under list |
|---|---|---|---|---|---|---|
| Claude Sonnet 5.5 | $1.164 | $2.91 | $0.075 | $2.00 | $10.00 | 41% on input |
| Claude Opus 5.5 | $2.716 | $9.70 | $0.1455 | $4.00 | $20.00 | 32% on input |
| GPT-6.1 Sol | $0.582 | $2.91 | $0.0582 | $2.00 | $10.00 | 70% on input |
| Gemini 3.1 Pro Preview | $1.20 | $7.20 | $0.12 | $2.00 | $12.00 | 40% on input |
| DeepSeek V4 Pro 0813 | $0.792 | $1.188 | $0.0625 | $1.32 | $3.96 | 40% on input |
| Kimi K3 | $0.90 | $4.50 | $0.12 | $3.00 | $15.00 | 70% on input |
USD per million tokens, live from GET /v1/catalog. List: the developer’s own published price. Cached: the cache-read rate where the model has one.
When a response reports cached input tokens, they bill at the cache-read rate in the table. The Claude Code pricing post works a day and a month of agent steps at these rates, and the 2026 API price table puts every developer side by side.
Check it
From a shell, the key should list the models:
curl https://api.uplinkswitch.com/v1/models -H "Authorization: Bearer sk-uplink-live-..."Then send one request the way Continue does. -i prints the headers: x-uplink-request-id names the request, and on a non-streamed answer x-uplink-charge is what it cost in USD.
curl -i https://api.uplinkswitch.com/v1/chat/completions \
-H "Authorization: Bearer sk-uplink-live-..." \
-H "content-type: application/json" \
-H "X-Title: Continue" \
-d '{"model": "claude-sonnet-5-5", "messages": [{"role": "user", "content": "Say ok."}]}'Then save config.yaml, pick the model in the chat panel and send a message. The request shows on the console Usage page within seconds, with its tokens, the same charge and Continue as the client app.
Errors you will see
401 invalid_api_key: the key is wrong or revoked. Copy it again from the console intoapiKey.402 insufficient_balance: the balance does not cover the request. Top up in the console.402 monthly_limit_reached: the key hit the monthly spend limit you set on it. Raise it in the console, or wait for the first of the month.404 model_not_found: the id inmodelis not on the Models page at this base URL. Copy it from the page rather than typing it.403 scope_denied: the key carries a model allowlist and this id is not on it. Pick an allowed id or use a key without the limit.429 rate_limited: the key hit its requests-per-minute or concurrency limit. The response carriesretry-afterin seconds. Wait that long and resend.- Nothing answers:
apiBaseis missing/v1, or the YAML indentation undermodelsslipped. Compare against the block above.
Good to know
- Continue's docs say the openai provider uses
/responsesby default for o-series and gpt-5 ids and offeruseResponsesApi: falseto keep it on chat completions (read 2026-10-28). Both endpoints answer at this base URL, so either setting works. useLegacyCompletionsEndpoint: trueforces the old/completionsendpoint. Leave it out here.- Only the ids you list are offered. Add an entry when the Models page gains one you want.
- The same base URL and key go into Cline, Kilo Code and Cursor through a settings panel, and into OpenCode through its own config file. One balance serves all of them, and a key per tool keeps the spend apart on the Usage page.
Questions
Get a key in the console: prepaid credit, no subscription, 30-day price lock.