OpenCode is an open-source (MIT) AI coding agent best known for its terminal TUI, now also shipping a desktop app and IDE extensions with OpenCode 2. It connects to 75+ LLM providers through models.dev and runs several sessions in parallel. The tool is free; for models you bring your own key, use OpenCode's free Zen models, pay as you go on Zen, or subscribe to its Go plan ($10/month, Go Plus $40).
7 options compared, with prices and limits.
Bars show editorial scores from hands-on testing. Percentages showOpenCode's live community win rate in head-to-head votes, shown once a category has 10 or more votes.
Runs on: Terminal (macOS, Linux, Windows) · Desktop app (beta) · IDE extensions|Best for: Terminal users who want a polished AI coding interface
OpenCode runs on Standard Compute
Yes. OpenCode is MIT-licensed and free, and its Zen gateway offers a few free models (the line-up rotates and some are limited-time). For other models you bring your own API key, pay as you go on Zen, subscribe to OpenCode Go ($10/month, Go Plus $40), or point it at a flat-price plan such as Standard Compute for heavy daily use.
OpenCode is best for terminal users who want a genuinely pleasant interface: a clean TUI and resumable sessions for long tasks. It's the strongest answer to 'terminal agents are powerful but ugly'.
Aider is more mature with stronger git automation and benchmark pedigree; OpenCode has the better interface and session management. Developers who prioritize workflow polish pick OpenCode; those who prioritize battle-tested editing pick Aider. Both are free, so trying both costs nothing.