Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions providers/deepinfra/anthropic/claude-fable-5.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
costs:
- input_cost_per_token: 1e-5
output_cost_per_token: 5e-5
region: "*"
features:
- function_calling
- json_output
limits:
context_window: 1000000
max_tokens: 1000000

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong max_tokens output limit

Medium Severity

limits.max_tokens is set to 1000000, matching the context window instead of the model’s maximum generation size. Claude Fable 5 supports up to 128K output tokens; other DeepInfra Anthropic entries (e.g. claude-4-sonnet) set max_tokens and max_output_tokens to that output cap, not the full context.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f1250fb. Configure here.

modalities:
input:
- text
- image
Comment thread
cursor[bot] marked this conversation as resolved.
output:
- text
mode: chat
model: anthropic/claude-fable-5
sources:
- https://deepinfra.com/anthropic/claude-fable-5
status: active
supportedModes:
- chat
thinking: true
Loading