doramirdor

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.

250
31
100% credibility
Found Feb 17, 2026 at 46 stars 5x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

NadirClaw is an open-source tool that acts as a smart middleman for AI chat requests, directing easy ones to low-cost or local models and hard ones to advanced paid models while mimicking standard chat services.

How It Works

1
🔍 Discover NadirClaw

You hear about a smart helper that saves money on AI chats by sending easy questions to free thinkers and tough ones to the best brains.

2
📦 Get it set up

With one simple command, you bring NadirClaw to your computer, like downloading a helpful app.

3
🧙 Run the friendly guide

A step-by-step wizard asks what AI friends you have and helps connect them so your helper knows who to ask.

4
🚀 Start your smart router

Hit go, and your personal AI traffic director wakes up, ready to handle chats on your local web spot.

5
💬 Chat smarter, spend less

Point your favorite AI tools or apps to it—they now automatically pick the right thinker for each question, feeling seamless and efficient.

💰 Save big on AI magic

You enjoy top answers without wasting money, as simple stuff goes cheap and complex gets premium power—your AI life just got better!

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 46 to 250 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is NadirClaw?

NadirClaw is an open-source LLM router that automatically directs simple prompts to cheap or local models like Ollama or Gemini Flash, while sending complex ones to premium options like Claude Sonnet or GPT-4o. It acts as a self-hosted, OpenAI-compatible proxy server, so tools like Cursor, Continue, OpenClaw, or even curl just point to localhost:8856 and get smart routing without changes. Built in Python, it installs via pip or a one-liner script, with a CLI for setup, serving, classification testing, and usage reports.

Why is it gaining traction?

Unlike paid routers like OpenRouter, NadirClaw is fully open source and self-hosted, with no usage fees—perfect as a GitHub Copilot alternative or open source LLM API for cost control. It stands out with ~10ms classification, agentic task detection for tools/loops, reasoning overrides, rate-limit fallbacks, and session pinning to avoid mid-chat model switches. Devs love the OAuth logins (no API keys needed) and integrations that auto-configure OpenClaw or Codex.

Who should use this?

AI agent users running OpenClaw or Codex who mix local Ollama with cloud providers to cut bills. Frontend/backend devs in Cursor/Continue workflows needing automatic tiering for code gen without prompt engineering. Cost-conscious teams evaluating open source LLM comparisons or leaderboards, wanting a drop-in proxy for multi-provider setups.

Verdict

Grab it if you're prototyping open source LLM for coding—CLI reporting and profiles like "eco" deliver real savings fast. At 28 stars and 1.0% credibility, it's early (beta docs solid, but light tests); production teams wait for more polish, but solo devs get an automatic money-saver today.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.