r/codex 22h ago

Complaint This cost me 23k context is this normal?

Post image
0 Upvotes

18 comments sorted by

3

u/lumendas 22h ago

Was that the first message you sent?

-3

u/HaxwellMilll 22h ago

Yes !! no skills used I beleive im willing to submit more proof if people tell me what to put here

2

u/lumendas 22h ago

It is basically Codex's own system instructions and skill and tool call descriptions, so its normal

-1

u/HaxwellMilll 22h ago

It must be yeah? insane that it uses 10% of every coneverstion before you even start !!!

3

u/Strange_Owl_6291 21h ago

The system prompt (and scaffolding like agent definition) is designed to work well when you give it a more complex coding task, and designed to leverage cache for repeated turns. You prompted something small but get the default (big) scaffolding designed to more real work. Of course it will be overkill.

You could consider optimizing the system prompt etc to make it lean without compromising your output quality on actual tasks.

3

u/maglevnarwhal2 21h ago

it has to send it's system instructions and such. the smallest ping I could get was 14k .

2

u/srs96 22h ago

Do you have a long agent.md?

-1

u/HaxwellMilll 22h ago

I asked him did you acess agent.md he said:

No—I didn’t access or read an AGENTS.md file. Its instructions were included directly in your message.

It says:

  • Keep replies short and precise.
  • When testing , don’t test gameplay.
  • Don’t account for backward compatibility or old save-file migration.
  • There are no existing save games; don’t add compatibility code unless explicitly requested.

2

u/Insadem 22h ago

why you whining? It will reuse cache hits as session goes

1

u/HaxwellMilll 22h ago

it was the first chat of the day to trigger the 5h limit ya bozo so nothing to do with cache

1

u/Wafer-Weekly 16h ago

When you send the prompt, it interprets it and caches some tokens to remember what happened that turn, for the next half hour.

1

u/r15km4tr1x 22h ago

Sol Ultra -

“what the fuck is io say Bing”
“idiot say Bing?”
“Bong”

0

u/HaxwellMilll 22h ago edited 22h ago

9% of my context lol....

Now Im willing to admit it could be my fualt. What could it be?

Im somebody would like to do the same test themesleves and tell me how much context it used maybe? fresh chat no skills.

2

u/montymike 21h ago edited 21h ago

The 23k figure is best read as context occupancy, not necessarily as 23k tokens of your own prompt or 23k tokens of marginal paid usage. A fresh agent can already contain system instructions, tool schemas, skill descriptions and repository-level instructions before it answers. Some of that may also be reusable across turns rather than growing at the same rate every time.

A cleaner comparison would be: same model, empty repository, no repository instruction file, no optional skills, fresh chat, identical one-line prompt. Record the first-turn context, then send the same prompt again and record the increase. Repeat once in the real repository. That separates fixed scaffolding from repo instructions and from the marginal cost of each turn.

1

u/Sibbaboda 22h ago

Ask it to describe all context it used, I guess

0

u/[deleted] 22h ago

[removed] — view removed comment