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.

22
/ 100
Experimental

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.

LLM-application-development AI-cost-optimization prompt-engineering AI-model-selection API-management
No License Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 8 / 25
Maturity 8 / 25
Community 6 / 25

How are scores calculated?

Stars

67

Forks

3

Language

Python

License

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.