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.

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.

ModelProviderInputOutputCache readContext
Qwen-VL OCRAlibaba$0.07$0.16—38,192
Aya Expanse 32BCohere$0.50$1.50—128,000
Qwen Math TurboAlibaba (China)$0.287$0.861—4,096
Command RCohere$0.15$0.60—128,000
Command R+Cohere$2.50$10.00—128,000
GPT-4o (2024-08-06)OpenAI$2.50$10.00$1.25128,000
GPT-4o miniOpenAI$0.15$0.60$0.075128,000
Codestral (latest)Mistral$0.30$0.90$0.03256,000
GPT-4oOpenAI$2.50$10.00$1.25128,000
Qwen MaxAlibaba (China)$0.345$1.377—131,072
Qwen MaxAlibaba$1.60$6.40$0.3232,768
Qwen PlusAlibaba (China)$0.115$0.287$0.0231,000,000
Qwen PlusAlibaba$0.40$1.20$0.081,000,000
text-embedding-3-largeOpenAI$0.13$0.00—8,191
text-embedding-3-smallOpenAI$0.02$0.00—8,191
SonarPerplexity$1.00$1.00—128,000
Sonar ProPerplexity$3.00$15.00—200,000
Sonar Reasoning ProPerplexity$2.00$8.00—128,000
Qwen Deep ResearchAlibaba (China)$7.742$23.367—1,000,000
Qwen Doc TurboAlibaba (China)$0.087$0.144—131,072
Qwen Plus CharacterAlibaba (China)$0.115$0.287—32,768
Qwen Plus Character (Japanese)Alibaba$0.50$1.40$0.108,192
Mistral EmbedMistral$0.10$0.00$0.018,000
text-embedding-ada-002OpenAI$0.10$0.00—8,192

API pricing and model specs

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

Metricgemma-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 providerVertex
Model IDgemma-4-26b-a4b-it
Model family—
Description—
Context window—
Maximum input—
Maximum output—
Input modalities—
Output modalitiestext
Reasoning—
Tool calling—
Structured output—
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.