# Coding and reported value benchmarks

**Last updated:** 2026-11-06T15:44:32-03:00 (UTC-3)

The public research registry distinguishes general capability, task resolution and source-reported value. General ECI remains in its original points scale. Coding resolution compares successful trials with attempted trials. Source-reported value compares successes with the aggregate cost published for those same trials; it never combines a quality score with an unrelated catalog price.

## Enable and query

`model_registry_coding_benchmarks` and `model_registry_value_benchmarks` are independent operator controls, each defaulting to false and requiring `model_registry` and `ui`. Either can be published without the private external catalog, private rankings or workload calculator.

```yaml
features:
  ui: true
  model_registry: true
  model_registry_coding_benchmarks: true
  model_registry_value_benchmarks: true
model_registry:
  fetch_timeout: 30s
  cache_ttl: 15m
```

This fragment does not provision services or model connections. Open `/registry/benchmarks` or query its anonymous API:

```sh
BASE_URL='http://localhost:8080'
curl --fail-with-body -sS --get "$BASE_URL/v1/registry/benchmarks" \
  --data-urlencode 'profile=coding' \
  --data-urlencode 'cohort=terminal_bench_4' \
  --data-urlencode 'limit=50'
```

Use `profile=value` for the separate source-reported value view. The `profile` and `cohort` fields are required; the supported cohort is `terminal_bench_4`. `model_id` selects an exact original model identifier; `q` is bounded to256 UTF-8 bytes. `limit` defaults to50 (1–200) and `offset` to0 (0–10000). Unknown/duplicate/malformed queries are400, a disabled requested profile is404 and an unavailable initial source is503. See [OpenAPI](/docs/api/) for the exact response.

The server sorts coding by the exact successes/trials ratio and reported value by successes per100USD from the same positive reported aggregate. Unknown value sorts last; original run identity breaks ties. The response includes exact numerator/denominator plus a six-decimal half-up display. Only the requested computed metric is published: coding responses do not expose computed value ratios, and value responses omit the computed coding fraction while retaining original counts/accuracy as source evidence. A disabled profile cannot be obtained through the other profile. The browser does not calculate or combine costs. Zero successes with known positive cost is a valid zero ratio; zero or missing cost leaves value unknown.

## Read a benchmark row

A result belongs to a model **and an agent configuration**, not to a model name alone. Review the dataset and immutable version, agent/version, reasoning setting, successes and attempted trials, published model release date, reported API cost and duration coverage before comparing results. `source_date` preserves the publisher’s model release date; the summary does not provide an evaluation date. Source capture time is when the gateway obtained the data, not when the evaluation ran. Filename prefixes do not establish evaluation recency. A missing cost or timing field stays unknown.

Different agents, settings, datasets or trial selections can change results substantially. The interface keeps original runs rather than silently selecting a best configuration for each model. Its cohort selector makes these differences visible. Ordering within a published cohort describes that dataset and its reported, potentially different agent/settings only; it does not predict your application's success rate or invoice.

Exact source model identifiers support research links. An exact label match is neither proof that providers serve equivalent deployments nor permission to invoke a model. No private aliases, keys, provider connections, usage or approved financial prices appear in public research responses.

## Original source and limitations

The supported source profile reads the original Terminal-Bench 4.0 public leaderboard submissions. The official source pins the dataset version and specifies the accepted run settings and trial coverage. Agent tooling, task mix, sampling, provider variability and possible training contamination limit generalization. These are external published results; the gateway does not execute or certify the benchmark itself.

The current original aggregation rounds new total costs to cents and treats absent per-trial cost as zero; older published submissions can retain more decimal places. The gateway preserves the actual published decimal, rather than applying new rounding to historical rows. The source generator averages duration only over trials with timestamps and does not publish the coverage counts in the submission summary. Consequently cost and timing completeness remain unknown: a positive published total supports a clearly labeled source-reported ratio, not a verified complete expense or per-trial timing claim. No private provider bill or bulk-trial verification is performed.

Coding resolution and value preserve separate units. Zero reported cost does not imply unlimited free work or a meaningful infinite value. Missing or invalid same-run cost cannot be substituted with a token list price. Repeated trials are attempts, so “successful trials per USD” must not be read as distinct business tasks completed.

Source identity, revision, original links, license, capture hash/time, stale state and method remain visible. See [third-party notices](/docs/security/third-party/) and [public research](/docs/features/public-model-research/). Source outages affect research only; they do not change inference, routing, billing or budgets.

## Operations

The public benchmark controls are separate operator disclosure flags, disabled by default, and depend on the public registry. Existing typed registry source policy supplies the shared refresh budget and cache lifetime; policy changes use the same YAML, administrative API and console provenance rules. Flags never grant a user's administrative permission or model-call scope.

Publication requires outbound HTTPS to the fixed original source. Each refresh resolves the original repository’s current immutable commit, validates the expected dataset declarations, supported generator hash and license at that commit, then reads every bounded submission from that same revision. It never trusts client URLs or mutable per-file download hints. The gateway uses bounded parsing and an atomic complete source capture; a failed file does not publish a truncated leaderboard. A successful retained snapshot may be marked stale after a refresh failure; its original successful hash and timestamp are preserved. Caller cancellation never becomes a successful cached response. No arbitrary source URL or user-supplied benchmark executable is accepted.

Disable the dependent benchmark flags to hide publication. Visitor copies cannot be recalled. Keep configuration keys compatible when rolling back a binary: an older flag catalog rejects keys it does not know, including keys set to false. Broader release/upgrade qualification remains part of the distribution workflow.
