API Looper
Bring your own API key into Claude Desktop.
Claude plans and reviews. The model on your own API key does the long drafting, rewriting and bulk work, and those tokens bill to your API account, not your Claude plan.

Why use it
Claude does the thinking. Your key does the heavy lifting.
Your Claude plan goes further
Hand the long drafts, rewrites and bulk jobs to your own model. Those tokens bill to your API account, so your plan is saved for planning and review.
Pick the right model for each job
Use Kimi, OpenAI, DeepSeek, Gemini, OpenRouter, the Anthropic API or any OpenAI-compatible endpoint. Ask Claude to list the models your key can use.
See every token you spend
Every delegated reply ends with the model and token count. Ask for today's, this month's or all-time usage, tracked only on your computer.
You stay in control
Your key sits in your system keychain. Set an optional monthly token cap, and nothing is spent until Claude actually delegates a task.
How it works
One loop, two models, one answer
API Looper adds a second model Claude can hand work to. Your Claude chat stays on your Claude plan.
You ask Claude
Work as normal in Claude Desktop, and say when you want your own model on the job.
Your model does the heavy work
Claude sends a self-contained task through delegate_to_model to the model on your key.
Claude reviews and delivers
Claude checks the result, picks the best of it and gives you the answer, with the tokens shown.
Try asking
"Use my model to write 10 hook variations for this post, then pick the best 3."
Every reply ends with a receipt
[Moonshot (Kimi) · kimi-k2 · 1,240 in / 860 out tokens · 4.2s]What Claude gets
Four tools, added to Claude Desktop
| Tool | What it does |
|---|---|
delegate_to_model | Sends a self-contained task to your model and returns the answer, with the tokens used shown on every reply. |
list_models | Lists the model IDs your key can use. |
token_usage | Shows tokens sent through API Looper today, this month or all time, by model. Tracked only on your computer. |
check_balance | Reads your balance or spend from the provider (Kimi, DeepSeek, OpenRouter) and links to your billing dashboard. |
Set up
Up and running in four steps
Download the extension
Get api-looper.mcpb from the GitHub repo.
Double-click to install
Claude Desktop opens its install screen.
Add your provider and key
Choose moonshot (Kimi), openai, openrouter, deepseek, gemini, anthropic or custom, and paste your API key. It's stored in your system keychain. Optionally set a default model, a base URL and a monthly token cap.
Enable it and ask
Switch it on, then ask Claude to use your model for a task.
# for example Use my model to write 10 hook variations for this post, then pick the best 3.
Questions
API Looper, answered
What is API Looper?
API Looper is a free, open-source Claude Desktop extension that lets Claude hand work to a model you access with your own API key. Claude plans and reviews; your model does long drafting, rewriting and bulk tasks.
Which models and providers does it support?
Kimi (Moonshot), OpenAI, OpenRouter, DeepSeek, Google Gemini, the Anthropic API, and any OpenAI-compatible endpoint through the custom setting.
Does it change the model Claude Desktop runs on?
No. Your Claude chat stays on your Claude plan. API Looper adds a second model that Claude can delegate tasks to.
Where is my API key stored?
Claude Desktop stores it in your system keychain. Usage tracking stays on your computer, in ~/.api-looper/usage.jsonl.
How do I keep spending under control?
Set an optional monthly token cap, and delegation stops once it's reached. Nothing is spent until Claude delegates a task, and you can ask Claude to check your balance or monthly usage at any time.
Is API Looper free?
Yes. It's MIT licensed and free to use, fork and adapt. You pay only your own provider for the tokens your model uses.
Get API Looper. Free.
Download the extension from GitHub, add your key and start delegating in a few minutes.
Share it with your community
Know a builder who'd use this? Send them the page.
More free tools
Pairs well with

Skill Router
Keep hundreds of Claude skills and carry only one, loaded from your GitHub library.
See how it worksAI Readiness Check
Score your strategy, data, systems, governance and people in five minutes.
Start the checkAI Health and Sovereignty Check
See how dependent you are on outside AI vendors, and how easily you could switch.
Start the checkWant this kind of AI inside your organisation?
Inova builds BLDR OS, the governed agent layer that runs on the systems and models you already own.