แบบทดสอบที่เชื่อมโยงกับคำแนะนำ · ปานกลาง ระดับ
แบบทดสอบการนับโทเค็นและการกำหนดราคา LLM API
ทดสอบทักษะของคุณในการประมาณค่าใช้จ่าย LLM API: อัตราโทเค็นอินพุตและเอาต์พุต การนับโทเค็นก่อนการโทร และค่าใช้จ่ายแอบแฝง เช่น ประวัติการแชท
คำถาม 1 ของ 8
กฎทั่วไปสำหรับข้อความและโทเค็นภาษาอังกฤษคืออะไร?
ดูตัวอย่างทุกคำถาม8 คำถาม
คำตอบและคำอธิบายจะปรากฏขึ้นเมื่อคุณทำแบบทดสอบ
- กฎทั่วไปสำหรับข้อความและโทเค็นภาษาอังกฤษคืออะไร?
- 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
- เหตุใดโทเค็นเอาท์พุตจึงมีราคาสูงกว่าโทเค็นอินพุต
- 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
- ด้วยราคาที่สร้างขึ้นที่ 3 เหรียญสหรัฐต่อล้านโทเค็นอินพุต และ 15 เหรียญสหรัฐต่อล้านโทเค็นเอาท์พุต การเรียกที่มี 6,000 โทเค็นอินพุตและ 800 โทเค็นเอาท์พุตมีค่าใช้จ่ายเท่าใด
- $0.03
- $0.30
- $0.018
- $3.00
- เหตุใดต้นทุนแชทบอทจึงเพิ่มขึ้นเมื่อมีการสนทนาดำเนินต่อไป
- 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
- โดยทั่วไปแล้วโทเค็นการคิดภายในของแบบจำลองการใช้เหตุผลจะถูกเรียกเก็บเงินอย่างไร
- 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