
Vision Inputs Grok Vision
xAI API (Grok) · xAI
Foundation Model & API — xAI (Grok)
Evaluates xAI's Vision Inputs (Grok Vision) across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
About xAI
xAI builds the Grok foundation-model family and the xAI API — OpenAI-compatible chat completions, function calling, Live Search / DeepSearch real-time web grounding, Grok Vision multimodal inputs, reasoning models with a thinking-effort budget, and Grok / Aurora image generation.
Sample tests· showing 3 of 9
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | Agent submits a user message with content=[{type:'text',text:'describe'}, {type:'image_url', image_url:{url:'https://...'}}] to a Grok vision model. | Use the OpenAI-compatible multimodal content shape: an array of typed blocks. image_url block carries a nested object with url (HTTPS or data:image/<type>;base64,<data>). Pin the model id to a vision-capable Grok variant; non-vision models reject image_url blocks. | Pass / FailAi Platformhigh |
| 02 | Operator can pass an image either as image_url with HTTPS URL or as data:image/png;base64,<data>. Source PNG is 4 MB. | Prefer HTTPS URL when the source is publicly fetchable — avoids token inflation in the request payload. Use base64 only when the image is ephemeral / private. Mind the [REQUIRES-VERIFICATION] per-request size cap (documented in MB) — large base64 inflates wire bytes ~33%. | Pass / FailAi Platformmedium |
| 03 | User uploads a 25 MP scanned PDF page as PNG. Per-image size and resolution caps are documented [REQUIRES-VERIFICATION] for current numerics. | Pre-check the image against documented size/resolution caps. On overflow: downscale to the documented max long-edge; preserve aspect ratio; choose JPEG for photos and PNG for text-heavy scans. Cap at the documented per-request MB limit. Treat numerics as [REQUIRES-VERIFICATION]. | Pass / FailAi Platformhigh |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
Rubric criteria
- Xai
- Ai Platform
- Vision Inputs Grok Vision
Recommended for
Works with
Related evals
Claude API
Evaluates Anthropic's Batch API across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Extended Thinking across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Files API & Citations across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
ViewFrequently asked questions
What does the Vision Inputs Grok Vision eval for xAI xAI API (Grok) test?+
Evaluates xAI's Vision Inputs (Grok Vision) across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
How is the Vision Inputs Grok Vision eval scored?+
The judge rubric: Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
How many test cases does this eval pack include?+
The Vision Inputs Grok Vision pack for xAI xAI API (Grok) contains 9 test cases. 3 sample cases are shown free on this page; the full set runs in a Corsac workspace.
How do I run this eval?+
Sign up for Corsac, connect your model or agent endpoint, and run the Vision Inputs Grok Vision pack as-is or after customizing thresholds. Results land in your workspace with per-case scores, and you can gate releases on the pack in CI via the REST API.
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.