OverpayingForAIPricing desk

Tool call · 7 checks · max 400 tokens · benched 2026-09-16

Claude Opus 5 vs Claude Sonnet 5 vs Claude Sonnet 4.6 vs Claude Haiku 4.5 on emit a calendar tool call

Anthropic models side by side on "Emit a calendar tool call": Claude Haiku 4.5 scores 10/10; Claude Haiku 4.5 is the cheapest answer scoring 8+ at $0.60 per 1,000 runs. Outputs, checks, judge reasons, latency and cost.

The prompt every model received

System

You are a function-calling engine. Reply with JSON only, no prose, no code fences.

User

You have one tool:
{"name": "create_event", "parameters": {"title": "string", "start": "ISO 8601 date-time without timezone, e.g. 2026-01-31T09:00", "duration_minutes": "integer", "attendees": "array of email strings"}}

Produce the tool call for this user message as a JSON object of the shape {"name": string, "arguments": object}.

User: Book a 45-minute design review with [email protected] and [email protected] on 2 October 2026 at 3pm.

Rubric for the judge: Correct tool name, ISO start 2026-10-02T15:00, integer duration 45, both attendees in an array, a sensible title.

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.

Claude Opus 5

anthropic/claude-opus-5

10/10
Latency
1.1s
Cost
$0.00294
Per 1,000
$2.94

202 in · 77 out · 13 words · checks 7/7

  • json_valid
  • json_keys
  • regex
  • contains
  • regex
  • contains
  • contains
{"name": "create_event", "arguments": {"title": "Design Review", "start": "2026-10-02T15:00", "duration_minutes": 45, "attendees": ["[email protected]", "[email protected]"]}}

Judge: All rubric criteria met: correct tool name, proper ISO 8601 start datetime, integer duration of 45 minutes, both attendees in array format, and sensible title.

Claude Sonnet 5

anthropic/claude-sonnet-5

10/10
Latency
915ms
Cost
$0.00117
Per 1,000
$1.17

202 in · 77 out · 13 words · checks 7/7

  • json_valid
  • json_keys
  • regex
  • contains
  • regex
  • contains
  • contains
{"name": "create_event", "arguments": {"title": "Design Review", "start": "2026-10-02T15:00", "duration_minutes": 45, "attendees": ["[email protected]", "[email protected]"]}}

Judge: All rubric criteria met: correct tool name, proper ISO 8601 start datetime, integer duration of 45 minutes, both attendees in array format, and sensible title.

Claude Sonnet 4.6

anthropic/claude-sonnet-4.6

10/10
Latency
842ms
Cost
$0.00144
Per 1,000
$1.44

166 in · 63 out · 13 words · checks 7/7

  • json_valid
  • json_keys
  • regex
  • contains
  • regex
  • contains
  • contains
{"name": "create_event", "arguments": {"title": "Design Review", "start": "2026-10-02T15:00", "duration_minutes": 45, "attendees": ["[email protected]", "[email protected]"]}}

Judge: All rubric criteria met: correct tool name, proper ISO 8601 start datetime, integer duration of 45 minutes, both attendees in array format, and sensible title.

Claude Haiku 4.5

anthropic/claude-haiku-4.5

10/10
top judge scorecheapest scoring 8+
Latency
721ms
Cost
$0.00060
Per 1,000
$0.60

165 in · 86 out · 19 words · checks 7/7

  • json_valid
  • json_keys
  • regex
  • contains
  • regex
  • contains
  • contains
```json
{
  "name": "create_event",
  "arguments": {
    "title": "Design Review",
    "start": "2026-10-02T15:00",
    "duration_minutes": 45,
    "attendees": ["[email protected]", "[email protected]"]
  }
}
```

Judge: All rubric requirements met: correct tool name, ISO start datetime 2026-10-02T15:00, integer duration 45, both attendees in array, and sensible title 'Design Review'.

Frequently asked

What does this prompt test?

Tool call: Correct tool name, ISO start 2026-10-02T15:00, integer duration 45, both attendees in an array, a sensible title. The deterministic checks are json_valid, json_keys, regex, contains, regex, contains, contains.

Which model should I pick for this task?

If the judge's bar of 8/10 is good enough for you, Claude Haiku 4.5 at $0.60 per 1,000 runs. If you need the top score, Claude Haiku 4.5 at $0.60 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.