# Benchmarks

> Curva measured on public datasets and 40 real problems: text, pictures, video, live calls, PDFs, routing and learned answers, with accuracy, calibration, latency, cost, sample sizes and dates.

Source: https://docs.tarkova.com/curva/benchmarks/

Curva is measured on well-known public datasets, on 40 real problems run end to end, and on
probes that test whether its probabilities can be trusted. Every number here has its model,
sample size and date next to it, and a 95% range where the sample allows one. The datasets are public, and `curva bench` ships in the `curva`
program you install, so you can measure any model on your own labeled data (see
[Measure your own model](#measure-your-own-model)).

## Public datasets

8 public sets, 6,040 rows sampled with a fixed seed. Every run and every model sees the same rows,
and each sample takes the labels in turn, so a small sample is balanced across labels.

| Set | Rows | Question | What it tests |
|---|---|---|---|
| `phishnchips` | 2,000 | Noul: phishing? | Security triage, yes/no calibration |
| `banking77` | 770 (10 per intent) | Choice, 77 options | Large option sets (intent routing) |
| `boolq` | 500 | Noul | Reading comprehension |
| `openbookqa` | 500 | Choice A–D | Calibration on unseen tasks |
| `commonsenseqa` | 500 | Choice A–E | Calibration on unseen tasks |
| `hellaswag` | 500 | Choice A–D | Calibration on unseen tasks |
| `yelp` (Yelp Review Full) | 500 | Score, 1–5 stars | Ordinal scores |
| `aita` (Reddit AITA) | 770 | Choice YTA/NTA/ESH/NAH | Subjective judgement, Brier score |

## Trust probes

| Probe | What must hold | Curva mechanism |
|---|---|---|
| Negation consistency | P(x) + P(not x) = 1 | Noul is asked as a normalised two-option choice |
| Option-order stability | Reordering the options doesn't change the answer | [Order debiasing](/curva/concepts/trust/#order-debiasing) averages both orders |
| Fair coin | P(heads) ≈ 0.5 | [Calibration](/curva/concepts/calibration/) on feedback |

## Targets

Nothing is claimed until `curva bench --save` has produced it.

| Metric | Target |
|---|---|
| Negation sum P(x) + P(not x) | within 0.02 of 1.00 |
| Option-order swap | < 5% of answers change |
| Fair coin P(heads) | 0.50 ± 0.05 |
| ECE after calibration, each public set | ≤ 0.03 |
| Overall accuracy (built-in sets) | ≥ 90% |
| Accuracy when automated at ≥ 0.9 confidence | ≥ 98%, on ≥ 70% of decisions |
| Adversarial (injected) inputs | ≥ 95%, never confidently wrong |
| Repeat decision | 0 ms, $0 (cache) |

## Newest results (20 to 26 October 2026)

Run on a laptop in India against Amazon Bedrock in Mumbai (ap-south-1) unless a row says
otherwise. Bedrock reports no cost, so cost is tokens times Bedrock's public list price. Ranges
are 95% Wilson intervals. Small samples are marked; read them as early.

### 40 real problems, end to end (24 October, fixes re-run 26 October)

Forty problems customers bring (support routing, ID photos, contracts, scam calls, dashcams,
agent guards and more), each run through the real server and the Python SDK and checked five ways.
Models: Kimi K2.5 for text, Qwen3-VL 235B for pictures and video, Gemini 3.1 Flash-Lite for
recordings, Gemini 3.1 Flash Live for live calls. Every problem and its snippet is on
[What you can build](/curva/guides/use-cases/); the checks that failed are in
[Known limits](/curva/known-limits/#found-by-the-use-case-runs).

| Check | Passed |
|---|---|
| Right answers on labelled inputs | 40 of 40 |
| Provider down or too slow: a safe answer, never a confident wrong one | 40 of 40 |
| Bad input: one clear sentence, the right status | 40 of 40 |
| Hostile input refused or without effect | 40 of 40 |
| Happy path in at most 5 lines | 39 of 40 |

| Input | Problems | Latency p50 / p95 per call |
|---|---|---|
| Text | 12 | 457 / 1,139 ms |
| Pictures | 4 | 2,176 / 4,474 ms |
| Agents, routing and MCP | 8 | 383 / 1,014 ms |
| Feedback, receipts, keys, privacy | 6 | 232 / 844 ms |

Each problem had 2 to 6 labelled inputs (34 for feedback), so these show the range, not a
benchmark. The results cost $0.055 for 127 paid model calls.

### Typed decisions, public test (20 October)

All 400 cases (2,000 decisions: yes/no, choice and score) of a public typed-decisions test.

| Model | Accuracy (95% range) | ECE | p50 per case | Cost for 2,000 decisions |
|---|---|---|---|---|
| Kimi K2.5 (the Bedrock default) | 72.1% (70.1%–74.0%) | 0.085 | 326 ms | $0.34 |
| Kimi K2.5 and GPT-OSS 120B as a council | 75.9% (74.0%–77.8%) | 0.028 | 5,387 ms | $1.22 |
| Ministral 3 14B | 67.5% (65.5%–69.6%) | 0.059 | 295 ms | $0.13 |

The council is the most accurate and the best calibrated, and about 16 times slower than one model.

### Pictures (20 October)

| Set | n | Model | Result | p50 |
|---|---|---|---|---|
| VQA v2, yes/no about a photo | 100 | Qwen3-VL 235B | 87% (79%–92%), ECE 0.101 | 702 ms |
| RefCOCO, where is it (Box) | 125 (25 absent) | Qwen3-VL 235B | box overlaps the true one by half or more 82%; absent things called absent 23 of 25 | 1,446 ms |
| DocVQA, text in a document picture | 100 | Qwen3-VL 235B | 75% exact (66%–82%) | 1,549 ms |
| 300 photos, search in words | 20 searches | Gemma 3 27B describes, search is local | precision at 5: 94%, 98% after checking the pixels; search 0.9 ms | $0.143 per 1,000 photos read |

### Camera frames: the vision model as a judge (24 October)

39 yes/no questions (people, vehicles, animals, screens, work sites, weather and more) on 2,536
Open Images photos, 3,112 question-photo pairs. Every pair where a model disagreed with the
original label was looked at and relabelled where the photo plainly contradicted it (299 flipped,
179 left out as unclear).

| Model | Labels | n | Precision | Recall | ECE, calibrated on held-out halves |
|---|---|---|---|---|---|
| Qwen3-VL 235B, 1,024 px | original | 3,112 | 0.821 | 0.892 | 0.018 |
| Qwen3-VL 235B, 1,024 px | reviewed | 2,933 | 0.978 | 0.979 | 0.005 |
| Kimi K2.5 | reviewed | 2,933 | 0.910 | 0.988 | 0.011 |

Only labels a model disagreed with were reviewed, so the reviewed rows lean slightly towards the
models. Per question, 27 of 39 reach precision 0.95 and recall 0.90.

### Live video (21 to 26 October)

| What | Result |
|---|---|
| A frame judged by the hosted model (Qwen3-VL 235B, live) | p50 811 ms, p90 2,340 ms (n 18) |
| The change gate alone, decode included | p99 1.1 ms at 640×480, 3.5 ms at 1280×720 (n 300 each) |
| Reused answers for near-identical frames, 10-minute synthetic clips (26 October) | hosted-model calls a camera-hour down 8% at 1 camera, 15% at 10 and 16% at 25 on a lobby clip, and 42% on a kitchen clip; no reused answer wrong against the truth |

Answers on the server from each camera's own heads (the fast path) have no current measurement:
since the switch-on fix of 26 October, no head switches on in these synthetic clips, so their
frames go to the hosted model. Earlier fast-path numbers were measured before that fix and are
not repeated here. See [Known limits](/curva/known-limits/#live-video).

### Video clips (21 October)

94 clips of 6 s made from labelled photos, four driving questions and a Box.

| Path | Model | Accuracy | Precision | Recall | p50 | $ per clip |
|---|---|---|---|---|---|---|
| The clip itself | Gemini 3.1 Flash-Lite | 91% | 100% | 82% | 2.8 s | 0.0005 |
| Timed frames | Qwen3-VL 235B | 91% | 100% | 82% | 3.0 s | 0.0018 |
| Timed frames | Gemini 3.1 Flash-Lite | 94% | 100% | 87% | 3.7 s | 0.0013 |

### Documents (19 and 20 October)

| What | Result |
|---|---|
| Reading a 2,131-page PDF | 2.3 s on a laptop, no model call |
| Finding the right page, 1,066-page novel, 50 scenes | right page in the top 5: 90% (79%–96%); search p50 under 4 ms |
| Typed answers citing pages, Ministral 3 14B, n 20 | 14 of 20 right, each citing a page that supports it; questions the book cannot answer abstained |

### Live calls (20 and 23 October)

Gemini 3.1 Flash Live (preview).

| What | Result |
|---|---|
| Scam and calm calls, final 0.3.0 build, 20 calls | 19 of 20 handled right: scam 10 of 10, calm 9 of 10; median 1.14 s from the end of speech to the action |
| Seven ready-made call sets (support, sales, booking, consent, verify, health, collections), 91 calls | the right action on 64 of 70 (91%); nothing fired on 21 of 21 neutral calls; median 1.07 s |
| Video calls: does the spoken name match the ID card, 20 calls, Qwen3-VL for frames | 10 of 10 with the frame, 6 of 10 from the sound alone; decisions with the frame p50 1,726 ms |

### Routing prompts (24 October)

94 held-out prompts from GSM8K, MATH-500 and TriviaQA, small model Ministral 3 8B, strong model
GPT-OSS 120B.

| Strategy | Right | Cost | Sent to the strong model |
|---|---|---|---|
| Always small | 84.0% | $0.0164 | 0% |
| Always strong | 94.7% | $0.0449 | 100% |
| Curva Router, before feedback | 88.3% | $0.0402 | 52% |
| Curva Router, after feedback | 88.3% | $0.0241 | 21% |

### Learned answers and devices (20 to 26 October)

| What | Result |
|---|---|
| Learned answers on the server | 30 of 30 new spam messages answered by Curva alone, all right, $0; p50 97 µs, p95 134 µs (n 20, debug build) |
| Learned answers on a phone pack, 1,552 held-out texts | answered or abstained as the server did on all but one; 4.8 µs a text at the median; the file with the text embedder is 8.1 MB |
| Camera answers on a device build (26 October), 1,650 held-out photos and 1,440 held-out video frames | the same embeddings, abstains and audits as the server on every one; JPEG to answer p50 20.7 ms, p99 61.2 ms (photos) and 20.3 ms, 63.6 ms (video frames) on 4 threads of an M1 laptop, not a phone |

### Receipts (October)

A signed receipt adds 0.015 ms per decision at p50 and 600 to 890 bytes per response, measured on
live Bedrock decisions.

## Results (30 September 2026, calibration updated 1 October)

Free models, verbal mode, order debiasing on. **Accuracy** is weighted to each dataset's natural
label mix (samples are balanced, published accuracies are not). **ECE after calibration** is
held-out: each half of the rows is calibrated by a fit on the other half, which is what you get
once you send feedback; it equals the raw ECE when calibration would not help.

### Gemini Flash-Lite

| Set | n | Accuracy (95% range) | ECE | ECE after calibration | p50 latency |
|---|---|---|---|---|---|
| PhishNChips (phishing) | 100 | 80.8% (73%–89%) | 0.138 | 0.138 | 1146 ms |
| BANKING77 (77 intents) | 120 | 79.8% (73%–87%) | 0.097 | 0.097 | 1362 ms |
| BoolQ | 127 | 88.9% (83%–94%) | 0.081 | 0.081 | 1071 ms |
| OpenBookQA | 100 | 92.2% (87%–97%) | 0.056 | 0.056 | 1013 ms |
| CommonsenseQA | 100 | 82.0% (74%–90%) | 0.118 | 0.118 | 1263 ms |
| HellaSwag | 98 | 78.6% (70%–87%) | 0.032 | 0.032 | 1173 ms |
| Yelp (1–5 stars) | 100 | 54.0% (44%–64%) | 0.259 | 0.138 | 2832 ms |
| Reddit AITA (4 verdicts) | 100 | 67.2% (58%–76%) | 0.404 | 0.149 | 1318 ms |

### Qwen 3.8 27B on Groq

| Set | n | Accuracy (95% range) | ECE | ECE after calibration | p50 latency |
|---|---|---|---|---|---|
| PhishNChips (phishing) | 100 | 72.8% (64%–82%) | 0.283 | 0.209 | 178 ms |
| BANKING77 (77 intents) | 69 | 74.7% (64%–85%) | 0.252 | 0.157 | 351 ms |
| OpenBookQA | 100 | 85.0% (78%–92%) | 0.051 | 0.051 | 207 ms |
| CommonsenseQA | 100 | 84.0% (77%–91%) | 0.066 | 0.066 | 230 ms |
| HellaSwag | 100 | 86.0% (79%–93%) | 0.085 | 0.085 | 209 ms |
| Reddit AITA (4 verdicts) | 100 | 55.7% (46%–65%) | 0.475 | 0.221 | 265 ms |

What this shows:

- **Calibration fixes models that lean or overclaim.** Gemini's AITA error falls from 0.404 to
  0.149 and its Yelp error from 0.259 to 0.138 once bias scaling corrects its favourite answers
  (Yelp accuracy also rises from 54% to 59%); Groq's overconfident phishing probabilities go from
  0.283 to 0.209.
- **It never makes good answers worse.** Where a model is already well calibrated (the quiz sets),
  Curva leaves its probabilities as they are.
- **Speed.** Groq answers in about 0.2 s; Gemini Flash-Lite in about 1.1 s.
- **Both run free** within the providers' free tiers.

### Paid models (early: n = 20 per set)

gpt-4.1-nano, gpt-4o-mini, gpt-4.1-mini and Claude Haiku 4.5 ran 20 balanced rows on each set,
too few for firm per-set numbers. Measured cost per 1,000 decisions across the 8 sets:
gpt-4.1-nano $0.078, gpt-4o-mini $0.118, gpt-4.1-mini $0.314, Claude Haiku 4.5 $1.64.

### Trust probes (live server, auth and debiasing on)

| Probe | Ling 3.0 Flash (logprobs) | Nemotron 3 Super (verbal) |
|---|---|---|
| Negation: P(x) + P(not x), 3 tickets | 1.33 / 0.14 / 0.56 (fails: the model ignores "NOT") | **1.000 / 1.000 / 1.000** |
| Option-order swap, 4 tickets × 2 orders | **0 of 4** change | not run |
| Fair coin P(heads) | **0.494** | not run |

Because Ling failed the negation probe and Nemotron passed it, the default config
`curva-1.1.0` (`curva-latest`) uses Nemotron 3 Super. `curva-1.0.0` keeps Ling for callers who
pinned it.

## Measure your own model

Put your labeled rows in a folder as `<name>.json`, with the question and one row per example:

```json
{"question": {"type": "noul", "instructions": "The customer asks for a refund"},
 "rows": [{"state": {"ticket": "Charged twice, refund please"}, "label": true}]}
```

Then run any model on it and re-analyse without new calls:

```bash
pip install curva-ai
curva bench --dir my-evals --model @gemini/gemini-flash-lite-latest --per-set 100 --save run.jsonl refunds
curva report run.jsonl --dir my-evals
```

A rerun with the same `--save` file skips rows already answered, so a small daily quota builds
one growing sample.

## Next runs

- DeepSeek, Z.ai GLM and Alibaba Qwen, which return real token probabilities.
- Clearer verdict definitions for AITA.
- More rows for the paid models.
