by Meta AI

Llama 3.1 8B.

text open weights edge 8B params 128K ctx Transformer Quality 59.4
Cheapest input
$0.02/M
on DeepInfra
Cheapest output
$0.04/M
on DeepInfra
Smallest GPU
1× Nvidia GeForce RTX 3050
$0.043/hr
API pricing

What it costs per month across providers.

Estimate your monthly bill for Llama 3.1 8B across every host that publishes per-token pricing. Slide your token volumes; the chart + table re-rank cheapest-first.

最便宜
$0.28
DeepInfra
最贵
$2.4
Fireworks AI
差价
$2.12
最高 − 最低
服务商
5
有报价
100,000 1,000,000,000
100,000 500,000,000
月度账单

最便宜的服务商在左侧。

每月总成本 — 输入与输出 token 合计。

Loading...
按服务商

账单明细。

服务商 月度总计
$0.28 注册 ↗
$0.66 注册 ↗
$2.16 注册 ↗
$2.16 注册 ↗
$2.4
自托管方案

租 GPU,而不是按 token 付费。

完整明细 →

对于 Llama 3.1 8B 这类开放权重模型,你可以租一块 GPU 自己提供推理服务。算法:最便宜的 GPU 租价 × 每月 730 小时。电费已包含在租用的每小时价格中。

GPU 租用
$31.17
1× Nvidia GeForce RTX 3050 @ $0.043/hr
自托管合计
$31.17
每月
API 比自托管便宜
+$30.89
此处 API 更便宜

假设 GPU 全天 24 小时运行,利用率约 85%。如果流量时高时低,API 会更省钱,GPU 则可能更贵(空闲时段仍要付租金)。盈亏平衡分析见自托管与 API 盈亏平衡工具。

Full calculator
Want to compare token volumes across other models too? Open the standalone API pricing tool →