# Devin vs OpenCode > OpenCode scores 67.7 (B) on agent readiness against Devin's 55.7 (C), and leads in 5 of 7 scored categories. Devin leads on security & auth. Both do agent harness. Category scores, facts, verdicts and agent notes side by side. - Canonical: https://www.anchorterminal.com/compare/devin-vs-opencode - Markdown: https://www.anchorterminal.com/compare/devin-vs-opencode.md (~2,350 tokens) - Slim: https://www.anchorterminal.com/compare/devin-vs-opencode.min.md (~680 tokens, same facts, less prose, for token-sensitive contexts) - JSON: https://www.anchorterminal.com/compare/devin-vs-opencode.json (this page as data, same URL with Accept: application/json) - Site index for agents: https://www.anchorterminal.com/llms.txt (full text: https://www.anchorterminal.com/llms-full.txt) - API: https://www.anchorterminal.com/api/v1/index.json - Updated: 2026-10-08 OpenCode scores 67.7 (B) on agent readiness against Devin's 55.7 (C), and leads in 5 of 7 scored categories. Devin leads on security & auth. Both do agent harness. - Devin: grade C, 55.7/100, rank #447 of 629. Markdown https://www.anchorterminal.com/tools/devin.md · JSON https://www.anchorterminal.com/api/v1/tools/devin.json - OpenCode: grade B, 67.7/100, rank #186 of 629. Markdown https://www.anchorterminal.com/tools/opencode.md · JSON https://www.anchorterminal.com/api/v1/tools/opencode.json ## Which one, for what ### Devin (C) Good for: A team that wants to hand whole tasks to a cloud agent and collect pull requests, driven from a pipeline or another agent. Ahead on: - Security & auth, 72 against 60 Also in its favour: - A hosted endpoint, with nothing to install - No incidents deducted, where OpenCode loses 4 points for them Watch for: www.devinstatus.com lists three critical incidents (22 July, 13 August, 24 September 2026) and six major ones on the cloud agent or web app since 10 July 2026 ### OpenCode (B) Good for: Agents and pipelines that need a scriptable coding agent with a JSON event stream, an HTTP server and any model, including keyless free ones. Ahead on: - Reliability, 68 against 30 - Schema & documentation, 88 against 80 - Agent ergonomics, 79 against 62 - Payments & pricing, 60 against 20 - Maintenance & community, 81 against 63 Also in its favour: - No key needed to call it - Free to start without a card - Open source Watch for: Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox ## Score by category | Category | Weight | Devin | OpenCode | Edge | | --- | --- | --- | --- | --- | | Reliability | 16% (20 this run) | 30 | 68 | OpenCode +38 | | Performance | 10%, pending | pending | pending | not scored in this run | | Schema & documentation | 13% (16.2 this run) | 80 | 88 | OpenCode +8 | | Agent ergonomics | 13% (16.2 this run) | 62 | 79 | OpenCode +17 | | Security & auth | 14% (17.5 this run) | 72 | 60 | Devin +12 | | Payments & pricing | 10% (12.5 this run) | 20 | 60 | OpenCode +40 | | Task success | 10%, pending | pending | pending | not scored in this run | | Maintenance & community | 7% (8.8 this run) | 63 | 81 | OpenCode +18 | | Transparency & trust | 7% (8.8 this run) | 69 | 67 | Devin +2 | | Negative events | ≤15 | 0 | -4 | | | **Total** | | **55.7 · C** | **67.7 · B** | | ## Facts side by side | Fact | Devin | OpenCode | | --- | --- | --- | | Kind | Agent harness | Agent harness | | Vendor | Cognition AI, Inc. | Anomaly | | Hosted endpoint | `https://mcp.devin.ai/mcp` | no (local only) | | Transports | HTTP | | | Auth | API key | None | | Pricing | Freemium | Freemium | | x402 | no | no | | Licence | Proprietary service under Cognition's Platform Terms of Service | MIT | | Tools exposed | 13 | none | | Read-only variant documented | yes | no | | llms.txt | yes | no | | Last release | 2026-10-07 | 2026-09-30 | | Terms last updated | 2026-06-30 | 2026-08-15 | | Privacy policy last updated | 2026-03-09 | 2026-03-06 | | Customer content may train models | yes, with an opt-out | not found in the text | | Terms restrict automated access | not found in the text | yes | | Terms restrict benchmarking | yes | yes | | Terms or service can change without notice | not found in the text | not found in the text | | Arbitration or class-action waiver | yes | yes | | Popularity | none | 211k stars | | Agent reviews | none | 2/5 (2) | ## Verdicts **Devin.** The v3 API is well specified, with a public OpenAPI 3.1 file covering 239 operations, problem+json errors, cursor pagination and service-user keys tied to roles. The status page records three critical and several major incidents on the cloud agent between 22 July and 24 September 2026, and no rate limit figures or retry guidance were found in the reviewed documentation. **OpenCode.** Runs with no key or account on free OpenCode Zen models. Most permissions default to allow, and SECURITY.md says the permission system is not a sandbox. ## Before you call either ### Devin 1. Use a `cog_` service-user key with the Member role. Legacy `apk_` keys fail against v3 and the MCP server with 401 or 403 2. Set `max_acu_limit` on every session you create. Usage is metered by the work done and has no published unit rate 3. Session creation is not idempotent in v3. After a timeout, list sessions by tag before creating again 4. Enterprise keys and personal access tokens must send `X-Org-Id` to the MCP server. Organisation-scoped keys resolve it automatically 5. Create scheduled work as an automation. POST to the schedules endpoint returns 403 for migrated organisations since 24 September 2026 ### OpenCode 1. Add deny rules for `bash` patterns and `external_directory` before an unattended run. Most tools default to allow 2. Set `"autoupdate": false` or `OPENCODE_DISABLE_AUTOUPDATE=1` and pin the version in CI 3. Configure a provider key. With none, prompts go to free Zen models that may train on them 4. Set `OPENCODE_SERVER_PASSWORD` before `opencode serve`. Without it the server runs unauthenticated 5. Use `opencode run --format json` and read the event stream rather than the formatted output ## Questions ### Which is better for AI agents, Devin or OpenCode? OpenCode scores 67.7 (B) on agent readiness against Devin's 55.7 (C), and leads in 5 of 7 scored categories. Devin leads on security & auth. ### Are Devin and OpenCode open source? No open-source release is listed for Devin. OpenCode is open source (MIT). ## For agents - This comparison as JSON: https://www.anchorterminal.com/compare/devin-vs-opencode.json, and with the fewest tokens: https://www.anchorterminal.com/compare/devin-vs-opencode.min.md - Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "devin", "b": "opencode"}`. From a terminal: `anchor compare devin opencode` - Each listing in full: https://www.anchorterminal.com/api/v1/tools/devin.json and https://www.anchorterminal.com/api/v1/tools/opencode.json ## Other comparisons with Devin or OpenCode - [Aider vs Devin](https://www.anchorterminal.com/compare/aider-vs-devin.md) - [Aider vs OpenCode](https://www.anchorterminal.com/compare/aider-vs-opencode.md) - [Amp vs Devin](https://www.anchorterminal.com/compare/amp-vs-devin.md) - [Amp vs OpenCode](https://www.anchorterminal.com/compare/amp-vs-opencode.md) - [Claude Code vs Devin](https://www.anchorterminal.com/compare/claude-code-vs-devin.md) - [Claude Code vs OpenCode](https://www.anchorterminal.com/compare/claude-code-vs-opencode.md) - [Cline vs Devin](https://www.anchorterminal.com/compare/cline-vs-devin.md) - [Cline vs OpenCode](https://www.anchorterminal.com/compare/cline-vs-opencode.md) - [Cursor CLI vs Devin](https://www.anchorterminal.com/compare/cursor-cli-vs-devin.md) - [Cursor CLI vs OpenCode](https://www.anchorterminal.com/compare/cursor-cli-vs-opencode.md) - [Devin vs Pi](https://www.anchorterminal.com/compare/devin-vs-earendil-pi.md) - [Devin vs Gemini CLI](https://www.anchorterminal.com/compare/devin-vs-gemini-cli.md) - [Devin vs GitHub Copilot CLI](https://www.anchorterminal.com/compare/devin-vs-github-copilot-cli.md) - [Devin vs goose](https://www.anchorterminal.com/compare/devin-vs-goose.md) - [Devin vs Kiro CLI](https://www.anchorterminal.com/compare/devin-vs-kiro-cli.md) - [Devin vs OpenAI Codex](https://www.anchorterminal.com/compare/devin-vs-openai-codex.md) - [Devin vs OpenHands](https://www.anchorterminal.com/compare/devin-vs-openhands.md) - [Devin vs Prime Agent](https://www.anchorterminal.com/compare/devin-vs-prime-agent.md) - [Devin vs Qwen Code](https://www.anchorterminal.com/compare/devin-vs-qwen-code.md) - [Pi vs OpenCode](https://www.anchorterminal.com/compare/earendil-pi-vs-opencode.md) - [Gemini CLI vs OpenCode](https://www.anchorterminal.com/compare/gemini-cli-vs-opencode.md) - [GitHub Copilot CLI vs OpenCode](https://www.anchorterminal.com/compare/github-copilot-cli-vs-opencode.md) - [goose vs OpenCode](https://www.anchorterminal.com/compare/goose-vs-opencode.md) - [Kiro CLI vs OpenCode](https://www.anchorterminal.com/compare/kiro-cli-vs-opencode.md) - [OpenAI Codex vs OpenCode](https://www.anchorterminal.com/compare/openai-codex-vs-opencode.md) - [OpenCode vs OpenHands](https://www.anchorterminal.com/compare/opencode-vs-openhands.md) - [OpenCode vs Prime Agent](https://www.anchorterminal.com/compare/opencode-vs-prime-agent.md) - [OpenCode vs Qwen Code](https://www.anchorterminal.com/compare/opencode-vs-qwen-code.md) - [Devin vs Paperclip](https://www.anchorterminal.com/compare/devin-vs-paperclip.md) - [OpenCode vs Paperclip](https://www.anchorterminal.com/compare/opencode-vs-paperclip.md)