AI Token & Cost Calculator
Count tokens and compare AI model costs
พรอมต์ประมวลผลเฉพาะในเบราว์เซอร์กำลังใช้ข้อมูลราคาสำรอง: 15 ส.ค. 2569 00:00
พรอมต์
0
โทเค็น
0
อักขระ
0
คำ
0
บรรทัด
0 KB
size
An assumption; generated output does not exist yet.
ผลลัพธ์
0 โทเค็น
Estimated tokens
What is the AI Token & Cost Calculator?
Count prompt tokens across tokenizer families, compare current API costs, and check context-window fit. OpenAI-family raw text uses local BPE tokenization while unsupported families are explicitly marked as estimates.
How to use
- 1.Paste a prompt or import a supported text file.
- 2.Choose an expected output size.
- 3.Search and compare model costs or context fit.
- 4.Use Budget for affordable requests and volume projections.
- 5.Use Subscription for a cautious usage-pressure estimate.
Features
- •Prompt text remains in the browser.
- •Worker-based, family-deduplicated tokenization.
- •Live Models.dev pricing with LiteLLM and bundled fallbacks.
- •Cost, context, budget, volume, and subscription views.
