Free tier (unlimited)
oc/OpenCode Free
OpenCode Free — no-auth passthrough, models auto-fetched.
opencode.aiQuick setup
Open the kRouter dashboard at http://localhost:20128
Go to Providers → click the OpenCode Free tile
No login needed — kRouter passes through. Pick a model.
Pick the model you want to expose to your IDE
Use in your IDE
Point any OpenAI-compatible client at kRouter using your local API key.
# Endpoint
http://localhost:20128/v1
# API key (from Dashboard → API Keys)
sk-krouter-XXXX
# Model
oc/<auto>How OpenCode Free billing works with kRouter
OpenCode Free has a genuinely free tier — no card, no per-token cost. Rate limits apply, and kRouter rotates across accounts when you add more than one. kRouter authenticates it via free. Its catalog is fetched live, so new models appear without a kRouter update.
Through kRouter, OpenCode Free serves chat and code completion. Requests reach it through the same local OpenAI-compatible endpoint as every other provider, so switching to or from OpenCode Free is a one-line model change in your client rather than a rewrite.
OpenCode Free FAQ
Is OpenCode Free free through kRouter?
OpenCode Free does not bill per token here — kRouter uses your existing free tier, so the only cost is whatever you already pay OpenCode Free directly. kRouter itself is MIT-licensed and free.
How do I use OpenCode Free with Claude Code or Cursor?
Connect OpenCode Free in the kRouter dashboard, then point your tool at kRouter's local endpoint (http://localhost:20128/v1) with a kRouter API key. Any OpenAI-compatible client works, and models are addressed as oc/<model>.
What happens when OpenCode Free is rate limited?
kRouter detects the limit, parks that account until its real reset time, and fails over to your next connected account or provider — so the request still completes instead of erroring.