Flashcardsfor IT Certifications

D2: Token-Based Pricing

AWS Foundational AI Practitioner exam practice questions · 10 flashcards

Question
How is on-demand GenAI inference priced?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Token-Based Pricing practice questions and answers
  1. How is on-demand GenAI inference priced?
    Per input token and per output token; output tokens usually cost more.
  2. How do long prompts affect cost?
    More input tokens increase cost per request.
  3. How does output length affect latency?
    Models generate tokens sequentially, so longer outputs take longer.
  4. Ways to reduce token cost?
    Concise prompts, limit max output tokens, use smaller models, prompt caching, batch inference.
  5. Why does RAG add token cost?
    Retrieved chunks are added to the prompt, increasing input tokens.
  6. How does prompt caching cut cost?
    Repeated prompt prefixes are cached, charging less for cached tokens and reducing latency.
  7. Batch inference pricing vs on-demand?
    Batch is typically about 50% cheaper but asynchronous.
  8. How do conversation histories affect cost?
    Each turn resends history, so long chats grow input tokens.
  9. Image model pricing basis?
    Typically per image generated, varying by resolution/quality.
  10. Which tools track GenAI spend?
    AWS Cost Explorer and AWS Budgets.