Email or username:

Password:

Forgot your password?
Top-level
Simon Willison

I released a new version of llm-claude-3 adding support for the new model (and fixing an attachments bug): github.com/simonw/llm-claude-3

llm install --upgrade llm-claude-3
llm keys set claude
# paste API key here
llm -m claude-3.5-haiku 'impress me with your wit'

I also added 3.5 Haiku to my LLM pricing calculator: tools.simonwillison.net/llm-pr

6 comments
Simon Willison

Wrote more about Claude 3.5 Haiku on my blog, including this table showing how the price compares to other leading hosted models simonwillison.net/2024/Nov/4/h

Model 	1m token input 	1m tokens output
Gemini 1.5 Flash-8B 	$0.04 	$0.15
Gemini 1.5 Flash 	$0.07 	$0.30
GPT-4o Mini 	$0.15 	$0.60
Claude 3 Haiku 	$0.25 	$1.25
Claude 3.5 Haiku 	$1.00 	$5.00
Gemini 1.5 Pro 	$1.25 	$5.00
GPT-4o 	$2.50 	$10.00
Claude 3.5 Sonnet 	$3.00 	$15.00
Claude 3 Opus 	$15.00 	$75.00
Beady Belle Fanchannel

@simon looks to me like Google’s stuff is heavily cross-subsidized, guessing 3–30€ is more along the real value of 1M token?

Xing Shi Cai

@simon Isn't Gemini Flash free for now at least? I mostly use it for some simple things for this reason.

Simon Willison

@xsc it has a rate limited free tier, as do the other Gemini models

Xing Shi Cai

@simon It seems that we are getting massive discount for using these LLMs. Would you be still using these if, for example, the price doubles?

Simon Willison

@xsc for personal stuff absolutely - and yes for most of the things I'm building on the APIs

Go Up