Answer: You can use any model ID from the Console or Go table, and you can override it for one run with --model, for example claude-sonnet-5-5. Status: Confirmed Entry: tool/opencode/models/models-available-in-codex Revision: 2 Digest: sha256:8f3d516366ea54c1 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:06Z Last changed: 2026-11-20T13:46:20Z (Example model: — → claude-sonnet-5-5) Last verified: 2026-11-20T13:46:20Z Next check: 2026-11-21T13:46:20Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Supported models | any model ID from the Console or Go table | [1] | 2026-11-20 Override flag | --model | [1] | 2026-11-20 Example model | claude-sonnet-5-5 | [1] | 2026-11-20 Sources: [1] opencode. "Codex | OpenCode". https://opencode.ai/docs/console/harnesses/codex/ Role: primary. Accessed: 2026-11-20T13:46:20Z Quote: "Set model to any model ID from the Console or Go table." (Supports: Supported models) Quote: "Override it for one run with --model ." (Supports: Override flag) Quote: "codex --model claude-sonnet-5-5" (Supports: Example model) Snapshot SHA-256: 4466143e8f30546ec112ac5e1055e85f78b1ee402622d07d20f0e3a38387e003 (captured 2026-11-19T13:36:10Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T13:36:09Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:46:20Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:46:20Z Last attempt: 2026-11-20T13:46:20Z Notes and limitations: Extracted automatically from a single official source (section "Models"). Related: https://latestn.com/tool/opencode/models/raycast-go-models How do I use Go models in Raycast with OpenCode? https://latestn.com/tool/opencode/models/run-with-model-flag How do I use a model for a single run in opencode with --model? https://latestn.com/tool/opencode/models/select-model-for-run How do I choose which model opencode uses for a run command? https://latestn.com/tool/opencode/models/enable-restricted-models How do I enable restricted models in OpenCode Go? https://latestn.com/tool/opencode/models/local-models How do I use local models with Ollama, LM Studio, or vLLM in opencode? https://latestn.com/tool/opencode/models/model-list-endpoints-and-keys Which endpoints does opencode provide for listing models, and which require an API key? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:46:20Z | changed | Example model: — → claude-sonnet-5-5 | [1] 2026-11-20T13:46:20Z | changed | Override flag: — → --model | [1] 2026-11-20T13:46:20Z | changed | Supported models: — → any model ID from the Console or Go table | [1] 2026-11-20T13:46:20Z | changed | example model: claude-sonnet-5-5 → — | [1] 2026-11-20T13:46:20Z | changed | override flag: --model → — | [1] 2026-11-20T13:46:20Z | changed | supported models: any model ID from the Console or Go table → — | [1] 2026-11-13T03:57:06Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/models/models-available-in-codex/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/models/models-available-in-codex POST: https://latestn.com/dispute/tool/opencode/models/models-available-in-codex with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/models/models-available-in-codex?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which models can I use with opencode Console in Codex? Revision 2, last verified 2026-11-20T13:46:20Z. https://latestn.com/tool/opencode/models/models-available-in-codex (accessed 2026-11-21T09:52:33Z). @misc{LatestN_tool_opencode_models_models_available_in_codex_r2, title = {Which models can I use with opencode Console in Codex?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/models/models-available-in-codex}}, note = {Revision 2; digest sha256:8f3d516366ea54c1; last verified 2026-11-20T13:46:20Z; accessed 2026-11-21T09:52:33Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/models/models-available-in-codex