Cost per task: agentic coding session
One long tool-using loop: 60,000 tokens in across turns, 4,000 tokens 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 4 Oct 2026, BenchLeader ranks Gemma 4 E4B first on the Cost per task: agentic coding session board at $0.0016, ahead of Sarvam 30B ($0.0022) and Granite 4.2 3B ($0.0023).
278 models · data as of 4 Oct 2026
- 1Gemma 4 E4B (thinking)$0.0016
- 2Sarvam 30B (high)$0.0022
- 3Granite 4.2 3B$0.0023
- 4LFM2 24B A2B$0.0023
- 5Qwen3.5-4B (thinking)$0.0024
- 6Llama 3.2 1B Instruct$0.0024
- 7Gemma 4 E2B (thinking)$0.0027
- 8Nova Micro$0.0027
- 9Granite 3.3 8B (none)$0.0028
- 10Mercury 2.5$0.0030
- 11Sarvam 105B (high)$0.0031
- 12Llama 3.1 8B$0.0032
- 13Mistral Small 3$0.0033
- 14Gemma 3 4B$0.0034
- 15Gemma 3 12B$0.0036
278 of 278
| # | ||||
|---|---|---|---|---|
| 1 | $2.52 | – | 65.6 | |
| 2 | $2.52 | – | 64.0 | |
| 3 | $2.04 | – | 44.3 | |
| 4 | $2.04 | – | 39.9 | |
| 5 | $1.52 | – | 54.3 | |
| 6 | $1.38 | – | 60.2 | |
| 7 | $1.20 | $0.593 | 56.6 | |
| 8 | $1.20 | $0.593 | 55.3 | |
| 9 | $1.20 | – | 39.3 | |
| 10 | $1.14 | $0.802 | 53.3 | |
| 11 | $0.800 | $0.395 | 70.2 | |
| 12 | $0.800 | $0.361 | 70.0 | |
| 13 | $0.800 | $0.395 | 69.2 | |
| 14 | $0.720 | – | 41.2 | |
| 15 | $0.420 | $0.217 | 66.2 | |
| 16 | $0.420 | – | 58.1 | |
| 17 | $0.400 | $0.198 | 68.4 | |
| 18 | $0.400 | $0.198 | 64.0 | |
| 19 | $0.400 | $0.198 | 63.3 | |
| 20 | $0.400 | $0.198 | 62.5 | |
| 21 | $0.400 | $0.198 | 60.2 | |
| 22 | $0.320 | $0.149 | 70.1 | |
| 23 | $0.320 | $0.158 | 67.5 | |
| 24 | $0.320 | – | 51.6 | |
| 25 | $0.240 | $0.118 | 65.6 | |
| 26 | $0.240 | $0.118 | 58.7 | |
| 27 | $0.240 | $0.118 | 58.4 | |
| 28 | $0.240 | – | 58.1 | |
| 29 | $0.240 | $0.118 | 53.5 | |
| 30 | $0.240 | – | 46.4 | |
| 31 | $0.210 | $0.109 | 64.4 | |
| 32 | $0.200 | $0.116 | 45.4 | |
| 33 | $0.190 | $0.134 | 44.1 | |
| 34 | $0.190 | – | 42.0 | |
| 35 | $0.180 | $0.090 | 60.0 | |
| 36 | $0.168 | $0.087 | 63.7 | |
| 37 | $0.168 | $0.087 | 62.4 | |
| 38 | $0.161 | $0.090 | 64.0 | |
| 39 | $0.161 | $0.090 | 60.9 | |
| 40 | $0.161 | $0.090 | 59.6 | |
| 41 | New | $0.160 | $0.074 | 69.5 |
| 42 | New | $0.160 | – | 69.5 |
| 43 | New | $0.160 | $0.079 | 67.0 |
| 44 | $0.160 | $0.079 | 66.3 | |
| 45 | $0.160 | $0.079 | 60.4 | |
| 46 | $0.152 | $0.085 | 59.7 | |
| 47 | $0.152 | $0.085 | 48.6 | |
| 48 | $0.152 | – | 42.4 | |
| 49 | $0.152 | – | 26.0 | |
| 50 | $0.144 | $0.065 | 65.0 | |
| 51 | $0.144 | $0.076 | 64.4 | |
| 52 | $0.144 | $0.065 | 63.5 | |
| 53 | $0.144 | $0.076 | 61.7 | |
| 54 | $0.144 | $0.068 | 59.6 | |
| 55 | $0.144 | $0.072 | 58.9 | |
| 56 | $0.144 | – | 42.0 | |
| 57 | $0.144 | $0.056 | 40.7 | |
| 58 | $0.144 | – | 37.6 | |
| 59 | $0.126 | $0.065 | 63.1 | |
| 60 | $0.120 | $0.059 | 49.6 |
Cite as: BenchLeader, “Cost per task: agentic coding session”, https://www.benchleader.com/leaderboards/cost-agent-session, data as of 4 Oct 2026.