Use Continue with TokenMaster
Continue is an open-source coding assistant for VS Code and JetBrains. Add TokenMaster models in its config.yaml.
You will need
- An API key starting with tm- (Console → API keys) — Get an API key
- Base URL:
https://tokenmaster.store/v1 - A model ID, e.g.
openai/gpt-6-luna(see the model list)
Setup
- Open your Continue config (
~/.continue/config.yaml, or the gear icon in the Continue panel). - Add a model entry like the one below —
provider: openaiwith TokenMaster'sapiBase. - Keep
useResponsesApi: false(recommended). Without it Continue switches GPT-5-and-later model names (such asopenai/gpt-6-luna) to the Responses API; TokenMaster accepts that too, but Chat Completions is the most complete path. - Save; the model appears in Continue's model selector.
name: TokenMaster
version: 0.0.1
schema: v1
models:
- name: GPT-6 Luna (TokenMaster)
provider: openai
model: openai/gpt-6-luna
apiBase: https://tokenmaster.store/v1
apiKey: tm-xxxxxxxx
useResponsesApi: false
roles: [chat, edit, apply]Good to know
- Do not give TokenMaster models the
embedorrerankrole. - Not available through TokenMaster: image generation, speech, rerank, the Assistants API, and OpenAI-hosted tools. Chat Completions, the Responses API (stateless), the Anthropic Messages API and embeddings are available.
Checked against Continue 1.3 on 2026-10-19. Menu names can change between versions.
Troubleshooting
- 401 / invalid API key — check the key was copied in full and has not been deleted in the console.
- 404 — the base URL is wrong. It must end in /v1 unless the guide says otherwise.
- Model not found / not available — use the exact ID from the model list (vendor/model, lowercase). Some vendors are not available in every region.
- Errors mentioning /responses — the tool is using OpenAI's Responses API. TokenMaster accepts it, but statelessly (no previous_response_id) and without OpenAI-hosted tools; if the tool relies on those, switch it to Chat Completions as noted above.
- 402 / insufficient balance — top up in the console; requests are refused rather than run up a debt.