AIKit
LLM Tools

LLM Cost Calculator

Estimate API costs for LLM requests across providers and models.

Total cost
$6.25
Input cost
$1.25
Output cost
$5
Cost / request
$0.0063
Cost / 1K requests
$6.25
Cost / 1M requests
$6,250

How it works

LLM providers typically charge per million tokens, with separate rates for input (prompt) and output (completion) tokens. Total cost scales linearly with request volume.

Formula
input cost = (input tokens × requests / 1,000,000) × input price output cost = (output tokens × requests / 1,000,000) × output price total cost = input cost + output cost

Frequently asked questions

Is the pricing on this page current?

No — it's clearly marked example/demo pricing for illustration. LLM pricing changes often; always check the provider's official pricing page before making a decision.

Why are input and output tokens priced differently?

Most providers charge more for output tokens than input tokens, since generation is more computationally expensive than reading a prompt.

How do I estimate tokens per request?

Use the Token Calculator to estimate tokens from example prompts and responses, then plug those numbers in here.