Skip to content

Commit abaa75a

Browse files
authored
docs(providers): document OpenCode Go quota probe (#2057)
Co-authored-by: Ingwannu <[email protected]>
1 parent fd85c82 commit abaa75a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎docs-site/src/content/docs/guides/providers.md‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,13 @@ The bars show how much of a window (5-hour, weekly, monthly, or
566566
provider-specific) is already consumed.
567567

568568
Providers with a live probe: OpenAI/Codex, Anthropic, xAI, Cursor, Kimi,
569-
Google Antigravity, OpenRouter, DeepSeek, ClinePass, Z.AI, MiniMax,
569+
Google Antigravity, OpenCode Go, OpenRouter, DeepSeek, ClinePass, Z.AI, MiniMax,
570570
Moonshot, Venice, Synthetic, DeepInfra, Neuralwatt, Command Code, and any a6api-backed
571571
custom provider.
572+
573+
**OpenCode Go quota.** The canonical `opencode-go` preset reads
574+
`GET https://opencode.ai/zen/go/v1/usage` with the configured key as a Bearer token and
575+
does not follow redirects. The response's rolling, weekly, and monthly `percent` values are
576+
already-consumed utilization: rolling maps to the 5-hour bar, while weekly and monthly keep
577+
their matching bars. OpenCodex does not reconstruct dollar caps from local usage logs, and a
578+
provider using a non-canonical `baseUrl` is never sent the key for this probe.

0 commit comments

Comments
 (0)