LogoAI Jet
  • Category
  • Blog
  • Pricing
  • Submit
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 2026-11-30

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.

GLM-5 · Z.AI

$164.00 / month

$0.0164 per request

Cost breakdown per request
Uncached input
$0.01
Output
$0.0064

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

337–360 of 539 listings

PreviousNext

API pricing and model specs

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

MetricGLM-5
Uncached input$1.00
Output$3.20
Cache read$0.20
Cache write$0.00
1-hour cache write—
Batch input—
Batch output—
Long-prompt pricing—
Batch long-prompt pricing—
Other token rates—
Other published fees—
Billing notes—
API providerZ.AI
Model IDglm-5
Model familyglm
DescriptionGeneral GLM flagship for coding, analysis, and tool-heavy engineering workflows
Context window204,800
Maximum input200,000
Maximum output131,072
Input modalitiestext
Output modalitiestext
ReasoningYes
Tool callingYes
Structured output—
Open weightsYes
Release date2026-02-12
Knowledge cutoff—
API lifecycle—
Provider replacement—
Sources
Models.devModel documentation

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.

  • Models.dev
  • LiteLLM

Related tools

  • All tools
  • Compare models
  • Calculate API costs
  • Check AI crawlers
  • Check Domain Rating
  • Estimate local VRAM
  • Clean AI text
LogoAI Jet

Free AI Tools list Best Directory AI Jet

GitHubX (Twitter)LinkedInFacebook
Built with Osek
Browse
  • Category
  • Blog
Tools
  • All Tools
  • AI Model Comparison
  • LLM API Pricing Calculator
  • llms.txt Generator
  • Free DR Checker
  • Local LLM VRAM Calculator
  • AI Text Cleaner
Resources
  • Submit
  • Pricing
  • Carbon Removal
Company
  • About Us
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Sitemap
Copyright © 2026 All Rights Reserved.