Skip to content

Study guide

Subscription or API: how AI is priced, tokens, keys, and when each pays off

The main points of the lesson, for review.

Read the lesson Take the quiz

Key ideas

  • Two ways to pay: a subscription (flat fee, usage ceiling, a person in the loop) and the API (a meter, billed per token, used by programs)
  • Tokens are chunks of text. Input (what the model reads) and output (what it writes) are priced separately; output costs about five times more
  • Rough size: a 10 kB page of text is about 2,500 tokens

Prices as of November 2026 (per million tokens, in / out)

  • Haiku 5.5: $0.10 / $0.50. Sonnet 5.5: $2 / $10. Opus 5.5: $4 / $20. Fable 5.2: $8 / $40
  • Batch: half price. Cache hits on Opus and Sonnet: a twentieth of input
  • Claude plans: Free, Pro $20, Max $100, Ultra $200, Team from $25 a seat

Key safety checklist

  • Spend limit before the first call; one workspace per project; one key per app
  • Keys on a server only, never in a web page, screenshot, email or repository
  • Free tiers may train on prompts; neither route gives you a BAA by default

Sources

Back to the lesson