mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 00:16:20 +00:00
main has been red since 295969b: the model catalog gained claude-fable-5,
gpt-5.6-sol and the alibaba and zai providers, but the pieces that track
the catalog were not updated alongside them. Five tests across
test_model_registry_yaml.py and test_pricing.py have been failing since.
- EXPECTED_IDS picks up the two new hosted models and the two new
openai_compatible ones. The snapshot is deliberate — it exists to
catch an unintended rename — so it is updated, not relaxed.
- test_everything_set sets DASHSCOPE_API_KEY and ZAI_API_KEY alongside
the DEEPSEEK one it already set. Every openai_compatible catalog reads
its own key from the environment, so without them "everything set"
quietly excluded the two new providers.
- claude-fable-5 and gpt-5.6-sol had no rates, which
test_hosted_builtin_models_are_priced requires of every hosted model,
and which token_usage.cost and the quota ceilings both read. Priced on
the existing ladder: fable-5 above Opus 4.7 at 10/50 per million with
cached input at a tenth and cache writes at 1.25x, matching the other
Anthropic entries; sol alongside the gpt-5.5 flagship at 5/30.
46 lines
1.5 KiB
YAML
46 lines
1.5 KiB
YAML
provider: anthropic
|
|
defaults:
|
|
supports_tools: true
|
|
attachments: [image, pdf]
|
|
context_window: 200000
|
|
|
|
models:
|
|
- id: claude-opus-4-7
|
|
display_name: Claude Opus 4.7
|
|
description: Most capable Claude model for complex reasoning and agentic coding
|
|
context_window: 1000000
|
|
supports_structured_output: true
|
|
input_cost_per_million: 5.0
|
|
output_cost_per_million: 25.0
|
|
cached_input_cost_per_million: 0.5
|
|
cache_write_cost_per_million: 6.25
|
|
|
|
- id: claude-sonnet-4-6
|
|
display_name: Claude Sonnet 4.6
|
|
description: Best balance of speed and intelligence with extended thinking
|
|
context_window: 1000000
|
|
supports_structured_output: true
|
|
input_cost_per_million: 3.0
|
|
output_cost_per_million: 15.0
|
|
cached_input_cost_per_million: 0.3
|
|
cache_write_cost_per_million: 3.75
|
|
|
|
- id: claude-haiku-4-5
|
|
display_name: Claude Haiku 4.5
|
|
description: Fastest Claude model with near-frontier intelligence
|
|
supports_structured_output: true
|
|
input_cost_per_million: 1.0
|
|
output_cost_per_million: 5.0
|
|
cached_input_cost_per_million: 0.1
|
|
cache_write_cost_per_million: 1.25
|
|
|
|
- id: claude-fable-5
|
|
display_name: Claude Fable 5
|
|
description: Anthropic's frontier tier above Opus for the most demanding reasoning and long-horizon agentic work
|
|
context_window: 1000000
|
|
supports_structured_output: true
|
|
input_cost_per_million: 10.0
|
|
output_cost_per_million: 50.0
|
|
cached_input_cost_per_million: 1.0
|
|
cache_write_cost_per_million: 12.5
|