What Is a Token in LLMs? Why Billing Is Per Token and How to Count
A token is the unit an LLM processes, not a word count. Learn tokenization, input vs. output tokens, and how to count them with an official tokenizer.
Blog
与「API pricing」相关的文章。
A token is the unit an LLM processes, not a word count. Learn tokenization, input vs. output tokens, and how to count them with an official tokenizer.
Follow official AI pricing pages and changelogs via cdnping RSS in 5 steps, then use a checklist to check usage and unit cost after a price hike.
Output tokens cost more because models generate them one at a time, while input is processed in parallel. Learn why, and a 4-step method to size your plan.
OpenAI released gpt-6-sol and gpt-6-luna on September 22. Official prices, cache and long-context billing, and a sample monthly cost for each tier.
Kimi K3 API pricing (output ¥100/M tokens), cache write fees, 5-minute vs 1-hour TTL, and how to fix 404s after kimi-k2.5 and moonshot-v1 were retired.
DeepSeek API has billed peak and off-peak rates since Aug 16, with off-peak at half price. Get a Beijing time table, a cron example and a monthly cost estimate.
DeepSeek opened Search and Fetch APIs on Oct 17 at $0.75 per 1,000 successful calls. curl examples, error handling, a cost formula, and Nov 1 billing.
Claude Haiku 5.5 launched Oct 7, 2026: $0.10 per million input tokens up to 100k, $0.50 above. Tiers, the new tokenizer's impact, and how to estimate cost.
xAI released Grok 4.7 on Sept 21, 2026. Model ID, two price tiers split at 200K tokens, how to pick a reasoning effort, and a curl example.
Gemini 4 Argon prices double on Dec 1, 2026 and gemini-3.8-flash on Jan 1, 2027. Old vs. new rates, monthly cost estimates, and ways to cut spend.