If you just got OpenCode's free tier can only be used from within OpenCode: that is HTTP 403, error type FreeTierError, and neither your key nor your config is broken. In September 2026 the Zen gateway's free tier became app-only: the models still exist, still cost $0, but only respond when the request comes from OpenCode itself. You have three ways out, and one of them takes about two minutes.
We reproduced the exact error on October 9, 2026, with an anonymous call to the Zen endpoint, no key attached:
$ curl -X POST https://opencode.ai/zen/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"big-pickle","messages":[{"role":"user","content":"hi"}]}'
{"type":"error","error":{"type":"FreeTierError",
"message":"OpenCode's free tier can only be used from within OpenCode"}}
HTTP 403, error type FreeTierError. The model catalog itself (https://opencode.ai/zen/v1/models) is still publicly readable, which is why scripts that only list models keep working while actual calls fail.
Disclosure: Wallaby Token sells API access to Kimi K3, one of the models discussed below. The error reproduction above involves none of our infrastructure.
What changed
OpenCode Zen is the curated model gateway built into OpenCode. During its public feedback period, the free models on Zen answered any caller, key or no key, and a fair number of scripts, proxies, and third-party tools came to rely on that unauthenticated endpoint. In September 2026, OpenCode closed the free tier to external traffic. Public reports of the change appeared within days, and the error message above is what those callers started seeing.
The free models themselves did not disappear, but the roster keeps rotating: the thirteen free entries we counted on October 9, 2026 had become eleven by October 15, with names like MiMo-V2.5 Free and Nemotron 3 Ultra Free rotated out and replacements such as DeepSeek V4.1 Flash Free rotated in. Survivors from September include Big Pickle, Space Bunny, Step 5, and LongCat. What changed in September is the gate, and the gate has not moved: free models answer only inside the OpenCode app. Paid models on Zen still work through the documented API endpoints with a Zen key, billed per request from a prepaid balance.
If your question is which limit applies rather than this app-only 403, see OpenCode usage limits: free, Go, Console and BYOK. It separates the reset windows from provider-side caps.
Seeing this inside the OpenCode app?
The same string also shows up in the TUI and Desktop app, not just in external scripts. Two checks, both from OpenCode's own issue tracker (as of November 21, 2026):
- OpenCode v1 no longer supports free models. The pinned free-tier issue (#59387) says most reports come from v1 builds (
0.x/1.x, including Desktop 1.19.x), and upgrading to v2 fixed it for many users. The v1 desktop updater keeps you on1.x, so download v2 manually from opencode.ai rather than waiting for in-app updates. - Known in-app triggers, from OpenCode's support bot in #56324:
readorshell/bashset todenyanywhere in your permissions (including"*": "deny"), a provider entry pointing athttps://opencode.ai/zen/v1, leftover plugins, or no stored Console credential. Runopencode debug configandopencode auth list, fix what you find, runopencode auth login opencodeif no credential is stored, then retry. The bot could not reproduce every case and suspects some networks or regions are treated differently — if none of the triggers match, the BYOK route below works regardless of the gate.
Option 1: stay inside the app, keep paying $0
If you only ever used the free models for coding inside OpenCode, nothing broke. Open the TUI, pick a free model, keep going.
Two honest caveats, both from Zen's own documentation:
- The free lineup rotates. Every free model is marked "available for a limited time," and unannounced "stealth" models come and go without notice. We watched this ourselves: in mid-September we tracked a stealth model called Union Alpha in the Zen catalog, and it is already gone. Treat any specific free model as temporary.
- Most free models train on your data. Zen's privacy section says that during the free period, prompts and completions may be used to improve the model. The exceptions it names with a zero-retention policy are Space Bunny Free, LongCat 2.5 Preview Free, and Step 5 Preview Free. If you point a free model at a private repository, read that section first.
Option 2: BYOK, bring a model that answers everywhere
OpenCode supports any OpenAI-compatible provider natively. If what you actually want is a strong open model callable from OpenCode and from your own scripts, CI, or other agents, bring your own key.
The least-friction path we know of, because we run it: Kimi K3 is in the models.dev catalog that OpenCode syncs, with Wallaby as a listed provider. Setup is one environment variable and one list check — no hand-written provider block, no base URL to paste:
export WALLABY_API_KEY=<your key>
opencode models | grep wallaby
opencode -m wallaby/moonshotai/kimi-k3.1-pro
That starts Kimi K3.1 Pro, our lead model; wallaby/moonshotai/kimi-k3 starts Kimi K3.
One version note, since OpenCode 2 shipped on October 8: the v1 opencode models --refresh flag was removed in v2, whose background server syncs the catalog for you — if the model does not appear with the key set, restart the OpenCode server once. We documented the full setup, v2 gotchas included, step by step in Kimi K3 in OpenCode.
On price: Zen sells Kimi K3 at the official list price, $3.00 per million input tokens and $15.00 per million output. Wallaby sells the same model at $2.55 / $12.75, 15% below official list, with cached input at $0.255. A new Wallaby account starts with $0.50 of trial credit, no credit card required; an eligible first top-up is $5, then regular top-ups start at $10. Zen, by comparison, requires a minimum prepaid top-up of $20. Zen's figures are as of October 9, 2026 and ours as of November 10, 2026; our free trial page has the current details.
Option 3: other free API lanes
If the goal is strictly "a free model I can call from anywhere," several providers run genuinely free API endpoints, including NVIDIA's hosted free tier (build.nvidia.com), which currently serves Kimi K3. Free lanes come with the usual trade-offs: rate limits, queues, and data policies worth reading — do not build production workloads on unguaranteed free lanes. We maintain a dated comparison in Cheapest way to run Kimi K3 API, free options included, rather than duplicating it here.
Which one is yours
- You code inside OpenCode, cost is the only concern, and your repos are not sensitive: Option 1, eyes open about rotation and data use.
- You want one model callable from your editor, your terminal, and your own tooling: Option 2. This is the group the September change actually broke.
- You want free API calls at any cost: Option 3, and read the rate limits before you build on them.
FAQ
"OpenCode's free tier can only be used from within OpenCode" — what does it mean?
OpenCode's free models only accept requests from the OpenCode app itself. External scripts and other clients get HTTP 403 with a FreeTierError; the model catalog still lists normally. Since September 2026 this is a deliberate gate, not a broken key. Use the app, pay for Zen models, or bring your own provider.
Is OpenCode Zen free?
The Zen gateway itself is pay-as-you-go from a prepaid balance. Zen also carries a rotating set of free models, but since September 2026 those only answer inside the OpenCode app. The OpenCode software itself remains free and open source either way.
Can I use OpenCode's free models via the API?
No. External calls to free models return HTTP 403 with a FreeTierError, which we reproduced on October 9, 2026. Listing the catalog still works; chat completions do not. Paid Zen models do work via the documented endpoints with a Zen key.
What is the cheapest way to run Kimi K3 in OpenCode?
Bring your own key. Kimi K3 is in OpenCode's synced model catalog via models.dev, so configuration is one environment variable and one list check (on OpenCode 2, the old --refresh flag is gone; the background server syncs for you). Wallaby sells Kimi K3 at $2.55 per million input tokens, 15% below the official list price that Zen charges, with $0.50 of free trial credit and no card required.
Sources
- OpenCode Zen documentation, model catalog, pricing table, and privacy section:
https://opencode.ai/docs/zen/(accessed October 9, 2026) - Our own reproduction of the 403
FreeTierErroragainsthttps://opencode.ai/zen/v1/chat/completions, October 9, 2026, quoted verbatim above - Public reports of the September 2026 free-tier restriction, including user posts and third-party write-ups from September 10-17, 2026
- OpenCode issue tracker, in-app triggers and the v1 free-model deprecation: pinned issue #59387 and support-bot diagnosis in #56324 (accessed November 21, 2026)