HelloStack
OpenCode logo

The AI coding agent built for the terminal

About OpenCode

OpenCode helps terminal-focused developers write and run code with AI in a shell, IDE, or desktop app. Its open-source agent stands out for letting developers run parallel sessions and switch among a wide range of model providers, including local models.

OpenCode screenshot

Key Features

Developers can use it from the terminal or other coding environments, and tailor the agent setup to the project:

Terminal UI

Work with the agent directly in a themeable terminal interface.

Language-server context

Loads relevant language servers so the model can use language-specific completions and diagnostics.

Parallel sessions

Run multiple agents on the same project to compare approaches.

Model and editor choice

Connect to 75+ providers, including local models, and use OpenCode through terminal, desktop, or IDE interfaces.

Worth Knowing

OpenCode Go has usage ceilings, and provider sign-ins may use a smaller context window than the model supports:

  • Go plan allowances: The $10/month plan uses model-specific dollar allowances, with separate 5-hour and weekly caps of 20% and 50% of each model’s monthly limit. [1][2]
  • Context-window caps: By default, some provider sign-ins are capped below the model’s full context window: 500,000 tokens for GPT-6.1 Sol and newer, and 272,000 for older models. [3]

Who It's For

Best for terminal-first developers, teams comparing parallel agent runs, and organizations that need to choose among hosted and local models.

Alternatives to OpenCode

See all →

Sources

  1. [1] Go usage limits
  2. [2] OpenCode Go
  3. [3] Providers