OverpayingForAIPricing desk

Extract JSON · 5 checks · max 400 tokens · benched 2026-09-16

GLM 5.3 vs GLM 5.2 vs GLM 5.3 Flash on event announcement to structured json

Z Ai models side by side on "Event announcement to structured JSON": GLM 5.3 Flash scores 10/10; GLM 5.3 Flash is the cheapest answer scoring 8+ at $0.03 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.

GLM 5.3

z-ai/glm-5.3

4/10
Latency
426ms
Cost
$0.00060
Per 1,000
$0.60

133 in · 93 out (43 reasoning) · 16 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: Correctly extracted title, date, location, and attendees, but start_time is 14:00 (doors open) instead of 14:30 (talks start) as specified in the rubric.

GLM 5.2

z-ai/glm-5.2

4/10
Latency
1.2s
Cost
$0.00063
Per 1,000
$0.63

133 in · 277 out (219 reasoning) · 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.

GLM 5.3 Flash

z-ai/glm-5.3-flash

10/10
top judge scorecheapest scoring 8+
Latency
635ms
Cost
$2.8e-5
Per 1,000
$0.03

133 in · 74 out (23 reasoning) · 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.

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, GLM 5.3 Flash at $0.03 per 1,000 runs. If you need the top score, GLM 5.3 Flash at $0.03 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.

AI cost intelligence

Stop overpaying for AI tools

Join the OverpayingForAI list for pricing updates, cheaper alternatives, and practical buying guidance.

Now tracking 50+ AI tools, models, platforms, subscriptions, coding tools, and automation products.

We use your email only for OverpayingForAI updates. Unsubscribe anytime.