Skip to content
Projets

À propos

Every LLM on APIMart ranked by price, plus a two-tier routing pattern.

IA et apprentissage automatique

Comment ces chiffres sont mesurés

Progression 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

Original

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%.

Awesome License: CC BY 4.0

👉 Use Qwen4 Max on APIMart

https://gola.apimart.ai/k-KvaHgX

💰 Pricing · 🔑 Get an API key


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

  1. Route by difficulty — cheap model first, escalate on low confidence
  2. Cache the stable prefix — system prompts are re-billed every call
  3. Cap reasoning — max_tokens limits the thinking budget too
  4. 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

License

CC BY 4.0

Explorer des projets similaires

Chargement…