This week in Grok Build · May 17, 2026
xAI Python SDK: Grok-4.3, Reasoning Effort Levels, and Batch Video Extension
Get the next issue in your inbox. Weekly · Free
Four rapid releases of the xAI Python SDK landed in quick succession. Version 1.12.1 adds the grok-4.3 model to ChatModel. Version 1.12.2 introduces none and medium reasoning effort levels for finer inference control. Version 1.12.0 adds cost_usd tracking, expires_after on file uploads, and improved bytes chunking for collections. Version 1.13.0 tops it off with prepare_extension() for batch video extension workflows. If you are managing video pipelines or tuning reasoning costs, upgrade to v1.13.0 now.
Competitor Dev Tools
xAI Python SDK v1.13.0: prepare_extension() for Batch Video Extension
- The latest release adds a prepare_extension() helper that streamlines kicking off batch video extension jobs through the xAI API.
- Builders running high-volume video generation pipelines can now queue extensions programmatically without manual per-request setup.
xAI Python SDK v1.12.2: None and Medium Reasoning Effort Levels
- Version 1.12.2 expands the reasoning effort API to include none and medium levels alongside the existing options, giving developers more granular control over inference depth and cost.
- This is particularly useful for latency-sensitive or cost-constrained applications.
xAI Python SDK v1.12.1: Grok-4.3 Added to ChatModel
- Version 1.12.1 registers grok-4.3 as a supported value in the ChatModel enum, making it accessible for typed SDK usage without manual string overrides.
- The release also backfills missing CHANGELOG entries for earlier versions.
xAI Python SDK v1.12.0: Cost Tracking, File Expiry, and Bytes Chunking
- Version 1.12.0 adds cost_usd tracking on responses for spend visibility, an expires_after field on file uploads, and improved bytes chunking for collection ingestion.
- The release also drops the now-unused team_id field from the File model and updates video generation documentation in the README.
Action Items
Immediate
- Upgrade xai-sdk-python to v1.13.0 to get batch video extension support, reasoning effort controls, and cost tracking in one step.
- Audit any code referencing the File model and remove team_id usage, which was dropped in v1.12.0.
- Set expires_after on file uploads where storage hygiene matters, now that the field is supported in v1.12.0.
- Switch hard-coded model strings to the ChatModel.grok_4_3 enum value added in v1.12.1.
- Review reasoning effort settings in latency- or cost-sensitive endpoints and test the new none and medium levels added in v1.12.2.
All Resources
This week in Grok Build
Five minutes, every Monday — the tools, releases and tactics for shipping solo.