Grok 4.6 vs Grok 4.5 vs Grok 4.20 vs Grok 4.3 on event announcement to structured json
xAI models side by side on "Event announcement to structured JSON": Grok 4.3 scores 10/10; Grok 4.3 is the cheapest answer scoring 8+ at $1.29 per 1,000 runs. Outputs, checks, judge reasons, latency and cost.
The prompt every model received
System
You are a data extraction engine. Reply with JSON only, no prose, no code fences.
User
Return one JSON object with keys title (string), date (YYYY-MM-DD), start_time (24-hour HH:MM), location (string), attendees (integer). Use only facts stated in the announcement.
Announcement: Join us for the Autumn Data Meetup on Tuesday 3 November 2026. Doors open at 2 pm and talks start at 2:30 pm at The Loft, 14 Harbour Street. We have confirmed 48 attendees so far and can take up to 60.
Rubric for the judge: Correctly picks the talk start (14:30, not doors), ISO date, integer attendees 48, and a sensible title and location.
Side by side
Every cell is one OpenRouter call at temperature 0 with the prompt's token cap and reasoning effort "low" where the model supports it. Cost is usage × the catalogue rate in models.json. Quality is one judge call to anthropic/claude-haiku-4.5 against the prompt's rubric, cached per prompt version.
Grok 4.6
x-ai/grok-4.6
10/10
Latency
612ms
Cost
$0.00214
Per 1,000
$2.14
333 in · 278 out (234 reasoning) · 7 words · checks 5/5
✓json_valid
✓json_keys
✓contains
✓contains
✓regex
{"title":"Autumn Data Meetup","date":"2026-11-03","start_time":"14:30","location":"The Loft, 14 Harbour Street","attendees":48}
Judge: All fields correctly extracted: title matches announcement, date in ISO format (2026-11-03), start_time correctly uses talk start time (14:30) not door opening, location fully specified, and attendees set to confirmed count (48).
Grok 4.5
x-ai/grok-4.5
10/10
Latency
474ms
Cost
$0.00135
Per 1,000
$1.35
333 in · 151 out (107 reasoning) · 7 words · checks 5/5
✓json_valid
✓json_keys
✓contains
✓contains
✓regex
{"title":"Autumn Data Meetup","date":"2026-11-03","start_time":"14:30","location":"The Loft, 14 Harbour Street","attendees":48}
Judge: All fields correctly extracted: title matches announcement, date in ISO format (2026-11-03), start_time correctly uses talk start time (14:30) not door opening, location fully specified, and attendees set to confirmed count (48).
Grok 4.20
x-ai/grok-4.20
10/10
Latency
266ms
Cost
$0.00159
Per 1,000
$1.59
308 in · 536 out (481 reasoning) · 18 words · checks 5/5
✓json_valid
✓json_keys
✓contains
✓contains
✓regex
{
"title": "Autumn Data Meetup",
"date": "2026-11-03",
"start_time": "14:30",
"location": "The Loft, 14 Harbour Street",
"attendees": 48
}
Judge: All fields correctly extracted: title matches announcement, date is proper ISO format, start_time correctly uses talk start (14:30) not door opening, location is complete and accurate, and attendees count is 48 as stated.
Grok 4.3
x-ai/grok-4.3
10/10
top judge scorecheapest scoring 8+
Latency
264ms
Cost
$0.00129
Per 1,000
$1.29
314 in · 441 out (386 reasoning) · 18 words · checks 5/5
✓json_valid
✓json_keys
✓contains
✓contains
✓regex
{
"title": "Autumn Data Meetup",
"date": "2026-11-03",
"start_time": "14:30",
"location": "The Loft, 14 Harbour Street",
"attendees": 48
}
Judge: All fields correctly extracted: title matches announcement, date is proper ISO format, start_time correctly uses talk start (14:30) not door opening, location is complete and accurate, and attendees count is 48 as stated.
Frequently asked
▸What does this prompt test?
Extract JSON: Correctly picks the talk start (14:30, not doors), ISO date, integer attendees 48, and a sensible title and location. The deterministic checks are json_valid, json_keys, contains, contains, regex.
▸Which model should I pick for this task?
If the judge's bar of 8/10 is good enough for you, Grok 4.3 at $1.29 per 1,000 runs. If you need the top score, Grok 4.3 at $1.29 per 1,000 runs.
If our calculators helped you cut down on hidden AI wallet leaks, thanks for using them. A tiny fraction of your savings is what keeps our pricing indexes updated daily.
Not sure which AI is cheapest for your use case? Find out in 30 seconds — no signup required.