psi vs OpenCode

Summary

psi vs OpenCode (Coding Agents (CLI & Cloud)). Agent test scores: psi 9.7/10, OpenCode 9.2/10. psi scored 0.5 higher overall in our separate rubric v0.1 tests (editions and tasks can differ — see Edition tested and the notes below). Pricing: psi — Free and open source (MIT). Bring your own model provider key or a local Ollama model; no psi paid plan listed.; OpenCode — Go $10/mo; Go Plus $40/mo; Zen pay-as-you-go ($20 prepaid). Same category (terminal agents), different models: psi (tested 2026-11-13, --agent + ChatGPT gpt-5.6-luna, T3 3/3) is a portable MIT binary. OpenCode (9.2) was scored earlier as CLI 1.19.2 with the free Zen model opencode/big-pickle. The scores are not from one sitting or the same model.

Every fact on this page comes from our tool records and test logs. Last updated:

Key facts

psi

VibeToolRank score
9.7/10
Cost per run
Not measured
Last tested
2026-11-13
Runs
3 runs
Outcome score
10/10
Edition tested
psi 0.2.0 --agent, openai-codex/gpt-5.6-luna. Headline is T3+T4+T5 (rubric v0.3).
Free plan, as measured
Used the free MIT binary only, in --agent mode. Model calls used an existing ChatGPT login via openai-codex; no psi account or card.
Free plan
Yes: MIT open-source binary, no psi account or card claimed (psicode.ai + GitHub, verified 2026-11-09)
Price
Free and open source (MIT). Bring your own model provider key or a local Ollama model; no psi paid plan listed.
Pricing checked
2026-11-13

OpenCode

VibeToolRank score
9.2/10
Cost per run
$0.076 / run
Last tested
2026-11-18
Runs
3 runs
Outcome score
9.9/10
Edition tested
OpenCode CLI 1.19.6 headless (opencode run --format json), BYOK free-tier Google AI Studio key, google/gemini-3.5-flash-lite. Headline is T3+T4+T5 (rubric v0.3). OpenCode Zen, Go and the desktop app were not tested in this sitting.
Free plan, as measured
All nine T3/T4/T5 runs fit a free Google AI Studio key on 18 Nov 2026; $0.0764 per run at paid rates
Free plan
Yes: open-source agent free with own keys; some free Zen models
Price
Go $10/mo; Go Plus $40/mo; Zen pay-as-you-go ($20 prepaid)
Pricing checked
2026-10-16

Side by side

Fieldpsi OpenCode
What it ispsiPortable terminal coding agent written in ANSI C and Lua, shipped as a ~6.4 MB binary that runs on Linux, macOS, Windows, FreeBSD/OpenBSD and Haiku. Interactive TUI, REPL and one-shot modes, Lua extensions for commands and tools, append-only JSONL session trees, and providers for Anthropic, OpenAI Codex, OpenRouter or local Ollama models. MIT licensed.OpenCodeOpen-source AI coding agent for the terminal.
PricingpsiFree and open source (MIT). Bring your own model provider key or a local Ollama model; no psi paid plan listed.OpenCodeGo $10/mo; Go Plus $40/mo; Zen pay-as-you-go ($20 prepaid)
Free tierpsiYes: MIT open-source binary, no psi account or card claimed (psicode.ai + GitHub, verified 2026-11-09)OpenCodeYes: open-source agent free with own keys; some free Zen models
Pricing verifiedpsi2026-11-13OpenCode2026-10-16
Edition testedpsipsi 0.2.0 --agent, openai-codex/gpt-5.6-luna. Headline is T3+T4+T5 (rubric v0.3).OpenCodeOpenCode CLI 1.19.6 headless (opencode run --format json), BYOK free-tier Google AI Studio key, google/gemini-3.5-flash-lite. Headline is T3+T4+T5 (rubric v0.3). OpenCode Zen, Go and the desktop app were not tested in this sitting.
Tested onpsi2026-11-13OpenCode2026-11-18
Outcome scorepsi10OpenCode9.9
Speed scorepsi9.7OpenCode9.5
Cost scorepsi10OpenCode10
Developer experience scorepsi8OpenCode7
Reliability scorepsi10OpenCode8.3
Overall scorepsi9.7OpenCode9.2
Cost per runpsiNot measuredOpenCode$0.076 / run

