AI TOOL DETAILS

OpenCode

Repository questions, code edits and shell-driven coding tasks

OpenCode

Free coding app · optional Go plans
OpenCode product preview

What does it cost?

A free plan is available, with paid upgrades or usage limits.

OpenCode can be used without a Go subscription. Optional Go is USD 10/month and Go Plus USD 40/month, with model-specific usage limits. Local models use your hardware; connected provider APIs and subscriptions bill separately. Promotional free models are limited-time offers.

Provider pricing checked 25 Oct 2026.

Installation and setup

Install on your computer · Instructions checked 2026-10-17

  1. Install OpenCode from its official repository/download page, and install the free Ollama runtime. The current README package name is @opencode/cli; some integration examples still show the older opencode-ai package, so use the current official install route.
  2. Download qwen3-coder:30b locally, start Ollama and configure a 64K or larger context as described by the current integration page if your hardware supports it.
  3. Add an Ollama provider in opencode.json with @ai-sdk/openai-compatible and baseURL http://localhost:11434/v1. Register qwen3-coder:30b as the local model. No paid API key is needed for this local server.
  4. Open a sample project, start OpenCode and select the Ollama model with /models. Try a small file edit, review the diff and command permissions, and avoid enabling optional hosted model connections for this route.

This route has no required software subscription, paid API key or per-request model bill. You supply the computer, storage and electricity. Download models first; local model capability and speed depend on hardware and context size. Optional cloud models, subscriptions, remote services and hosted agents are separate choices. Use a tool-capable local model. Tool-call reliability and task quality vary.

Self-hosting & quickstart specs

License
MIT
Deployment
Local desktop application
Free edition / costs
Free coding app · optional Go plans. OpenCode can be used without a Go subscription. Optional Go is USD 10/month and Go Plus USD 40/month, with model-specific usage limits. Local models use your hardware; connected provider APIs and subscriptions bill separately. Promotional free models are limited-time offers. Pricing evidence.
Devices / hardware
This route has no required software subscription, paid API key or per-request model bill. You supply the computer, storage and electricity. Download models first; local model capability and speed depend on hardware and context size. Optional cloud models, subscriptions, remote services and hosted agents are separate choices. Use a tool-capable local model. Tool-call reliability and task quality vary.

No one-line command has been verified for OpenCode; follow its official installation instructions instead of guessing a Docker image or installer.

OpenCode provider setup documentation

What can you use it for?

Source code and self-hosting

Read the repository for the license, installation steps, and operating costs.

Source repositoryView the full software profile

Learn how to use this type of tool

Read a practical guide before choosing a plan or setting up a workflow.

How to use an AI coding tool and check its work

Does this tool help you?

This preference stays on your device. It does not change public rankings.

Optional site analytics

Allow Google Analytics to measure page visits and basic device information using cookies? Your searches and form entries are excluded. You can change this choice at any time. Privacy details.