Welcome to Portkey Forum

Updated 3 days ago

Potential Pricing Issue with Claude API

This 0.81 cents for 2k token is not right. claude api doens't cost this much. i think it's a bug
Attachment
Screenshot_2025-02-13_at_2.41.42_PM.png
s
k
H
3 comments
hey @Het007 what model are you using, and how many input tokens do you have??
@Het007 i dont see the problem here.

Anthropic (Sonnet) costs $3/million tokens. so your api call, assuming all 2k tokens were input tokens would cost $0.006 or 0.60 cents. you were charged 0.81 cents, which is in the same order of magnitude.
Okay @koishore got it, 2k token mean 0.60 cents but that is for input and output has differnt pricing so it it reaching 0.81 cents.
Add a reply
Sign up and join the conversation on Discord