BenchLeader

Cost per task: code edit

6,000 tokens of files and instructions in, a 1,500-token diff out. Cost = input tokens × input price + output tokens × output price. “With caching” assumes three-quarters of the input is served from the prompt cache at the provider's cache-read price.

As of 25 Oct 2026, BenchLeader ranks Gemma 4 E4B first on the Cost per task: code edit board at $0.0003, ahead of Llama 3.1 8B ($0.0003) and Qwen3.5-4B ($0.0004).

287 models · data as of 25 Oct 2026

287 of 287
#
1GPT-5.5 Proxhigh$0.450–65.3
2GPT-5.4 Pro$0.450–63.3
3GPT-5 Pro$0.270–59.8
4GPT-4$0.270–42.4
5GPT 4 0613$0.270–39.7
6o3-prohigh$0.240–53.7
7Claude Opus 4.1thinking$0.203$0.14256.4
8Claude Opus 4thinking$0.203$0.14255.0
9Claude 3 Opus$0.203–39.2
10o1$0.180$0.14653.1
11Claude Fable 5.1max$0.135$0.09170.5
12GPT-6 Astramax$0.135$0.09570.4
13Claude Fable 5max$0.135$0.09569.3
14GPT-4 Turbo$0.105–40.9
15GPT-5.5xhigh$0.075$0.05566.1
16GPT-5.5 Instant$0.075–58.0
17Claude Opus 5max$0.068$0.04768.8
18Claude Opus 4.8max$0.068$0.04763.3
19Claude Opus 4.7$0.068$0.04763.2
20Claude Opus 4.6high$0.068$0.04762.7
21Claude Opus 4.5thinking$0.068$0.04759.9
22Claude Opus 5.5max$0.054$0.03772.6
23GPT-5.6 Solmax$0.054$0.03868.0
24Muse Wondermax$0.054$0.03767.5
25Mistral Large 24.02$0.042–40.2
26Kimi K3max$0.041$0.02864.8
27Claude Sonnet 4.5high$0.041$0.02858.1
28Grok 4$0.041–58.0
29Claude Sonnet 4.6$0.041$0.02857.1
30Claude Sonnet 4thinking$0.041$0.02853.2
31Grok 3$0.041–51.5
32Claude 3.5 Sonnet$0.041–46.3
33GPT-5.4xhigh$0.037$0.02764.7
34Nova Premier$0.034$0.02545.3
35GPT-5.3-Codexxhigh$0.032$0.02463.8
36GPT-5.2xhigh$0.032$0.02460.7
37GPT-5.2-Codexxhigh$0.032$0.02459.4
38GPT-5.6 Terramax$0.030$0.02264.4
39Gemini 3.1 Pro$0.030$0.02260.5
40GPT-4o$0.030$0.02443.9
41Command A$0.030–41.8
42Gemini 4 Argonhigh$0.027$0.01870.7
43GPT-6.1 Solmax$0.027$0.01869.9
44Claude Sonnet 5.5max$0.027$0.01869.4
45NewKimi K3.1 Pro$0.027$0.01966.9
46GPT-6 Solmax$0.027$0.01966.4
47Claude Sonnet 5high$0.027$0.01960.1
48Qwen3.7max$0.026$0.01760.6
49o3$0.024$0.01759.5
50GPT-4.1$0.024$0.01748.3
51Jamba 1.5 Large$0.024–42.2
52Jamba Large 1.6$0.024–26.0
53Gemini 3.5 Flashhigh$0.022$0.01663.1
54GPT-5high$0.022$0.01757.9
55GPT-5.1high$0.022$0.01757.7
56GPT-5-Codexhigh$0.022$0.01757.5
57GPT-5.1-Codexhigh$0.022$0.01756.3
58Gemini 2.5 Pro$0.022$0.01753.9
59Nova 2.0 Pro Previewmedium$0.022–50.5
60Grok 4.6medium$0.021$0.01464.2

Cite as: BenchLeader, “Cost per task: code edit”, data as of 25 Oct 2026, https://www.benchleader.com/leaderboards/cost-code-edit.