Back
AI summary
Written by AI from the official notes. Check them for exact details.Grok now includes cost information for every API response.
- New
cost_in_usd_ticksfield added to API responses. - Cost tracking applies to chat completions and various generation APIs.
- Details available in the Cost Tracking documentation.
Why it matters: Developers and businesses using Grok should monitor costs for budgeting and resource management.
Full release notes
Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs.