Paths Subjects Questions Quizzes Pricing Search
Intermediate Open Pro

Totaling a Second Token Budget Line Item by Line Item

You're sizing a prompt for a different feature than the support assistant worked through elsewhere in this subject. The components for this one are:

  • System prompt + tool schemas: 700 tokens
  • Few-shot examples: 3 examples, 150 tokens each
  • Retrieved chunks: 5 chunks, 400 tokens each
  • Conversation history: last 6 turns, 200 tokens/turn
  • Chat-template and special-token overhead: 120 tokens
  • Current user message: 80 tokens
  • Output reserve (max_tokens): 300 tokens

What is the total token count for this prompt (input + output reserve)?

A. 4,850 tokens B. 4,550 tokens C. 4,730 tokens D. 4,900 tokens

Share this question

← Back to Tokenization and Context Windows practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.