- Serverless models bill based on usage, with no minimums and no provisioning cost.
- Provisioned throughput bills per provisioned throughput unit (PTU) on a reserved term, with a one-month minimum.
- Dedicated endpoints bill per-minute, depending on the hardware you reserve.
Serverless models
You pay per unit of work, with units determined by model type:- Chat, language, embedding, and rerank: Per input and output token.
- Image generation: Per megapixel of output.
- Video generation: Per second of output.
- Speech-to-text and text-to-speech: Per second of audio.
Cached input discounts
Select serverless chat models bill cached input tokens at a steep discount. Caching is:- Automatic: There is no header, parameter, or account toggle to enable it. Send the same prompt prefix again and any portion that’s still warm in the shared cache is billed at the cached rate.
- Prefix-based: Only the longest matching prefix of your input counts as cached. Tokens after the first difference are billed at the standard input rate.
- Best-effort and short-lived: The serverless cache is shared across the fleet and entries are evicted as traffic shifts, so cache hits aren’t guaranteed and there’s no configurable retention window. For predictable cache behavior, use a dedicated endpoint, where prompt caching is enabled by default and scoped to your own replicas.
- Limited to supported models: Only models with a value in the Cached input pricing column on Chat models support cached input billing. Models without a cached price bill all input tokens at the standard rate.