Home/pookie/Claude Code vs OpenCode

Claude Code vs OpenCode

pookie · 32 Claims

Usage Limits
Neutral
Claude Code (Opus 4.5) consumed all of its usage limit in just 30 minutes of coding.
The author states they had no usage left after only 30 minutes with Opus 4.5, highlighting a tight rate limit.
Manual Coding
Agree
Manual coding feels like an ancient relic from 2024.
The author dismissively refers to manual coding as outdated, implying AI coding tools have made it obsolete.
Feature Comparison
Agree
After using Claude Code extensively during the holidays, the author felt Codex CLI was missing features such as plan mode, LSPs, Vim mode, and sub-agents.
The author explicitly lists features they prefer in Claude Code and see as lacking in Codex CLI.
Model Power
Agree
GPT-4.5 with Codex is an extremely powerful model.
The author asserts the model's strength, without quantifying further.
Codex CLI Design
Neutral
Codex CLI is intentionally very simple and lacks advanced tools like LSPs, Vim mode, and sub-agents.
The author notes the intentional simplicity, which explains the missing features.
Subscription Integration
Neutral
OpenCode now supports logging in with an OpenAI subscription, responding to Anthropic blocking external use of Claude Code subscriptions.
The author reports this as a factual event: Anthropic's block prompted OpenCode to add the feature.
Neutral
OpenAI fully allows using the ChatGPT Pro subscription with OpenCode.
The author states OpenAI's policy, making it convenient for users with an existing subscription.
Cost Control
Agree
Using a subscription instead of an API key avoids unlimited pay-per-use costs, which is smart for AI 'addicts'.
The author argues that linking an API key would be financially risky for heavy users.
OpenSource Nature
Neutral
OpenCode is an open-source AI coding agent.
The author explicitly calls it an open-source AI coding agent.
Neutral
Both Codex and Claude Code are also open source, just like OpenCode.
The author claims that the other two tools are open source as well, though this might be an assumption.
Provider Flexibility
Agree
OpenCode lets you choose your model provider, while Codex CLI is coupled to OpenAI and Claude Code is coupled to Anthropic.
This is presented as a major differentiating feature.
Neutral
OpenCode supports providers like Amazon Bedrock, Google Vertex AI, Cohere, and local Llama cpp models.
The author lists specific supported providers as factual information.
Sen Provider
Neutral
OpenCode offers a 'Sen' provider in beta that gives access to various models without signing up with a third party.
The author describes the Sen feature and some free models available.
The Sen provider’s token costs might be lower due to bulk, but the author suspects they are normal market rates.
The author questions whether the claimed cost savings are genuine.
Permission Control
Agree
OpenCode allows defining permissions for specific built-in commands, a feature not available in Claude Code or Codex CLI.
The author highlights this as a unique, advanced permission control.
Custom Tools
Agree
Users can create custom tools in OpenCode directly, unlike in Codex or Claude Code which require writing a skill and linking a Python script.
This is presented as a more advanced, built-in approach to tool creation.
Rule Formats
Disagree
OpenCode uses 'agents.md' for rules, while Claude Code uses 'cloud.md', forcing users to rename the file when switching.
The author finds this incompatibility annoying and wishes both could be read.
Agent Configuration
Agree
OpenCode supports defining multiple agents with their own context, tools, and model, a feature also present in Claude Code but missing from Codex CLI.
This is seen as an advanced and beneficial feature.
Plan Mode
Agree
Plan mode in OpenCode is a separate agent that first brainstorms and plans, while Codex CLI lacks agents entirely.
The author values plan mode and notes its absence in Codex CLI.
Customization
Agree
OpenCode supports customizable themes and key bindings, features not offered by other coding agents.
The author sees this as a unique advantage for matching terminal aesthetics and workflow.
Slash Commands
Neutral
Users can define custom slash commands in OpenCode to reuse complex prompts.
This is a factual description of a feature.
Formatters
Disagree
Including formatters inside the AI coding tool is a weird conflict of interest; pre-commit hooks would be better.
The author criticizes the built-in formatter feature as unnecessary.
LSP Support
Agree
OpenCode has LSP servers that give the agent language-aware error detection and code navigation.
The author describes this as additional knowledge the agent can use.
Skill Compatibility
Agree
OpenCode automatically discovers Claude Code skills (named 'cloud') and can execute them without renaming.
The author demonstrates this compatibility as a positive surprise.
Overall Comparison
Agree
OpenCode is far more advanced and feature-rich than Codex CLI.
The author directly compares the two and finds OpenCode more sophisticated.
Permission Safety
Disagree
The default permission mode of OpenCode is more lenient than Codex CLI, which can be a risk.
The author warns about the less strict defaults as something to be careful about.
Demo Result
Agree
A simple Flappy Bird clone was built in about one minute using OpenCode, demonstrating the power of coding agents.
The author shows a quick, working example as evidence of effectiveness.
Plan Mode Quality
Agree
Claude Code’s plan mode is still superior, asking interactive questions and being more thoughtful than OpenCode’s.
The author observed that OpenCode sometimes fails to ask the same depth of clarifying questions.
Recommendation
Agree
For those who can afford the $200 Claude Code tier, it remains the best choice; OpenCode does not offer a compelling reason to switch.
The author advises that paying for the premium product is worth it if money is not an issue.
Agree
OpenCode serves as a much more feature-rich alternative to the basic Codex CLI, adding LSPs, Vim mode, plan mode, and agent definitions.
The author positions OpenCode as an upgrade over Codex CLI for those missing those features.
Model Variety
Neutral
OpenCode supports using various open-source models and Chinese provider models, but the author has no personal use for them.
The author acknowledges the flexibility but states it is not a personal selling point.
Future Evaluation
Neutral
The author plans to keep using OpenCode to evaluate whether the GPT-4.5 model performs as well in OpenCode as it does in Codex CLI.
This is a stated intention for further testing.

Related Comparisons