المشاريع
عرض على GitHub
fujc683/cheap-llm-api
حول
Every LLM on APIMart ranked by price, plus a two-tier routing pattern.
الذكاء الاصطناعي وتعلّم الآلةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- جارٍ جمع السجل
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلCheap LLM API — price per million tokens, ranked
Every LLM on APIMart ranked by cost, plus a two-tier routing pattern that cuts bills ~70%.
https://gola.apimart.ai/k-KvaHgX
Cheapest capable LLMs, ranked
| Model | Input /1M | Output /1M | Best for |
|---|---|---|---|
| DeepSeek V3.2 | $0.14 | $0.28 | bulk classification, extraction |
| Qwen3.7 Flash | $0.15 | $0.60 | cheap chat |
| Step 3.7 Flash | $0.15 | $0.93 | tool calling |
| Qwen3.8 Max | $1.37 | $4.11 | harder reasoning |
| Qwen4 Max | $1.43 | $4.29 | hardest reasoning, Chinese |
How to cut LLM spend
- Route by difficulty — cheap model first, escalate on low confidence
- Cache the stable prefix — system prompts are re-billed every call
- Cap reasoning —
max_tokenslimits the thinking budget too - Batch — 1,000 small calls cost more than 10 batched ones
Two-tier routing pattern
def answer(q):
cheap = call("deepseek-v3.2", q)
if cheap.confidence > 0.8:
return cheap
return call("qwen4-max", q)
Typical split: 80% cheap, 20% strong → ~70% lower bill than always-strong.
Cost of a real workload
| Workload | Model | Monthly cost |
|---|---|---|
| 1M classify calls | DeepSeek | $42 |
| 100K support replies | Qwen4 Max | $98 |
| 10K agent runs | Qwen4 Max | $137 |
Related
- All prompt collections: fujc683 repositories
License
CC BY 4.0
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…