Skip to content

Automated implementation via the implement pipeline - #110

Open
Ken Chau (kenotron-ms) wants to merge 3 commits into
mainfrom
resolve/amplifier-module-provider-anthropic-53be2d80
Open

Automated implementation via the implement pipeline#110
Ken Chau (kenotron-ms) wants to merge 3 commits into
mainfrom
resolve/amplifier-module-provider-anthropic-53be2d80

Conversation

@kenotron-ms

Copy link
Copy Markdown
Contributor

Automated contribution via the implement pipeline.


Generated by the implement pipeline.

Amplifier Bot added 3 commits September 1, 2026 21:47
Register claude-fable-5-1 in _RATES with Anthropic's published pricing:
- Input:       $10.00/MTok  (same as Fable 5)
- Output:      $50.00/MTok  (same as Fable 5)
- Cache read:   $0.25/MTok  (75% cheaper than Fable 5's $1.00/MTok)
- Cache write:  $12.50/MTok (same as Fable 5; 5-minute TTL rate)
- 1h cache write: $20.00/MTok (2x input rate, via existing TTL-split path)

Fable 5.1 uses the same capabilities as Fable 5 (family='fable'), so
_detect_family, _detect_version, and _get_capabilities already handle it
correctly through the existing 'fable' branch. No new capability logic needed.

Sources:
- https://www.anthropic.com/claude-fable-and-mythos-5-1
- https://docs.anthropic.com/en/docs/models/overview

Research facts (item 1):
a. API model identifier: claude-fable-5-1
b. Context window: not explicitly stated on docs page (same 1M context as Fable 5, per supports_1m=True already in the fable branch)
c. Max output tokens: 128,000 (same as Fable 5, per the fable branch)
d. New/changed parameters: none; same adaptive thinking API as Fable 5

DTU validation (item 4 -- executed in Resolve worker environment):
  Request: messages.create(model='claude-fable-5-1', max_tokens=128,
           messages=[{'role':'user','content':'Say hello in exactly 3 words.'}])
  Response: model=claude-fable-5-1, content='Hello there, friend!',
            input_tokens=21, output_tokens=10, stop_reason=end_turn
  Exit: 0 (success)

Tests: 26 new tests in tests/test_fable51.py, all passing.
Full suite: 781 passed (uv run pytest --tb=short -q)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant