Choose by lifecycle and task fit
Use this page to evaluate an existing shortlist, not to identify the newest flagship. Opus 4.7 is marked legacy, GPT-5.4 active, and Gemini 3.1 Pro preview in our maintained data. Confirm account availability, regional access, model IDs, and provider lifecycle notices before committing a production dependency.
The chart plots base input and output rates separately. The generated table shows the separate input, cached-input, and output prices. Neither is a benchmark ranking or an all-in quote for tools and long-context workloads.
| Candidate | Why include it in a trial | What could disqualify it |
|---|---|---|
| Claude Opus 4.7 | Compatibility with an existing Claude workflow | Legacy lifecycle, account availability, or unnecessary cost |
| GPT-5.4 | An established OpenAI integration or a familiar tool interface | Higher-tier context billing, poor task fit, or a better newer alternative |
| Gemini 3.1 Pro | Lower base token rates or an existing Google integration | Preview constraints, context-tier costs, or failed acceptance tests |
| Pricing data: How we verify → | ||
Give all three the same representative tasks: document extraction, source-grounded answers, structured output, or code changes with tests. Measure accepted results and human correction, not how persuasive a demo looks. We do not retain the original article’s approximate benchmark rankings because differing harnesses and release dates do not support a universal winner.
For a fresh project, add current candidates from Anthropic pricing, OpenAI pricing, and Google AI pricing. The current model shortlist is a better starting point than treating this older comparison as a frontier ranking.
Calculate the bill for your token mix
Assume 10 million uncached input tokens and 2 million output tokens per month, with requests below any applicable long-context threshold:
Base monthly token cost = 10 × input rate + 2 × output rate.
Enter those counts into the inline calculator for each model. The generated table supplies the current dataset rates, so this example does not freeze a historical quote into the prose. For cached tokens, use the full token calculator and distinguish cache reads from any cache creation or storage charge.
Watch these billing differences before extrapolating:
- Long context: the maintained GPT-5.4 and Gemini 3.1 Pro rows have higher rates above request-level input thresholds. Monthly token totals alone cannot tell you whether a request crosses a tier. The full calculator models supported long-context rules; the base-rate chart does not.
- Reasoning and tools: billed output may include reasoning usage; search, execution, retrieval, or other tools can add charges. Compare equivalent completed workflows, not an isolated language-model call against a search-enabled pipeline.
- Caching: a cached-input discount is not a promise that every repeated prompt will qualify. Retention, prefix reuse, writes, and storage matter.
- Batch: an asynchronous discount can help eligible jobs, but it is a different service mode from the synchronous chart.
Check Anthropic’s pricing documentation, OpenAI’s API rate card, and Google’s Gemini pricing for the dimensions your application uses. Re-run the estimate after changing context size, tool settings, or model version.
When a routing policy makes sense
Start with the lowest-cost candidate that passes your acceptance target. Escalate difficult or failed requests only when the stronger route demonstrably improves the outcome. A routing classifier, a second attempt, and a fallback answer all consume resources, so include them in the bill.
For example, route short extraction tasks separately from multi-document reasoning. Log input, cached input, output, tools, retries, and accepted-result status for each route. Compare end-to-end latency and cost per accepted answer, including human review. Do not promise a fixed percentage saving before running that trial.
Keep an availability fallback that you have actually tested. Preview access and legacy-model support are operational constraints, not just table labels. Use the API budgeting guide to turn trial measurements into a monthly forecast.
Adding audio to the application? Compare ElevenLabs as a separate speech layer. It is not a substitute for these reasoning models, and its charges are not included in their token rates.
Affiliate disclosure: this article contains an affiliate link. We may earn a commission at no extra cost to you.