Menu

Claude Opus 5.5 vs GPT-6 for coding: what one agent session actually costs
πŸ“°

Claude Opus 5.5 vs GPT-6 for coding: what one agent session actually costs

DEV Community: aiΒ·Alex Shcoder?Β·16 days ago
#TcZRQfV6
#devtoai#devto#dev#input#model
Reading 0:00
15s threshold

Benchmarks tell you which model is smarter. They don't tell you what a working day in Claude Code or Codex CLI costs. So I priced one realistic agent session on four current models, at the official API rates, and showed my working.

Disclosure: I run Model.sale , a prepaid API gateway, so I also show what the same session costs there, including the cases where the official API is cheaper.

The session

A medium refactor in a coding agent:

Tokens Count What it is

Fresh input 150,000 your prompts, newly read files, tool results

Cached input 2,000,000 the same context re-sent on every agent step

Output 60,000 code, explanations, tool calls

That shape is typical. Agents re-send the whole conversation on every step, so cached input dwarfs everything else, and output is small.

Official prices for that session

Rates per 1M tokens (input / cached input / output), checked 2026-10-01 on the Anthropic and OpenAI pricing pages.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.