For coding agents, Claude Opus 4.8 costs 3.3x as much as Gemini 3.5 Flash per request ($0.16 vs $0.049 on our measured traffic), because Claude Opus 4.8 lists at $5 input, $0.50 cached input and $25 output per million tokens against $1.50, $0.15 and $9 for Gemini 3.5 Flash.
Run Claude Opus 5.5 and Gemini 3.8 Flash in your agent from $19/month
See plans| Cost at list price | Gemini 3.5 Flash | Opus 4.8 |
|---|---|---|
| Prompt under 100K tokens50% of requests, 87% of input cached | $0.024 | $0.079 |
| Prompt of 100K to 272K39% of requests, 88% of input cached | $0.060 | $0.20 |
| Prompt over 272K tokens11% of requests, 86% of input cached | $0.13 | $0.43 |
| Average request | $0.049 | $0.16 |
| 100 requests | $4.93 | $16.23 |
| Median session16 requests; a session ends after 10 idle minutes | $0.67 | $2.25 |
| A month of regular usemedian of 20 users active on 5+ days | $75.17 | $249 |
Each logged request priced at the listed rates above for its own token counts, including cache reads and any higher rate for long prompts. Average output: 698 tokens per request.
| Artificial Analysis | Gemini 3.5 Flash | Opus 4.8 |
|---|---|---|
| Intelligence Index10 evaluations, 0 to 100 | 33 | 42 |
| Terminal-Bench 4.0agentic coding in a terminal | 6.6% | 21.7% |
| Output speedmedian | 197 tokens/s | 62 tokens/s |
| Time to first answer tokenincludes thinking time | 17 s | 66 s |
Source: Artificial Analysis (artificialanalysis.ai). Measured variants: Gemini 3.5 Flash (High), speed on Google; Claude Opus 4.8 (Max), speed on Anthropic. Fetched October 13, 2026. Artificial Analysis runs Terminal-Bench 4.0 in its own setup, so its scores differ from the tbench.ai leaderboard.
Claude Opus 4.8 is superseded: Claude Opus 5.5 costs $0.11 per request. Gemini 3.5 Flash is superseded: Gemini 3.8 Flash costs $0.048 per request. The price is OpenRouter's listed rate on October 13, 2026, which can be a third-party host's; Google's own API may charge differently.
Pick a winner in each dimension. You can change your vote any time.
The agent matters as much as the model. Compare AI agents →
Current Claude, GPT, Gemini and open models are included with Standard Compute