OpenCode

by Anomaly

Coding & Developer Tools Open (open weights/source) Availability: Not recorded

Visit opencode.ai Docs

At a glance

Open-source coding agent with terminal, desktop and web interfaces, supporting hosted and local model providers.

ai-coding coding-agent cli open-source local-models

Licence
MIT
Category
Coding & Developer Tools
Business model
Open (open weights/source)
Availability
Not recorded
Launched
Not recorded

Overview

OpenCode is an open-source coding agent from Anomaly for working on existing repositories and writing code with a model provider of your choice. The current V2 documentation covers terminal, desktop and web interfaces, with downloads for macOS, Windows and Linux. Providers can be hosted services or local runtimes such as Ollama, LM Studio and vLLM. The code is MIT-licensed, while model access has separate terms and costs. Before switching from V1, check the migration guide: plugin contracts, the server API and terminal configuration changed. Local model support alone does not establish an entirely offline workflow.

Compare this tool Suggest a correction

Key features

Use cases

Pricing

The core software is free under MIT. The vendor advertises some free model options and optional paid model services; external provider usage or subscriptions can cost extra. Software access does not include unlimited paid-model inference.

Record details

Provenance, dates and links are kept here so the main sections stay about the product itself.

Links, dates and provenance
Record updated
2026-11-02
Documentation
opencode.ai ↗
Canonical URL
https://globalaiproductindex.com/products/opencode/

Selection profile

Every field says where its value comes from. "Unknown" means we have not confirmed it — it does not mean the product lacks the feature.

Selection profile11 fields3 unknown
Tasks it fits
Writing new code Editing an existing codebase Running an agent from the terminal

Mapped from documented coding workflows; no product performance test was conducted.

Suggest a correction
How you use it
Command line

Classified by the entry point used in this record; other documented surfaces are described in the overview.

Suggest a correction
Runs on
Terminal Windows macOS Linux Web

The linked official documentation lists these supported surfaces or operating systems.

Suggest a correction
Where it runs
Vendor cloud Local machine

Model execution depends on the selected provider; the documentation includes hosted services and local model runtimes.

Suggest a correction
Works offline
Not recorded

A fully offline workflow was not established from the reviewed pages.

Suggest a correction
Official service region
Not recorded

A comprehensive list of supported service regions was not established; model providers can impose separate restrictions.

Suggest a correction
Public API
Yes

The V2 documentation publishes an experimental HTTP API for agent-instance control, separate from model-provider inference APIs.

Suggest a correction
Licence
MIT

The linked repository licence grants MIT permissions for the repository code.

Suggest a correction
Commercial use
Permitted

The repository licence permits commercial use subject to its notices; it does not grant rights to third-party models or services.

Suggest a correction
Interface languages
Not recorded

The product interface languages were not established from the reviewed pages; translated documentation is not proof of interface support.

Suggest a correction
Billing
Open source Free Usage-based Subscription Free allowance: Yes Subscription required: No

Prices are the vendor’s advertised entry price and exclude taxes; always confirm on the vendor’s own page.

Suggest a correction
Where each value comes from
Tasks it fits
Our inference
How you use it
Our inference
Runs on
Verified 2026-11-02 opencode.ai ↗
Where it runs
Verified 2026-11-02 opencode.ai ↗
Works offline
Unknown
Official service region
Unknown
Public API
Verified 2026-11-02 opencode.ai ↗
Licence
Verified 2026-11-02 github.com ↗
Commercial use
Verified 2026-11-02 github.com ↗
Interface languages
Unknown

Key facts and their evidence

Each fact lists the conditions it holds under, the page it was read from and the day it was checked.

Frequently asked questions

Does OpenCode require a paid subscription?

No subscription is required for the core software. Model providers and optional hosted services can charge separately.

Can I use local models?

Yes. The provider documentation covers Ollama, LM Studio and vLLM. This record does not establish that every workflow works without internet.

Is V2 a drop-in replacement for V1?

Not in every area. The official migration guide identifies changes to plugins, the server API and terminal configuration; the two versions share the default command name.

Similar products

All OpenCode alternatives → · All Coding & Developer Tools products →

Related guides

Sources

This record was last reviewed on 2026-11-02.

Machine-readable record: /api/products/opencode.json · Spot an error? Suggest a correction