O
Terminal AI coding agent
opencode
opencode is an open-source AI coding agent that runs in your terminal. Pair it with any model, build features across multiple files, and keep your whole workflow in the terminal instead of switching into a managed IDE.
Visit website
Coding
Best for
- Terminal-first developers who live in the shell
- Multi-file refactors and feature work
- Users who prefer open-source, BYO-model workflows
Not best for
- Visual editing or live previews
- Users who want a fully managed cloud experience
Quick facts
- Vendor
- opencode (SST)
- Category
- Terminal AI coding agent
- Platforms
- macOS, Linux, Windows
- Integrations
- Terminal, OpenRouter, Any OpenAI-compatible API
- Pricing
- Free and open source. You pay the underlying model provider for usage, billed through whichever API key you configure.
In Depth: opencode
Key features
- Works with any model via OpenRouter or other providers
- Multi-file edits and codebase-wide changes
- Runs in your terminal, no IDE lock-in
- Open source and inspectable
Pricing and access
Free and open source. You pay the underlying model provider for usage, billed through whichever API key you configure.
Pricing changes often. We update this writeup as vendor pages change. Always confirm the latest on https://opencode.ai before committing.