Answer: To configure a custom provider endpoint, override settings.baseURL to send a catalog provider through a proxy or compatible endpoint, as shown in opencode.jsonc with the anthropic provider's settings.baseURL set to "https://llm-proxy.example.com/anthropic". Note that settings is package-specific and a field only has an effect when the selected package supports it. Status: Overdue (check was due 2026-11-20T13:37:17Z and has not succeeded) Entry: tool/opencode/settings/custom-provider-endpoint Revision: 1 Digest: sha256:11cf8856e89b2e99 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:58:05Z Last changed: 2026-11-13T03:58:05Z Last verified: 2026-11-19T13:37:17Z Next check: 2026-11-20T13:37:17Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Setting | settings.baseURL | [1] | 2026-11-19 Example baseURL | https://llm-proxy.example.com/anthropic | [1] | 2026-11-19 Config file | opencode.jsonc | [1] | 2026-11-19 Schema URL | https://opencode.ai/config.json | [1] | 2026-11-19 Caveat | settings is package-specific. | [1] | 2026-11-19 Sources: [1] opencode. "Providers | OpenCode". https://opencode.ai/docs/providers/ Role: primary. Accessed: 2026-11-19T13:37:17Z Quote: "Endpoint Override settings.baseURL to send a catalog provider through a proxy or compatible endpoint." (Supports: Setting) Quote: ""baseURL" : "https://llm-proxy.example.com/anthropic"" (Supports: Example baseURL) Quote: "opencode.jsonc Copy Copied Failed" (Supports: Config file) Quote: ""$schema" : "https://opencode.ai/config.json"" (Supports: Schema URL) Quote: "settings is package-specific. A field only has an effect when the selected package supports it." (Supports: Caveat) Snapshot SHA-256: 33e9b9561a81a008ab71f04377be064af7703ac24246201d7edeb3349313a41a (captured 2026-11-13T03:58:02Z) 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-13T03:58:05Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:37:17Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:37:17Z Last attempt: 2026-11-19T13:37:17Z Notes and limitations: Extracted automatically from a single official source (section "Endpoint"). Related: https://latestn.com/tool/opencode/settings/custom-theme-files How do I create a custom theme file for opencode and what format does it use? https://latestn.com/tool/opencode/settings/default-web-port What is the default port for the opencode web server? https://latestn.com/tool/opencode/settings/disable-formatters How do I disable formatters in opencode? https://latestn.com/tool/opencode/settings/configure-proxy How do I configure a proxy for opencode using HTTP_PROXY, HTTPS_PROXY, and NO_PROXY? https://latestn.com/tool/opencode/settings/configure-web-ui How do I configure the opencode web UI? https://latestn.com/tool/opencode/settings/custom-formatters How do I add a custom formatter in opencode? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:58:05Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/custom-provider-endpoint/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/settings/custom-provider-endpoint POST: https://latestn.com/dispute/tool/opencode/settings/custom-provider-endpoint with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/custom-provider-endpoint?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure a custom provider endpoint in opencode? Revision 1, last verified 2026-11-19T13:37:17Z. https://latestn.com/tool/opencode/settings/custom-provider-endpoint (accessed 2026-11-21T09:52:52Z). @misc{LatestN_tool_opencode_settings_custom_provider_endpoint_r1, title = {How do I configure a custom provider endpoint in opencode?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/custom-provider-endpoint}}, note = {Revision 1; digest sha256:11cf8856e89b2e99; last verified 2026-11-19T13:37:17Z; accessed 2026-11-21T09:52:52Z} } 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/settings/custom-provider-endpoint