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:

I can fix this really quick if this needs to be fixed, unless I'm wrong about this.
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:
But here's the pricing from the anthropic official pricing:

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