Quiz collegato alla guida · Medio Livello
Quiz sul conteggio dei token e sui prezzi dell'API LLM
Metti alla prova la tua abilità nella stima dei costi API LLM: tariffe dei token di input rispetto a quelle di output, conteggio dei token prima di una chiamata e costi nascosti come la cronologia della chat.
Domanda 1 di 8
What is a common rule of thumb for English text and tokens?
Anteprima di ogni domanda8 domande
Le risposte e le spiegazioni vengono visualizzate mentre rispondi al quiz.
- What is a common rule of thumb for English text and tokens?
- One token equals one full sentence
- One token is about four characters, or three-quarters of a word
- One token equals exactly one word
- One token is about 100 characters
- Why are output tokens usually priced higher than input tokens?
- Output tokens are longer words
- Providers pay authors for output text
- Output is generated one token at a time, while input can be processed in parallel
- Output tokens are stored permanently
- With made-up prices of $3 per million input tokens and $15 per million output tokens, what does a call with 6,000 input and 800 output tokens cost?
- $0.03
- $0.30
- $0.018
- $3.00
- Why do chatbot costs often grow as a conversation goes on?
- Providers raise prices mid-conversation
- Output tokens become more expensive
- Models slow down over time
- The whole conversation history is resent as input on every turn
- How are a reasoning model's internal thinking tokens typically billed?
- They are free
- As output tokens, even when not shown in full
- Come token di input
- Come canone mensile fisso
- Which tool does Anthropic provide for counting tokens before a request?
- The tiktoken library
- A countTokens method on Gemini
- A token-counting endpoint that accepts messages, system prompt and tools
- A browser extension
- What do batch API endpoints typically offer?
- Around half price in exchange for asynchronous, slower results
- Free output tokens
- Faster responses at double the price
- Unlimited context windows
- Why is the lowest per-token price not a reliable guide to total API cost?
- Tool definitions count as input
- Actual usage fields should be logged
- Non-English text can use more tokens
- The model with the lowest per-token price is always cheapest per task