This week in Grok Build · Apr 26, 2026
xAI Python SDK adds Grok-4.3 and cost tracking in back-to-back releases
Get the next issue in your inbox. Weekly · Free
xAI shipped two Python SDK releases in quick succession. v1.12.0 adds cost_usd tracking on API calls, an expires_after field for file uploads, bytes chunking for collections, and new video generation docs. v1.12.1 follows immediately to register grok-4.3 as a named ChatModel enum value. If you manage file storage costs or want to experiment with Grok-4.3 in typed code, upgrade to v1.12.1 now.
Competitor Dev Tools
xAI Python SDK v1.12.0 adds cost_usd tracking, file expiry, and bytes chunking
- Released alongside v1.12.1, v1.12.0 introduces per-request cost_usd tracking so developers can monitor spend programmatically, an expires_after parameter on file uploads to automate cleanup, bytes chunking for collection payloads, and updated README documentation covering video generation and extensions.
xAI Python SDK v1.12.1 registers grok-4.3 in the ChatModel enum
- v1.12.1 is a targeted patch that adds grok-4.3 as a first-class ChatModel value, giving typed Python callers a verified constant to reference the new model without resorting to raw strings.
Action Items
Immediate
- Upgrade xai-sdk-python to v1.12.1 to get grok-4.3 in the ChatModel enum and cost_usd tracking.
- Audit any file upload calls and add expires_after values to prevent unbounded storage accumulation.
- Replace any raw 'grok-4.3' string literals in your codebase with the new ChatModel.grok_4_3 enum constant.
- Review the updated README for video generation and extension API usage patterns introduced in v1.12.0.
All Resources
This week in Grok Build
Five minutes, every Monday — the tools, releases and tactics for shipping solo.