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
Free OpenCode Zen models consistently return HTTP 429 despite being listed as available. #43786
I am using OpenCode with the OpenCode Zen free models for a real
structured-extraction workload.
The free models are shown as available in the OpenCode model list, but
the API consistently returns HTTP 429 (rate limit) before generating any
response.
This is preventing us from using the free Zen models for an external
application integration.
Models tested
deepseek-v4-flash-free
mimo-v2.5-free (if applicable; otherwise remove this line)
Other free Zen models shown in the current model selector
The most reproducible case so far is:
deepseek-v4-flash-free
Steps to reproduce
Obtain an OpenCode Zen API key.
Call the OpenAI-compatible endpoint:
https://opencode.ai/zen/v1/chat/completions
Use the model:
deepseek-v4-flash-free
Send a normal chat-completions request.
Example:
fromopenaiimportOpenAIclient=OpenAI(
base_url="https://opencode.ai/zen/v1",
api_key="YOUR_ZEN_API_KEY",
)
response=client.chat.completions.create(
model="deepseek-v4-flash-free",
messages=[
{
"role": "user",
"content": "Return a short JSON object with your model name."
}
],
temperature=0.2,
)
print(response)
### Plugins_Noresponse_### OpenCode version_Noresponse_### Steps to reproduce_Noresponse_### Screenshot and/or share link_Noresponse_### Operating System_Noresponse_### Terminal_Noresponse_
If your issue is distinct (e.g., a different error message or a specific reproduction case not covered by the above), please link to those issues and clarify what is different. Otherwise consider adding context there instead.
I'm experiencing the same issue on OpenCode v2.0.29.
Environment:
OS: CachyOS Linux
OpenCode: v2.0.29
Provider: OpenCode Zen
Plan: Free
Multiple free models return Error: Rate limit exceeded. Please try again later. almost immediately.
Models tested:
Muse Spark 1.3 Free
MiMo V2.6 Flash Free
DeepSeek V4.1 Flash Free
I tested both the custom Shadow agent and the built-in Build agent. Both fail with the same error.
I stopped using OpenCode around 00:57 and retried around 10:20, after more than 9 hours without usage. The issue persisted.
This appears to affect multiple free models rather than a single model or agent. Could this be an account-level quota issue or a problem with the Zen free-tier rate limiter?
Thanks for the clear reproduction. The free models are meant for use inside OpenCode, and their rate limits apply per IP address. Signing in or adding credits doesn't raise them, which is why an external extraction workload hits 429 quickly even though the models are listed as available. Free models also rotate over time; the current list is at https://opencode.ai/v2/docs/console/models.
For an application integration, use a paid model with Zen credits, or OpenCode Go for higher limits on models like DeepSeek V4.1 Flash. Closing this as working as intended.
Activity
github-actions commentedon Aug 21, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct (e.g., a different error message or a specific reproduction case not covered by the above), please link to those issues and clarify what is different. Otherwise consider adding context there instead.
RainMT-dv commentedon Oct 16, 2026
I'm experiencing the same issue on OpenCode v2.0.29.
Environment:
Multiple free models return
Error: Rate limit exceeded. Please try again later.almost immediately.Models tested:
I tested both the custom Shadow agent and the built-in Build agent. Both fail with the same error.
I stopped using OpenCode around 00:57 and retried around 10:20, after more than 9 hours without usage. The issue persisted.
This appears to affect multiple free models rather than a single model or agent. Could this be an account-level quota issue or a problem with the Zen free-tier rate limiter?
neriousy commentedon Oct 20, 2026
Thanks for the clear reproduction. The free models are meant for use inside OpenCode, and their rate limits apply per IP address. Signing in or adding credits doesn't raise them, which is why an external extraction workload hits 429 quickly even though the models are listed as available. Free models also rotate over time; the current list is at https://opencode.ai/v2/docs/console/models.
For an application integration, use a paid model with Zen credits, or OpenCode Go for higher limits on models like DeepSeek V4.1 Flash. Closing this as working as intended.