Flashcardsfor IT Certifications

D5: Token Budgeting & Cost Management

Claude Certified Developer – Foundations exam practice questions · 10 flashcards

Question
How do you track token usage?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 Token Budgeting & Cost Management practice questions and answers
  1. How do you track token usage?
    Read the usage object in every response and aggregate it in logs/dashboards.
  2. What is a token budget?
    A planned limit of tokens per request, user or task to control cost.
  3. How do you model application cost?
    Requests × (input tokens × input price + output tokens × output price), adjusted for caching and batching.
  4. Which tokens are usually more expensive?
    Output tokens cost more than input tokens.
  5. How can you reduce output cost?
    Ask for concise output, set sensible max_tokens and use structured formats.
  6. How can you reduce input cost?
    Trim context, prune tool results, and cache repeated prefixes.
  7. Which features give big discounts?
    Prompt caching (cheap cache reads) and the Batch API (~50% off).
  8. How do you count tokens before sending?
    Use the token counting endpoint.
  9. Why set spend limits in the Console?
    To cap monthly spend and avoid surprise bills.
  10. What is cost per outcome?
    Total cost divided by successful results; a better metric than cost per call.