Home β€Ί Blog β€Ί Hidden API costs

The hidden API costs that quietly double your bill

Published 2026-06-14 Β· reference numbers, verify before budgeting

Every API pricing page has one big, friendly number. "$0.0079 per SMS." "2.9% + 30Β’." "$0.50 per 1M tokens." You do the multiplication, write it in the budget, and ship. Then the first real invoice arrives and it's nearly double what you modelled.

The gap is almost never the headline price being wrong. It's the second, third and fourth line items that don't appear next to the big number β€” the ones that only show up once you read the docs or, worse, the bill. Here are the usual suspects, by category, with rough 2026 numbers so you can pad your estimate before launch instead of after.

SMS: the per-message price is the small part

Say you budget 100,000 SMS at ~$0.0079 each = $790. Reasonable. Now add what the pricing calculator quietly omits:

Realistic landed cost on that $790 of "raw" SMS: $1,000–1,150 once carrier fees and number rental are in. That's a 25–45% markup the headline rate never showed you. Compare providers on landed cost, not the per-message number β€” see Twilio and the SMS API guides.

Email: cheap to send, expensive to land

Transactional email looks almost free β€” SendGrid gives 100/day forever, Amazon SES is fractions of a cent. The hidden cost isn't sending, it's deliverability:

The lesson: the per-email price is real, but a $5/month email plan that lands in spam is infinitely more expensive than a $35/month one that reaches the inbox. Budget for the IP and the warm-up. Guides: SendGrid, email APIs.

Maps: billed per SKU, and one screen is many SKUs

Google Maps Platform gives a $200/month credit, which feels generous until you learn it bills per SKU β€” and a single user interaction can trigger several. Load a map, drop a marker, geocode an address, and draw a route, and that's four separate billable products, not one "map view." Apps that look like they'll sit under the free credit routinely blow past it because they counted screens, not SKUs.

The fix is to count billable calls per user action, not per page. Google Maps, Mapbox (which bills map loads and API requests on separate meters) and the maps API guides have the SKU breakdowns.

Payments: the percentage isn't the whole fee

"2.9% + 30Β’" is the line everyone quotes. On top of it, depending on provider and setup:

The effective rate on real-world international revenue is often 3.5–4%, not 2.9%. Model your actual mix of domestic vs cross-border. Guides: Stripe, PayPal, all payment APIs.

AI APIs: output tokens and re-billed context

The headline AI number is usually the input price. But output tokens cost 3–5Γ— input on every major model, and chat-style apps re-send the whole conversation each turn β€” so a long thread bills the entire history again and again. Two calls that look identical on the input meter can differ 4Γ— on the real bill depending on how much they generate and how much context they carry.

Levers that actually move it: cap max_tokens, trim the system prompt, and use prompt caching (a steep discount on repeated context, offered by OpenAI, Anthropic and DeepSeek). We put real numbers on the model spread in the cheapest AI API at 1M requests.

How to estimate the real number

A simple rule that's saved more launches than any spreadsheet: take the headline estimate and add 30–50% for the category's hidden costs above. Then narrow it down properly:

  1. Pick the right provider for your stage and job β€” the API alternatives finder compares options by price, free tier, setup and the exact hidden cost to watch for each one.
  2. Model the volume β€” drop your real usage into the API stack cost calculator or, for AI, the AI app cost estimator.
  3. See how far the free tier gets you first β€” the free API tiers database flags what's free forever vs a trial.

None of these costs are scams β€” they're how the underlying services genuinely work. They're only "hidden" because pricing pages lead with the friendliest number. Read one level deeper and your budget survives contact with the first invoice.

Open the API Alternatives Finder β†’ Β· API Stack Cost Calculator β†’

Reference numbers (June 2026). Verify on each provider's pricing page before budgeting. Not affiliated with any provider.