Is GPT-5 Codex or grok-4-20-reasoning cheaper?
grok-4-20-reasoning is cheaper ($1.25 / 1M tokens input / $2.50 / 1M tokens output) vs GPT-5 Codex ($1.25 / 1M tokens input / $10 / 1M tokens output). Actual cost depends on your input/output token mix — estimate it with the pricing calculator.