mofcloud

LLM API Price Comparison

Run one workload (input / output tokens × requests per day) through several models and see the per-request, daily and monthly cost side by side.

Models Up to 5
Workload

ModelInput / Output / 1MPer requestPer dayPer monthvs cheapest

A month is 30 days. CNY-priced models convert at 1 USD = 6.6645 CNY (2026-11-24). Official list prices; check each vendor before you commit.

How to use it

Pick 3–5 candidate models. The defaults are the current flagships from the major labs; use “Add model” to swap in what you are really considering — e.g. the same lab’s Flash / Mini tier to see what you would save.

Then enter one fixed workload: average input tokens per request (system prompt + user message + retrieved context), output tokens, and requests per day. Every model gets the same numbers, so the gaps in the table are pure price.

No stable averages yet? Turn on “Range estimate”, enter a low and a high case, and each model gets a cost range.

How LLM API pricing is calculated

Cost per request = input tokens × input price + output tokens × output price, with prices quoted per million tokens. Daily = per request × requests per day; a month is 30 days.

Output usually costs 2–5× more than input, so “long input, short output” work (summaries, classification) and “short input, long output” work (writing, code generation) can rank models very differently — which is why you should compare on your own workload.

Caching: many vendors bill repeated input prefixes (a fixed system prompt, knowledge-base context) at a lower cached-input price. Set a cache hit rate and that share of input is priced at each model’s published cache price; models without one use the normal input price.

Reasoning models bill their thinking tokens at the output price — add them to “Output tokens” to estimate.

Official prices of the default models

ModelInput / 1MOutput / 1MCached / 1M
GPT-6.2 Astra OpenAI$8.00$40.00$0.400
Claude Fable 5.2 Anthropic$8.00$40.00$0.200
Gemini 4 Neon Google$3.00$15.00$0.150
DeepSeek V4 Pro DeepSeek$1.35$4.05$0.045

FAQ

How is this different from the token cost calculator?

The token cost calculator ranks every model on one workload — good for a first pass. This page compares only the 3–5 models you shortlist and shows daily and monthly cost plus the gap between cheapest and most expensive — good for the final budget decision.

Why enter input and output tokens separately?

Almost every vendor prices output higher than input, typically 2–5×. A single blended price misestimates both long-input/short-output and short-input/long-output workloads.

How do I estimate the cache hit rate?

Look at how much of each request is a fixed prefix — system prompt, few-shot examples, static knowledge-base context. That share of input is roughly the most you can cache. If unsure, leave it at 0 to get the undiscounted upper bound.

Which LLM API is the cheapest?

It depends on your input/output mix and volume, which is why the table re-ranks as you type. Small “Flash / Mini / Haiku” tiers and Chinese models such as DeepSeek and Qwen are usually far cheaper per token than flagships; check that quality holds for your task before switching.

How current are the prices?

Models and prices sync daily from each vendor’s official pricing page; Chinese models are priced in CNY and converted at the daily exchange rate. Batch API and volume discounts are not included — your invoice and contract are authoritative.

List prices are the start. Your bill is the rest.

Mofis reads your real bills from 12 clouds, discounts included, and an AI cloud architect tells you what to cut.