# Codex Desktop vs CLI: a small context-usage comparison across Astra, Sol, and Luna
I collected 18 context readings across Codex Desktop and CLI: three readings per model per surface, all at Medium reasoning. In this sample, Desktop reported roughly **8,100–9,800 more tokens used on average** than CLI.
There was also a separate discrepancy: **all nine CLI readings had a displayed “% left” that did not agree with the accompanying used-token count and 258K capacity**. That makes the token counts and percentages worth discussing separately.
## Setup and collection protocol
- Models: `gpt-6-astra`, `gpt-5.6-sol`, and `gpt-5.6-luna`, all at Medium.
- Codex Desktop: `26.908.40834`. Codex CLI: `0.154.0`.
- I recorded the project, instructions, skills, and tools as matched across Desktop and CLI.
- Dataset labeled September 13, 2026; three readings per surface per model.
The collection protocol called for a fresh task/session for each reading, followed by this control prompt:
```text
Reply with exactly OK. Do not inspect files or use tools.
```
The next step was to record the context line from `/status` immediately after the response. The saved data contains the readings and matching-settings confirmation, but does not independently document each run’s execution or the operating system.
## Results: reported tokens used
| Model |
Desktop mean |
CLI mean, approximate |
Desktop minus CLI, approximate |
| Astra |
29,459.33 |
19,700 |
+9,759 |
| Sol |
30,878 |
22,767 |
+8,111 |
| Luna |
28,835.67 |
19,300 |
+9,536 |
CLI counts were displayed in rounded K notation. Averages and differences calculated from those values remain approximate; extra digits in a calculation do not add measurement precision. All readings displayed a capacity of `258K`.
Here are the individual readings, in collection order. Each entry is **tokens used / displayed percentage left**:
| Model |
Desktop readings |
CLI readings |
| Astra |
29,458 / 89%; 29,462 / 89%; 29,458 / 89% |
19.7K / 97%; 19.7K / 97%; 19.7K / 97% |
| Sol |
30,874 / 88%; 30,880 / 88%; 30,880 / 88% |
25.5K / 95%; 21.4K / 96%; 21.4K / 96% |
| Luna |
28,837 / 89%; 28,837 / 89%; 28,833 / 89% |
19.3K / 97%; 19.3K / 97%; 19.3K / 97% |
Desktop varied by only 4–6 tokens within each model’s three readings. Astra and Luna CLI readings were identical at their displayed precision. Sol CLI varied from `21.4K` to `25.5K`, an approximately 4,100-token spread. I retained all three Sol readings in its average.
## The percentage discrepancy
Using `100 × (1 − used / capacity)` with the displayed counts gives:
| CLI reading |
Displayed left |
Calculated left, approximate |
| Astra: 19.7K / 258K |
97% |
92.36% |
| Sol: 25.5K / 258K |
95% |
90.12% |
| Sol: 21.4K / 258K |
96% |
91.71% |
| Luna: 19.3K / 258K |
97% |
92.52% |
Our comparison tool flagged every CLI reading because each discrepancy exceeds one percentage point. No Desktop reading crossed that threshold. I preserved the supplied percentages rather than correcting them.
This establishes a mismatch within the recorded values. It does not establish whether the cause is display semantics, a reporting issue, or a collection/transcription issue.
## What I take from this
Desktop reported higher used-token totals for all three models in this small sample. These totals do not identify which instructions, tools, or other content consumed the context, or explain why the surfaces differed. They also do not measure billing, answer quality, or performance.
With only three readings per group, rounded CLI counts, and the percentage discrepancy unresolved, I would treat this as an observation to reproduce—not a universal Desktop overhead figure.
Has anyone reproduced a similar token-count gap with matching settings? And does anyone know whether CLI’s context percentage uses a different basis from the token count and capacity shown beside it?
## Generated charts and evidence
The reports below were generated locally with `codex-context-monitoring compare` from manually collected, sanitized readings. Shared data includes only usage measurements, model/settings, application versions, and a general setup description.
### Astra
Full Astra report: readings, statistics, and warnings
#### Test summary
Real operator\-supplied gpt\-6\-astra Medium context readings\; three per surface\. Percentages preserved as supplied\; CLI percentage discrepancies require follow\-up\.
#### Individual readings
**Desktop**
```text
Context: 89% left (29,458 used / 258K)
Context: 89% left (29,462 used / 258K)
Context: 89% left (29,458 used / 258K)
```
**CLI**
```text
Context window: 97% left (19.7K used / 258K)
Context window: 97% left (19.7K used / 258K)
Context window: 97% left (19.7K used / 258K)
```
K notation in the original readings is rounded, including capacities.
#### Summary statistics
| Surface |
Count |
Average tokens |
Minimum tokens |
Maximum tokens |
| Desktop |
3 |
29,459.33 |
29,458 |
29,462 |
| CLI |
3 |
approximate 19,700 |
approximate 19,700 |
approximate 19,700 |
Desktop average minus CLI average: approximate 9,759 tokens
Fractional token results are rounded to two decimal places for display.
Approximate results use rounded tokens-used input and are shown to whole tokens; calculation does not add measurement precision.
#### Warnings
- CLI reading 1 (input line 17): displayed 97% left; tokens-based 92.36% left (using normalized counts). Difference exceeds one percentage point.
- CLI reading 2 (input line 18): displayed 97% left; tokens-based 92.36% left (using normalized counts). Difference exceeds one percentage point.
- CLI reading 3 (input line 19): displayed 97% left; tokens-based 92.36% left (using normalized counts). Difference exceeds one percentage point.
### Sol
Full Sol report: readings, statistics, and warnings
#### Test summary
Real operator\-supplied gpt\-5\.6\-sol Medium context readings\; three per surface\. Percentages preserved as supplied\; CLI percentage discrepancies require follow\-up\.
#### Individual readings
**Desktop**
```text
Context: 88% left (30,874 used / 258K)
Context: 88% left (30,880 used / 258K)
Context: 88% left (30,880 used / 258K)
```
**CLI**
```text
Context window: 95% left (25.5K used / 258K)
Context window: 96% left (21.4K used / 258K)
Context window: 96% left (21.4K used / 258K)
```
K notation in the original readings is rounded, including capacities.
#### Summary statistics
| Surface |
Count |
Average tokens |
Minimum tokens |
Maximum tokens |
| Desktop |
3 |
30,878 |
30,874 |
30,880 |
| CLI |
3 |
approximate 22,767 |
approximate 21,400 |
approximate 25,500 |
Desktop average minus CLI average: approximate 8,111 tokens
Fractional token results are rounded to two decimal places for display.
Approximate results use rounded tokens-used input and are shown to whole tokens; calculation does not add measurement precision.
#### Warnings
- CLI reading 1 (input line 17): displayed 95% left; tokens-based 90.12% left (using normalized counts). Difference exceeds one percentage point.
- CLI reading 2 (input line 18): displayed 96% left; tokens-based 91.71% left (using normalized counts). Difference exceeds one percentage point.
- CLI reading 3 (input line 19): displayed 96% left; tokens-based 91.71% left (using normalized counts). Difference exceeds one percentage point.
### Luna
Full Luna report: readings, statistics, and warnings
#### Test summary
Real operator\-supplied gpt\-5\.6\-luna Medium context readings\; three per surface\. Percentages preserved as supplied\; CLI percentage discrepancies require follow\-up\.
#### Individual readings
**Desktop**
```text
Context: 89% left (28,837 used / 258K)
Context: 89% left (28,837 used / 258K)
Context: 89% left (28,833 used / 258K)
```
**CLI**
```text
Context window: 97% left (19.3K used / 258K)
Context window: 97% left (19.3K used / 258K)
Context window: 97% left (19.3K used / 258K)
```
K notation in the original readings is rounded, including capacities.
#### Summary statistics
| Surface |
Count |
Average tokens |
Minimum tokens |
Maximum tokens |
| Desktop |
3 |
28,835.67 |
28,833 |
28,837 |
| CLI |
3 |
approximate 19,300 |
approximate 19,300 |
approximate 19,300 |
Desktop average minus CLI average: approximate 9,536 tokens
Fractional token results are rounded to two decimal places for display.
Approximate results use rounded tokens-used input and are shown to whole tokens; calculation does not add measurement precision.
#### Warnings
- CLI reading 1 (input line 17): displayed 97% left; tokens-based 92.52% left (using normalized counts). Difference exceeds one percentage point.
- CLI reading 2 (input line 18): displayed 97% left; tokens-based 92.52% left (using normalized counts). Difference exceeds one percentage point.
- CLI reading 3 (input line 19): displayed 97% left; tokens-based 92.52% left (using normalized counts). Difference exceeds one percentage point.
</detai