Hacker GitHub

← All repos

NadirRouter/NadirClaw

View on GitHub ↗ ★ 664 Python

Source-available LLM router and AI cost optimizer. Routes simple prompts to cheap or local models and complex ones to premium models, automatically. Drop-in OpenAI-compatible proxy for Claude Code, Codex, Cursor and OpenClaw. Self-hosted, no middleman.

6 mentions on Hacker News by 1 person: 2 stories, 4 comments · first 2026-02-16 · latest 2026-02-28

Mentions per year 6 mentions · busiest year 2026 (6)
20082026
  1. …it could route those to a cheaper model entirely and save your Claude quota for the hard stuff. https://github.com/doramirdor/NadirClaw (disclosure: I'm the author)
  2. …two would work well together - tracking + optimization. (Disclosure: I'm the author of NadirClaw - https://github.com/doramirdor/NadirClaw )
  3. …the routing side (classifies prompts, routes to cheaper models). Could see these stacking well. https://github.com/doramirdor/NadirClaw
  4. …routes to cheap/local models automatically. Works with Claude Code, Cursor, aider out of the box. https://github.com/doramirdor/NadirClaw (author)