Skip to content

API inference blocked while authenticated model catalog remains accessible #46219

Closed as not planned

Description

@OdinManiac

Description

My OpenCode account has a positive balance, but inference is consistently rejected with HTTP 401 and the error code INFERENCE_ACCESS_BLOCKED.

The same API keys can fetch both model catalogs successfully (HTTP 200), so the credentials are valid enough for authenticated catalog access. Minimal inference requests fail for both:

  • OpenCode Go: deepseek-v4-flash via /zen/go/v1/chat/completions
  • OpenCode Zen: claude-sonnet-5 via /zen/v1/messages

I reproduced this with several newly generated API keys on the same account, including on 2026-08-30 UTC. These were isolated one-turn plain-text requests with no tools, files, multimedia, large context, parallelism, or retry loop.

Could you please clarify:

  1. Is the account or workspace blocked from inference?
  2. What policy or event caused the block?
  3. Is it temporary, and what is the process to appeal or restore access?
  4. Is there a private channel where I can provide the account identifier and exact request timestamps without publishing credentials?

No API keys are included in this report.

Plugins

None; reproduced against the documented HTTP endpoints directly.

OpenCode version

Not applicable; direct API request.

Steps to reproduce

  1. Create a new API key from an account with positive balance.
  2. Fetch the Go or Zen /models endpoint: HTTP 200.
  3. Send a minimal single-user-message inference request to one of the documented model endpoints.
  4. Observe HTTP 401 with INFERENCE_ACCESS_BLOCKED.

Operating System

Linux

Terminal

Direct HTTPS client

Activity

  1. github-actions commented on Aug 30, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your situation matches one of these, consider adding a comment there rather than opening a new issue.

  2. OdinManiac commented on Aug 30, 2026

    @OdinManiac
    Author

    Additional reproduction on 2026-08-30 UTC: another newly generated API key on the same account shows the same split behavior: authenticated model catalog requests succeed, while minimal one-turn inference is rejected with HTTP 401 / INFERENCE_ACCESS_BLOCKED. No API key or OAuth credential is included here. This still looks account/workspace-level rather than key-level, model-level, balance-related, or caused by request volume.

  3. OdinManiac commented on Aug 30, 2026

    @OdinManiac
    Author

    A stronger diagnostic signal from a fresh key on the same account (2026-08-30 UTC):

    • Go /models: HTTP 200
    • Zen /models: HTTP 200
    • Minimal Go inference with deepseek-v4-flash: HTTP 401 AuthError
    • Minimal Zen inference with claude-sonnet-5: HTTP 401 AuthError

    Both inference responses explicitly state that the account was blocked for suspected fraud or a terms-of-service breach and direct the user to help@anoma.ly. This confirms that the failure is account-level, not caused by an invalid key, insufficient balance, a missing model, request size, tools, multimedia, concurrency, or retry volume.

    Could a maintainer confirm whether this GitHub issue is sufficient for investigation, or whether the account identifier and request timestamps must be sent only by email? I can provide them privately. No API key or OAuth credential is included here.

  4. neriousy commented on Oct 20, 2026

    @neriousy
    Member

    Thanks for the careful diagnosis, and for keeping credentials out of the report. You're right that this is an account-level block rather than a key, model or balance problem. Blocks like this are reviewed manually, and there's no self-serve way to lift them, so the private channel you asked about is help@anoma.ly. Include your account email, workspace name and a couple of request timestamps, and the team can tell you why it happened and whether access can be restored. Closing here since GitHub can't see account data.

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