Text models

Compare Claude, GPT, and Gemini API costs

Estimate spending from input tokens, output tokens, and accepted results.

Measure input and output independently

Price both token directions. Include regular requests, long contexts, and tool calls so a short prompt does not skew the sample.

Compare the cost of accepted work

Track pass rates and retries on the same evaluation set. Use a shared output limit when practical and compare cost per accepted response.

Models in this guide

Related guides and tools

Sources