Skip to content

Bug: astra token consumption spikes above ~272k tokens in Codex CLI #42901

Open

Description

@nima20002000

Summary

astra in Codex CLI appears to have unexpected token-consumption spikes once request size goes beyond ~272k tokens, similar to older sol behavior. OpenAI’s model docs for astra suggest this should not happen.

Repro steps

  1. Use Codex CLI with model astra.
  2. Send requests with increasing token size.
  3. Compare usage near ~272k tokens and slightly above that size.
  4. The run above ~272k reports materially higher total token consumption.

Expected

Token usage for astra should stay consistent with documented astra behavior and not show a threshold-based spike in consumption.

Actual

Total token consumption appears to jump after ~272k tokens, matching the old overage-style behavior previously seen with sol.

Impact

Unexpected cost increase and reduced cost predictability for long-session workflows.

Notes

  • User-reported behavior in production workflow
  • Date reported: 2026-09-05 (UTC)

Activity

  1. changed the title [-]Bug: token usage spikes above ~272k context in Codex CLI[/-] [+]Bug: `astra` token usage spikes above ~272k context in Codex CLI[/+] on Sep 5, 2026
  2. added
    bug
    CLI
    rate-limits
    context
    on Sep 5, 2026
  3. changed the title [-]Bug: `astra` token usage spikes above ~272k context in Codex CLI[/-] [+]Bug: `astra` token consumption spikes above ~272k tokens in Codex CLI[/+] on Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugcontextrate-limits

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions