Skip to content

Update README examples to use grok-4.6 - #191

Merged
gyang-xai merged 1 commit into
mainfrom
ming/readme-modern-models
Aug 13, 2026
Merged

Update README examples to use grok-4.6#191
gyang-xai merged 1 commit into
mainfrom
ming/readme-modern-models

Conversation

@gyang-xai

Copy link
Copy Markdown
Contributor

Summary

The README code samples still referenced retired models. Per the current model lineup on docs.x.ai, grok-4.6 is the flagship model for chat and code and is multimodal, so it also replaces the dedicated vision model:

  • model="grok-3"model="grok-4.6" (6 occurrences: quickstart, async, streaming, telemetry ×2, proto access)
  • model="grok-2-vision"model="grok-4.6" (image understanding example)

The grok-imagine-video references are left as-is — that is still the current video generation slug.

Test plan

  • Ran the updated image-understanding snippet (two image URLs + text) live against the API with grok-4.6 via xai-sdk==1.18.0: completes with REASON_STOP and a sensible answer.
  • Basic grok-4.6 chat request verified live as part of the v1.18.0 release testing.

@gyang-xai
gyang-xai requested a review from a team as a code owner August 13, 2026 01:50
@gyang-xai
gyang-xai merged commit a4e642d into main Aug 13, 2026
7 checks passed
@gyang-xai
gyang-xai deleted the ming/readme-modern-models branch August 13, 2026 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants