Skip to content

Free OpenCode Zen models consistently return HTTP 429 despite being listed as available. #43786

Closed as not planned

Description

@thunder13141-dot

Description

Description

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

  1. Obtain an OpenCode Zen API key.

  2. Call the OpenAI-compatible endpoint:

    https://opencode.ai/zen/v1/chat/completions

  3. Use the model:

    deepseek-v4-flash-free

  4. Send a normal chat-completions request.

Example:

from openai import OpenAI

client = 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

_No response_

### OpenCode version

_No response_

### Steps to reproduce

_No response_

### Screenshot and/or share link

_No response_

### Operating System

_No response_

### Terminal

_No response_

Activity

  1. github-actions commented on Aug 21, 2026

    @github-actions
    Contributor

    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.

  2. RainMT-dv commented on Oct 16, 2026

    @RainMT-dv

    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?

  3. neriousy commented on Oct 20, 2026

    @neriousy
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions