Skip to content

pi can apparently no longer work with Claude subscription #3372

Description

@totoroot

What happened?

Servus Mario,

I have started using pi with my OpenAI/Codex business subscription just yesterday and am thoroughly impressed. It is so much more pleasant than working with the Codex CLI or OpenCode. It seems to be exactly what I was waiting for to actually productively use LLMs instead of spending time fighting the tooling. Enough smearing honey around your mouth.

Today I tried on a personal machine with my Claude Pro subscription and it no longer seems to allow for a third-party tool like pi with the subscription 👀

 Warning: Anthropic subscription auth is active. Third-party usage now draws from extra usage and is
 billed per token, not your Claude plan limits. Manage extra usage at https://claude.ai/settings/usage.

 Logged in to Anthropic (Claude Pro/Max). Credentials saved to /Users/mathym/.pi/agent/auth.json

What can you help me with?

 Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Third-party apps now draw
 from your extra usage, not your plan limits. Add more at claude.ai/settings/usage and keep
 going."},"request_id":"req_011CaB2jYvyDteURFQHDPjxb"}

The login session authenticates fine:


Image


Image


First I thought it was because I installed pi through a Nix package, but even when installing the recommended way, I end up at this roadblock.

So Claude Code CLI itself seems to be effected by their billing change took effect on the 4th of April:
anthropics/claude-code#45134
anthropics/claude-code#45013

Any ideas how to work around this?

Steps to reproduce

λ npm install -g @mariozechner/pi-coding-agent

changed 258 packages in 2s

35 packages are looking for funding
  run `npm fund` for details

λ pi --version
0.67.68

λ pi

 pi v0.67.68
 escape interrupt · ctrl+c/ctrl+d clear/exit · / commands · ! bash · ctrl+o more
 Press ctrl+o to show full startup help and loaded resources.

 Pi can explain its own features and look up its docs. Ask it how to use or extend Pi.


[Context]
  AGENTS.md


 Warning: Anthropic subscription auth is active. Third-party usage now draws from extra usage and is
 billed per token, not your Claude plan limits. Manage extra usage at https://claude.ai/settings/usage.

 Logged in to Anthropic (Claude Pro/Max). Credentials saved to /Users/<USER>/.pi/agent/auth.json

 What can you help me with?


 Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Third-party apps now draw
 from your extra usage, not your plan limits. Add more at claude.ai/settings/usage and keep
 going."},"request_id":"req_011CaB3v1CfpZmLjbVGcx7Z3"}

Expected behavior

pi to work with my Claude Pro subscription

Version

0.67.68

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions