Cheapest LLM API for coding agents.

Agents re-send big contexts. Here's what that costs.

Coding agents send large contexts (often 20,000+ input tokens per step) and produce shorter outputs. Cost per agent step (20K in, 2K out, no cache):

Among frontier models, compare Claude Opus 5.5 vs GPT-6 Astra and Claude Sonnet 5.5 vs GPT-6.1 Sol. Caching the repeated context is the biggest lever for agents.

All prices from official provider pages, checked Oct 20, 2026. See sources.