What is your AI actually costing you?

Paste a prompt, pick your models, and get an instant cost breakdown across OpenAI, Anthropic, and Google, then see how your spend stacks up against businesses that run their AI bills through Ramp, benchmarked against real Ramp platform data.

Token & Cost Calculator

Price out a prompt across every major model.

Estimates use each provider's published per-token pricing as of July 2026. Token counts are approximate: real tokenizers vary by 10–15% depending on content.

Step 1 Choose your input method
Step 2 Adjust the values to get your custom results
0words
0characters
0est. input tokens
Show token breakdown
(shading just alternates to mark where one chunk ends and the next begins. The color itself has no meaning, and this is illustrative chunking, not your model's exact tokenizer)

Customize

This is a separate assumption from the prompt above — it doesn't scale with what you paste in, since response length depends on the task, not the prompt's length. A one-line answer is roughly 50–150 output tokens; a ~600-word memo is roughly 800–900; long-form writing or code often runs well past that. Pick a preset or enter your own.

Updates instantly as you type — nothing to submit
Estimated cost per month
$0.00
Cost / request
$0.00
Cost / day
$0.00
Fill in the calculator to see how your effective rate compares to the Ramp benchmark.
Model Input Output Per request Per month
Ready to see this in your own dashboard?

Monthly cost by model

At your current volume, sorted from cheapest to most expensive.

Cheapest option Your selected model Everything else
AI Token Calculator

What is a token, and why does it decide your AI bill?

Every prompt and response is billed in tokens, not words or characters. A token calculator breaks your text into the same kind of chunks a model's tokenizer uses, so you can see the input cost before you send a request, and the output cost you're on the hook for after it responds.

How to use this calculator

  1. Paste a prompt, document, or code snippet into the box above.
  2. Watch the live token breakdown and per-model cost update as you type.
  3. Set requests per day to see realistic monthly spend, not just one call.
  4. Pick a primary model to compare against the cheapest option for that same prompt.

Input tokens vs. output tokens

Input tokens
What you send: the prompt, system message, and any context.
Output tokens
What the model generates back.

Providers price them differently, which is why a short prompt asking for a long response can cost more than a long prompt asking for a short one.

Ramp Platform Data

How your estimate compares to real businesses.

Ramp processes AI vendor spend for tens of thousands of businesses. Here's what real businesses actually pay, not just who's winning the AI market.

55.7%
of Ramp businesses used an AI vendor in July 2026, up from 47.0% in January (Ramp AI Index)
$1.18
median effective cost per 1M tokens observed within Ramp's Token Spend Management cohort (Anthropic, OpenAI, and Cursor combined), July 2026. This reflects real usage within that cohort, not published list pricing. See how yours compares above.

Effective AI token costs across the TSM cohort.

Median cost per 1M tokens observed among Ramp's Token Spend Management customers (API-key-connected, Anthropic + OpenAI + Cursor), Feb–Jul 2026. An observed rate within this cohort, not population-wide list pricing.

Overall adoption figure corroborated by Ramp's public AI Index. Token-pricing figures reflect an observed median within Ramp's Token Spend Management cohort (businesses with a connected Anthropic, OpenAI, or Cursor API key), not population-wide list pricing; medians used throughout rather than averages, since a small number of large spenders would otherwise dominate the numbers.

Curious about your actual AI spend?

See where your team's AI budget goes, broken down by provider, model, and user, connected directly to your own accounts.

Try AI Token Spend Management
Common Questions

Token calculator FAQ

See every token. Control every dollar.

Connect OpenAI, Anthropic, and Gemini directly via your provider API keys to see spend by provider, model, key, and user in one dashboard. Free to get started, no Ramp card required.