TOOL PROFILE TOOLAI

OpenCode

An open-source AI coding agent for terminal, desktop, and IDE workflows

opencode.aiPRODUCT PREVIEW
Product visual published by OpenCode. View full image
Product visual published by OpenCode.Images: 2

THE BIG PICTURE

About OpenCode

OpenCode helps developers understand, modify, and run code with an AI agent. It works from the terminal, desktop app, or IDE extension, and supports models from more than 75 providers through Models.dev, including local models and existing ChatGPT Plus/Pro or GitHub Copilot subscriptions.

OpenCode is open source under the MIT License. The core application is free to use and includes free models, while connected providers may charge separately. OpenCode does not store code or context data according to its privacy statement. OpenCode 1 and OpenCode 2 use the same opencode command and are not designed to be installed side by side under their default command.

WHAT YOU CAN DO

A toolkit worth exploring

Get to know the capabilities. Find your own way to use them.

Multi-interface coding agent

Use OpenCode as a terminal-based interface, desktop app, or IDE extension, allowing the same coding-agent concept to fit different development environments.

Broad model connectivity

Connect models from more than 75 providers through Models.dev, including local models and services such as OpenAI, Anthropic, xAI, Claude, GPT, and Gemini.

Existing subscription support

Log in with GitHub to use GitHub Copilot, or connect ChatGPT Plus or Pro through OpenAI instead of creating a separate model subscription.

Parallel multi-session work

Start multiple agents in parallel on the same project, making it possible to separate investigations, implementation tasks, or independent coding conversations.

Plan mode

Switch to Plan mode to disable changes while OpenCode suggests an implementation approach, then review or refine the plan before building.

File and image context

Reference project files with the @ key for focused questions, and drag images into the terminal so OpenCode can scan them as prompt context.

Undo and redo

Revert changes with /undo, repeat the operation with /redo, and use multiple undo commands when an implementation needs to be reconsidered.

Project customization

Customize themes, keybindings, code formatters, custom commands, and the OpenCode configuration to align the agent with an existing development workflow.

MADE FOR YOUR WORKFLOW

Where it fits into your day

USE CASE 01

Understand an unfamiliar codebase

Ask OpenCode to explain project structure, authentication flows, or a specific referenced file before making changes.

USE CASE 02

Plan and implement a feature

Describe a feature in detail, review a proposed plan in Plan mode, then switch to Build mode to apply the approved changes.

USE CASE 03

Iterate safely on refactors

Request a refactor, inspect the result, and use /undo or /redo when the implementation needs adjustment or another attempt.

YOUR FIRST STEPS

From first click to first result

Try it on the official website
  1. Install OpenCode

    Install using the documented script, package manager, package repository, Docker image, or release binary appropriate for your system.

  2. Choose a model provider

    Configure API keys for a provider, connect an existing supported subscription, use included free models, or connect local models.

  3. Open a project

    Navigate to the project directory and run the opencode command from a supported terminal or application.

  4. Initialize project context

    Run /init so OpenCode analyzes the project and creates an AGENTS.md file describing structure and coding patterns.

  5. Start with a focused request

    Ask a codebase question, reference relevant files with @, or use Plan mode before requesting implementation changes.

TAKE A LOOK AROUND

Get a feel for the real thing

Explore the tool's demo or video to see its interface and workflow.

PLAN YOUR NEXT STEP

A plan for the way you work

OpenCode is free to use and includes free models. Connecting other providers can add their own charges. OpenCode Zen uses pay-per-request billing with no model markup.

Subscribe on the tool's website

PLAN

OpenCode

The open-source coding agent with included free models. Other connected providers may charge separately.

$0

  • Terminal, desktop, and IDE access
  • Free models included
  • Connect external or local providers
View plan on website

PLAN

OpenCode Zen

A curated coding-model service. Adding a $20 balance incurs an additional $1.23 card processing fee; model usage is charged separately against the balance.

$20

Pay per request

  • Curated coding-agent models
  • Monthly spend limits
  • Optional automatic top-up
View plan on website

Prices, usage limits and terms can change. Confirm the latest details on the tool's official website before subscribing.

A FEW MORE THINGS

Good questions. Useful answers.

More on the official website

Is OpenCode open source?

Yes. OpenCode is released under the MIT License, and its source code is public for use, modification, and contribution.

Do I need another AI subscription?

Not necessarily. OpenCode includes free models, and it can also connect local models or supported existing subscriptions such as ChatGPT Plus/Pro and GitHub Copilot.

Can OpenCode work outside the terminal?

Yes. OpenCode is available as a desktop app and IDE extension in addition to its terminal interface.

Does OpenCode store my code?

OpenCode states that it does not store your code or context data. Data handling can differ when using connected model services.

What is OpenCode Zen?

Zen is a curated set of models tested and benchmarked for coding agents. It works with OpenCode and other agents and charges per request.

Can I undo an AI-made change?

Yes. Use /undo to revert changes and /redo to apply them again. Multiple undo operations are supported.

FROM THE COMMUNITY

What has your experience been?

FEATURED BADGE

Embed "Featured on ToolAI.io" Badge

Featured on ToolAI.io

YOUR NEXT DISCOVERY

More tools to explore

Explore all tools

MAKE YOUR NEXT MOVE

Ready to explore OpenCode?

Visit the official website to explore the latest features and get started.

Visit official website
OpenCodeopencode.ai
Visit website

GALLERY

PASS IT ALONG

Share OpenCode