Head to head
GPT-5 vs GPT-4.1
GPT-5: legacyGPT-4.1: legacyheavy tier
Verdict · modelled basis
GPT-5 costs 3.1x less per solved task.
On output token price alone, GPT-4.1 looks 1.3x cheaper (1.6x on input). The ranking reverses once you divide by pass rate — the cheaper tokens do not win the task.
Source: Aider polyglot benchmark · verified 2026-08-21 · prices from each provider's pricing page
Input $/M tokens
lower is better
Output $/M tokens
lower is better
Cost per solved task
modelled basis · lower is better
verified 2026-08-21 · heavy task tier; measured rows ignore the tier· Methodology· GPT-5· GPT-4.1