Skip to main content

Benchmark

A benchmark run puts a face you own against a reference model, round after round, on the face’s own writing, and reports which of the two sounds more like the person. It runs in the background: start it, poll it, read the result.

Start a run

model and reference_model take any chat model from GET /v1/models; any other is a 400. Refused before anything is spent:

Price

On Connect or Pro with ChatGPT linked, the calls a run makes on Codex-eligible models run on your ChatGPT plan, except the reference model’s answers, which are always paid from credits. Every other call is paid from credits. On Free, the whole run is paid from credits. Send "dry_run": true first. It answers 200, starts nothing and charges nothing:
estimated_usd counts only the calls paid from credits. It is an estimate, not a quote: a face with a lot of material can cost more, so set max_spend_usd. A run is refused up front with 402 benchmark_insufficient_credit when your balance is below what it needs: the smaller of the estimate and max_spend_usd. Nothing is charged.

Watch it

GET /v1/benchmark/runs lists your runs, newest first. It takes limit (1 to 100, default 20) and self_face.

Read the result

The result is result on a finished run, or:
Until the run is done, this route is a 409: benchmark_run_unfinished while it is queued or running, benchmark_run_failed once it has failed.

resolved

gap alone is not a finding. resolved is true only when the interval excludes zero; when it is false, winner is null, whatever gap says. More rounds resolve a smaller gap. A slice with fewer than 20 scored rounds never resolves.

Slices

by_length buckets rounds by the length of your own text: under 30 words, 30-99 words, 100-299 words, 300+ words. by_medium buckets them by kind of writing. One side can win the short rounds and lose the long ones.

basis

in_corpus measures how faithfully each side keeps you on writing the face was built from, not how either would do on writing it has never seen.

Repeat a run

Every result reports its seed. Send it back to draw the same rounds again:
Two runs on the same face, rounds and seed are comparable. Two runs without one are two different samples.