Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect pricing for 3.5 Haiku #56

Open
galopyz opened this issue Feb 1, 2025 · 0 comments
Open

Incorrect pricing for 3.5 Haiku #56

galopyz opened this issue Feb 1, 2025 · 0 comments

Comments

@galopyz
Copy link

galopyz commented Feb 1, 2025

Hello,

I think the pricing dictionary for haiku-3-5 is not up to date with the anthropic official pricing.

Here is the current pricing dictionary in the source code:

#| export
pricing = {  # model type: $ / million tokens (input, output, cache write, cache read)
    'opus': (15, 75, 18.75, 1.5),
    'sonnet': (3, 15, 3.75, 0.3),
    'haiku-3': (0.25, 1.25, 0.3, 0.03),
    'haiku-3-5': (1, 3, 1.25, 0.1),
}

But here's the pricing from the anthropic official pricing:
Image

I can fix this really quick if this needs to be fixed, unless I'm wrong about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant