Unit
Record whether the amount applies to an image, output second, input image, token, minute, character, or tool call.
Model per-image output, per-second video, input-image fees, and separate billable overhead before a request reaches the provider. The calculator runs locally in your browser.
13 OpenAI and xAI output tiers · verified 2026-08-23 · USD · no usage upload
Choose the exact output tier, enter request volume and media units, then reserve any token or tool overhead separately. The result is a planning estimate, not an invoice.
Use “other billable cost” for token-priced prompts, image-token inputs, tool calls, audio, or another category this per-unit card does not represent.
This scenario remains inside the entered hard budget. The safe-unit figure reserves the input-image and other entered costs first, then floors the remaining output allowance.
Image edits also bill each input image. Text input is not included in this per-unit estimate.
Official xAI model pricing ↗A flat number is ambiguous without its billing unit, resolution or quality tier, effective date, and source.
Record whether the amount applies to an image, output second, input image, token, minute, character, or tool call.
Keep resolution, quality, region, and model version as explicit dimensions instead of hiding them in a label.
Store the dated source and reconcile provider-reported usage after execution. Missing catalogue data must fail closed for a hard dollar cap.