LogoAI Jet

LLM API Pricing Calculator

Estimate monthly LLM API costs from input, output, and cache tokens. Search and filter provider pricing by model, context window, and token rates.

Catalog snapshot

Model and API provider

Estimate your API spend

Enter token counts for one request. Put each input token in one field. Include billable reasoning tokens in output.

gpt-5.4-2026-03-05 · OpenAI

$550.00 / month

$0.055 per request

Cost breakdown per request
Uncached input
$0.025
Output
$0.03

Estimates use USD list prices for text tokens. Your bill may also include search, multimodal inputs, cache storage, or account fees.

LLM API pricing table

613 first-party text API listings across 27 developer endpoints. Rates are in USD per million tokens.

ModelProviderInputOutputCache readContext
GLM-5Z.AI$1.00$3.20$0.20204,800
GLM-5Zhipu AI$0.59758$2.68911$0.1494204,800
GPT-5.3 CodexOpenAI$1.75$14.00$0.175400,000
Claude Opus 4.6Anthropic$5.00$25.00$0.501,000,000
Step 3.5 FlashStepFun (Global)$0.10$0.30$0.02256,000
Step 3.5 FlashStepFun (China)$0.10461$0.31384$0.02092256,000
GLM-4.7-FlashZ.AI$0.00$0.00$0.00200,000
GLM-4.7-FlashXZ.AI$0.07$0.40$0.01200,000
GLM-4.7-FlashZhipu AI$0.00$0.00$0.00200,000
GLM-4.7-FlashXZhipu AI$0.0747$0.44819$0.01494200,000
Jamba MiniAI21 Labs$0.20$0.40—256,000
MiniMax-M2.1MiniMax (minimax.cn)$0.3137$1.2549$0.0314204,800
MiniMax-M2.1MiniMax (minimax.io)$0.30$1.20$0.03204,800
GLM-4.7Z.AI$0.60$2.20$0.11204,800
GLM-4.7Zhipu AI$0.44819$2.09153$0.08964204,800
llama-nemotron-embed-vl-1b-v2Nvidia$0.00$0.00—8,192
llama-nemotron-rerank-vl-1b-v2Nvidia$0.00$0.00—10,240
Gemini 3 Flash PreviewVertex$0.50$3.00$0.051,048,576
Gemini 3 Flash PreviewGoogle$0.50$3.00$0.051,048,576
chatgpt-image-latestOpenAI$5.00$10.00$1.250
GPT-5.2OpenAI$1.75$14.00$0.175400,000
GPT-5.2 ProOpenAI$21.00$168.00—400,000
GLM-4.6VZ.AI$0.30$0.90$0.05128,000
GLM-4.6V-FlashZ.AI$0.00$0.00$0.00128,000

API pricing and model specs

Token rates in USD per million. A dash means the source did not report a value.

Metricgpt-5.4-2026-03-05
Uncached input$2.50
Output$15.00
Cache read$0.25
Cache write—
1-hour cache write—
Batch input$1.25
Batch output$7.50
Long-prompt pricing
  • Over 272,000 prompt tokens
    Uncached input $5.00 · Output $22.50 · Cache read $0.50
Batch long-prompt pricing
  • Over 272,000 prompt tokens
    Uncached input $2.50 · Output $11.25 · Cache read $0.25
Other token rates—
Other published fees—
Billing notes—
API providerOpenAI
Model IDgpt-5.4-2026-03-05
Model family—
Description—
Context window—
Maximum input1,050,000
Maximum output128,000
Input modalitiestext, image
Output modalitiestext
ReasoningYes
Tool callingYes
Structured outputYes
Open weights—
Release date—
Knowledge cutoff—
API lifecycle—
Provider replacement—
Sources

How to calculate LLM API costs

Multiply each token count by its matching rate, divide by one million, and add the results. Multiply the per-request cost by your monthly request volume. At $2 per million input tokens and $10 per million output tokens, a request with 10,000 input tokens and 2,000 output tokens costs $0.04. At 10,000 requests, that is $400 per month.

Use token counts from API responses when available. For workloads with different prompt lengths, calculate each group separately, especially when requests cross a long-context pricing threshold. Cache hits and writes can have different prices, and batch rates depend on the provider and model.

Where the data comes from

Each listing shows a model served through its developer’s own API. Developers may publish separate pricing for different regions or API endpoints. Historical rates for retired first-party endpoints remain available for comparison.

Models.dev supplies the base catalog. LiteLLM adds listings and billing fields where the developer endpoint and model ID match. Directly verified records link to the developer’s documentation.