Skip to content

403 error when routing OpenCode free tier models through OmniRoute MCP provider #50084

Closed as not planned

Description

@marcelloinfoweb

Description

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

  1. Configure an OmniRoute MCP server in ~/.config/opencode/opencode.json as a remote server with API key authentication
  2. Configure the OmniRoute provider as OpenAI-compatible with free tier models (oc/mimo-v2.5-free, oc/big-pickle)
  3. Set the default model to omniroute/oc/mimo-v2.5-free
  4. 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

Operating System

Linux (Arch-based)

Terminal

OpenCode TUI v2.0.10

Activity

  1. Kaedo17 commented on Sep 20, 2026

    @Kaedo17

    I experienced the same issue, even when using Opencode harness

  2. rekram1-node commented on Sep 21, 2026

    @rekram1-node
    Contributor

    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.

  3. marcelloinfoweb commented on Sep 24, 2026

    @marcelloinfoweb
    Author

    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.

  4. marcelloinfoweb commented on Oct 3, 2026

    @marcelloinfoweb
    Author

    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.

    diegosouzapw/OmniRoute#14227 decolua/9router#4182

    em seguida, forneça uma resposta legal para remover modelos de opencode desses roteadores

    It continues to be an abuse and always will be!!! Accept it, it's all that's left...

  5. Bonbocat commented on Oct 17, 2026

    @Bonbocat

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions