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
Zen free models fail with FreeTierError in official CLI 1.18.34 (Linux) #52907
Since this morning (2026-10-03), every OpenCode Zen free model fails with:
Error from provider (Console): OpenCode's free tier can only be used from within OpenCode
This is the official OpenCode CLI/TUI, latest release, with no proxy, no plugins, and no override of the opencode provider. It worked yesterday with the same setup.
Other providers configured in the same install (OpenRouter, custom openai-compatible providers) work fine from the same machine at the same time, so networking and the client itself are working.
Checked locally:
opencode upgrade reports 1.18.34 is already the latest
No HTTP(S)_PROXY, no opencode.ai entry in /etc/hosts
Unsetting OPENAI_BASE_URL / ANTHROPIC_BASE_URL makes no difference
level=ERROR message="stream error" providerID=opencode modelID=space-bunny-free small=false agent=build mode=primary error.error="AI_APICallError: Error from provider (Console): OpenCode's free tier can only be used from within OpenCode"
Same here. They are failing on my linux server as well. I tried opencode v2.0.22 as well, but the error is same: opencode run -m opencode/fledge-alpha-free --format json "Reply OK" {"type":"error","timestamp":1791005957512,"sessionID":"ses_effb9e375ffeIBcTDvmiqNnCJ4","error":{"type":"provider.auth","message":"Error from provider (Console): OpenCode's free tier can only be used from within OpenCode","status":403,"response":{"body":"{\"type\":\"error\",\"error\":{\"type\":\"FreeTierError\",\"message\":\"Error from provider (Console): OpenCode's free tier can only be used from within OpenCode\"}}"}}}
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.
Activity
github-actions commentedon Oct 3, 2026
This issue might be a duplicate of existing issues. Please check:
maroozm commentedon Oct 3, 2026
Same here. They are failing on my linux server as well. I tried opencode v2.0.22 as well, but the error is same:
opencode run -m opencode/fledge-alpha-free --format json "Reply OK" {"type":"error","timestamp":1791005957512,"sessionID":"ses_effb9e375ffeIBcTDvmiqNnCJ4","error":{"type":"provider.auth","message":"Error from provider (Console): OpenCode's free tier can only be used from within OpenCode","status":403,"response":{"body":"{\"type\":\"error\",\"error\":{\"type\":\"FreeTierError\",\"message\":\"Error from provider (Console): OpenCode's free tier can only be used from within OpenCode\"}}"}}}thdxr commentedon Oct 11, 2026
Thanks for the report! OpenCode 2.0 is now out and development is focused on V2, so we're closing issues filed against OpenCode 1. Please upgrade (
opencode upgrade --major, details: https://anoma.ly/notes/opencode-2-0), and if this is still relevant on 2.0, reopen this issue or open a new one with your 2.0 version.— from 𝕺𝖕𝖊𝖓𝕮𝖔𝖉𝖊
muhammadsami987123 commentedon Oct 14, 2026