Model speed
Connection
Tools
Before you send
new, read once
sent again, checked again
kept on the server
cache broken, computed again
network
checks and tokenizing
reading the prompt
model writing
Race the two loops in real time
Plain loop
Your loop