Qaf model evaluation

Amazon Ergo benchmark

A small evaluation of structured answers, source use, and tool selection on Amazon Bedrock.

global.amazon.ergo-1.0eu-north-1

Results

Exact-match passes
14 / 14
Completed requests
Median first visible output
5.65 s
14 timed requests
Median completion time
5.66 s
14 completed requests
Estimated inference cost
$0.010644
14 requests with reported usage

14 of 14 planned requests were attempted. 14 completed and 0 ended with request errors.

Results by case

Exact-match outcomes and client-observed timings for each attempt.
CaseRepeat 1Repeat 2
Citation groundingPassFirst output 4.17 sTotal 4.17 sPassFirst output 3.52 sTotal 3.64 s
Arabic evidence extractionPassFirst output 3.30 sTotal 3.40 sPassFirst output 8.67 sTotal 8.70 s
Insufficient evidencePassFirst output 3.27 sTotal 3.28 sPassFirst output 9.62 sTotal 9.63 s
Catalog attributionPassFirst output 16.73 sTotal 16.73 sPassFirst output 7.91 sTotal 7.92 s
Retrieval result rankingPassFirst output 10.12 sTotal 10.14 sPassFirst output 6.33 sTotal 6.34 s
Verse window boundariesPassFirst output 4.97 sTotal 4.98 sPassFirst output 9.31 sTotal 9.33 s
Verse tool routingPassFirst output 4.83 sTotal 4.83 sPassFirst output 3.92 sTotal 3.92 s

Method and scope

The benchmark ran in Herdr’s Qaf workspace on Ditto. Each of the 7 cases was scheduled for 2 repeats. Requests ran sequentially through Bedrock’s streaming OpenAI-compatible endpoint with medium reasoning effort and a 8,192-token completion limit.

Scoring compares each parsed JSON answer or tool call with the saved expected result. The tool case checks the selected function and its arguments. The benchmark uses fixed evidence cards and synthetic records, with selected public Qaf passages as their sources.

First visible output measures time to the first text or tool-call delta. Completion time measures through the stream’s completion marker. Both include the client connection. Cost is an estimate based on reported usage and published token rates.

The results describe this run from one client with one model profile. This fixture set is too small to estimate production reliability or draw model comparisons.

Qaf source passages

Amazon documentation

Reproduce the run

Place both Python files in the same directory. The runner reads a Bedrock API key from the AWS_BEARER_TOKEN_BEDROCK environment variable. Run python3 benchmark.py --region eu-north-1 --model global.amazon.ergo-1.0 --effort medium --repeats 2 --output my-results.json.