PRACTICE / UNDERSTAND / REPEAT

AI Foundations practice question

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

1 questionAnswers explainedFree · no login

Try this question

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.