AI API Cost Calculator

Estimate request costs from prompt text or direct token counts, then compare model pricing before you choose a model.

Request inputs

Estimated input tokens: 18. Enter token counts manually if you already know them.

Estimated cost

Input cost
$0.000002
Output cost
$0.00015
Per request
$0.000152
1K requests
$0.1518
10K requests
$1.518
100K requests
$15.18

Model details

Context window10,000,000 (10M)
Max output16,384 (16K)
TokenizerLlama4
Pricing updated6/22/2026, 6:07:28 PM
Input modalities
text
image
Output modalities
text