Skip to main content
Free AI For That

OpenCode

Open-source AI coding agent for the terminal, desktop and IDE.

Try free
Rate it

Is OpenCode free?

Yes, OpenCode has a free plan. What you get: Open-source agent (MIT license), free to install; use your own provider keys or subscription, and some OpenCode Zen models are free for a limited time. Watch out: free Zen models are free only for a limited time. Best for developers. Verified on opencode.ai.

Free plan at a glance

Includes
  • Open-source agent (MIT license), free to install; use your own provider keys or subscription, and some OpenCode Zen models are free for a limited time

Free and open source (MIT license). Some OpenCode Zen models are free for a limited time; other models are pay-as-you-go or come from your own provider.

Duration
Free forever

How to get it free

Self-host
  1. Install OpenCode with the install script, npm or Homebrew
  2. Run opencode in your project
  3. Connect a provider with your API key, or pick a free Zen model

Good to know

  • Free Zen models are free only for a limited time
  • Most models need your own provider API key or subscription
Get the free plan

opencode.ai, Checked Source

Overview

OpenCode is an open-source (MIT) AI coding agent for the terminal, desktop and IDE. Connect 75+ LLM providers through Models.dev, including local models, or log in with your GitHub Copilot or ChatGPT Plus/Pro account.

Key features

  • LSP enabled
  • Multiple agents in parallel on one project
  • Share links to sessions
  • Use GitHub Copilot or ChatGPT Plus/Pro
  • 75+ LLM providers, including local models
  • Terminal, desktop app and IDE extension

Best for

People
Developers

Limitations

  • Free Zen models are free only for a limited time and the list changes
  • Most models need your own API key, an existing subscription or a Zen balance

Screenshot

OpenCode screenshot
Image published by OpenCode

FAQ

Is OpenCode free?
Yes. OpenCode has a free plan: Open-source agent (MIT license), free to install; use your own provider keys or subscription, and some OpenCode Zen models are free for a limited time. We last checked opencode.ai's pricing page on 2026-10-18.
What does the OpenCode free plan include?
Open-source agent (MIT license), free to install; use your own provider keys or subscription, and some OpenCode Zen models are free for a limited time. Source: https://opencode.ai/docs/zen/ (checked 2026-10-18).
How do I get OpenCode for free?
Steps: Install OpenCode with the install script, npm or Homebrew; Run opencode in your project; Connect a provider with your API key, or pick a free Zen model. Start at https://opencode.ai/docs (checked 2026-10-18).
Do I need an account to use OpenCode for free?
Not for the free option: the free route is to self-host OpenCode (Install OpenCode with the install script, npm or Homebrew). Checked 2026-10-18.
What's the catch with OpenCode's free plan?
Free Zen models are free only for a limited time. Most models need your own provider API key or subscription. Checked 2026-10-18.

Free alternatives

Sources

Free offer
Verified on opencode.ai
…support the video tag. What is OpenCode? OpenCode is an open source agent that helps you write code in your terminal, IDE, or desktop. [*] LSP enabled Automatically loads the…

How we check free offers

Added by our team. We check that a free option exists and record the date; signing up is between you and OpenCode, so read their privacy policy and terms first.

Is this your tool? Claim it · Promote it