Every session you’ve run in the warm-up folder has drawn on your plan or your API account. Many learners hit their plan’s limit sooner than they expect, and rarely because of what they typed.
In this lesson, you’ll find your own usage in your agent and see what makes one session use more than another. You’ll also choose a model, an effort level, and session habits that fit each job.
Find Your Own Usage
How you pay determines what happens when you reach a usage limit:
- A subscription: A Claude plan for Claude Code or a ChatGPT plan for Codex gives you an allowance measured over rolling windows, such as five hours and a week. When a window’s allowance runs out, you wait for it to reset or pay for extra usage.
- An API key: Usage is billed per token, the unit of text you met in the first lesson, apart from any subscription. You can’t continue when your prepaid credit runs out or you reach your account’s spend limit. Your provider may have set that limit, or you may have, so check yours.
Both count the tokens sent to the model and the ones it generates.
Your agent shows where you stand. The command differs by agent, so open the version for yours. Both versions were checked in December 2026, with Claude Code 2.1 and Codex CLI 0.172:
Type /usage and press Enter. What it shows depends on how you signed in:
- On a Claude plan: You’ll see bars for your current session limit, which resets on a rolling five-hour window, and for your weekly limit, each with its reset time. Below them is a breakdown of what used your allowance recently, with suggested changes. Press D or W to switch between the last day and the last week.
- With an API key: The Session block lists this session’s input and output tokens per model and an estimated cost at list prices. Your bill and spend limit are in the Claude Console.
The limit bars count all your use of the plan, chat on claude.ai included, but the breakdown counts only this machine’s sessions.
Type /status and press Enter. Along with the model and how full the context window is, Codex shows this session’s token usage. On a ChatGPT plan, it also shows how much of your five-hour and weekly limits is left, with their reset times. Those limits count your Codex use everywhere on that plan, cloud tasks included, not only this terminal. Plans differ, and some have no five-hour limit.
If you’re signed in with ChatGPT, type /usage daily, weekly, or cumulative for your token activity over time. It counts tokens used, while /status shows what’s left.
With an API key, Codex is billed at API prices. Your bill and any spend limit are in your OpenAI API account’s usage dashboard.