Skip to content

v0.8.0 — what a price comparison is allowed to claim

Latest

Choose a tag to compare

@JoaquinRuiz JoaquinRuiz released this 02 Dec 08:59
· 3 commits to main since this release

A release about what a price comparison is allowed to claim.

Prices at an explicit input:output ratio

Coding agents spend far more tokens reading than writing: they re-read the codebase, feed test output back into context, and resend the conversation every turn. SpecJudge compared prices on output alone, which is the reading that flatters a cheap model most and matches how agents are billed least.

There is now a Blended column. It folds both prices into one at an explicit ratio of input tokens per output token: 5:1 by default, set by cost.input_output_ratio in data/rating-rules.yaml. The ratio is printed in the column header. A note under the table says what the figure is not: an estimate of what your project will cost. The specs cannot say how many tokens the work will take, which is why that estimate was declined in #41.

The README headline changes with it. Against Claude Fable 5.2, Gemma 4 26B MoE is now 107× cheaper at 5:1 input:output (133× on output alone). The output-only figure stays in brackets for comparison.

Thanks to @lweis-83, whose proposal in #41 is where this came from.

The price tie-break uses the blended cost

Price still never beats fit. Among models that fit a project equally well, the cheaper one at the configured ratio now comes first; output price alone used to decide. Set the ratio to 0 to get the old ordering back.

Catalog, as of 2026-12-02

Every hosted price was re-read from the provider's own page. OpenAI refuses automated reads, so its models were checked against OpenRouter instead.

  • Successors replace their predecessors: Claude Fable 5.2, Opus 5.5, Sonnet 5.5 and Haiku 5.5; Gemini 3.8 Flash; GLM-5.4; Kimi K3.1 Pro; Qwen4 Max; Mistral Large 4. Each carries its predecessor's capability levels, and its notes say so.
  • New: Gemini 4 Carbon, Neon and Hydrogen.
  • DeepSeek V4 Flash was retired and is now V4.1 Flash. DeepSeek bills peak and off-peak hours at different rates. The catalog carries the peak rate and puts off-peak in the notes.
  • Gemini 3.8 Flash is listed at its 2027 rate. It bills half that until the end of December.

In the worked example, Claude Haiku 5.5 takes bronze at a tenth of Haiku 4.5's price.

Known issue

In a repository with 8 or more agent-context files and 4 or more ADRs, .instructions.md files are left out by the context-file cap. instructions_considered still reports them as included: true (#44). This has been the case since 0.6.0. Until it is fixed, raise sources.max_context_files.

Upgrading

pip install -U specjudge. schema_version goes to 1.4, which only adds fields: input_output_ratio at the top level and price.blended_per_million per model. In the Python API, Price.blended(ratio) and Price.cost_key(ratio) are new, and Price.sort_key keeps its old meaning.

The one change that can move a result is the tie-break. If you pin rankings in tests, set cost.input_output_ratio: 0 to keep the old order.

Full changelog: v0.7.1...v0.8.0