Logo SVG copied to clipboard

Use OpenCode with the LLM gateway

4.4B tokens / 30 days
Coding Assistant

OpenCode can use OpenAI-compatible providers from ~/.config/opencode/opencode.json. Add the gateway as a provider and keep using OpenCode while it chooses the right model for each coding request.

82 models routed through the gateway over the last 30 days.

Why use OpenCode with the gateway

Coding assistants mix simple edits, long-context search, and hard reasoning. The gateway lets OpenCode keep one stable model name while routing those requests across your providers, subscription plans, local models, and fallbacks.

  • Use one manifest/auto model in OpenCode
  • Route easy edits to cheaper models and hard changes to stronger ones
  • Fallback across providers when quota or rate limits hit
  • Track token usage, cost, model choice, and failures in one dashboard
  • Keep the OpenCode workflow unchanged
  • Self-host the gateway or use Manifest Cloud

Setup in 60 seconds

Add the gateway as an OpenAI-compatible provider in your global opencode.json config and set the default model to manifest/auto.

Add this block to ~/.config/opencode/opencode.json.

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "manifest": {
      "npm": "@ai-sdk/openai-compatible",
      "name": "Manifest",
      "options": {
        "baseURL": "https://api.manifest.build/v1",
        "apiKey": "mnfst_YOUR_KEY"
      },
      "models": {
        "auto": {
          "name": "Manifest Auto"
        }
      }
    }
  },
  "model": "manifest/auto"
}
baseURL https://api.manifest.build/v1
apiKey mnfst_YOUR_KEY
model manifest/auto

OpenCode tokens processed by the gateway

Models in use

# Model
Auth type Tokens / last 30 days
1.Deepseek Flash
Subscription3.0 B
2.Openrouter Free
API Key308 M
3.Deepseek V4.1 Flash
Subscription293 M
4.Grok 4.6
Subscription242 M
5.Glm 5.3 Flash
Subscription132 M
6.X Preview F Free
API Key95 M
7.Minimax M3
Subscription58 M
8.Glm 5.3
Subscription39 M
9.Gemini Flash Lite Latest
API Key39 M
10.Glm 5.1
Subscription27 M
11.Glm 5.3
API Key27 M
12.Deepseek V4 Pro
API Key25 M
13.Nemotron 3 Ultra 550b A55b
API Key22 M
14.Kilo Auto Free
API Key14 M
15.Nex N2.5 Pro
API Key7 M
16.Mimo V2.5
Subscription7 M
17.Qwen3.8 Max
Subscription4 M
18.Big Pickle
API Key2 M
19.Gpt 5.5
Subscription2 M
20.Gemini Flash Latest
API Key2 M
21.Laguna Xs 2.1
API Key1 M
22.Deepseek V4 Flash Free
API Key1 M
23.Kimi K3
Subscription1 M
24.Mimo V2.5 Free
API Key1 M
25.Gemini 3.5 Flash Lite
API Key915 K
26.Deepseek V4 Flash
API Key822 K
27.Gpt 5.6 Luna
Subscription729 K
28.Gemini 3.7 Flash
API Key674 K
29.Nemotron 3 Nano Omni 30b A3b Reasoning
API Key638 K
30.Gpt 5.6 Luna
Subscription571 K
31.Deepseek V4 Flash:0731
Subscription523 K
32.Glm 5.2
Subscription321 K
33.Union Alpha
API Key317 K
34.Qwen3.8 27B
API Key312 K
35.Gemini 3.6 Flash
API Key164 K
36.Gemini 3.5 Flash
API Key64 K
37.Glm 4.5 Air
Subscription21 K
38.Deepseek V4 Pro 0813
API Key17 K
39.Deepseek V4 Flash
Subscription9 K
40.Hy3 Free
API Key9 K
41.Gemma4:31b
Subscription7 K
42.Deepseek V4 Pro
Subscription7 K
43.Gpt 5.6 Sol
Subscription2 K
44.Ling 3.0 Flash Fin
API Key473
45.Nemotron 3 Ultra
Subscription458
46.Nemotron 3 Nano:30b
Subscription410
47.Gpt Oss:120b
Subscription403
48.Gpt Oss:20b
Subscription394
49.Gemini 3.8 Flash
API Key372
50.Deepseek V4 Flash 0731
API Key323
51.Dots 3 Note Preview
API Key309
52.Lfm 2.5 2.6b
API Key188
53.North Mini Code
API Key160
54.Qwen3.8 27b
API Key146
55.Nemotron 3 Super
Subscription128
56.Nemotron 3 Nano Omni 30b A3b Reasoning
API Key123
57.Ling 3.0 Flash Sante
API Key115
58.Ling 3.0 Flash Vl
API Key109
59.Nemotron 3 Super 120b A12b
API Key98
60.Nemotron 3.5 Lightning
API Key76
61.Ministral 8b 2512
API Key48
62.Gemini 3.5 Transcribe
API Key42
63.Nex N2.5 Mini
API Key36
64.Gemini 2.5 Flash
API Key34
65.Gemma 4 26b A4b It
API Key30
66.Gemini 3 Flash Preview
API Key30
67.Gpt 4o
API Key26
68.Gemma 4 31b It
API Key22
69.Gemini 3.1 Flash Lite
API Key22
70.Gemini 3.1 Flash Lite Preview
API Key22
71.Gemini 2.5 Flash Lite
API Key16
72.Codestral 2508
API Key10
73.Ministral 14b 2512
API Key10
74.Ministral 3b 2512
API Key10
75.Codestral Latest
API Key5
76.Ministral 14b Latest
API Key5
77.Ministral 3b Latest
API Key5
78.Ministral 8b Latest
API Key5
79.Mistral Code Fim Latest
API Key5
80.Mistral Code Latest
API Key5
81.Voxtral Small 2507
API Key5
82.Voxtral Small Latest
API Key5