What is it
Token-Based Pricing is a billing unit common in LLM and AI products, where customers are charged per input and output token processed.
A token is roughly ¾ of a word. Vendors quote rates per million tokens and almost always split input (the prompt you send) from output (the text the model generates), pricing output several times higher because generating it costs more compute. It is the dominant developer-API unit in the corpus — 66 of the in-corpus companies meter in tokens — because it maps nearly one-to-one to the vendor’s underlying GPU cost, which lets prices fall as that cost falls.
Because tokens track compute so directly, token-based pricing is the most transparent unit in AI — a buyer can multiply their own workload by the rate card and predict the bill. That same transparency makes the token rate the frontier of AI’s price war: when GPU cost falls or a competitor undercuts, it is the number that moves. The pattern spans the whole stack — frontier model APIs, inference clouds, embedding specialists, and coding tools that expose tokens under a credit layer all publish per-token rate cards, priced and compared in the sections below.
How it works
A token bill has more dimensions than the headline rate suggests:
| Dimension | What it means | Typical shape |
|---|---|---|
| Input rate | Price per 1M prompt tokens | The lower of the two |
| Output rate | Price per 1M generated tokens | ~3–6× the input rate |
| Cached input | Reduced rate for a repeated prefix (system prompts, RAG) | Far below cache-miss input |
| Batch | Async jobs at a discount | ~50% off both |
| Context tier | Higher rate above a context-length threshold | Some models step up past 200K |
The input/output split is the defining mechanic. Anthropic prices Claude Haiku 4.5 at $1/1M input and $5/1M output, Sonnet 4.6 at $3/$15, and Opus 4.8 at $5/$25 — a clean 5× output multiplier across the line. Cohere prices Command A at $2.50/$10 and Command R at $0.15/$0.60. The ratio itself is a signal of how generation-heavy a model is.
Worked example: a request with 8K input + 2K output on a $5/$30 model (like GPT-5.5) costs (8/1000 × $5) + (2/1000 × $30) = $0.04 + $0.06 = $0.10. Output is 60% of the bill on only 20% of the tokens — which is why response length, not prompt length, usually drives cost. Model your own input/output mix in the OpenAI token calculator or the Anthropic calculator.
Two vendor-native discounts sit on top of the headline rate. Prompt caching bills a repeated prefix far below the cache-miss rate — DeepSeek charges $0.0028/1M for a cache hit versus $0.14 cache-miss on V4-Flash (a 98% reduction), Google prices Gemini 2.5 Pro cached input at $0.13/1M versus $1.25, and xAI caches grok-4.3 input at $0.20/1M versus $1.25. Batch processing runs latency-tolerant jobs asynchronously at roughly 50% off — offered by Anthropic, Mistral AI, Groq and Fireworks AI. Together these mean the effective price a workload pays can be a small fraction of the sticker rate. See choosing the right usage metric for how to pick between token, seat, and outcome meters.
Companies using this
Sixty-six companies in the current corpus meter in tokens: frontier model APIs (OpenAI, Anthropic, Google, xAI, Mistral AI, DeepSeek, Cohere, and the open-weight labs Zhipu AI, MiniMax, Moonshot AI), inference and hosting clouds (Groq, Together AI, Fireworks AI, Baseten, Replicate, DeepInfra, Novita AI), embedding specialists (Voyage AI, Nomic, Jina AI), an aggregator layer (OpenRouter), and app-layer products that expose tokens as one unit among several (Cursor, Codeium, Windsurf, Writer, Perplexity AI). The table lists each rate structure.
Patterns observed
-
Input/output split is near-universal, and the ratio is a signal. Almost every token API prices output above input, and the multiplier (commonly 3–6×) reflects how generation-heavy the model is. The clear exception is embedding-only vendors — Voyage AI, Nomic and Jina AI quote a single per-token rate because embeddings produce no generative output.
-
Caching and batch discounts are now standard. Cache rates and 50% async batch tiers appear across DeepSeek, Google, xAI, Anthropic, Mistral AI and Fireworks AI, decoupling the effective price of a repeat-context workload from the headline number — see latency-tiered discounts.
-
Open-weight labs compete purely on the token rate. DeepSeek, Moonshot AI, MiniMax and Zhipu AI have no seat-based product to hide behind — their entire go-to-market is a lower number on the rate card, and the inference clouds (Together AI, Fireworks AI, DeepInfra) resell those weights per-token, sometimes at prices scaled by parameter count ($0.10/1M under 4B, rising with model size on Fireworks).
-
Per-token prices only move down. The deflation is so consistent that re-pricing is an expected event each model generation. OpenAI’s per-capability cost fell ~97× from GPT-4 to GPT-4o mini; xAI cut grok input ~75% from $5/1M at the 2024 grok-beta launch to $1.25 on grok-4.3. See token-price deflation.
-
Tokens are the transparent floor under credit abstractions. App-layer products like Cursor convert tokens into credits (its request pool debits at $1.25/1M input, $6/1M output, $0.25/1M cache read), but the token is the honest unit underneath — which is why developer buyers keep asking for the raw rate.
Counterexamples & variants
Not every AI workload is naturally tokenised, and several companies on this page bill tokens for text while metering other modalities differently. Voyage AI’s multimodal models run two meters at once — $0.12/1M text tokens plus $0.60 per 1B pixels, with each image clamped between a $0.00003 floor and a $0.0012 ceiling — because a “token” doesn’t describe an image. xAI tokenises text but prices images from $0.02 each, TTS at $15 per 1M characters, and speech-to-text from $0.10/hour. Deepgram and AssemblyAI appear in the token list for their LLM/understanding features but meter core transcription per minute or per hour, where audio duration — not tokens — is the real cost driver.
The most common variant is tokens hidden behind credits. Cursor denominates its bill in a request/credit pool while tokens drive the underlying cost; Mistral AI runs a two-track model where its Vibe assistant is a flat $0–$24.99/user/month subscription while only the developer API is per-token. This is convenient for the buyer but less transparent on true unit economics — the abstraction lets the vendor change underlying token economics without renegotiating the plan.
A subtler failure mode is context-tier surprise. Some models step to a higher per-token rate above a context-length threshold (Google’s Gemini line historically stepped past ≤200K context), so a workload that grows its prompt can cross into a more expensive band without changing models. Buyers who budget on the short-context headline rate can be caught out when long-context RAG pushes them over the line. For workloads where duration, pixels, or requests track cost better than tokens, forcing a token meter obscures rather than clarifies the bill.
What this means for buyers vs vendors
For buyers
Model cost on output length, not prompt length — output is where the bill concentrates. Before you negotiate a rate, exploit the two free levers first: prompt caching for stable prefixes (system prompts, RAG context) and batch for anything latency-tolerant. Then re-baseline at least twice a year, because prices fall every model generation — a workload priced on last year’s rate card is almost certainly overpaying.
Watch for tokens hidden behind credits. When a product like Cursor bills in a request pool, ask for the underlying per-token debit so you can compare it against a raw API. And check for context-tier step-ups before you commit a long-context workload. Model your real input/output mix in the Cursor calculator or a frontier-model calculator, and read the introduction to usage-based pricing to frame token cost against seat and outcome alternatives.
For vendors
Token pricing is the transparent default developers expect — publish input/output rates openly and add caching and batch tiers to compete on effective price without cutting your headline rate. Open-weight labs like Moonshot AI and DeepSeek have shown the token rate is the entire competitive surface when there’s no seat product to differentiate on, so expect continued downward pressure and design your margin around falling GPU cost rather than a fixed sticker price.
If your workload isn’t naturally tokenised — audio, image, video, embeddings — pick the unit that tracks your cost (minutes, characters, pixels, GPU-seconds) rather than forcing tokens, as Voyage AI’s dual pixel-plus-token meter and Deepgram’s per-minute transcription demonstrate. And decide deliberately whether to pass tokens through transparently or bundle them behind credits: the abstraction buys pricing flexibility but costs you the trust that transparent per-token rates earn with technical buyers. See choosing the right usage metric for the trade-offs.
| Company | Product | Pricing model | Billing units | Free tier | Verified |
|---|---|---|---|---|---|
| 01.AI | Yi open-weight models + Yi API + enterprise vertical solutions | Yes | 2026-06-11 | ||
| AI21 Labs | Jamba foundation models, Maestro orchestration & enterprise AI | Yes | 2026-06-11 | ||
| Aider | Open-source CLI AI pair programmer | Yes | 2026-06-08 | ||
| Aleph Alpha | PhariaAI sovereign-AI platform, specialized models & professional services | No | 2026-06-11 | ||
| Anthropic | Claude API (token-based) + Claude.ai consumer subscriptions (Free/Pro/Team/Enterprise) | Yes | 2026-07-06 | ||
| AssemblyAI | Speech-to-Text & Audio AI APIs | Yes | 2026-07-06 | ||
| Baichuan AI | Baichuan & medical M-series LLM APIs | Yes | 2026-06-11 | ||
| Baseten | ML inference infrastructure — dedicated GPU deployments, Model APIs, and Truss framework | Yes | 2026-05-29 | ||
| Bolt.new | AI full-stack web app generation (StackBlitz) | Yes | 2026-06-08 | ||
| Braintrust | LLM evaluation & observability platform | Yes | 2026-06-09 | ||
| Browserbase | Browser-agent infrastructure: headless browser sessions, web Search/Fetch APIs, agent identity, runtime, and a model gateway behind one API key | Yes | 2026-06-02 | ||
| Cerebras | Wafer-scale AI inference cloud and WSE hardware systems | Yes | 2026-05-30 | ||
| Claude Code | Agentic coding tool by Anthropic (terminal CLI, IDE, web) | No | 2026-06-16 | ||
| Codeium | AI coding assistant (free extension) + Windsurf AI-first IDE (freemium + seat subscription) | Yes | 2026-05-29 | ||
| Cohere | Command, Embed, Rerank APIs | Yes | 2026-05-29 | ||
| Continue.dev | Open-source AI coding agent (IDE extension + hosted platform) | Yes | 2026-06-24 | ||
| Cursor (Anysphere) | AI code editor | Yes | 2026-05-30 | ||
| Databricks (Mosaic AI) | Mosaic AI — enterprise GenAI & ML on the Data Intelligence Platform | Yes | 2026-06-15 | ||
| Deepgram | Usage-based speech-to-text, text-to-speech, and voice agent APIs | Yes | 2026-05-31 | ||
| DeepInfra | Serverless inference cloud — per-token LLM/embedding APIs, per-image and per-minute media models, per-hour on-demand GPU containers, and reserved DeepCluster GPU clusters | No | 2026-06-30 | ||
| DeepSeek | DeepSeek API (V4-Flash + V4-Pro models, 1M context) with token-based pricing and aggressive cache discounts | Yes | 2026-06-05 | ||
| Dust | Enterprise AI agent deployment platform | Yes | 2026-06-24 | ||
| Fireworks AI | Generative AI inference platform — serverless per-token, on-demand GPU, fine-tuning, batch API | Yes | 2026-05-30 | ||
| Gemini API & AI Studio | Yes | 2026-07-06 | |||
| Grok | xAI's consumer and business AI assistant | Yes | 2026-06-16 | ||
| Groq | GroqCloud — LPU-based ultra-low-latency inference API for Llama, GPT-OSS, Qwen, Whisper, and Mixtral | Yes | 2026-05-29 | ||
| Gumloop | No-code AI workflow and agent automation platform billed on credits | Yes | 2026-06-30 | ||
| Hugging Face | AI model hub, inference endpoints & compute | Yes | 2026-06-15 | ||
| Hyperbolic | GPU cloud marketplace & serverless AI inference | Yes | 2026-06-15 | ||
| Inflection AI | Enterprise foundation models (Inflection 3.0) + Pi assistant | No | 2026-06-11 | ||
| Janitor AI | Consumer AI character chat / roleplay platform | Yes | 2026-06-16 | ||
| Jina AI | Search Foundation API (Embeddings, Reranker, Reader, DeepSearch, Classifier) | Yes | 2026-06-03 | ||
| Lightning AI | Cloud GPU/CPU Studio compute platform for building, training, and serving AI models, billed by the second with a credit pool. | Yes | 2026-06-02 | ||
| Magic AI | Frontier long-context code models | No | 2026-06-08 | ||
| Make | Visual, no-code automation (iPaaS) platform connecting 3,000+ apps and AI agents | Yes | 2026-06-11 | ||
| MiniMax | Foundation models, Hailuo video & per-token API | Yes | 2026-06-11 | ||
| Mistral AI | Open and commercial LLM APIs | Yes | 2026-07-06 | ||
| Moonshot AI | Kimi assistant + Kimi/Moonshot open-weight LLM API | Yes | 2026-06-11 | ||
| Netlify | Web development & deployment platform (Agent Runners / AI) | Yes | 2026-07-06 | ||
| Nomic | Nomic Platform (AEC agentic workflows) + Atlas data-exploration app + Nomic Embed embedding/Developer API | Yes | 2026-06-04 | ||
| Novita AI | Pay-as-you-go AI cloud: 200+ model inference APIs, on-demand GPUs, and per-second agent sandboxes under one API | Yes | 2026-07-06 | ||
| OctoAI | Generative AI inference platform (acquired by NVIDIA, sunset Oct 2024) | No | 2026-06-15 | ||
| OpenAI | ChatGPT consumer subscriptions + GPT-5.x API with token-based usage billing | Yes | 2026-06-30 | ||
| OpenPipe | OpenPipe fine-tuning and hosted inference platform (small specialized models / RL for agents) | Yes | 2026-06-04 | ||
| OpenRouter | Multi-model LLM API routing marketplace | Yes | 2026-06-10 | ||
| Perplexity AI | AI-native answer engine with citations and multi-model search | Yes | 2026-05-29 | ||
| Pipedream | Workflow automation and integration platform for developers | Yes | 2026-06-16 | ||
| Poolside | AI coding foundation model | No | 2026-06-16 | ||
| Predibase | Fine-tuning & serving platform for open-source LLMs | Yes | 2026-06-15 | ||
| Reka AI | Natively multimodal models (Spark, Edge, Flash, Core) + Research & Vision APIs | Yes | 2026-06-11 | ||
| Replicate | Cloud platform for running, fine-tuning, and deploying AI models via REST API | Yes | 2026-05-30 | ||
| Rewind.ai (the original Rewind AI rebranded to Limitless, acquired by Meta) | AI tools aggregator (token-balance) — on the domain once home to the Rewind personal-memory app | Yes | 2026-06-15 | ||
| SambaNova | SambaNova Cloud inference API & RDU AI systems | Yes | 2026-06-15 | ||
| Sarvam AI | Sovereign Indic LLM, speech & translation APIs | Yes | 2026-06-11 | ||
| Snowflake Cortex | AI functions and model APIs on Snowflake | Yes | 2026-07-06 | ||
| Tabnine | Private, deployable-anywhere AI coding platform (completions, chat, agents) | No | 2026-06-09 | ||
| Together AI | AI Acceleration Cloud — serverless inference, dedicated endpoints, GPU clusters, Code Sandbox, fine-tuning | Yes | 2026-06-30 | ||
| Twelve Labs | Video understanding foundation models (Marengo for search/embeddings, Pegasus for analysis) delivered as a usage-metered API | Yes | 2026-06-02 | ||
| V0 by Vercel | AI UI component generation by Vercel | Yes | 2026-06-08 | ||
| Vercel | Frontend cloud platform | Yes | 2026-07-06 | ||
| Voyage AI | Embedding and reranker models (text, code, multimodal) for retrieval and RAG | Yes | 2026-06-04 | ||
| Weaviate | AI-native vector database (open-source core + Weaviate Cloud managed serverless, dedicated/Enterprise Cloud, BYOC) | Yes | 2026-07-06 | ||
| Weights & Biases | MLOps experiment tracking, W&B Weave LLM observability/evals, Models registry, and Serverless Inference | Yes | 2026-06-16 | ||
| Windsurf | Agentic AI software development IDE | Yes | 2026-06-08 | ||
| Writer | Enterprise agentic AI platform (Palmyra models, WRITER Agent) | No | 2026-06-15 | ||
| xAI | Grok API and agentic AI stack | Yes | 2026-06-11 | ||
| Zhipu AI | GLM foundation models, per-token API, and GLM Coding Plan | Yes | 2026-06-11 |
Explore this theme in the knowledge graph
FAQ
What is token-based pricing?
Token-based pricing charges per token of text processed — typically quoted per million tokens, with input (your prompt) and output (the model's response) priced separately. It's the dominant billing unit for LLM APIs because tokens map almost directly to the vendor's compute cost.
Why does output cost more than input?
Generating output is more compute-intensive than reading input — each output token requires a full autoregressive forward pass, while input processes in parallel. Frontier APIs commonly price output 3–6x higher than input; Anthropic's Claude Opus 4.8 is $5/1M input and $25/1M output, and OpenAI's GPT-5.5 is $5 input and $30 output.
How can I reduce a token bill without changing models?
Two standard levers: prompt caching (a reduced rate on repeated input like a fixed system prompt — Anthropic bills cache reads far below cache-miss input, and DeepSeek's cache-hit input is $0.0028/1M vs $0.14 cache-miss) and batch processing (~50% off for asynchronous jobs on Anthropic, Mistral, Groq and others).
How many companies in the corpus meter in tokens?
66 in-corpus companies use tokens as a billing unit — frontier model APIs (OpenAI, Anthropic, Google, xAI, Mistral, DeepSeek, Cohere), inference clouds (Groq, Together AI, Fireworks AI, Baseten), embedding vendors (Voyage AI, Nomic, Jina AI), and app-layer coding tools that expose or convert tokens (Cursor, Codeium, Windsurf).
Are token prices rising or falling?
Falling. Every frontier vendor has cut per-token prices at least once per model generation, and open-weight models keep resetting the floor — DeepSeek-V2 launched at $0.14/1M input in 2024, and OpenAI's GPT-4o mini at $0.15/1M input is roughly 97x cheaper than the original GPT-4. Token cost is deflating even as human-facing subscriptions rise.
Related billing units
- Credit-Based BillingA billing unit where customers pre-purchase or are allocated a pool of credits that deplete as they use the product, often at variable rates per feature.
- Per-Seat PricingA billing unit where the vendor charges a fixed fee per named user, regardless of how much each user consumes.
- Per-Resolution PricingA billing unit unique to AI customer-support products, where the vendor charges only when an AI agent resolves a customer issue without escalation.
- Bandwidth-Based PricingA billing unit where customers are charged per gigabyte of data transferred out of the platform.
- Per-Function-Invocation PricingA billing unit where customers are charged per serverless function invocation, often combined with a separate compute-time charge.
- CPU-Hour PricingA billing unit where customers are charged for the CPU time their workloads consume, typically measured in vCPU-seconds or vCPU-hours.
- GB-Hour PricingA billing unit where customers are charged for the memory their workloads consume over time, measured in gigabyte-hours.
- GPU-Hour PricingA billing unit where customers are charged for GPU time consumed, typically measured per-second or per-hour by GPU type.
- Per-API-Call PricingA billing unit where customers are charged per API request, regardless of payload size or processing time.
- Per-GB Storage PricingA billing unit where customers are charged per gigabyte of data stored on the platform per month.
- Media-Minute PricingA billing unit where customers are charged per minute of audio or video processed — used by speech, voice, and video AI vendors.
- Per-Request PricingA billing unit where customers are charged per request served — the generic meter for inference endpoints, search, scraping, and browser infrastructure.
- Per-Event PricingA billing unit where customers are charged per event ingested — the native meter of observability and billing-infrastructure platforms.
- Vector Storage PricingA billing unit where customers are charged for vectors stored or indexed — the storage dimension of vector database pricing.
- Per-Character PricingA billing unit where customers are charged per character of text processed — the standard meter for text-to-speech and translation.
- Per-Document PricingA billing unit where customers are charged per document processed or generated — common in AI writing, SEO, and document-intelligence tools.
- Per-Page PricingA billing unit where customers are charged per page crawled, parsed, or rendered — the meter for web scraping and document parsing.
- Per-Transaction PricingA billing unit where customers are charged per financial or billing transaction processed — the meter of billing and accounting platforms.
- Active-User PricingA billing unit where customers are charged per monthly or daily active user rather than per provisioned seat.
- Per-Task PricingA billing unit where customers are charged per task an automation or agent executes — Zapier's historical unit, now spreading to AI agents.
- Per-Unit PricingA billing unit used by robotics, hardware AI, and some SaaS companies where the metered object is a physical or abstract 'unit' — a robot deployed, a device sold, or a defined deliverable.
- Workflow Execution PricingA billing unit where each end-to-end workflow or automation run is metered and billed, regardless of the compute steps it contains.
- Per-Message PricingA billing unit where each individual message or reply in a conversation is metered, common in AI chat and voice platforms.
- Per-Invoice PricingA billing unit used by billing infrastructure platforms where each invoice generated or processed is metered as the primary cost driver.
- Per-Action PricingA billing unit where each discrete action taken by an AI agent or automation is metered — common in browser automation and agentic workflow tools.
- Per-Image PricingA billing unit where each AI-generated image is metered, common in image generation APIs and multimodal AI platforms.
- Per-Conversation PricingA billing unit where each complete customer conversation — from first message to resolution — is metered as a single chargeable event.
- Per-Record PricingA billing unit where each data record processed, labeled, or extracted is metered — common in data platforms and web scraping services.
- Per-Word PricingA billing unit common in translation and localization platforms where the metered object is the word count of content processed.
- Per-Video PricingA billing unit where each AI-generated video is metered, common in video generation and synthetic media platforms.
- Milestone-Based PricingA billing unit used in drug discovery and biotech AI where payment is tied to achieving defined research milestones rather than time or compute consumed.
- Per-Outcome PricingA billing unit where payment is triggered by verified outcomes delivered — distinct from outcome-based pricing models, this refers specifically to 'outcomes' as a countable billing unit.
- Per-Datapoint PricingA billing unit where each individual data measurement or signal ingested is metered — common in cloud cost intelligence and ML evaluation platforms.
- Per-Interaction PricingA billing unit where each patient-agent or user-agent interaction is metered, common in healthcare AI and customer engagement platforms.
- Data Licensing PricingA pricing structure where access to proprietary datasets or data assets is licensed separately from the software or services, common in AI training data and clinical data platforms.
- Robot-Hour PricingA billing unit where each hour a robot or autonomous system operates is metered — the robotics equivalent of a GPU-hour.
- Per-Contact PricingA billing unit where each contact or lead in the database is metered, common in AI sales development and outbound automation platforms.
- Per-Mailbox PricingA billing unit where each connected email mailbox or sending account is metered, common in AI outbound sales and email automation platforms.
- Browser-Hour PricingA billing unit where each hour of headless browser compute time is metered, common in web scraping and browser automation platforms.
- Per-Generation PricingA billing unit where each AI-generated creative asset — image, video, or design — is counted as a 'generation' and metered accordingly.
- Per-Ticket PricingA billing unit where each customer support ticket handled by an AI agent is metered — common in AI customer service platforms.
- Per-Log PricingA billing unit where each LLM request log ingested or stored is metered — common in AI observability and evaluation platforms.
- Per-Trace PricingA billing unit where each distributed trace — a complete record of an LLM request chain — is metered, common in AI observability platforms.
- Per-IP PricingA billing unit where each IP address or proxy endpoint allocated is metered — used by web scraping proxy providers.
- Per-Device PricingA billing unit where each hardware device or endpoint connected to the AI platform is metered.
- Per-Case PricingA billing unit used in legal AI platforms where each case or matter processed by the AI is metered.
- Per-Report PricingA billing unit where each AI-generated report or analysis document is metered as a discrete output.