OpenCode with BigModel.io: models and setup

Open-source coding agent for the terminal. Add an OpenAI-compatible provider in opencode.json.

Who it is for

Developers who let an agent read, write and run code in a terminal or editor. Agents send long contexts and many tool calls, so per-key spend limits are worth setting.

Website: opencode.ai

Set up OpenCode in three steps

  1. Create an API key in the BigModel.io console. Give it a spend limit if the app runs unattended.
  2. Add an OpenAI-compatible provider with base URL https://bigmodel.io/v1 and paste the key.
  3. Copy a model ID from the model directory and add it to the app.
OpenAI base URL
https://bigmodel.io/v1
API key
sk-...

The full guide covers model choice, limits and common errors. OpenCode guide →

Models to try