Answer: Use https://opencode.ai/inference for Pay-as-you-go and https://opencode.ai/inference/go for Go, then append the path for the API your harness speaks. Status: Confirmed Entry: tool/opencode/settings/harness-base-urls Revision: 1 Digest: sha256:5b20312355ebbf4e (changes whenever the content changes) Timeline: Created: 2026-11-13T03:57:00Z Last changed: 2026-11-13T03:57:00Z Last verified: 2026-11-20T13:46:14Z Next check: 2026-11-21T13:46:14Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Pay-as-you-go base URL | https://opencode.ai/inference | [1] | 2026-11-20 Go base URL | https://opencode.ai/inference/go | [1] | 2026-11-20 OpenAI Responses path | /openai/v1/responses | [1] | 2026-11-20 OpenAI Chat Completions path | /openai/v1/chat/completions | [1] | 2026-11-20 Anthropic Messages path | /anthropic/v1/messages | [1] | 2026-11-20 Gemini path | /google/v1beta/models/:generateContent | [1] | 2026-11-20 Sources: [1] opencode. "Harnesses | OpenCode". https://opencode.ai/docs/console/harnesses/ Role: primary. Accessed: 2026-11-20T13:46:14Z Quote: "Pay-as-you-go https://opencode.ai/inference" (Supports: Pay-as-you-go base URL) Quote: "Go https://opencode.ai/inference/go" (Supports: Go base URL) Quote: "OpenAI Responses /openai/v1/responses" (Supports: OpenAI Responses path) Quote: "OpenAI Chat Completions /openai/v1/chat/completions" (Supports: OpenAI Chat Completions path) Quote: "Anthropic Messages /anthropic/v1/messages" (Supports: Anthropic Messages path) Quote: "Gemini /google/v1beta/models/:generateContent" (Supports: Gemini path) Snapshot SHA-256: 090e7d6afa3ad6e2b61631cfd515897ce8548daac346b45e513d1907a98e0fe7 (captured 2026-11-19T13:36: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-19T13:36:03Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:46:14Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:46:14Z Last attempt: 2026-11-20T13:46:14Z Notes and limitations: Extracted automatically from a single official source (section "Base URLs"). Related: https://latestn.com/tool/opencode/settings/inline-cli-config How do I apply opencode CLI settings from inline JSON? https://latestn.com/tool/opencode/settings/jsonc-format-support Does opencode config support comments and trailing commas? https://latestn.com/tool/opencode/settings/local-directory-reference How do I use a local directory as a reference in opencode? https://latestn.com/tool/opencode/settings/enable-session-warming How do I enable session warming in opencode? https://latestn.com/tool/opencode/settings/experimental-features How do I enable experimental features like background compaction or image generation in opencode? https://latestn.com/tool/opencode/settings/global-mcp-server How do I make an MCP server available in every opencode project? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:57:00Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/settings/harness-base-urls/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/harness-base-urls POST: https://latestn.com/dispute/tool/opencode/settings/harness-base-urls with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/settings/harness-base-urls?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What base URLs do I use to point a harness at the opencode Console gateway? Revision 1, last verified 2026-11-20T13:46:14Z. https://latestn.com/tool/opencode/settings/harness-base-urls (accessed 2026-11-21T09:53:17Z). @misc{LatestN_tool_opencode_settings_harness_base_urls_r1, title = {What base URLs do I use to point a harness at the opencode Console gateway?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/settings/harness-base-urls}}, note = {Revision 1; digest sha256:5b20312355ebbf4e; last verified 2026-11-20T13:46:14Z; accessed 2026-11-21T09:53: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/settings/harness-base-urls