Loading lesson…
Level 1 · Apprentice0 XP
Pay for what you need: count tokens, cache repeated prefixes, batch what can wait.
Step 1 / 6
ProblemEvery request sends a 20,000-token manual plus a short question. A million questions a month means paying for twenty billion input tokens of the same manual.
← → step
Before this: Streaming, images and documents
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Send 10 questions over the same long document with prompt caching and log cache_read_input_tokens for each. Then submit 100 classification requests through the batch API and collect results by custom_id.