anomalyco / anomalyco/opencode
DeepSeek V4 Flash Free returns FreeUsageLimitError on OpenCode Zen
Open
@MrMushrooooom is already working on this.
Since Aug 13, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 384
Description
Description
The deepseek-v4-flash-free model on OpenCode Zen consistently returns a FreeUsageLimitError when making requests through the OpenAI-compatible API.
Authentication works correctly, but the request is rejected by the provider with:
FreeUsageLimitError: Error from provider (Console): Rate limit exceeded. Please try again later.
I'm trying to use the free DeepSeek V4 Flash model through OpenCode Zen as a coding agent.
Plugins
none
OpenCode version
1.18.18
Steps to reproduce
- Create/use an OpenCode Zen API key.
- Send a request to:
https://opencode.ai/zen/v1/chat/completions - Use the model:
deepseek-v4-flash-free - Send a normal chat completion request.
Example:
curl -X POST "https://opencode.ai/zen/v1/chat/completions" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v4-flash-free","messages":[{"role":"user","content":"Say hello in one sentence."}]}'
### Screenshot and/or share link
_No response_
### Operating System
windows 11
### Terminal
windows terminal
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.