Cuestionario vinculado a una guía · Medio Nivel
Cuestionario de precios de API de LLM y conteo de tokens
Pruebe su habilidad para estimar los costos de la API de LLM: tasas de tokens de entrada versus salida, conteo de tokens antes de una llamada y costos ocultos, como el historial de chat.
Pregunta 1 de 8
What is a common rule of thumb for English text and tokens?
Vista previa de cada pregunta8 preguntas
Las respuestas y explicaciones aparecen a medida que realiza el cuestionario.
- 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
- As input tokens
- As a flat monthly fee
- 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