LLM pricing calculator
Cost of various LLMs.
Notes:
As of 2025-05-31 Gemini pro 2.5 <200k tokens is excellent value and performs similarly to Claude Sonnet 4 and 3.7 for me at most programming tasks. Sonnet 4 and Sonnet 3.7 are same price. Claude Opus 4 is v. expensive and writes loads of tests and generally overdoes things.