FLOBOTICSLAB Report v1.2 · updated 2026-09-22

Lab / Agent battles / FLX-0142

IDFLX-0142
TypeAgent battle
WorkflowPrior-authorization intake
Runs2026-09-08 to 09-12
Per agentn = 50
Experiment cost$58.40
LeadCTO · J. Nowicki
DataSynthetic, no PHI

GPT-6 vs Claude vs local Qwen: which agent can automate this workflow fastest?

ConcludedReplicated 2xProtocol registered 2026-09-01Hypothesis and thresholds frozen before the first run
H1A hosted frontier model completes prior-authorization intake at least 2x faster than a local 32B model, at equal accuracy.Partly supported
Fastest · the question askedGPT-63:12 median · 13% ahead of Claude
Most reliableClaude48 of 50 complete · best p90 · 0 unsafe actions
Lowest costQwen 32B local$0.03 per run · 13x cheaper · 2.2x slower
WHAT WE WOULD DEPLOY

Claude as the primary agent. GPT-6 as a fallback for time-critical queues, only with the member-ID validation rule added. Local Qwen for the extraction step alone, where its accuracy is sufficient and PHI never leaves the client network.

01

Question and hypothesis

Prior-authorization intake is one of the most common requests we get from provider groups. A coordinator reads a faxed referral, extracts 14 fields, checks the payer's rules and submits a request in the payer's portal. It takes a skilled person about 11 minutes.

Clients now ask one question before anything else: which model should run this? Hosted frontier models are fast and capable. Local models keep PHI inside the network and cost almost nothing per run. We wanted a number, not an opinion.

02

Models and tools tested

GPT-6Hosted API
Version
gpt-6-2026-08-20
Context
256k
Price in / out
$2.50 / $10 per 1M
Temperature
0
ClaudeHosted API
Version
claude-2026-08
Context
200k
Price in / out
$3 / $15 per 1M
Temperature
0
Qwen 32BLocal · 2 GPUs · FP8
Version
qwen-32b-instruct
Context
32k
Cost basis
power + hardware
Serving
vLLM 0.9
Human baselineReference, not a contender
People
2 coordinators
Experience
4 and 7 years
Runs
10 each
Cost basis
loaded labor

Same tools, same system prompt, same 60-step limit for every agent. Tool definitions published in the harness repository.

03

Test environment

Synthetic referrals50 PDFS · NO PHI HARNESS v0.9.3 · SAME TOOLS, PROMPT, LIMITS GPT-6HOSTED ClaudeHOSTED LOCAL GPU NODE Qwen 32BLOCAL · FP8 Sandbox payer portalCLONE · RESET EVERY RUN Raw logsJSONL · PUBLISHED Automatic judgeFIELD DIFF VS GOLD LABELS Human review10% OF RUNS
04

Methodology

TaskRead a faxed referral, extract 14 fields, check payer rules, complete and submit a prior-auth request.
Dataset50 synthetic referrals built from real layouts: 38 typed, 12 with handwriting. Published.
OrderRandomized per agent. Sandbox reset and cache check between every run.
TimingFrom first agent action to confirmed submission in the portal.
ScoringAutomatic field diff against gold labels; a person reviews 10% of runs, blind to the agent.
Unsafe actionSubmitting with a guessed or conflicting identifier counts as a failure, whatever the time.
ThresholdsCompletion ≥ 95%, field accuracy ≥ 98%, p90 ≤ 1.6x median, 0 unsafe actions.
ReplicationTwo further runs of all 150 on different days, second by a different engineer.
Intervals95% Wilson intervals for completion rates.
05

Results

Median run, replayed · 5 steps · 0 to 12 mint = 12:00
Read document Extract fields Validate payer rules Retry after tool error Fill portal Submit
MetricGPT-6ClaudeQwen 32B localHuman baseline
Median time to complete3:123:416:5511:20
p90 time to complete4:484:3011:0215:40
End-to-end completion46/50 · 92%48/50 · 96%39/50 · 78%49/50 · 98%
Field accuracy, 14 fields97.1%98.4%93.6%99.0%
Unsafe actions1000
Human interventions319n/a
Cost per run$0.41$0.38$0.03$7.10
Passes production thresholdsNo · unsafe actionYesNo · completionReference
End-to-end completion95% interval · threshold 95%
n = 50 per agent, 20 for humansSource: raw_logs.jsonl
Cost vs speedLower left is better
Human baseline off chart: $7.10, 11:20Median of 50 runs
Why runs failedFailed or interrupted runs, by first cause
Wrong or missing fieldPortal navigationTool error or timeoutOther
Hover for counts
06

Raw findings

  1. Median is not the number that matters for a queue. GPT-6 was fastest on 41 of 50 referrals, but its slowest runs were slower than Claude's (p90 4:48 vs 4:30). A queue that must clear by 5 pm is decided by the p90.
  2. All three agents failed on the same two referrals. Both had handwritten diagnosis codes. This is a document problem, not a model problem, and it is where human review belongs.
  3. Qwen's retries came from one tool. 9 of 11 Qwen failures started with a malformed call to the portal's date picker. A stricter tool schema fixed 7 of them in a follow-up run that is not counted here.
  4. GPT-6 guessed once. On a referral with two conflicting member IDs, Claude asked for human help; GPT-6 picked one and submitted. Under our thresholds that is an unsafe action. With a member-ID validation rule (harness v0.9.4), GPT-6 passes.
  5. People were slower and very accurate. Coordinators made no field errors on typed referrals and one on handwritten ones. The right comparison is not agent vs person but agent plus person vs person.
  6. Replication held. Both replications landed within 1.4 points of the first run on every metric. Rankings did not change.
raw_logs.jsonl · excerpt · 6 of 12,480 lines
{"run":17,"agent":"claude","step":"extract","ms":54120,"fields_ok":14,"fields":14}
{"run":17,"agent":"claude","step":"portal.submit","ms":15890,"status":"confirmed"}
{"run":23,"agent":"gpt-6","step":"validate","warning":"member_id_conflict","action":"guessed"}
{"run":31,"agent":"qwen-32b","step":"portal.fill","error":"tool_schema:date_of_service","retry":1}
{"run":31,"agent":"qwen-32b","step":"portal.fill","ms":44930,"status":"ok_after_retry"}
{"run":44,"agent":"claude","step":"validate","action":"escalate_to_human","reason":"two member IDs"}
07

Limitations

One workflow, one portal clone and one week of model versions. Hosted model speed depends on provider load; we ran at the same hours each day but cannot control it. Synthetic referrals are built from real layouts, yet real fax noise is worse. The human baseline is two people, which is enough for a reference, not for a claim about coordinators in general.

08

Reproduce it

terminal · bash
git clone https://github.com/flobotics/lab-harness && cd lab-harness
make env                                   # sandbox portal + synthetic referrals
flx run FLX-0142 --agents gpt-6,claude,qwen-32b --runs 50
flx report FLX-0142 --compare published    # diff against our numbers
✓ protocol hash matches 3f9c1e2150 runs · est. 2 h 40 min · est. $41 API cost
09

Changelog and discussion

  • 2026-09-22 · v1.2Added: GPT-6 passes all thresholds with the member-ID validation rule (harness v0.9.4).
  • 2026-09-16 · v1.1Replication 2 by a second engineer. All metrics within 1.4 points.
  • 2026-09-12 · v1.0Published with replication 1.
  • 2026-09-01Protocol registered. Hypothesis and thresholds frozen.
CTO Notes · 16 Sep 2026 · commentary on this experimentI ran the same workflow through 7 AI agents. Here's what broke.