Yearly Pay yearly and get 2 months free on every paid plan. See plans
Sign in Start free

Understanding multimodal AI pricing — tokens, images, and seconds

One BillingRecord per call, full snapshot Every AI call on ToRun produces exactly one BillingRecord that captures the price at the moment of execution. Provider rates change every few weeks; storing the rate inline means…

One BillingRecord per call, full snapshot

Every AI call on ToRun produces exactly one BillingRecord that captures the price at the moment of execution. Provider rates change every few weeks; storing the rate inline means a charge from three months ago can still be checked today.

The core pricing units

Each way a capability is billed has its own canonical pricing unit. These are the core ones:

  1. PerInputToken (text input)
  2. PerOutputToken (text output)
  3. PerCachedInputToken (prompt cache hit)
  4. PerImage (image generation)
  5. PerSecondAudio (TTS / STT)
  6. PerSecondVideo (video generation)
  7. PerCharacterTts (legacy text-to-speech billing)
  8. PerSearchCall (web search tool)
  9. PerComputeSecond (sandbox execution)
  10. PerEmbedding (vector embedding)
  11. PerMinuteRealtime (realtime voice / video)
  12. PerRerankPair (reranking)

Why per-million instead of per-1k

All token-priced models now publish their rates per million tokens. We follow that convention so the math is honest at the scale modern users operate at. The legacy "Per1k" field was removed from AiModel and replaced by AiModelPricing rows that carry a PricingUnit enum.

What this means for you

You can audit every charge. You can switch providers without losing historical pricing context. That is the foundation we are building everything else on.

Share LinkedIn X Email
Try it on your own workEvery reply shows what it cost. Start on the Free plan. Start free
Get product updates, not noise New models, features, and changelog highlights - a short email when something actually ships.
By subscribing, you agree to receive ToRun product update e-mails. You can unsubscribe at any time. Privacy Policy