Continue + minirouter

Draft model entry for Continue's YAML configuration in VS Code and JetBrains.

Base URLhttps://api.minirouter.sh/v1
Get a keyhttps://minirouter.sh/key
Get a key — no account

Settings

~/.continue/config.yaml (or the gear icon → Configure)

In order

  1. provideropenai

    Continue's generic OpenAI-compatible provider.

  2. apiBasehttps://api.minirouter.sh/v1

    Never append /chat/completions.

  3. apiKeymr-live-… (your key)
  4. modelmeta/llama-3.3-70b
config.yaml — unverified draft
models:
  - name: Llama 3.3 70B (minirouter)
    provider: openai
    model: meta/llama-3.3-70b
    apiBase: https://api.minirouter.sh/v1
    apiKey: mr-live-YOUR-KEY-HERE
    roles: [chat, edit, apply]
  - name: Devstral Small 2 (minirouter)
    provider: openai
    model: mistral/devstral-small-2
    apiBase: https://api.minirouter.sh/v1
    apiKey: mr-live-YOUR-KEY-HERE
    roles: [chat, edit, apply, autocomplete]

Draft candidates · 4 models

All models →

Only rows confirmed in the current live catalog are linked. A plain row is a draft recommendation, not a claim that the model is currently available. Paste ids exactly as written, author/name.

When it fails

  • Symptom404, HTML, or a parse error on every request
    Codeinvalid_request

    Almost always the base URL. Use https://api.minirouter.sh/v1 — the bare host without /v1 also works, but never append /chat/completions to the base URL field; the client adds that path itself. docs/errors#invalid_request

  • Symptom401 on every request
    Codeinvalid_api_key

    Wrong or rotated key. Keys start with mr-live-; after a rotation the old key keeps working for 24 hours, then dies. docs/errors#invalid_api_key

  • Symptom402 before any tokens arrive
    Codeinsufficient_credits

    Balance below the estimated cost of the request. Top up ($5 minimum) — and watch the x-minirouter-balance-usd header, the low-balance signal every response carries. docs/errors#insufficient_credits

  • SymptomAutocomplete is slow or absent
    Codeclient-side

    If your installed version supports a separate autocomplete role, choose a suitable model from the current live catalog.

Every API error string carries a URL resolving to /docs/errors.

Other coding agents and editors

Agent setup: /setup · API reference: /docs