You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: OpenCode Go grok-4.5 returns HTTP 503 while deepseek-v4-flash works #40886
{"error":{"type":"server_error","message":"Upstream request failed: Endpoint is unavailable."}}
Response details:
Time: August 6, 2026, 15:40 UTC
CF-Ray: a26f233459ab3f1e-MIA
CF placement: remote-ORD
The issue was reproduced with both Cherry Studio using its OpenAI-compatible client and Claude Code 2.1.223 through CC Switch.
As a control test, deepseek-v4-flash works with the same OpenCode Go subscription, API key, base URL, and Chat Completions format while grok-4.5 continues to return HTTP 503.
This appears to be model-specific rather than a complete OpenCode Go outage. It may be related to #36889 and #37815, but differs because another OpenCode Go model remains available at the same time.
Plugins
None. The OpenCode Go API was tested through external OpenAI-compatible clients.
OpenCode version
N/A — the OpenCode Go API endpoint was tested directly. Secondary reproduction used Claude Code 2.1.223.
Steps to reproduce
Configure an OpenAI-compatible client with an active OpenCode Go API key.
Send a simple message such as Hello to https://opencode.ai/zen/go/v1/chat/completions using model grok-4.5.
Observe HTTP 503: Upstream request failed: Endpoint is unavailable.
Change only the model to deepseek-v4-flash, keeping the same API key, endpoint, and API format.
Observe that deepseek-v4-flash responds successfully.
Screenshot and/or share link
The complete HTTP response and relevant Cloudflare request identifiers are included in the Description above.
Same issue, Grok seems to use the v1/responses endpoint , which gave gave a status 200 and worked. However on the normal v1/completions endpoint it gives 503.
Also affected on opencode 1.18.18 (Windows 11). Same error via the gateway, surfacing as UnknownError: Unexpected server error (refs err_f119cb82, err_c60d0b91, err_98cf848a). Subscribing to follow.
Activity
Teakowa commentedon Aug 7, 2026
Same here
Grok CLI 0.2.120 cannot use an OpenCode Go grok.
Config:
[model.opencode-go-grok]
model = "grok-4.5"
base_url = "https://opencode.ai/zen/go/v1"
api_backend = "chat_completions"
env_key = "OPENCODE_GO_API_KEY"
Command:
grok -p "just say OK" -m opencode-go-grok
Result:
401 after retries, or:
503 Endpoint is unavailable.
Yash456k commentedon Aug 11, 2026
Same issue, Grok seems to use the v1/responses endpoint , which gave gave a status 200 and worked. However on the normal v1/completions endpoint it gives 503.
jpgomezv commentedon Aug 15, 2026
Also affected on opencode 1.18.18 (Windows 11). Same error via the gateway, surfacing as
UnknownError: Unexpected server error(refserr_f119cb82,err_c60d0b91,err_98cf848a). Subscribing to follow.github-actions commentedon Oct 16, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.