Back to articles
NadirClaw: Getting Started in 5 Minutes
How-ToTools

NadirClaw: Getting Started in 5 Minutes

via Dev.to TutorialDor Amir

NadirClaw is an open-source LLM router that cuts your AI API costs by 40-70%. It routes simple prompts to cheap models and complex ones to premium models, automatically. Zero code changes. This guide gets you running in under 5 minutes. What You'll Need Python 3.10+ A Gemini API key (free tier works, 20 requests/day: https://aistudio.google.com/apikey ) That's it. No Docker, no database, no extra services. Install pip install nadirclaw Or from source: curl -fsSL https://raw.githubusercontent.com/doramirdor/NadirClaw/main/install.sh | sh Configure Set your Gemini API key: nadirclaw auth add --provider google --key AIza... Or export it: export GEMINI_API_KEY = AIza... Start the Router nadirclaw serve --verbose NadirClaw starts on http://localhost:8856 with sensible defaults: Simple prompts → Gemini 2.5 Flash (cheap, fast) Complex prompts → Gemini 2.5 Pro (powerful) You'll see logs like this: [NadirClaw] Starting on http://localhost:8856 [NadirClaw] Simple model: gemini-2.5-flash [NadirCl

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
2 views

Related Articles