OpenCode

Open source AI coding agent for the terminal with 75+ model providers

★★★★★ Free 🧑‍💻 Code Assistants
OpenCode is a free, open-source AI coding agent that runs natively in the terminal. It provides a polished TUI (terminal user interface) built with Bubble Tea and supports over 75 LLM providers, including Claude, GPT-4o, Gemini, local models via Ollama, and even your existing GitHub Copilot or ChatGPT Plus subscriptions. You bring your own API keys and pay provider rates directly, which makes it one of the most cost-efficient coding agents available. Key capabilities include multi-session support for running parallel agents on the same project, automatic language server (LSP) configuration so the model has proper code intelligence, and shareable session links for collaborative debugging. OpenCode does not store your code or context data, which makes it usable in compliance-sensitive environments. The project hit 95,000 GitHub stars in its first year and serves roughly 2.5 million monthly developers. It sits in the same category as Aider and Claude Code but differentiates with a broader model selection and a cleaner TUI. The combination of OpenCode with cheaper models like DeepSeek has become a popular cost-efficient alternative to subscription-based agents like GitHub Copilot.

What the community says

OpenCode has become a strong favorite among developers on Hacker News and Reddit who want AI coding assistance without vendor lock-in. The 95K GitHub star count reflects genuine adoption, not just curiosity. Users specifically praise the multi-provider approach, saying it lets them swap between models based on task type and cost. Terminal-first developers appreciate that it doesn't require leaving their workflow to open a browser IDE. Criticism focuses on the tool still maturing in some areas, particularly around edge-case reliability and documentation. The pairing with DeepSeek for cost efficiency gets frequent positive mention. Based on discussions in r/programming, Hacker News, and the GitHub repository.

OpenCode Pricing Plans

Free
Free
  • Open source
  • Use your own API keys
  • Full terminal integration
  • All provider support

User Reviews

Write a Review

Similar Tools in Code Assistants

Related Guides