A free, open-source coding agent for the terminal, desktop and phone that runs any model from 200+ providers.

OpenCode homepage
Overview
What is OpenCode?
The open source coding agent for any model.
OpenCode is a free, open-source (MIT) coding agent built by Anomaly. It runs in the terminal, as a desktop app, on your phone or through an SDK, and connects to more than 200 model providers, including local models through Ollama and LM Studio. A set of free models works with no account; the optional OpenCode Go subscription starts at $10 a month.
To use GLM-5.4 in OpenCode, connect the GLM Coding Plan as the zai-coding-plan provider and select glm-5.4. The agent reads projects, edits files, runs terminal commands and uses MCP servers, plugins and skills to extend its workflows.
Platforms and languages
OpenCode Availability
Platforms
Languages
Capabilities
OpenCode Key Features
200+ model providers
Connect Claude, GPT, Gemini, GLM and local models through Models.dev, or bring your own keys.
Free models, no account
A rotating set of free models works with no sign-up, under a daily limit.
Terminal, desktop and phone
Run the agent where you work: terminal, desktop app, mobile pairing or SDK.
GLM-5.4 via Coding Plan
Add the zai-coding-plan provider and select glm-5.4 to run Z.ai's flagship inside OpenCode.
MCP, plugins and skills
Extend the agent with MCP servers, plugins and reusable skills for your own workflows.
Plans and access
OpenCode Pricing
Freemium
Common questions
OpenCode FAQs
Is OpenCode really free?
Yes. The app is free and MIT-licensed, with free models included. You pay only your model provider, or the optional $10/month OpenCode Go plan.
How do I use GLM-5.4 in OpenCode?
Connect the GLM Coding Plan as the zai-coding-plan provider and set the model to glm-5.4 in your config.
Which models does OpenCode support?
More than 200 providers through Models.dev, plus local models via Ollama, LM Studio or any OpenAI-compatible endpoint.
Reviews
See what the community thinks and share your experience.
—
Based on 0 ratings
Rating distribution
Community reviews
No reviews
No written reviews yet.