Skip to content
All tools
Terminal coding agent

Use OpenCode for 80% less.

The open-source Claude Code alternative — terminal-native, multi-provider, and BYOK from day one.

Anthropic direct
$500
/month, typical
Through us
$100
/month, same use
You keep
$400
/month back in pocket

Why OpenCode burns tokens

OpenCode is 100% BYOK — every token you use is on your invoice. It supports parallel subagents, full-codebase context, autonomous loops. A real day = same 2-5M token spend as Claude Code.

Setup — under 60 seconds

  1. 1

    Get an API key

    Sign up (free, no card), then generate an sk-cc-… key from your dashboard.

  2. 2

    Configure OpenCode

    In ~/.opencode/config.json or via 'opencode auth login'.

    {
      "providers": {
        "anthropic": {
          "baseURL": "https://claudeapi.cheap/api/proxy",
          "apiKey": "sk-cc-your-key-here"
        },
        "openai": {
          "baseURL": "https://claudeapi.cheap/api/proxy/v1",
          "apiKey": "sk-cc-your-key-here"
        }
      }
    }
  3. 3

    Run as usual

    OpenCode keeps every feature. Only the API endpoint changed — your prompts, tools, and behaviour are unchanged.

Recommended models for OpenCode

Claude Sonnet 4.6

$0.6/M in · $3/M out

OpenCode's recommended workhorse

Claude Opus 4.7

$1/M in · $5/M out

Architecture, hard reasoning

GPT-5.5

$0.8/M in · $6.4/M out

Cross-validation, second-opinion runs

FAQ

Does OpenCode support custom baseURL?

Yes — OpenCode is BYOK by design and exposes baseURL in its provider config. Anthropic, OpenAI, and Google providers all accept the override.

Can I run multi-provider sessions?

Yes. OpenCode lets you switch models mid-session and run subagents on different providers. With our proxy, all three (Claude, GPT, Gemini) use the same sk-cc-... key — no juggling.

Is there a feature OpenCode loses going through the proxy?

None we know of. Streaming, tool calls, prompt caching, vision (where supported) all forward through. If you find an edge case, email support@claudeapi.cheap.

Ready to cut your OpenCode bill?

Free Basic plan, $19 lifetime Pro. Crypto only. No subscription.

Get an API key — free

Or visit OpenCode