How AI billing works: tokens, subscriptions, rate limits and credits
A plain-language guide to the main ways AI companies charge for and limit usage. Every quote comes from an official page and shows the date we last checked it. We give no numbers of our own; for current prices and limits, follow the official links. Examples link to dated changelog entries.
1. Usage-based (token) pricing
APIs usually charge for what you use, counted in tokens (pieces of text), with separate prices for input and output and for cached input.
Tokens used for built-in tools are billed at the chosen model's per-token rates.
For all other models, cached input tokens do not count toward rate limits and are billed at the cache read rate
On-Demand Inference Pricing: You are billed in 5-minute windows for the duration your model copy is active starting from the first successful invocation.
Examples of token-price changes:
- OpenAI (ChatGPT): 12-hour prompt caching option added; 12-hour cache writes cost 2.5x the input token price. (2026-10-20)
- Together AI: Serverless prices lowered for Qwen3.7-Max and Qwen3.8-Flash. (2026-09-22)
- Fireworks AI: Serverless price for DeepSeek V4.1 Flash increased (uncached input / cached input / output per 1M). (2026-10-01)
- Anthropic (Claude): Prompt cache read price on Claude Sonnet 5.5 lowered. (2026-10-07)
2. Subscriptions and weekly caps
Consumer and coding-tool plans charge a flat monthly fee and limit usage over time windows instead of per token.
Paid plans have two types of usage limits: a session limit that resets every five hours, and weekly limits that reset once every week.
In addition, to manage capacity and ensure fair access to all users, we may limit your usage in other ways, such as weekly and monthly caps or model and feature usage, at our discretion.
Details for Claude: How Claude's weekly usage limits work.
Examples:
- Anthropic (Claude): Five-hour usage limits increased on Pro, Max, Team and seat-based Enterprise plans at the Claude Opus 5.5 launch; subscription users also got a saveable rate limit reset. Weekly limits are not mentioned in the announcement. (2026-09-22)
- GitHub Copilot: Credit-card/PayPal Copilot Business and Enterprise seats move to upfront per-seat charges; prices unchanged. (2026-08-28)
- Windsurf: Users can sign in with ChatGPT and bill GPT model usage to an eligible ChatGPT Plus or Pro plan. (2026-09-29)
3. Rate limits and tiers
Rate limits cap how much you can send per minute or per day. Many APIs raise them as you move up usage tiers.
Rate limits use metrics such as RPM (requests per minute), RPD (requests per day), TPM (tokens per minute), TPD (tokens per day), IPM (images per minute), and audio minutes per minute for some streaming audio models.
Rate limits are defined at the organization level and at the project level, not user level.
The rate limits for the Messages API are measured in requests per minute (RPM), input tokens per minute (ITPM), and output tokens per minute (OTPM) for each model class.
Limits are defined by usage tier
Your AWS account has default quotas, formerly referred to as limits, for Amazon Bedrock.
Examples:
- OpenAI (ChatGPT): API usage tiers simplified from five to three (Build, Launch, Grow). (2026-10-06)
- Fireworks AI: Small rate-limit tier threshold raised from <600B to <800B total parameters; ceilings unchanged. (2026-10-18)
- Together AI: Dynamic serverless rate limits that scaled with recent traffic were retired. (2026-10-02)
- Amazon Bedrock (AWS): Per-model tokens-per-day quota replaced by a cross-model, per-account, per-Region daily token quota. (2026-09-29)
- Anthropic (Claude): Fast mode for Claude Opus 5.5 left research preview and received a default rate limit in Start, Build and Scale tiers. (2026-10-15)
4. Credits
"Credits" means different things: prepaid API balance, overage credits on a subscription, or credits included with a plan.
Your organization’s usage tier upgrades automatically as its total credit purchases reach each threshold.
With usage credits enabled, once one of your included limits is fully used (your five-hour session limit or one of your weekly limits), your requests switch to pay-as-you-go pricing on usage credits and keep working.
Monthly API credits included with Max plans can’t be used in Claude Code or the Claude apps, including for extra usage.
Examples:
- Anthropic (Claude): Max and Team plans now include monthly API credits for the Claude Platform. (2026-10-07)
- Cursor (Anysphere): Time-limited (10-day) included usage credits for the new Rollouts bot on Teams and Enterprise. (2026-09-23)
- GitHub Copilot: Org owners can bill Copilot code reviews to the organization instead of consuming members' Copilot quotas. (2026-10-08)
5. Aggregators and routers
An aggregator sells access to many companies' models through one API and one bill, and decides which provider serves each request.
OpenRouter routes requests to the best available providers for your model.
For each model in your request, OpenRouter’s default behavior is to load balance requests across providers, prioritizing price.
Whether to allow backup providers when the primary is unavailable.
So the price and limits you get through an aggregator can depend on which underlying provider served the request; see the OpenRouter page for its sources. Self-hosted chat apps are different: they are software, not a paid service.
LibreChat is a self-hosted AI chat platform that unifies all major AI providers in a single, privacy-focused interface
MIT license
LibreChat is free, open-source (MIT) software you run yourself. Its repository lists no price and no usage limits of its own; what you pay and the limits you hit come from the provider APIs you connect (prices: not stated by LibreChat, since it does not sell model access).
What this guide does not cover
- Current prices or limit values for any model: see each company page and the official links.
- Enterprise contracts, committed-use discounts and provisioned throughput: not covered.
- Per-company credit expiry rules: not covered here.
Browse by company: Amazon Bedrock (AWS) · Anthropic (Claude) · Cursor (Anysphere) · DeepSeek · Fireworks AI · GitHub Copilot · Google (Gemini) · Hugging Face · Ollama · OpenAI (ChatGPT) · Perplexity · Together AI · v0 (Vercel) · Vercel AI Gateway · Windsurf · xAI (Grok). Something wrong? Dispute it.