PRACTICE / UNDERSTAND / REPEAT

AI Foundations: Token budgets

Practice token budgets with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

20 questionsAnswers explainedFree · no login
Question 1 of 20
Token budgets · MCQQuestion link ↗

A model has a 5000-token context budget. The prompt uses 2000 tokens and you reserve 1000 output tokens. How many tokens remain for additional retrieved text?

Choose one answer
Answer & explanation

Answer: 2000

Subtract both the existing input and the reserved output from the total context budget. Real APIs may also have separate output limits.