Gemini 3.1 Pro Preview vs Gemini 3.8 Flash vs Gemini 3.5 Flash Lite on event announcement to structured json
Google models side by side on "Event announcement to structured JSON": Gemini 3.8 Flash scores 10/10; Gemini 3.8 Flash is the cheapest answer scoring 8+ at $0.31 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.
Gemini 3.1 Pro Preview
google/gemini-3.1-pro-preview
1/10
Latency
2.6s
Cost
$0.00501
Per 1,000
$5.01
131 in · 396 out (385 reasoning) · 5 words · checks 0/5
✕json_valid
✕json_keys
✕contains
✕contains
✕regex
{
"title": "Autumn Data Meetup",
Judge: Output is incomplete and truncated, missing required keys (date, start_time, location, attendees) and their values.
Gemini 3.8 Flash
google/gemini-3.8-flash
10/10
top judge scorecheapest scoring 8+
Latency
1.8s
Cost
$0.00031
Per 1,000
$0.31
131 in · 57 out · 16 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 time (14:30) not door opening, location is complete and accurate, and attendees uses confirmed count (48) as instructed.
Gemini 3.5 Flash Lite
google/gemini-3.5-flash-lite
4/10
Latency
496ms
Cost
$0.00021
Per 1,000
$0.21
131 in · 69 out · 18 words · checks 4/5
✓json_valid
✓json_keys
✓contains
✕contains
✓regex
{
"title": "Autumn Data Meetup",
"date": "2026-11-03",
"start_time": "14:00",
"location": "The Loft, 14 Harbour Street",
"attendees": 48
}
Judge: Correct title, date, location, and attendees, but start_time is 14:00 (doors open) instead of 14:30 (talks start) as specified in the rubric.
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, Gemini 3.8 Flash at $0.31 per 1,000 runs. If you need the top score, Gemini 3.8 Flash at $0.31 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.