Automated implementation via the implement pipeline - #111
Open
Ken Chau (kenotron-ms) wants to merge 3 commits into
Open
Automated implementation via the implement pipeline#111Ken Chau (kenotron-ms) wants to merge 3 commits into
Ken Chau (kenotron-ms) wants to merge 3 commits into
Conversation
added 3 commits
September 1, 2026 23:46
## Summary Registers Claude Fable 5.1 in the provider module. ## Model facts (from Anthropic sources) - **API model identifier**: Source: https://docs.anthropic.com/en/docs/about-claude/models/overview (verified 2026-09-01) - **Context window**: 1M tokens (same as Fable 5) Source: https://docs.anthropic.com/en/docs/about-claude/models/overview - **Max output tokens**: 128K tokens (same as Fable 5) Source: https://docs.anthropic.com/en/docs/about-claude/models/overview - **Pricing**: $10/MTok input, $50/MTok output (same as Fable 5) Cache reads: $0.25/MTok (75% cheaper than Fable 5's $1.00/MTok) Cache writes (5-min): $12.50/MTok (same as Fable 5) Source: https://www.anthropic.com/claude-fable-and-mythos-5-1 ("Cache reads now cost 75% less, or $0.25 per million tokens.") - **New/changed API parameters**: None. Same API surface as Fable 5. ## Changes ### `amplifier_module_provider_anthropic/_cost.py` - Added `claude-fable-5-1` to `_RATES` with the new pricing: - `input_per_m`: $10.00 (same as Fable 5) - `output_per_m`: $50.00 (same as Fable 5) - `cache_read_per_m`: $0.25 (75% cheaper than Fable 5's $1.00) - `cache_write_per_m`: $12.50 (same as Fable 5) ### `amplifier_module_provider_anthropic/__init__.py` - Updated `_get_capabilities` docstring to reference Fable 5 / 5.1 (capability detection is family-based, so no code change needed) ### `tests/test_fable51.py` (new) - 27 new tests covering: - Family detection (`claude-fable-5-1` -> `fable`) - Version parsing ((5, 1) from the model ID) - Full capability matrix (128K output, 1M context, adaptive thinking, all effort levels, no speed mode, no manual thinking) - Cost: input/output same as Fable 5; cache_read 75% cheaper - Not in fast-eligible models - Fallback ladder: steps down to opus (same as Fable 5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated contribution via the implement pipeline.
Generated by the implement pipeline.