What our tests found

psi

Headline 9.7 is the mean of T3 9.7, T4 9.7, and T5 9.6 (rubric v0.3). T5 was 20/20 on all 3 runs. The previous v0.2 headline of 9.7 stays in labelled history.psi 0.2.0, openai-codex/gpt-5.6-luna

Pros
  • Official --agent mode completed T3 in one invocation on all three runs, in 11–14 seconds, with npm test 4/4 and the test file unchanged
  • psi itself is free MIT with no account; this edition used an existing ChatGPT login via the documented openai-codex paste-redirect flow
  • Non-interactive --agent edited cart.js, ran npm test, and printed a short summary without a tool-approval hang
Cons
  • The TUI and REPL were not used in the scored runs, so this is a CLI --agent edition, not a full-product UI score
  • openai-codex login is a separate OAuth from the Codex CLI and needs an interactive paste of the redirect URL (documented, and completed for this test)
  • Only the OpenAI Codex / ChatGPT provider was tested; Anthropic, OpenRouter and Ollama were not

Who it’s for: Developers who want a tiny, auditable, scriptable terminal coding agent that runs on unusual systems and any of several model providers.

OpenCode

Headline 9.2 is the mean of T3 9.6, T4 9.5, and T5 8.5 (rubric v0.3). T3 and T4 were 4/4 and 12/12 on all three runs; T5 was 20/20, 20/20 and 19/20. Cost per run is $0.0764, the mean of all nine runs on gemini-3.5-flash-lite. The previous T3-only score of 9.2 on the free Zen model stays in labelled history.headless CLI, BYOK, gemini-3.5-flash-lite

Pros
  • Passed every T3 and T4 held-out test on all three runs and 59 of 60 T5 held-out tests
  • Fast: T3 in 12–14s and T4 in 55–75s on gemini-3.5-flash-lite
  • Headless JSON output reports split input, cached and output tokens plus cost for every step
Cons
  • opencode run still waits silently on an open stdin in scripts; redirect stdin from /dev/null
  • Bring-your-own-key setup needs a provider config file
  • Free Zen models hit a free-usage limit from our box on 16 Nov 2026 (it had reset by 18 Nov)

Who it’s for: Developers who want an open-source terminal coding agent they can try for free and later point at their own model keys.

Verdict

psi 9.7 vs OpenCode 9.2 is not a paired bake-off of the same backend. Both were successful CLI T3 editions; the model and product surface differ, and we did not test psi’s TUI or OpenCode’s other modes here.

FAQ

Which is better, psi or OpenCode?

Use psi for a tiny portable --agent/TUI client with a provider you already have (this score is ChatGPT openai-codex). Use OpenCode if you want its CLI/Zen setup, and read that edition before comparing scores.

Is psi free?

Yes: MIT open-source binary, no psi account or card claimed (psicode.ai + GitHub, verified 2026-11-09) (pricing checked 2026-11-13).

Is OpenCode free?

Yes: open-source agent free with own keys; some free Zen models (pricing checked 2026-10-16).

How much does psi cost compared with OpenCode?

psi: Free and open source (MIT). Bring your own model provider key or a local Ollama model; no psi paid plan listed.. OpenCode: Go $10/mo; Go Plus $40/mo; Zen pay-as-you-go ($20 prepaid).

Best Coding Agents (CLI & Cloud) · Best free Coding Agents (CLI & Cloud) · All comparisons · Methodology

Related

Related comparisons and pricing

Other Coding Agents (CLI & Cloud) tools

Best Coding Agents (CLI & Cloud) · Best free Coding Agents (CLI & Cloud)

Scores come from our own tests and are never for sale; sponsored placements are always labelled. Some links are affiliate links (currently Railway). Disclosure