Skip to content

πŸ› [v5] Claude model dropdown and price table: add Fable 5.2, Fable 5.1 and Haiku 5.5Β #18753

Closed

Description

@Danathar

Target: v5.

Target branch: v5. Open the PR with --base v5. The code paths are the same on v6 (line numbers can differ), and the regular v5 β†’ v6 top-up carries it there, so do not open a second PR for v6. Citations are path:line on v5 @ 7ca94dd, plus the function name, so the pointers still work after the lines drift.

In the PR body write Refs #<this issue>. Do not use a closing keyword: a PR based on v5 cannot close an issue that way, so a maintainer closes this one after the merge.

Executive summary

The agent page's model dropdown for the claude backend can't offer three models Anthropic serves today: Fable 5.2, Fable 5.1 and Haiku 5.5. The hive also has no price for Fable 5.2 or Haiku 5.5, so its cost estimates for them are guesses.

The dropdown is limited to a hand-kept list of models the pinned Claude Code version accepts. That list was last refreshed in August.

This issue adds the missing models to every list and adds their prices, after checking that the pinned Claude Code version accepts each one. #18754 automates the refresh so it doesn't fall behind again.

Problem

  1. The dropdown's allowlist. It is claudePinnedCLIModels, a closed list (πŸ› bug: agent model dropdown offers models the installed CLI can't run (all backends, not just claude)Β #8418), so the dashboard never offers a model the installed Claude CLI would refuse. The live Anthropic model list (discoverClaudeModels) is cut down to it. The static fallback (claudeStaticModels) and the browser's CLAUDE_CLI_MODELS must match it. Their comments say "Refreshed 2026-08-03 from a live /v1/models response", plus Sonnet 5.5 (✨ [v5] model lists are out of date across CLI backends (Sonnet 5.5 unselectable, stale fallbacks, missing prices)Β #9804) since then.

  2. Missing models. Anthropic's models overview lists these models as available. None is on any of the three lists:

    Model API id List price (per million tokens, in / out)
    Fable 5.2 claude-fable-5-2 $8 / $40
    Haiku 5.5 claude-haiku-5-5 from $0.10 / $0.50
    Fable 5.1 claude-fable-5-1 $10 / $50

    Source: https://platform.claude.com/docs/en/about-claude/models/overview

  3. Missing prices. modelPrices (pricing.go) has claude-fable-5-1, but no row for claude-fable-5-2 or claude-haiku-5-5. A model with no row falls back to a size-tier guess. cost: price claude-fable-5.1 and prune per-agent Copilot session treesΒ #13488 found that put Fable 5.1 at roughly half its real rate.

  4. Missing requirements. src/scripts/cli-model-requirements.txt, read by check-cli-model-lists.sh (✨ [v5] cli-pin-bump: check Hive's model lists and prices against the new CLI pin (and bump patch-versioned CLIs like Claude Code) #9805), records which Claude Code version first accepts each model. It has one line: Sonnet 5.5.

Evidence

  • On the hivecommons hive's agent page, the claude dropdown offers claude-fable-5 and claude-haiku-4-5-20251001, and nothing newer in either line. Its terminal shows Claude Code 2.1.326 running Haiku 4.5.
  • The hive itself already uses claude-haiku-5-5 elsewhere: DefaultMeetingsPersonaAnthropicModel (src/pkg/config/meetings_config.go:327@7ca94dd). Meetings calls the API directly, so it never hits this list, but its spend is still priced by the tier guess.
  • The hive's own OpenRouter catalog fixture (src/crux/openrouter/testdata/models.json, refreshed 2026-11-16) lists anthropic/claude-fable-5.2 and anthropic/claude-haiku-5.5.

Root cause

  • src/pkg/dashboard/cli_models.go:450@7ca94dd claudePinnedCLIModels, returned by pinnedCLIModelAllowlist (:1195) for claude.
  • src/pkg/dashboard/cli_models.go:272@7ca94dd claudeStaticModels.
  • src/pkg/dashboard/cli_models.go:392@7ca94dd claudeAlwaysIncludeModels: the bare aliases opus, sonnet and haiku.
  • src/pkg/dashboard/static-src/js/backends-tokens.js:53@7ca94dd CLAUDE_CLI_MODELS, with labels. It is built into src/pkg/dashboard/static/index.html by make dashboard-gen.
  • src/pkg/tokens/pricing.go:89@7ca94dd modelPrices. priceTableDate is at :44.
  • src/scripts/cli-model-requirements.txt@7ca94dd: one claude line.
  • src/Dockerfile:449@7ca94dd: ARG CLAUDE_CODE_VERSION=2.1.326.

Wanted behavior

  1. Confirm each id against Claude Code 2.1.326 first. Use the Claude Code changelog (https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) and record, for each of claude-fable-5-2, claude-fable-5-1 and claude-haiku-5-5, the release that first accepts it.
    • Hints, to verify yourself, not to trust:
      • 2.1.323's notes name claude-haiku-5-5;
      • 2.1.321's notes are reported to add claude-fable-5-2.
    • If 2.1.326 does not accept an id, leave that id out, say so in the PR, and do not bump the pin in this PR.
    • Also check whether 2.1.326 accepts a bare fable alias (2.1.321 is reported to move saved Fable 5.1 picks to fable). If it does, add fable to claudeAlwaysIncludeModels and to the alias entries of the three lists.
  2. Add the confirmed ids to claudePinnedCLIModels, claudeStaticModels and CLAUDE_CLI_MODELS, in API order, newest first within a family as the lists already are. Labels: "Fable 5.2", "Fable 5.1", "Haiku 5.5". Then:
    • regenerate static/index.html with make dashboard-gen;
    • update the "Refreshed …" comments to name the source and date.
  3. Add a line to cli-model-requirements.txt for each confirmed id: claude <id> <first version>.
  4. Add modelPrices rows for claude-fable-5-2 and claude-haiku-5-5, and update priceTableDate.
    • Take every rate from Anthropic's pricing page (https://platform.claude.com/docs/en/about-claude/pricing). The models overview gives input and output, and says cache reads cost 2.5% of input on Fable 5.2 and 10% on most other models. It does not list cache-write rates.
    • Haiku 5.5's price is quoted "from"; use the base rate and say so in the row's comment.
    • Follow the existing rows' comment style, and keep each row a plain literal so the pricetable tool can edit it.

Acceptance criteria

  • Every confirmed id is in all three lists and in static/index.html, and has a requirements line naming its first Claude Code version.
  • bash src/scripts/check-cli-model-lists.sh reports no drift with HIVE_MODEL_CHECK_STRICT=1.
  • modelPrices has rows for claude-fable-5-2 and claude-haiku-5-5 with rates from Anthropic's pricing page. A spend sample on either is priced exactly, not by the tier guess.
  • Ids 2.1.326 does not accept are absent, and the PR says which and why.
  • No other list entries change.

Test plan (CI decides)

  • src/pkg/dashboard/cli_model_lists_9804_test.go: a test in the style of TestIssue9804ModelListRefresh and TestIssue9804AllowlistsKeepLiveSonnet55, asserting:
    • the new ids are in all three lists;
    • a live /v1/models answer containing them survives the allowlist cut.
  • src/pkg/dashboard/static_model_lists_shape_test.go (TestStaticModelListsShape, from 🌱 Weekly static model list freshness check and list-shape testΒ #18474) must keep passing.
  • src/pkg/tokens/pricing_test.go: the new rows resolve, and their dotted spellings (claude-fable-5.2, the form Copilot and spend records use) resolve to the same row, as the existing Fable 5.1 test does.
  • src/scripts/test-check-cli-model-lists.sh must keep passing.
  • make dashboard-gen-check must pass (the committed index.html is current).

Out of scope / do not change

Dependencies

None. #18754 (the automation) builds on these lists.

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 17, 2026
  2. added and removed
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    stage/010-actionableTriaged; eligible for the hive to pick up
    on Nov 17, 2026
  3. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Nov 17, 2026
  4. hivecommons-hive commented on Nov 17, 2026

    @hivecommons-hive
    Contributor

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

    PR #18786 covers this issue: #18786

    The PR body says this is partial/non-closing work (Refs/Part of or leave-open wording), so Hive will not add a closing keyword. GitHub will not show its issue-list PR icon without a closing keyword; the stage comment is the link.

  5. added
    hive/partially-addressedA merged PR addressed only part of this issue; remainder still actionable
    stage/010-actionableTriaged; eligible for the hive to pick up
    and removed on Nov 17, 2026
  6. hivecommons-hive commented on Nov 17, 2026

    @hivecommons-hive
    Contributor

    A hive agent asked to claim this issue, but it is already claimed by Danathar. The claim was not recorded; the owner decides whether to proceed.

  7. hivecommons-hive commented on Nov 18, 2026

    @hivecommons-hive
    Contributor

    Verified once against merged #18786: all acceptance areas are covered (ids in the three lists and index.html, requirements lines, price rows for claude-fable-5-2 and claude-haiku-5-5, tests). Resolved; the issue says a maintainer closes it after merge, so I'm leaving the close to them.


    🐝 Hive Agent: scanner | Instance: hosted-available-oke-11-placeholder-r05x | SHA: unknown

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

  8. clubanderson commented on Nov 18, 2026

    @clubanderson
    Member

    Closing by hand: delivered by #18786 (merged to v5). v5 merges with Refs do not auto-close, so a maintainer closes it after the merge.

  9. github-actions commented on Nov 18, 2026

    @github-actions
    Contributor

    @Danathar this issue was closed by @clubanderson as completed.

    If this was closed by a merged PR, the fix only takes effect once it ships in a tagged release and your deployment updates to it β€” check your running version against the fix before concluding the fix failed.

    If you are still seeing the problem, comment /reopen and it will be reopened for you β€” you do not need write access. Please add what you are still observing (running version, logs, steps) so it is not closed the same way again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.hive/partially-addressedA merged PR addressed only part of this issue; remainder still actionable

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions