Skip to content
Continue logo

Continue via Tokonomix

Wire Continue’s chat, autocomplete and agent to 130+ Tokonomix models from one YAML block — and reach consensus on the high-stakes edits.

OpenAI-compatible (openai provider)IDE assistant — VS Code + JetBrainsApache-2.0 · open sourceVS Code · JetBrains
Continue — open-source IDE assistant, via Tokonomix

What is Continue?

Continue is an open-source AI code assistant for VS Code and JetBrains. It has four surfaces — Chat, Autocomplete, Edit and an Agent — and you configure exactly which model powers each from a single config.yaml.

  • Bring your own models: every surface points at a model you define in config.yaml.
  • The openai provider with a custom apiBase routes any surface to an OpenAI-compatible endpoint.
  • Assign different models to chat, edit, autocomplete and the agent independently.
  • Open source and local-config-first — your keys and routing live in your own file.

Why route Continue through Tokonomix?

Because Continue lets you assign a model per role, it pairs naturally with Tokonomix: one key, every family, and consensus available for the role where being wrong is expensive.

  • Point the chat and edit roles at tokonomix-consensus for verified answers, and autocomplete at a fast cheap model.
  • One key, 130+ models — switch the model on any role by editing one line.
  • Per-call spend caps keep an over-eager agent within budget.
  • Sovereignty routing by hosting_region / origin_country for regulated repos.

Connect Tokonomix in config.yaml

Add a Tokonomix model to config.yaml with the openai provider and a custom apiBase. Reference it from any role (chat, edit, autocomplete, agent).

models:
  - name: Tokonomix Consensus
    provider: openai
    model: tokonomix-consensus
    apiBase: https://tokonomix.ai/api/v1
    apiKey: tok_live_your-key
    roles:
      - chat
      - edit
  - name: Tokonomix Fast
    provider: openai
    model: anthropic/claude-sonnet-4-6
    apiBase: https://tokonomix.ai/api/v1
    apiKey: tok_live_your-key
    roles:
      - autocomplete
No key yet?

Create a free account at tokonomix.ai/dashboard/signup — it includes a free starter balance — then drop the key into apiKey for each Tokonomix model in config.yaml.

Match a model to each role

Continue roleRecommended modelWhy
chattokonomix-consensus or a frontier slugAnswers and explanations — accuracy over latency
edittokonomix-consensus for risky editsA judged, multi-model edit lowers single-model risk
autocompletea fast cheap slugKeystroke-latency matters — never route this to consensus
agenta strong reasoning slugMulti-step tasks need consistent planning

Verify it works

  • Save config.yaml and reload Continue (it hot-reloads the config).
  • Open Chat, select the Tokonomix model, and ask a question.
  • Confirm the call and token usage appear in your Tokonomix dashboard.

Model selection

Which model and endpoint should my agent use?

Pick by what your agent does, then swap the model id any time — every model in the catalog works through the same key.

What your agent doesUse this
Edits files / calls tools and streams responses (most coding agents)An Anthropic model via the Anthropic endpoint (tools + streaming both work)
Calls tools but does not need streaming (any model)The OpenAI-compatible endpoint with a single model id
Wants tools and streaming on a non-Anthropic modelRun non-streaming for now — streaming tool-calls on other providers is not enabled yet
Plain chat, no toolsEither endpoint; streaming is fine
Wants a cross-model verdict (consensus) on a high-stakes answerSet model to tokonomix-consensus on the OpenAI-compatible endpoint — note: consensus rejects tool requests (no tool-calling)
Endpoint & API reference (technical)

anthropic-messages → https://tokonomix.ai/api/anthropic — tools ✓, streaming ✓ (use an Anthropic model). openai-completions → https://tokonomix.ai/api/v1 — tools ✓ (single-model passthrough), streaming with tools not yet enabled. Plain chat: streaming works on both. Consensus: openai-completions, model tokonomix-consensus, no tools. Swap the model id to any slug returned by GET /api/v1/models.

Browse all models →

Related agents