KnotKeep

PayerBench: a τ²-bench domain for health-plan member services

104 simulated member-services calls, scored on the final database state, run against two local models and two Claude models. October 2026.

Code: knotkeep/payerbench on GitHubDataset: knotkeep/payerbench on Hugging Face

TL;DR

  • PayerBench is a domain for Sierra’s τ²-bench, not a new harness. It plugs a policy, a database, 15 agent tools, 3 caller tools and 104 tasks into τ²-bench v1.0.1 through its registry, so it inherits τ²’s user simulator, orchestrator, outcome-based scoring and pass^k. A task passes only if the final database matches the reference state and the agent said the required facts and, where needed, an LLM judge confirms a written assertion.

  • Leaderboard (pass^k: share of tasks solved in all k of k attempts):

    agent tier pass^1 pass^4 agent cost
    Claude Haiku 5.5 hard (31 tasks) 0.992 0.968 $0.62
    Claude Sonnet 5.5 hard (31 tasks) 0.984 0.935 $12.10
    Gemma 4 31B 8-bit, local full (104) 0.925 0.875 $0
    Gemma 4 31B 8-bit, local hard (31) 0.798 0.774 $0
    Qwen3.8-Flash-Next 4-bit, local full (104) 0.858 0.673 $0
    Qwen3.8-Flash-Next 4-bit, local hard (31) 0.887 0.710 $0
  • The two Claude models made no genuine errors on the hard tier. Every one of their three failures in 248 calls was the simulated caller’s mistake. PayerBench v1 separates local models from each other and from the frontier; it does not yet separate Haiku from Sonnet.

  • Gemma’s failures are one blind spot, three ways. It failed every attempt (24 of 24) at the three tasks where the right move is to check the record before acting: a letter about someone else’s claim (it explained the claim), a parent asking about a 23-year-old “child” (it verified the adult and read out their claims), and a terminated member asking for a card (it ordered one). Qwen and both Claude models mostly passed all three.

  • Qwen’s weakness is reliability, not reasoning. It beats Gemma on those record checks but drops from 0.858 to 0.673 between pass^1 and pass^4, and it transferred all 12 grievance calls without verifying the caller first, which the policy requires.

  • Building the benchmark was mostly finding where it was unfair. Nine harness and task bugs were found by reading failed transcripts, each of which would have been scored as an agent failure (list below). The single most useful practice was refusing to trust a 0% category.

What PayerBench is

τ²-bench (Sierra Research, MIT licence) evaluates customer-service agents in simulated conversations: an LLM plays a customer with a hidden goal, the agent under test follows a written policy and calls tools against a database, and the episode is scored on outcomes. Each domain supplies four things; PayerBench supplies them for a health plan’s member services, built from the same seeded synthetic world as projects 1 to 3.

piece PayerBench
Policy Identity verification, one member per call, provider-office rules, confirmation before changes, appeal window and reason codes, PCP rules, expedited review, exactly when to transfer
Database 40 members, 102 claims, 25 prior authorizations, 42 providers, the plan document, and per-call outcomes (verifications, appeals, card orders, transfers)
Agent tools 8 reads (find member ID, member details, claims, one claim, prior auths, benefits search, provider search, verify provider) and 7 writes (verify identity, contact info, ID card, PCP change, appeal, expedited review, transfer)
Caller tools read insurance card, read letters, read practice details: some facts are only on paper, so the caller has to look (τ²’s “dual control”)
Tasks 104 generated tasks across 33 call types and six personas (plain, confused, elderly, adversarial, Spanish-speaking, provider office); 73 core, 31 hard

Scoring. τ² replays each task’s reference actions on a fresh copy of the database and compares hashes with the agent’s final database, so any correct path passes and the agent is never required to copy a script. Three design choices make that hash meaningful for this domain:

  • Identity verification is a recorded write. Verifying the wrong person (a spouse, an adult child) changes the database and fails the task, so privacy is scored by outcome, not by reading the transcript.
  • Free text is stored as codes. Appeals store a reason code, addresses are normalized, phones are digits only, so the hash measures what was done rather than how it was worded.
  • Facts the agent must say are language-neutral (amounts as digits, plan names, appeal IDs). Statuses and refusals go to the LLM judge instead, after a Spanish-speaking caller was failed for an agent that correctly said “pendiente” rather than “pending”.

The hard tier (31 tasks) adds ordering (update the address before ordering a card, since it ships to the address on file), arithmetic (remaining out-of-pocket, total owed across claims), choosing among constrained options (the requested PCP is full or out of network; find the one eligible alternative), partial refusals (change my address and my spouse’s; a provider office asking for the deductible) and three record checks (whose claim is this, is this “child” an adult, is this member still covered).

Setup

  • Agents under test: τ²’s standard llm_agent (policy as system prompt, tools, one action per turn) with four models: Gemma 4 31B 8-bit and Qwen3.8-Flash-Next 4-bit served locally on a Mac Studio by oMLX, and Claude Haiku 5.5 and Claude Sonnet 5.5 over the Anthropic API with default settings (thinking on, no sampling parameters, which these models reject).
  • Simulated caller: Gemma 4 31B at temperature 0.7 for every agent, so all agents face the same caller. Chosen over Qwen3.8 after a head-to-head on 20 tasks x 2 trials: Gemma 40/40, Qwen 38/40, both Qwen misses being caller errors (attaching “yes, go ahead” to a document lookup, which τ² hides from the agent; claiming not to have a member ID it was given).
  • Judge for written assertions: Gemma 4 31B at temperature 0, the free judge that scored within a point of Claude Sonnet 5 in project 2.
  • Trials: 4 per task. Local models ran all 104 tasks; the Claude models ran only the hard tier, because Gemma already scores 0.979 on core and the extra spend would not separate them.
  • Cost and time: $12.72 of API spend in total. A full local run is 416 calls, about 7.6 call-hours, roughly two hours wall clock at four in parallel; median call 8 agent turns.

