API cost calculator

Work out what an AI API would cost at OpenRouter's published list prices. Change the model, the calls per day and the tokens in each request. The estimate updates as you type, and the address bar keeps the inputs so you can bookmark or share the result.

This is a planning estimate, not a quote. It uses list prices only: no account, no API key and no request is sent from this page. Read free vs paid AI if you are still deciding whether you need an API at all.

Your workload

Prices per 1 million tokens, from OpenRouter, updated Nov 25, 2026.

One API call or message.

Roughly 1,000 tokens is a few pages of text. Output tokens are usually the more expensive kind.

$1.35 USD per month

OpenAI: GPT-6 Luna · $0.10 USD per 1M input tokens, $0.50 USD per 1M output tokens

Per request
$0.00045 USD
Per day
$0.045 USD
Per 30-day month
$1.35 USD
Per 12 months (360 days)
$16.20 USD

Context window: 1.05M tokens. This workload sends 2K input and 500 output tokens per request.

Three cheapest models for this token mix

For 100 requests a day at 2K tokens in and 500 tokens out, over 30 days.

Three cheapest paid models for this token mix
ModelInput / 1MOutput / 1MEstimate / month
Upstage: Solar Mini 4.5 (Preview) $0.01 USD $0.04 USD $0.12 USD
inclusionAI: Ling 3.0 Tiny $0.015 USD $0.045 USD $0.1575 USD
Mistral: Mistral Nemo $0.029 USD $0.03 USD $0.219 USD

A lower list price is not a quality judgment. Compare scores on the benchmarks page, and check each provider's limits and terms.

What this estimate leaves out
  • Prices are list prices from OpenRouter on Nov 25, 2026, per 1 million tokens. They can change without notice.
  • A month is 30 days here. Real months are longer; your bill will use the provider's own billing period.
  • Thinking models can generate hidden reasoning tokens, so the output count and the final price can be higher than the visible answer suggests.
  • Prompts, retries, failed calls, cached-input discounts and provider-specific fees are not modelled.
  • No API key is needed and nothing is sent. The four inputs live in the address bar only.

The default example is OpenAI: GPT-6 Luna. If that listing leaves the snapshot, the page uses the largest-context model among the cheapest quarter of paid listings.

Source: OpenRouter Models API · Credited to OpenRouter · Last updated · All sources