Cost Tracking
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.
Fetched May 26, 2026
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.
Fetched May 26, 2026
Imagine file storage is now available, and image and video generation endpoints accept file-ID inputs. The files client now supports public…
xAI · Grok APIWhat's Changed feat: add prepare_extension() for batch video extension by @double-di in https://github.com/xai-org/xai-sdk-python/pull/141…
xAI · Grok APICost centers can now limit how much of an enterprise's monthly included AI credits a cost center uses, available through the REST API. GitH…
GitHub · GitHub ChangelogGitHub Copilot CLI now reports suggested lines of code in usage metrics, IDE is identified for server-side-only users, and AI credit consum…
GitHub · GitHub Changelog