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.
Work with a coding agent in your terminal or development environment using supported model providers. Visit the project website to check the currently available deployment options.
Installation and setup
Install on your computer · Instructions checked 2026-10-17
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.
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.
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.
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.
Minimal terminal coding agent you can fully customize.
Official README supplies the installable Pi harness under MIT and instructs users to connect their own provider subscription or API key. The free harness does not include model usage or provider subscription fees.
Autonomous coding agents that complete real engineering tasks.
Official pricing lists MIT Agent Canvas free to self-host using own LLM key, Teams $499/month for up to 10 users with extra seats $50/month, and custom Enterprise. Provider tokens and managed cloud are separate.
Use an AI coding agent in an editor or terminal, with an optional local model.
The Apache-2.0 Cline VS Code extension and CLI have no software license charge. Use local Ollama models without a paid API key or per-request model charge, on your own hardware. Cline usage-billing, ClinePass subscriptions and external cloud model providers are optional paid routes with their own terms. The current repository says its JetBrains plugin is not open sourced. This review establishes the local client route, not unlimited hosted inference.
Coding agent that runs on local and open-weight models.
The Open Interpreter repository edition is available under Apache-2.0 with documented installation or build instructions and no required source-license subscription. Your server, storage, backups and administration remain your costs. External model/API usage is billed by its provider; no model allowance is included. This check covers that source edition; managed services, premium extensions and commercial relicensing, if offered, are not included or price-verified.
General-purpose AI agent for code, workflows, and more.
The Apache-2.0 agent has a documented local model/provider route with no required agent source-license subscription. You provide hardware, storage, power and separately licensed models. Optional hosted inference, credits and cloud accounts have separate charges and limits.
Open-source coding agent for your IDE and terminal.
The Apache-2.0 coding agent can be used from its published source and extension without a software license fee. Model APIs and hosted platform features are separate. Current hosted plan amounts were not established from the unavailable pricing URL, so this check covers the local software edition.
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.