D.A BLOG PROJECTS NOW DATA NOTES

OpenCode and the whales

How I am using the models provided by OpenCode (both free and paid) and comparing them with state-of-the-art models

Date: 26 Oct 2026 · 4 min read

OpenCode and the whales

A week with OpenCode

I’ve been using AI agents to programme for a while now (I’ve used Codex and Antigravity). Then I installed OpenCode out of curiosity and, believe it or not, I’m really enjoying the Chinese models. Let me explain briefly what OpenCode is

What is it?

OpenCode is an open-source AI coding agent: GitHub, and you can use it in three ways:

  • TUI – terminal
  • Desktop – native app;

What struck me straight away is that it isn’t just a wrapper around a single model, but rather a client that connects to any supported provider: Anthropic, OpenAI, Google, Grok, or local models via Ollama. The cool thing is that it also has a free plan that lets you try it out (that’s the one I started with)

How it works

flowchart LR
    subgraph client["Client (quello che vedi)"]
        TUI["TUI<br/>(terminale)"]
        DESK["Desktop"]
        WEB["Web"]
    end

    subgraph server["Servizio OpenCode (background)"]
        SESSIONS["Sessioni"]
        CONF["Config<br/>opencode.json"]
        PERM["Permessi"]
        TOOLS["Tool<br/>file · bash · grep · LSP"]
        MCP["Server MCP"]
    end

    PROVIDERS["Provider LLM<br/>Anthropic · OpenAI ·<br/>Google · Ollama · ..."]

    TUI -- "API HTTP" --> server
    DESK --> server
    WEB --> server
    TOOLS --> PROVIDERS
    server -- "richieste LLM" --> PROVIDERS

When you launch it opencode, a background service actually starts up which manages sessions, configuration, plugins, permissions and the execution of tools. The interfaces are simply clients that communicate with that service via an HTTP API.

The request cycle

When I send it something, this is what happens:

  1. The prompt is sent to the configured model.
  2. The agent decides whether to respond directly or to use tools such as reading and editing files, running commands, searching through code, or using external MCP servers.
  3. ‘Sensitive’ actions are subject to permissions – you can have it ask for confirmation before each command, or give it carte blanche. The decision is yours.

Free vs Go (the interesting bit)

OpenCode itself is free and open source. Then there’s OpenCode Go, which is optional, although it’s becoming increasingly essential to have.

Plan Price What’s included
— (basic) Free All OpenCode, using your own keys or local models
Go $10/month access to a catalogue of open models, with monthly limits
Go Plus $40/month same models, higher limits

Essentially, Go is like a subscription that gives you a certain number of tokens to use up. There are time windows (5 hours), weekly and monthly limits. The point is that these windows depend on the model you use. Please note: it’s important to bear in mind that there is a single pool from which the tokens are drawn; this means that if we have $50 worth of tokens to use, using DeepSeek v4.1 Flash and using up 1M tokens will incur one cost, whereas using other models such as Haiku 5.5 and using up 1M tokens will incur another (much higher) cost. Once the pool is exhausted, you’ll need to wait for it to regenerate.

Two details I appreciate: most models have zero data retention (ZDR), meaning your prompts aren’t used for training; and if you exceed the monthly limit, you aren’t blocked – you can continue using the free models or switch to pay-as-you-go. The list of models is updated as they test new ones, so it’s worth having a look at the Go guide every now and then. The fact is that the free models are becoming less and less usable, alas.

How I used it: reverse engineering + patching with Morphe

So far I’ve talked about ‘coding’, but the reason OpenCode won me over is another: I used it for a reverse-engineering workflow on an Android app (a Unity app, so native il2cpp code), right through to patching it. Chinese models have far fewer safeguards than their Western counterparts, so things like this can be done ‘without any problems’. Antigravity, with all its models from Flash to Pro, rejected every single request of this kind.

Morphe, for those unfamiliar with it, is a ReVanced-style Android app patcher: you take an APK, apply patches (written in Kotlin) and end up with a modified version. morphe-documentation.

Let’s sum up

I recommend trying this tool with the free templates to see just how much can be achieved, even with the free tier alone. Projects like these are interesting and have rekindled the curiosity of those (myself included) who were getting a bit bored with the current state of the templates.

Links

Author

Daniele lovaion Avolio

Developer, video game lover 🎮 and fan of Japanese pop culture 🗾