Monthly cost of Anthropic API and Groq at three volumes and at your own
Volume
Anthropic API
Groq
small1M input, 200K output
$0.20 / moClaude Haiku 5.5 (prompt <=100K tokens)
$0.036 / moLlama Prompt Guard 2 22M
growing50M input, 10M output
$10 / moClaude Haiku 5.5 (prompt <=100K tokens)
$1.80 / moLlama Prompt Guard 2 22M
scale1B input, 200M output
$200 / moClaude Haiku 5.5 (prompt <=100K tokens)
$36 / moLlama Prompt Guard 2 22M
your volumeset above
$10 / moClaude Haiku 5.5 (prompt <=100K tokens)
$1.80 / moLlama Prompt Guard 2 22M
Each cell is the cheapest feasible plan, or the chosen model, at that volume, from the shared Overage cost function. "Cheapest model" only considers models with both an input and an output price listed. Volumes are example scenarios you can edit.