anomalyco / anomalyco/opencode

DeepSeek V4 Flash Free returns FreeUsageLimitError on OpenCode Zen

Open
#42,385 3 comments 1 reaction 1 assignee View on GitHub

@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
  1. Create/use an OpenCode Zen API key.
  2. Send a request to:
    https://opencode.ai/zen/v1/chat/completions
  3. Use the model:
    deepseek-v4-flash-free
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.