Terse auto-detects OpenAI's Codex CLI — the #1-ranked terminal coding agent — compresses every prompt before it reaches the model, and tracks per-turn cost as context grows each turn. At GPT-5, Codex, and GPT-4o rates. All on-device.
Codex CLI runs an agentic loop: it reads your repo, edits files, and runs commands — re-sending the accumulated context every turn. Input tokens climb the longer the session runs. Terse compresses what it can — your typed prompts — and flags what drives the climb: redundant file reads as Codex works.
Terse scans running processes every 5 seconds. The moment you run codex in your terminal, a floating monitor bar attaches automatically — no config, no wrapper, no flags. Works whether you launch via API key or a ChatGPT/Codex subscription.
AutomaticEvery instruction you type into Codex's prompt runs through Terse's 7-stage pipeline: typo correction, filler removal, hedge stripping, and phrase shortening. File paths, flags, and code blocks pass through untouched.
7-Stage PipelineCodex's agentic loop re-reads files as it edits and re-runs commands to check its work — and the whole context is re-sent each turn. Terse flags when the same file is read 2+ times so you can rein in a session before input tokens balloon.
Loop TrackingTerse recognizes the model Codex is running — gpt-5-codex, GPT-5, GPT-4o, or GPT-4o mini — and prices each turn at the correct input/output rate. For API-key users, that's real dollars per turn, live in the terminal.
Per-Turn VisibilityBecause Codex re-sends accumulated context every turn, cost rises even when your prompt is short. Terse tracks the running context size and shows how fast it's growing — so you know when to /clear or start a fresh session.
Session AnalyticsTerse reads your terminal input via OS Accessibility APIs and compresses locally with a Rust engine. No prompt text, no code, and no file contents ever leave your machine or reach Terse's servers.
Zero CloudCodex CLI is powered by OpenAI models. Terse prices each turn at the correct rate — and still tracks cost if you point Codex at Claude or Gemini backends.
Everything about using Terse with OpenAI's Codex CLI.
Terse reduces token costs across every major AI coding tool.
30-day free trial. No credit card required until your trial ends. Tracks cost at GPT-5, Codex, GPT-4o, and GPT-4o mini rates.