Skip to content
项目

关于

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

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

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

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

探索相关项目

加载中…