Answer: You authenticate with an Authorization header using a Bearer token, e.g. "Authorization: Bearer oc_sk_...". Any workspace member can call it using a browser session, an OpenCode login, a personal API key, or a service account key with Models › Read. Status: Confirmed Entry: tool/opencode/permissions-and-security/console-model-list-authentication Revision: 1 Digest: sha256:bbeafb76bcc9e00b (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:55Z Next check: 2026-11-21T13:45:55Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Authorization header | Authorization: Bearer oc_sk_... | [1] | 2026-11-20 Allowed credentials | a browser session, an OpenCode login, a personal API key , or a service account key with Models › Read | [1] | 2026-11-20 Endpoint | https://opencode.ai/console/api/v1/models | [1] | 2026-11-20 Caching | Cache-Control: private, no-store | [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:55Z Quote: "--header "Authorization: Bearer oc_sk_..."" (Supports: Authorization header) Quote: "from a browser session, an OpenCode login, a personal API key , or a service account key with Models › Read" (Supports: Allowed credentials) Quote: "GET https://opencode.ai/console/api/v1/models" (Supports: Endpoint) Quote: "The response is never cached ( Cache-Control: private, no-store )." (Supports: Caching) 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:55Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:45:55Z Last attempt: 2026-11-20T13:45:55Z Notes and limitations: Extracted automatically from a single official source (section "Console model list"). Related: https://latestn.com/tool/opencode/permissions-and-security/default-agent-permissions How do I set default permissions for opencode agents? https://latestn.com/tool/opencode/permissions-and-security/deny-provider-with-policy How do I deny a provider in opencode using policies? https://latestn.com/tool/opencode/permissions-and-security/inference-api-authentication How do I authenticate requests to the opencode Inference API? https://latestn.com/tool/opencode/models/use-go-models-with-codex How do I use opencode Go models with Codex? https://latestn.com/tool/opencode/permissions-and-security/authenticate-console-api How do I authenticate requests to the opencode Console API? https://latestn.com/tool/opencode/permissions-and-security/configure-shell-permission-rules How do I configure opencode permissions to ask before shell commands but allow git status and block git push? 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/permissions-and-security/console-model-list-authentication/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/permissions-and-security/console-model-list-authentication POST: https://latestn.com/dispute/tool/opencode/permissions-and-security/console-model-list-authentication with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/permissions-and-security/console-model-list-authentication?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I authenticate a request to the opencode Console model list API? Revision 1, last verified 2026-11-20T13:45:55Z. https://latestn.com/tool/opencode/permissions-and-security/console-model-list-authentication (accessed 2026-11-21T09:55:10Z). @misc{LatestN_tool_opencode_permissions_and_security_console_model_list_authentication_r1, title = {How do I authenticate a request to the opencode Console model list API?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/permissions-and-security/console-model-list-authentication}}, note = {Revision 1; digest sha256:bbeafb76bcc9e00b; last verified 2026-11-20T13:45:55Z; accessed 2026-11-21T09:55:10Z} } 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/permissions-and-security/console-model-list-authentication