NadirClaw: Optimize AI Costs
From the repo · “Open-source LLM router & AI cost optimizer. Routes simple prompts to cheap/local models, complex ones to premium — automatically. Drop-in OpenAI-compatible proxy for Claude Code, Codex, Cursor, OpenClaw. Saves 40-70% on AI API costs. Self-hosted, no middleman.”
NadirClaw automates AI cost savings by routing prompts to optimal models, saving 40-70% on AI API costs
- •When you're using multiple AI models and want to optimize costs
- •When you have simple and complex prompts and want to route them efficiently
- •When you want a self-hosted solution with no middleman
curl -X POST -H 'Content-Type: application/json' -d '{"prompt": "Write a short story about a character who discovers a hidden world"}' http://localhost:8080/completionsSkip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Works after you add credentials — the setup agent will ask you for them.
mkdir -p ~/.claude/skills/nadirclaw && curl -fsSL https://workflowstacks.com/api/skills/nadirclaw/claude-skill -o ~/.claude/skills/nadirclaw/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
NadirClaw: Optimize AI Costs is a large Python project (~22k lines across 53 code files, plus 53 test files). Setup is light: runs with Docker — add your API keys to .env. Last commit this month, Other license, has a test suite.
- 1README.mdStart here — what it does and how to install it
- 2nadirclaw/cli.pyWhere the program starts running
- 3pyproject.tomlDependencies and the commands it exposes
- 4.env.exampleThe API keys and settings you must provide
- 5nadirclaw/__init__.pyInside nadirclaw/ — the main logic begins here
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Works after you add credentials — the setup agent will ask you for them.
mkdir -p ~/.claude/skills/nadirclaw && curl -fsSL https://workflowstacks.com/api/skills/nadirclaw/claude-skill -o ~/.claude/skills/nadirclaw/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/nadirclaw?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Related skills
More ai-agent tools founders pair with this one.