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
Estimate your API spend
Enter token counts for one request. Put each input token in one field. Include billable reasoning tokens in output.
Gemma 4 26B A4B IT · Vertex
$27.00 / month
$0.0027 per request
Cost breakdown per request
- Uncached input
- $0.0015
- Output
- $0.0012
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.
| Model | Provider | Input | Output | Cache read | Context |
|---|---|---|---|---|---|
| Claude Haiku 4.5 | Anthropic | $1.00 | $5.00 | $0.10 | 200,000 |
| GPT-5 Pro | OpenAI | $15.00 | $120.00 | — | 400,000 |
| Nano Banana | Vertex | $0.30 | $2.50 | — | 65,536 |
| Nano Banana | $0.30 | $2.50 | — | 65,536 | |
| GLM-4.6 | Z.AI | $0.60 | $2.20 | $0.11 | 204,800 |
| GLM-4.6 | Zhipu AI | $0.60 | $2.20 | $0.11 | 204,800 |
| Qwen3-VL Plus | Alibaba (China) | $0.143353 | $1.433525 | $0.028671 | 262,144 |
| Qwen3-VL Plus | Alibaba | $0.20 | $1.60 | $0.04 | 262,144 |
| Qwen3-Omni Flash | Alibaba (China) | $0.258 | $0.989 | — | 65,536 |
| Qwen3-Omni Flash | Alibaba | $0.43 | $1.66 | — | 65,536 |
| Seed Translation | Volcengine Ark | $0.17989 | $0.53966 | — | 4,000 |
| Command A Translate | Cohere | $2.50 | $10.00 | — | 8,000 |
| Command A Reasoning | Cohere | $2.50 | $10.00 | — | 256,000 |
| GLM-4.5V | Z.AI | $0.60 | $1.80 | $0.11 | 64,000 |
| GLM-4.5V | Zhipu AI | $0.29879 | $0.89637 | $0.05976 | 64,000 |
| GPT-5 | OpenAI | $1.25 | $10.00 | $0.125 | 400,000 |
| GPT-5 Mini | OpenAI | $0.25 | $2.00 | $0.025 | 400,000 |
| GPT-5 Nano | OpenAI | $0.05 | $0.40 | $0.005 | 400,000 |
| Command A Vision | Cohere | $2.50 | $10.00 | — | 128,000 |
| Codestral 25.08 | Mistral | $0.30 | $0.90 | $0.03 | 256,000 |
| Qwen Flash | Alibaba (China) | $0.022 | $0.216 | $0.0044 | 1,000,000 |
| Qwen3 Coder Flash | Alibaba (China) | $0.144 | $0.574 | $0.0288 | 1,000,000 |
| Qwen Flash | Alibaba | $0.05 | $0.40 | $0.01 | 1,000,000 |
| Qwen3 Coder Flash | Alibaba | $0.30 | $1.50 | $0.06 | 1,000,000 |
API pricing and model specs
Token rates in USD per million. A dash means the source did not report a value.
| Metric | Gemma 4 26B A4B IT |
|---|---|
| Uncached input | $0.15 |
| Output | $0.60 |
| Cache read | $0.015 |
| Cache write | — |
| 1-hour cache write | — |
| Batch input | — |
| Batch output | — |
| Long-prompt pricing | — |
| Batch long-prompt pricing | — |
| Other token rates | — |
| Other published fees | — |
| Billing notes | — |
| API provider | Vertex |
| Model ID | google/gemma-4-26b-a4b-it-maas |
| Model family | gemma |
| Description | Open Gemma instruction model for efficient chat and self-hosted deployments |
| Context window | 262,144 |
| Maximum input | — |
| Maximum output | 128,000 |
| Input modalities | text, image |
| Output modalities | text |
| Reasoning | Yes |
| Tool calling | Yes |
| Structured output | Yes |
| Open weights | Yes |
| Release date | 2026-04-02 |
| Knowledge cutoff | — |
| API lifecycle | alpha |
| 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.
