You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
403 error when routing OpenCode free tier models through OmniRoute MCP provider #50084
Description
When using OpenCode's free tier models (oc/mimo-v2.5-free, oc/big-pickle) routed through an OmniRoute MCP provider configured as an OpenAI-compatible provider in opencode.json, the following error is returned:
Error: [403]: Error from provider (Console): OpenCode's free tier can only be used from within OpenCode
Expected Behavior
The free tier models should be accessible when routed through a third-party provider (OmniRoute), since the API key and authentication are handled by the OmniRoute gateway, not directly by OpenCode's console.
Actual Behavior
The request is rejected with a 403 error indicating the free tier can only be used "from within OpenCode," even though the request is originating from an OpenCode session and the routing is handled by an external provider.
Environment
OpenCode version: 2.0.10
Provider: OmniRoute (OpenAI-compatible)
Models affected: oc/mimo-v2.5-free, oc/big-pickle
Notes
The paid models from the same OmniRoute provider (e.g., codex/gpt-5.6-terra) work correctly. Only the free tier models are affected by this restriction. It appears the free tier validation checks the request origin rather than allowing proxied requests through configured providers.
Plugins
No response
OpenCode version
2.0.10
Steps to reproduce
Configure an OmniRoute MCP server in ~/.config/opencode/opencode.json as a remote server with API key authentication
Configure the OmniRoute provider as OpenAI-compatible with free tier models (oc/mimo-v2.5-free, oc/big-pickle)
Set the default model to omniroute/oc/mimo-v2.5-free
Start OpenCode and attempt to use the model
Screenshot and/or share link
Error: [403]: Error from provider (Console): OpenCode's free tier can only be used from within OpenCode
Os modelos de nível gratuito devem estar acessíveis quando roteados por meio de um provedor terceirizado (OmniRoute)
Não, isso é abuso. Nossos modelos gratuitos devem ser usados SOMENTE em opencode. Modelos pagos podem ser usados em qualquer lugar.
Abuse? What is the difference between using it on Omniroute for PERSONAL use and using it via OpenCode? Both do the same thing, and I actually use Omniroute with OpenCode and Orca. What you guys are doing is the real abuse—suddenly changing things for no apparent reason.
8. > > The free tier models should be accessible when routed through a third-party provider (OmniRoute)
>
>
> Nope, that is abuse. Our free models are meant to be used in opencode ONLY. Paid models can be used anywhere.
[diegosouzapw/OmniRoute#14227](https://github.com/diegosouzapw/OmniRoute/issues/14227)
[decolua/9router#4182](https://github.com/decolua/9router/issues/4182)
then provide a legal response to remove opencode models from these routers
Then provide a legal representative identification for yourself. Impersonation is forbidden in GitHub, mind you.
Activity
Kaedo17 commentedon Sep 20, 2026
I experienced the same issue, even when using Opencode harness
rekram1-node commentedon Sep 21, 2026
Nope, that is abuse. Our free models are meant to be used in opencode ONLY. Paid models can be used anywhere.
marcelloinfoweb commentedon Sep 24, 2026
Abuse? What is the difference between using it on Omniroute for PERSONAL use and using it via OpenCode? Both do the same thing, and I actually use Omniroute with OpenCode and Orca. What you guys are doing is the real abuse—suddenly changing things for no apparent reason.
marcelloinfoweb commentedon Oct 3, 2026
It continues to be an abuse and always will be!!! Accept it, it's all that's left...
Bonbocat commentedon Oct 17, 2026
Then provide a legal representative identification for yourself. Impersonation is forbidden in GitHub, mind you.