Skip to content

Commit 640d5de

Browse files
committed
docs(providers): document OpenCode Go quota probe
1 parent a5ec641 commit 640d5de

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
@@ -564,6 +564,13 @@ The bars show how much of a window (5-hour, weekly, monthly, or
564564
provider-specific) is already consumed.
565565

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

0 commit comments

Comments
 (0)