Available agents
OpenCode runs frontier and open-weight models side by side: DeepSeek V4 Pro, GLM 5.2, Kimi K2.6, GPT 5.6 Sol / Terra / Luna, GPT 5.5 / 5.4 / 5.3 Codex, Gemini 3.1 Pro, Claude Opus 4.7, Claude Sonnet 4.6 — plus any OpenRouter model via the OpenRouter… picker.
Reasoning effort
Every model runs at an effort level:low, medium, high, or xhigh — higher effort means deeper reasoning and longer runs. Claude Code adds ultracode, which combines maximum effort with multi-agent workflows for the hardest tasks.
Defaults
Set what runs when you don’t choose explicitly in Settings → Routing: thedefault routing config defines the workspace’s standard agent, model, and effort, and /trigger keywords let a single message opt into something else. See Routing.
Memory
Agents persist non-obvious learnings — setup quirks, conventions, gotchas — toCLAUDE.md or AGENTS.md in the relevant repo, and read those files at the start of every task. Memory is plain Markdown in your repo: reviewable in PRs, portable across all three agents, and yours to edit.