mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-12 20:15:26 +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.
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
provider: openai
|
|
defaults:
|
|
supports_tools: true
|
|
supports_structured_output: true
|
|
attachments: [image]
|
|
context_window: 400000
|
|
|
|
models:
|
|
- id: gpt-5.5
|
|
display_name: GPT-5.5
|
|
description: Flagship frontier model for complex reasoning, coding, and agentic work with a 1M-token context window
|
|
context_window: 1050000
|
|
api_flavor: responses
|
|
reasoning_effort: medium
|
|
# Short-context rates. Prompts over 272K tokens bill at $10 / $45 (cached $1).
|
|
input_cost_per_million: 5.0
|
|
output_cost_per_million: 30.0
|
|
cached_input_cost_per_million: 0.5
|
|
- id: gpt-5.4-mini
|
|
display_name: GPT-5.4 Mini
|
|
description: Cost-efficient GPT-5.4-class model for high-volume coding, computer use, and subagent workloads
|
|
input_cost_per_million: 0.75
|
|
output_cost_per_million: 4.5
|
|
cached_input_cost_per_million: 0.075
|
|
- id: gpt-5.4-nano
|
|
display_name: GPT-5.4 Nano
|
|
description: Cheapest GPT-5.4-class model, optimized for simple high-volume tasks where speed and cost matter most
|
|
input_cost_per_million: 0.2
|
|
output_cost_per_million: 1.25
|
|
cached_input_cost_per_million: 0.02
|
|
- id: gpt-5.6-sol
|
|
display_name: GPT-5.6 Sol
|
|
description: Latest GPT-5.6 generation flagship for long-horizon reasoning and agentic work
|
|
context_window: 1050000
|
|
api_flavor: responses
|
|
reasoning_effort: medium
|
|
input_cost_per_million: 5.0
|
|
output_cost_per_million: 30.0
|
|
cached_input_cost_per_million: 0.5
|