Skip to content

Incorrect pricing for 3.5 Haiku #56

Description

@galopyz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions