Skip to content

setup-token auth restricted to Haiku only — Sonnet/Opus return rate_limit_error, making Claude Code integration unusable for Pro subscribers #74

Description

@ThunderEagle

Environment

  • OS: Windows 11
  • NadirClaw version: 0.20.0
  • Auth method: claude setup-tokennadirclaw auth setup-token
  • Claude subscription: Pro (claude.ai)

Steps to reproduce

  1. Run claude setup-token to obtain a subscription token
  2. Store it via nadirclaw auth setup-token
  3. Also set it as ANTHROPIC_API_KEY env var (required — LiteLLM doesn't pick it up from the credentials store otherwise)
  4. Run nadirclaw test with any multi-tier config involving Sonnet or Opus

Expected behavior

All configured models respond OK, consistent with what a Pro subscriber can access natively in Claude Code and the claude.ai desktop app.

Actual behavior

Haiku passes, Sonnet and Opus both return:

litellm.RateLimitError: AnthropicException - {"type":"error","error":{"type":"rate_limit_error","message":"Error"}}

Notes

  • The same Claude Pro account has full access to Sonnet and Opus natively through Claude Code and the desktop app
  • The error presents as a rate limit but occurs immediately on the first request, suggesting it is actually a model access restriction on the subscription token auth path rather than a genuine rate limit
  • This makes the Claude Code integration (nadirclaw claude onboard) effectively useless for Pro subscribers without a separate paid API key, despite the README advertising setup-token as the supported auth path for subscription users

Metadata

Metadata

Assignees

No one assigned

    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