Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
knollimar
37 days ago
|
parent
|
context
|
favorite
| on:
Don't trust large context windows
Don't you resend after every turn, so splitting it avoids the n^2 token usage (granted it's cached so there's some optimal amount here)
ajmurmann
37 days ago
[–]
Yes, exactly. You resend it on every turn (assuming no cache hits). This is why using the shorter-lived subagent to take in that context and only return the useful result back to the longer-lived context safes tokens.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: