xAI Docs release notes
REST API reference — Models
- Documented the optional
pricingarray on image generation models: per-image prices by quality (low/medium/high) and resolution (1k/2k), includingprice_per_image. - Clarified that
image_priceis the default tier (medium quality at 1k resolution), with the full matrix underpricingwhen tiers differ.
REST API reference — Images
- Documented usage fields on image inference responses:
input_tokens,input_tokens_details(including cached, image, and text tokens),output_tokens,output_tokens_details(including image, reasoning, and text tokens), andtotal_tokens.
REST API reference — Videos
- Documented the same usage token fields on video inference responses (
input_tokens/input_tokens_details,output_tokens/output_tokens_details, andtotal_tokens).
No pages were added or removed.