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.
259 models · data as of 9 Sept 2026
- 1Gemma 4 E4B$0.0016
- 2qwen3-4b-instruct-2507$0.0019
- 3Sarvam 30B (high)$0.0022
- 4Granite 4.2 3B$0.0023
- 5LFM2 24B A2B$0.0023
- 6Qwen3.5-4B$0.0024
- 7Llama 3.2 1B$0.0024
- 8Nova Micro$0.0027
- 9HyperNova 60B 2605 (high, based on gpt-oss-120b)$0.0030
- 10nvidia-nemotron-nano-9b-v2$0.0030
- 11Sarvam 105B (high)$0.0031
- 12Llama 3.1 8B$0.0032
- 13Granite 4.1 8B$0.0034
- 14Gemma 3 12B IT$0.0034
- 15Gemma 3 4B IT$0.0034
259 of 259
| # | ||||
|---|---|---|---|---|
| 1 | $2.52 | – | 64.2 | |
| 2 | $2.04 | – | 41.8 | |
| 3 | $1.52 | – | 54.4 | |
| 4 | $1.38 | – | 60.7 | |
| 5 | $1.20 | $0.593 | 58.1 | |
| 6 | $1.20 | $0.593 | 54.4 | |
| 7 | $1.20 | – | 38.9 | |
| 8 | $1.14 | $0.802 | 53.2 | |
| 9 | $0.880 | $0.434 | 70.6 | |
| 10 | $0.800 | $0.395 | 70.4 | |
| 11 | $0.800 | $0.361 | 70.3 | |
| 12 | $0.720 | – | 41.0 | |
| 13 | $0.420 | $0.217 | 66.6 | |
| 14 | $0.420 | – | 60.4 | |
| 15 | $0.400 | $0.198 | 70.0 | |
| 16 | $0.400 | $0.198 | 65.5 | |
| 17 | $0.400 | $0.198 | 64.7 | |
| 18 | $0.400 | $0.198 | 63.1 | |
| 19 | $0.400 | $0.198 | 60.6 | |
| 20 | $0.388 | $0.217 | 57.2 | |
| 21 | $0.320 | $0.160 | 68.0 | |
| 22 | $0.240 | $0.118 | 66.5 | |
| 23 | $0.240 | $0.118 | 60.3 | |
| 24 | $0.240 | $0.118 | 57.8 | |
| 25 | $0.240 | $0.118 | 54.0 | |
| 26 | $0.240 | – | 52.1 | |
| 27 | $0.240 | – | 45.1 | |
| 28 | $0.210 | $0.109 | 63.4 | |
| 29 | $0.200 | – | 45.3 | |
| 30 | $0.190 | – | 43.5 | |
| 31 | $0.190 | $0.134 | 42.3 | |
| 32 | $0.190 | – | 42.1 | |
| 33 | $0.180 | $0.090 | 58.9 | |
| 34 | $0.168 | $0.088 | 64.2 | |
| 35 | $0.168 | $0.087 | 63.9 | |
| 36 | $0.168 | – | 61.6 | |
| 37 | $0.161 | $0.090 | 62.4 | |
| 38 | $0.161 | $0.090 | 61.5 | |
| 39 | $0.161 | $0.090 | 60.7 | |
| 40 | $0.160 | $0.079 | 61.2 | |
| 41 | $0.152 | $0.085 | 60.3 | |
| 42 | $0.152 | $0.085 | 47.3 | |
| 43 | $0.152 | – | 42.7 | |
| 44 | $0.152 | – | 25.2 | |
| 45 | $0.144 | $0.079 | 63.8 | |
| 46 | $0.144 | $0.068 | 63.4 | |
| 47 | Mimo v2 ProXiaomi | $0.144 | $0.072 | 60.5 |
| 48 | $0.144 | – | 42.2 | |
| 49 | $0.144 | – | 39.0 | |
| 50 | $0.140 | – | 44.1 | |
| 51 | $0.128 | $0.058 | 63.9 | |
| 52 | $0.126 | $0.065 | 63.9 | |
| 53 | $0.120 | – | 50.8 | |
| 54 | $0.120 | – | 45.8 | |
| 55 | $0.120 | – | 44.7 | |
| 56 | $0.115 | $0.064 | 59.5 | |
| 57 | $0.115 | $0.064 | 59.4 | |
| 58 | $0.115 | $0.065 | 58.1 | |
| 59 | $0.115 | $0.064 | 57.1 | |
| 60 | $0.115 | $0.064 | 54.1 |