LLM API cost calculator

Pick a model, enter the tokens per request and the number of requests per day to see your cost in USD. Results are calculated the same way GoiAPI charges by token.

Ask AI and more
View as Markdown

Prices updated

Quick fill by use case

Prompt, files and chat history you send.

The model's response.

The repeated part of the prompt when your tool uses prompt caching.

Estimated cost with Claude Haiku 5.5

Estimated monthly cost: $0.2984

Per request
$0.00009945
Per day
$0.009945
Per month (30 days)
$0.2984

Based on public pricing, shown to 4 significant digits. Each request that returns content has a small minimum charge, so very short requests may cost slightly more than shown.

Using Claude Code? See daily and monthly Claude Code cost examples when paying per token, compared with a Max plan.

Example: a typical chat turn

Each request uses 2,000 input tokens and 500 output tokens, with no caching.

Model1 request1,000 requests
Claude Haiku 5.5$0.00009945$0.09945
Claude Opus 5.5$0.001989$1.989
DeepSeek V4 Pro$0.0005045$0.5045
DeepSeek V4.1 Flash$0.0001429$0.1429
GPT-6 Luna$0.000104$0.104
GPT-6.1 Sol$0.00065$0.65
GPT-6.2 Sol$0.00065$0.65
GLM 5.3$0.0005045$0.5045
GLM 5.3 Flash$0.0001429$0.1429

How it's calculated

  • Cost per request = (input tokens × input price + output tokens × output price + cache tokens × cache price) ÷ 1,000,000, rounded up.
  • Cost per day = cost per request × number of requests. A month is 30 days.
  • Each request that returns content has a small minimum charge, which only affects very short requests. A request that fails without returning any content is not charged, unless you cancel it yourself.

See each model's price on the Pricing page.