Results

Hard tier by call type (passes out of attempts)

call type Gemma 4 31B Qwen3.8-Flash-Next Haiku 5.5 Sonnet 5.5
adult_child 0/8 4/8 8/8 8/8
misdelivered_letter 0/8 7/8 8/8 8/8
termed_card 0/8 7/8 8/8 8/8
expedite_denied 4/4 1/4 4/4 4/4
dob_shorthand 7/8 5/8 7/8 7/8
card_after_move 12/12 11/12 12/12 12/12
spouse_address 8/8 7/8 8/8 8/8
provider_deductible 8/8 8/8 8/8 7/8
appeal_by_description, oop_remaining, pcp_unavailable, spanish_multi, total_owed all all all all

Failure audit

Every failure of the Claude models and every hard-tier failure of Gemma was read:

agent failures genuine simulator or task
Claude Haiku 5.5 (hard) 1 / 124 0 1: caller withheld its member ID and had no ZIP to look it up
Claude Sonnet 5.5 (hard) 2 / 124 0 2: the same; and a clinic caller inventing three NPIs instead of reading its practice details
Gemma 4 31B (hard) 25 / 124 24 1: the member-ID/ZIP dead end
Gemma 4 31B (core) 6 / 292 not audited
Qwen3.8-Flash-Next (full) 59 / 416 12 transfers without verification confirmed; rest not audited

The member-ID/ZIP dead end was a task flaw (the shorthand-date caller was not given a ZIP code to fall back on); the caller now knows it, so later runs will not repeat it.

The three Gemma blind spots, from the transcripts. In misdelivered_letter the claim lookup returned member_id: M-SYNTH-000034 for a caller verified as M-SYNTH-000005, and the agent went on to explain that person’s denied MRI. In adult_child the caller said “my child” and gave a 2003 birth date; the agent verified the 23-year-old and listed their claims and balances. In termed_card the agent verified the caller and ordered a card without loading the member record that shows coverage ended. Each requires one look at data the agent already has, and each is a real disclosure or a real wrong write in production. These are exactly the cross-record and post-verification checks project 3’s deterministic defenses (object-level authorization, an output gate) exist to enforce outside the model.

What made the benchmark trustworthy

Nine problems were found by reading transcripts behind failures, before any number was reported. Every one of them would otherwise have been counted against an agent:

found in problem fix
first smoke run τ² points the agent’s and the caller’s toolkits at one database once a task sets caller data, so agent tools ran against the caller’s documents caller documents live inside the shared database
first smoke run the local judge wraps JSON in a code fence; τ² parses it raw and errored strip the fence before τ² parses it
first smoke run postponed annotations hid the tool parameter types from τ²’s schema builder removed from __future__ import annotations from tool modules
second run callers asked for a human or accepted an offered transfer in tasks where the reference had none the policy lists exactly when to transfer; callers decline unless the task is a transfer
second run a caller asked “why did my coverage end”, which the records cannot answer the policy says records show dates, not reasons
full run a Spanish-speaking caller failed for “pendiente” statuses checked by the judge, required facts are language-neutral
hard run an elderly caller read “M… SYNTH… 000007” and the tool required the hyphens tools accept IDs without punctuation, as a real system would
hard run an “adult child” task picked an 8-year-old (missing lower bound on age) adult-child tasks use members 18 and over
Qwen run Qwen sends ZIP codes as JSON numbers and the tool crashed on them (0% on address changes) tools convert identifiers to text and pad ZIPs

A tenth was outside the benchmark: the shared synthetic world drew birth dates with Faker’s date_of_birth, which counts back from the wall clock, so every birth date moved by a day each day. The world now draws them against a fixed anchor with the same random sequence, and the database rebuilds byte-for-byte (a test enforces it).

Caveats

  • Saturated for frontier models. v1 cannot rank Haiku 5.5 against Sonnet 5.5. A v2 needs longer calls with several dependent requests, rules that interact (an appeal on a claim from a terminated period, a PCP change effective after a termination date), arithmetic over many records, and adversarial callers who change their story mid-call.
  • One simulated caller, one judge, both Gemma. Gemma-as-agent faces a Gemma caller; the Qwen-caller cross-check showed its misses were simulator errors rather than leniency, but a stronger or independent caller (τ²’s leaderboard recommends a frontier model) would be a better reference. The judge decides only the 32 tasks that carry written assertions.
  • The task author wrote the policy and the tasks. Generated tasks share phrasings, and the hard tier was designed after seeing where Gemma succeeded. A held-out, hand-written task set would be the honest next check.
  • Local results depend on the serving stack. The same Gemma weights produced a tool call as plain JSON text once under oMLX (an earlier transfer failure), which never happened under mlx_lm.server in projects 1 to 3.
  • Four trials. Per-category counts are small; a single flip moves a hard-tier row by 3 to 12 points.

The code and dataset are public: knotkeep/payerbench on GitHub and on Hugging Face. To discuss a study like this on your own agent, write to us.