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
10 changes: 10 additions & 0 deletions providers/perplexity-ai/anthropic/claude-haiku-5-5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ costs:
input_cost_per_token: 1e-7
output_cost_per_token: 5e-7
region: "*"
tiered_pricing:
cache_read:
- cost_per_token: 5e-8
from: 100000
input:
- cost_per_token: 5e-7
from: 100000
output:
- cost_per_token: 2.5e-6
from: 100000

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Missing cumulative long-context pricing mode

Medium Severity

The new tiered_pricing block omits pricing_mode, so it defaults to marginal. Perplexity prices Haiku 5.5 by prompt length: once input exceeds 100k tokens, every token uses the long-context rate. Cost calculations will undercharge those requests.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 18875cd. Configure here.

external_ids:
artificial_analysis_id: 7d064a11-6e78-4030-b535-cdf940615041
artificial_analysis_slug: claude-haiku-5-5
Expand Down
Loading