Skip to content

picassio/pi-cc-patch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

pi-cc-patch

Use your Pro/Max subscription billing with pi instead of getting the "Third-party apps now draw from your extra usage" error.

What it does

The API classifier detects pi as a third-party app and blocks subscription billing. This extension patches the request payload to bypass it:

  1. Sanitizes trigger phrases from the system prompt
  2. Adds billing header for subscription rate-limit routing
  3. Strips prefix block that triggers detection

Scope: this patch only runs for Anthropic/Claude provider requests. Other providers are left unchanged.

No token swap, no SDK dependency, no proxy. Just a before_provider_request hook. Pi's built-in provider handles everything else — caching, token refresh, thinking, streaming, tool mapping.

Install

pi install git:github.com/picassio/pi-cc-patch

Then restart pi. Use /login if you haven't already.

Uninstall

pi remove git:github.com/picassio/pi-cc-patch

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors