Projets
Voir sur GitHub
fujc683/cheap-llm-api
À propos
Every LLM on APIMart ranked by price, plus a two-tier routing pattern.
IA et apprentissage automatiqueProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Historique en cours
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalCheap 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
Explorer des projets similaires
Chargement…