doramirdor/Nadir
Nadir is a Python package designed to dynamically choose the best llm for your prompt by balancing complexity and cost and response time.
This tool helps AI application developers and product managers automatically choose the best large language model (LLM) for any given text prompt. It takes your prompt, analyzes its complexity and length, and then selects an LLM from providers like OpenAI, Anthropic, or Google that balances accuracy, response speed, and cost-effectiveness. The output is a response generated by the optimally chosen LLM, ensuring you get the best results without overspending.
No commits in the last 6 months.
Use this if you are building an application that uses LLMs and you want to dynamically optimize which model to use for each user prompt to save on costs and improve performance.
Not ideal if you always use the same LLM for all tasks and don't require dynamic model selection or cost optimization.
Stars
67
Forks
3
Language
Python
License
—
Category
Last pushed
Feb 11, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/doramirdor/Nadir"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
datawhalechina/hello-claw
哈喽!龙虾 🙋♀️,首个体系化 openclaw 中文开源教程 | Adopt from scratch and build your first claw 🦞 来领养你的第一只龙虾!
doramirdor/NadirClaw
Open-source LLM router & AI cost optimizer. Routes simple prompts to cheap/local models, complex...
atharv404/ClawRoute
Intelligent Cost-Optimizing Model Router for OpenClaw
NadirRouter/NadirClaw
Open-source LLM router & AI cost optimizer. Routes simple prompts to cheap/local models, complex...
Wscats/who-is-actor
把摸鱼的同事揪出来🤪