Answer: opencode provides three model list endpoints: /console/api/v1/models (requires an API key), /inference/v1/models (key optional), and /inference/go/v1/models (key optional). Only the Console list requires a key; the inference lists work without one and return the public catalog. Status: Confirmed Entry: tool/opencode/models/model-list-endpoints-and-keys Revision: 1 Digest: sha256:9c27c763ccf801fb (changes whenever the content changes) Timeline: Created: 2026-11-19T13:35:45Z Last changed: 2026-11-19T13:35:45Z Last verified: 2026-11-20T13:45:57Z Next check: 2026-11-21T13:45:57Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Console list endpoint | /console/api/v1/models | [1] | 2026-11-20 Inference list endpoint | /inference/v1/models | [1] | 2026-11-20 Go inference list endpoint | /inference/go/v1/models | [1] | 2026-11-20 Console list key requirement | Required | [1] | 2026-11-20 Inference list key requirement | Optional | [1] | 2026-11-20 Go list key requirement | Optional | [1] | 2026-11-20 Console list URL | https://opencode.ai/console/api/v1/models | [1] | 2026-11-20 Inference list URLs | https://opencode.ai/inference/v1/models | [1] | 2026-11-20 Sources: [1] opencode. "Model list API | OpenCode". https://opencode.ai/docs/console/api/models/ Role: primary. Accessed: 2026-11-20T13:45:57Z Quote: "/console/api/v1/models Every provider and model the caller can use, with the workspace’s edits applied. Required" (Supports: Console list endpoint) Quote: "/inference/v1/models OpenCode Models. Every public model without a key; with one, the models its workspace can use. Optional" (Supports: Inference list endpoint) Quote: "/inference/go/v1/models Go models, in the same shapes. Optional" (Supports: Go inference list endpoint) Quote: "with the workspace’s edits applied. Required" (Supports: Console list key requirement) Quote: "Every public model without a key; with one, the models its workspace can use. Optional" (Supports: Inference list key requirement) Quote: "Go models, in the same shapes. Optional" (Supports: Go list key requirement) Quote: "GET https://opencode.ai/console/api/v1/models returns every provider the caller can use" (Supports: Console list URL) Quote: "GET https://opencode.ai/inference/v1/models lists OpenCode Models, and GET https://opencode.ai/inference/go/v1/models lists Go models." (Supports: Inference list URLs) Snapshot SHA-256: 5bc414bf813140cf589af9d8845fcd5a13094c861369eecd46e1b64c5b3031f2 (captured 2026-11-19T13:35:44Z) 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:35:45Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:45:57Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:45:57Z Last attempt: 2026-11-20T13:45:57Z Notes and limitations: Extracted automatically from a single official source (section "Model list API"). Related: https://latestn.com/tool/opencode/models/models-available-in-codex Which models can I use with opencode Console in Codex? 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/console-vs-inference-model-lists What is the difference between the opencode Console model list API and the inference model list APIs? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T13:35:45Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/models/model-list-endpoints-and-keys/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/model-list-endpoints-and-keys POST: https://latestn.com/dispute/tool/opencode/models/model-list-endpoints-and-keys with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/models/model-list-endpoints-and-keys?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which endpoints does opencode provide for listing models, and which require an API key? Revision 1, last verified 2026-11-20T13:45:57Z. https://latestn.com/tool/opencode/models/model-list-endpoints-and-keys (accessed 2026-11-21T09:54:17Z). @misc{LatestN_tool_opencode_models_model_list_endpoints_and_keys_r1, title = {Which endpoints does opencode provide for listing models, and which require an API key?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/models/model-list-endpoints-and-keys}}, note = {Revision 1; digest sha256:9c27c763ccf801fb; last verified 2026-11-20T13:45:57Z; accessed 2026-11-21T09:54:17Z} } 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/model-list-endpoints-and-keys