Skip to content

πŸ› Claude model dropdown and price table: add Fable 5.2, Fable 5.1, Haiku 5.5 and the fable alias - #18786

Merged
hivecommons-hive[bot] merged 2 commits into
hivecommons:v5from
Danathar:fix/claude-models-fable-haiku-5-5
Nov 17, 2026
Merged

hivecommons-hive[bot] merged 2 commits into
hivecommons:v5from
Danathar:fix/claude-models-fable-haiku-5-5

Conversation

@Danathar

@Danathar Danathar commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

The claude backend's model dropdown now offers Fable 5.2, Fable 5.1, Haiku 5.5 and the bare fable alias. The pinned Claude Code 2.1.326 accepts all four, but the hive's hand-kept lists stopped at Fable 5 and Haiku 4.5, so they were cut out even when Anthropic's live catalog listed them.

The price table also gets rows for Fable 5.2 and Haiku 5.5, taken from Anthropic's pricing page. Their spend is now priced at the real rate instead of a size-tier guess.

For the operator: the four new choices show up in the agent page's claude dropdown, and cost estimates for these models stop being marked approximate.

Refs #18753

What this changes

  • Claude dropdown lists (the allowlist, the static fallback and the browser's first-paint list) add claude-fable-5-2, claude-fable-5-1, claude-haiku-5-5 and the fable alias. Nothing else in the lists changes.
  • cli-model-requirements.txt records the first Claude Code version for each new id.
  • New price rows for claude-fable-5-2 and claude-haiku-5-5. priceTableDate is now 2026-11-17.

Why

The allowlist exists so the dashboard never offers a model the installed CLI refuses (#8418). It was last refreshed in August, so it fell behind the CLI. Without a price row, Fable 5.2 and Haiku 5.5 spend was priced by a size-tier guess. #13488 showed how far off that guess can be.

How it was checked

Each id was checked against the Claude Code changelog up to the pinned 2.1.326:

Id First Claude Code version Changelog line
claude-fable-5-2 2.1.321 "Added Claude Fable 5.2 (claude-fable-5-2)"
claude-haiku-5-5 2.1.293 "Added Claude Haiku 5.5 (claude-haiku-5-5)"
claude-fable-5-1 2.1.257 "Added Claude Fable 5.1 (claude-fable-5-1)"
fable (alias) 2.1.232 or earlier 2.1.321 moves saved Fable 5.1 picks to fable; 2.1.301 fixes it

Two of the issue's hints were close but not exact. 2.1.323 only mentions claude-haiku-5-5 in a fix; the model was added in 2.1.293. 2.1.321 does add claude-fable-5-2. Every id is accepted by 2.1.326, so nothing was left out and the pin is unchanged.

Prices come from https://platform.claude.com/docs/en/about-claude/pricing (per million tokens):

Model Input Output Cache read Cache write (5 min)
Fable 5.2 $8 $40 $0.20 $10
Haiku 5.5 $0.10 $0.50 $0.01 $0.125

The hive's own OpenRouter fixture and the Claude Code changelog give the same input, output and cache-read figures. Haiku 5.5's figures are its base rate, for prompts up to 100,000 tokens. Longer prompts bill at $0.50 / $2.50, and the table has no way to track that tier, so the row's comment says long-prompt Haiku 5.5 spend is undercounted.

Example: an agent set to claude-fable-5-2 that uses 1M tokens of each kind is now estimated at exactly $58.20. Before this change it was a tier guess.

Things to know

  • Placement. Fable 5.2 and 5.1 sit just above Fable 5 (newest first, like Opus and Sonnet). Haiku 5.5 closes the 5.x block, just below Fable 5. No live /v1/models call was made to confirm the exact API order.
  • fable alias. It is added to the always-included aliases, so every claude list offers it. It is not added as an auto-heal target, because Fable can draw from usage credits.
  • Drift check. check-cli-model-lists.sh reads the pinned version from the allowlist's comment, and that note had been dropped (🌱 dashboard: refresh cli_models.go CLI-version commentΒ #12291), so the check always reported drift. The note is back as "2.1.326 as of πŸ› [v5] Claude model dropdown and price table: add Fable 5.2, Fable 5.1 and Haiku 5.5Β #18753". With HIVE_MODEL_CHECK_STRICT=1 the script still reports one finding, and it was there before this PR: the codex list comment says 0.166.0 while the Dockerfile pins codex 0.169.0. Fixing that needs a capture of the codex 0.169.0 catalog, which is outside this issue.
  • TRUSTED_SCRIPTS_TREE re-pin. .github/scripts/integration-governance.cjs pins the git tree of src/scripts (not .github/scripts): line 98 checks git rev-parse <source>:src/scripts against the literal. Any PR that edits src/scripts must re-pin it, and integration-governance.test.cjs ("src/scripts tree matches the pinned TRUSTED_SCRIPTS_TREE") fails otherwise. This PR edits cli-model-requirements.txt and test-check-cli-model-lists.sh, so the literal moves from 78d89054… (git rev-parse origin/v5:src/scripts) to c269cb81… (git rev-parse HEAD:src/scripts on this branch). Re-check it with git rev-parse HEAD:src/scripts. Nothing else in that file changes.
  • Shell self-test. test-check-cli-model-lists.sh read the real requirements file, so any new requirements line broke its two-model fixtures. It now uses its own one-line fixture.

Files

  • src/pkg/dashboard/cli_models.go: claudeStaticModels, claudePinnedCLIModels, claudeAlwaysIncludeModels and their comments.
  • src/pkg/dashboard/static-src/js/backends-tokens.js: CLAUDE_CLI_MODELS. static/index.html was regenerated from static-src and matches the manifest concatenation byte for byte.
  • src/scripts/cli-model-requirements.txt: three new lines.
  • src/scripts/test-check-cli-model-lists.sh: fixture requirements file.
  • src/pkg/tokens/pricing.go: modelPrices rows, priceTableDate.
  • .github/scripts/integration-governance.cjs: TRUSTED_SCRIPTS_TREE re-pinned to the new src/scripts tree (required by the governance test).
  • changelog.d/fixed-18753-claude-fable-haiku-5-5-models.md.

Tests

  • TestIssue18753ClaudeListsOfferFableAndHaiku55 checks that the new ids and the alias are in all three lists, with Fable newest first.
  • TestIssue18753LiveClaudeModelsSurviveAllowlist checks that a live /v1/models answer keeps the new ids after the allowlist cut and still drops an unlisted one (claude-mythos-5-2).
  • TestIssue18753FableAndHaiku55PricedExactly checks that both rows resolve, that the dotted and provider-prefixed spellings map to the same row, and that a spend sample is priced exactly.
  • CI: this PR's own v2 Tests and v2 CI checks. Only gofmt -l was run locally, as AGENTS.md requires.

πŸ€– Generated with Claude Code

https://claude.ai/code/session_01WcWm7qFmFJp26r9LPdmi3t

@kubestellar-prow kubestellar-prow Bot added the dco-signoff: yes Indicates the PR's author has signed the DCO. label Nov 17, 2026
@kubestellar-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign danathar for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow Bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 17, 2026
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Open PR overlap check

Base branch: v5

Conflicts are checked with every PR merged onto the current tip of v5, so a PR that only needs a rebase is not reported as conflicting with its siblings.

PR Title Relation Files
#18788 ✨ Weekly PR adds new Claude models to the lists and price table once the pinned Claude Code accepts them CONFLICT .github/scripts/integration-governance.cjs (conflict)
src/scripts/test-check-cli-model-lists.sh
#18795 πŸ› PR Verifier (v5): record PR Type and PR Issue with one completed create, and fail visibly when it can't same files .github/scripts/integration-governance.cjs
#18779 ✨ Governor PRs by model: per-repository breakdown and weekly trend same files src/pkg/dashboard/static/index.html
#18785 ✨ PRs by model: list one model's pull requests same files src/pkg/dashboard/static/index.html
#18782 ✨ Governor PRs by model: split closed-unmerged PRs into superseded, duplicate and other same files src/pkg/dashboard/static/index.html
#18780 ✨ Governor PRs by model: what each model's PRs cost the hive to review same files src/pkg/dashboard/static/index.html
#18781 ✨ Spend and contributor run stats by model: add the canonical model name same files src/pkg/dashboard/static/index.html
#18783 ✨ Evidence summary: change failures (reverts, reopened issues) per model same files src/pkg/dashboard/static/index.html
#18738 πŸ› images: align image-bump commit author with sign-off CONFLICT .github/scripts/integration-governance.cjs (conflict)

@github-actions github-actions Bot added the conflicts-with-open-pr Open PR has a merge conflict with another open PR label Nov 17, 2026

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HUMAN DECISION NEEDED β€” @Danathar the PR rewrites the trusted verifier tree hash in .github/scripts/integration-governance.cjs, which is unrelated to model lists and not mentioned in the PR body. A maintainer must confirm it is intended.

.github/scripts/integration-governance.cjs:12 changes TRUSTED_SCRIPTS_TREE from 78d89054… to c269cb81…. The in-file comment says this literal pins the executable verifier tree and must not be caller-influenced. The PR's "Files" list and changelog never mention this file. The change looks like an accidental rebase or regeneration artifact. If it is not, it re-points the trust anchor of the governance check. I could not tell whether c269cb81… is a legitimate tree. It matches neither the .github/scripts tree at head (453ff867…) nor the one at the merge base (07f89392…), and the old literal matched neither base tree either. So I could not work out how it is derived. Either revert that hunk, or explain it in the PR body and show how the hash was produced.

The rest of the diff checks out. The model lists in cli_models.go, backends-tokens.js and index.html are consistent. fable is correctly kept out of the auto-heal list. The price rows and the three new tests are consistent with the stated rates. The Haiku 5.5 long-prompt undercount is documented.

β€” hive: agent=adjudicator-3 backend=claude model=claude-sonnet-5-5 claude=2.1.326

// This literal is inside the enrolled .github closure. A caller-supplied
// preparedBy.sourceSHA must never choose a new executable verifier tree.
const TRUSTED_SCRIPTS_TREE = '78d89054cc569554b1066b2eb2e322a7f38c285a';
const TRUSTED_SCRIPTS_TREE = 'c269cb813e67f341946dedd7ba9ab967a0530831';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to the PR and undisclosed: this rewrites the trusted verifier tree hash. Please revert this hunk, or explain how c269cb81… was derived.

@hivecommons-hive

hivecommons-hive Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

@Danathar this PR is back in your court (stage/072-returned-to-contributor). The hive will not merge it until the head changes.

Review asks:

  • the review swarm requested changes

Reply here or push a new head to this branch (same sign-off); CI and the review swarm re-run automatically and the PR returns to the normal path.

Queued in your relay fix queue (1 waiting): fixes are handed out before new work as soon as you have capacity.

Danathar and others added 2 commits November 17, 2026 20:36
…ias; price Fable 5.2 and Haiku 5.5

The pinned Claude Code 2.1.326 accepts claude-fable-5-2 (since 2.1.321),
claude-fable-5-1 (since 2.1.257), claude-haiku-5-5 (since 2.1.293) and the
bare `fable` alias, per the Claude Code changelog. Add them to
claudePinnedCLIModels, claudeStaticModels and CLAUDE_CLI_MODELS (and the
always-included aliases), record the first versions in
cli-model-requirements.txt, and restore the pinned-version note the
drift check reads.

Add modelPrices rows for claude-fable-5-2 ($8/$40, cache read $0.20,
write $10) and claude-haiku-5-5 (base rate for prompts up to 100K tokens:
$0.10/$0.50, cache read $0.01, write $0.125) from Anthropic's pricing
page, and bump priceTableDate.

The check-cli-model-lists self-test now uses its own requirements fixture,
so it no longer breaks when the real file gains a line.

Refs hivecommons#18753

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WcWm7qFmFJp26r9LPdmi3t
Signed-off-by: Danathar <6772335+Danathar@users.noreply.github.com>
This branch edits src/scripts (cli-model-requirements.txt and the
check-cli-model-lists self-test), so the pinned tree moves to the new
`git rev-parse HEAD:src/scripts`.

Refs hivecommons#18753

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WcWm7qFmFJp26r9LPdmi3t
Signed-off-by: Danathar <6772335+Danathar@users.noreply.github.com>
@Danathar
Danathar force-pushed the fix/claude-models-fable-haiku-5-5 branch from eb95a6a to c8a80e1 Compare November 17, 2026 20:36

@hivecommons-hive hivecommons-hive Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Decision needed: @clubanderson should confirm the TRUSTED_SCRIPTS_TREE re-pin in .github/scripts/integration-governance.cjs (a trust-surface literal) and the two new Anthropic price rows before this merges.

The model-list and price-row code looks correct to me; I'm routing only because the PR edits a verifier trust pin.

Verified at head c8a80e1

  • git rev-parse pr:src/scripts = c269cb81… and origin/v5:src/scripts = 78d89054…, so the new TRUSTED_SCRIPTS_TREE literal (integration-governance.cjs:12) matches this branch's src/scripts tree and the old value matches base. Nothing else in that file changes.
  • claudeStaticModels, claudePinnedCLIModels, claudeAlwaysIncludeModels and CLAUDE_CLI_MODELS receive the same four additions in the same order; the new tests cover list membership, the allowlist cut and exact pricing.
  • test-check-cli-model-lists.sh now uses its own fixture requirements file, so new lines in the real file no longer break the two-model cases.

Why a human

  • The pin is the value a caller-supplied sourceSHA must never override (comment at integration-governance.cjs:10-11). Any later edit to src/scripts on a competing PR will invalidate it, and the PR carries conflicts-with-open-pr.
  • The price figures (Fable 5.2 $8/$40, Haiku 5.5 $0.10/$0.50) and the CLI first-version lines come from external pages I could not check. Haiku 5.5 is knowingly undercounted above 100k-token prompts (disclosed in the row comment and changelog).

β€” hive: agent=reviewer backend=claude model=claude-sonnet-5-5 claude=2.1.326

@hivecommons-hive

hivecommons-hive Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Hive status β€” updated in place; edits do not notify. Full history is in the Activity Monitor.

Review findings from reviewer-2 (folded here because this head already carries its hive review):

The model-list and pricing change looks correct to me; the only reason for a human is that it edits the governance verifier's pinned tree hash.

Verified at c8a80e18:

  • .github/scripts/integration-governance.cjs:12 changes TRUSTED_SCRIPTS_TREE from 78d89054… to c269cb81…. The script itself (line 103) says a PR that edits src/scripts must re-pin it to git rev-parse HEAD:src/scripts. I fetched the head and git rev-parse FETCH_HEAD:src/scripts returns c269cb813e67f341946dedd7ba9ab967a0530831, so the new literal matches the PR's src/scripts tree. It is the expected mechanical re-pin, but it is the pin that decides which verifier tree runs, so a person should sign it off.
  • src/pkg/tokens/pricing.go:109,125 add Fable 5.2 and Haiku 5.5 entries; they match the figures in the changelog fragment. I could not check them against Anthropic's pricing page.
  • src/scripts/cli-model-requirements.txt gains the Fable 5.2 (2.1.321) line; the Fable 5.1 and Haiku 5.5 lines were already present. The Go allowlists, static fallback and browser list all add the same four ids, and the new tests cover the order and the live-catalog cut.

Not defects, only notes: Haiku 5.5 long-prompt spend is undercounted, which the changelog already states. Any later change to src/scripts on this branch invalidates the pin again.

Evidence bundle `#18786c8a80e1` sha256:b0b5d6148c3e528e1c9b2305531fb515506fb5d1bdc106de8b72b09fadfcf6b9 β€” download from the dashboard or `hivectl review evidence #18786`.

@hivecommons-hive
hivecommons-hive Bot merged commit 7ee2dd5 into hivecommons:v5 Nov 17, 2026
79 of 80 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflicts-with-open-pr Open PR has a merge conflict with another open PR dco-signoff: yes Indicates the PR's author has signed the DCO. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant