Free and open source · Early preview for macOS
You already pay for Claude or ChatGPT. SAPI lets your other AI apps, scripts and tools use that same plan, instead of a separate pay-per-use API key.
Overview
How your subscriptions and apps are doing.
Subscription limits account-wide, so the filters below don't change them
At this pace you'll be at about 81% when the window resets.
This 5-hour window, by client
ChatGPT doesn't share how much of your plan is left. If it hits a limit, you'll see it here, and sapi pauses ChatGPT for a while.
Today, by client
Requests by client last 24 hours · per hour
Errors by kind last 24 hours
client_budget_exceeded2
upstream_error1
The dashboard runs on your computer. Click around a demo with sample data.
here's the idea
Claude, ChatGPT, or both, every month. It works great inside their own apps.
Scripts, agents and AI tools ask for an API key instead. That's a second bill, charged for every word.
It runs on your computer and lets those apps use the plan you already have.
how it works
Get SAPI from GitHub and run its setup. It walks you through everything. You approve the sign-in in your browser, just like in the Claude or ChatGPT app.
Every app gets its own SAPI key. So you always know which app used what, and you can switch one off without touching the others.
Point your app at SAPI and give it its key. Your app works as before, now on your own plan.
that's the only change your app needs
SAPI speaks the same language as the OpenAI and Anthropic APIs, so anything built on them can talk to it.
Text only for now. Tool calling and images are next.
what you get
A simple meter shows how much of your Claude plan you've used, and whether you'll run out at your current pace.
Give every app its own key, with a daily limit if you like. Replace or switch off a key any time.
One switch stops Claude, ChatGPT or a single app, right away. Flip it back when you're ready.
For example, when a key is used by software you don't recognize, or an app suddenly sends far more than usual.
Your prompts and replies are never saved. SAPI keeps only a simple log: which app, when, and how many words.
Ask for haiku, sonnet, opus or gpt. Or ask for auto, which moves to ChatGPT when Claude is running low.
just for you
It's the AI doing the work: reading your message and writing the answer. Your subscription comes with an allowance of it. SAPI lets your own apps use that allowance.
No. SAPI uses your subscription, and gives your apps their own SAPI keys instead.
SAPI is free and open source, under the Apache 2.0 license. You still pay for your own Claude or ChatGPT plan, as you do today.
A Mac, and a Claude plan that includes Claude Code. ChatGPT is optional. Linux support is built and still being tested. There's no Windows version yet.
Not yet. For now SAPI handles text. If an app asks for tools or images, it gets a clear message saying so. Tool calling and structured answers are coming next.
No. SAPI is an independent project and isn't affiliated with either. Their names only describe what it works with.
Set it up once, then use the subscription you already pay for, everywhere you build.
Get started on GitHub