4.1 What you pay for Input (prompt) tokens — everything you send: system prompt, history, retrieved docs, the user message. Output (completion) tokens — what the model generates. Output is usually ...