# NadirClaw

> 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.

- **Category:** AI
- **Licence:** Other
- **Latest version:** v0.25.1
- **Open source:** oss
- **Languages:** Python
- **Tags:** Proxy, LLM, Anthropic, Gemini, Openai, Ollama, Cost Optimization, Openclaw, AI, Python, Self Hosted, Codex, Cursor, Claude code, Llm gateway, Llm proxy, Llm router, Openai proxy, Model Routing, Ai Router, Ai Cost Reduction, Prompt Routing

## Description

NadirClaw is an open-source alternative for reducing AI language model expenses. It automatically directs simple requests to cheaper models while reserving expensive models for complex tasks. The software runs locally via Docker Compose or pip install, storing configuration in ~/.nadirclaw/.env. Users can integrate it with coding agents like Claude Code, Cursor, and Codex as a drop-in OpenAI-compatible proxy.

## Links

- [Homepage](https://github.com/NadirRouter/NadirClaw)
- [Website](https://getnadir.com)

---
Source: https://selfhost.directory/project/nadirclaw