Haiku output was 8.2x cheaper per token than Opus, not 40x
The 40x Opus-to-Haiku price gap holds only for short prompts. In my transcripts 98.07% of Haiku requests were long, so output was 8.2x cheaper per token.
$ grep -r "#prompt-caching" ~/blogs # my words, with labels
$ ls ~/write/connections
my posts, connectedThese are my #prompt-caching posts. I made the connection; you get the links.
The 40x Opus-to-Haiku price gap holds only for short prompts. In my transcripts 98.07% of Haiku requests were long, so output was 8.2x cheaper per token.