Skip to content

Prompt Token Counter

Count tokens for GPT-6 Astra, GPT-5.6 Sol/Terra/Luna, Claude Fable 5.1, Opus 5.5, Opus 5, Sonnet 5, Haiku 4.5, and Gemini 3.8 Flash as you type. See current API pricing, remaining context, and chunk suggestions without leaving the browser.

Used 4,800 times

Local execution
166 characters29 wordsLoading tokenisers…

Token counting runs entirely in your browser via js-tiktoken — no data ever leaves this page. Prices are standard API rates in USD, checked 23 Sep 2026; batch and cached-input discounts aren't applied.

GPT-6 Astra · OpenAI

0 tokens

Context limit: 272,000

Prompts over 272K tokens bill at 2× input / 1.5× output.

Context remaining272,000 of 272,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$10.00 in / $50.00 out
Characters
166
Words
29

GPT-5.6 Sol · OpenAI

0 tokens

Context limit: 272,000

Promotional price through 21 Nov 2026. Prompts over 272K tokens bill at 2× input / 1.5× output.

Context remaining272,000 of 272,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$4.00 in / $20.00 out
Characters
166
Words
29

GPT-5.6 Terra · OpenAI

0 tokens

Context limit: 272,000

Prompts over 272K tokens bill at 2× input / 1.5× output.

Context remaining272,000 of 272,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$2.00 in / $12.00 out
Characters
166
Words
29

GPT-5.6 Luna · OpenAI

0 tokens

Context limit: 272,000

Prompts over 272K tokens bill at 2× input / 1.5× output.

Context remaining272,000 of 272,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$0.20 in / $1.20 out
Characters
166
Words
29

Claude Fable 5.1 · Anthropic

0 tokens

Context limit: 1,000,000

Estimated with o200k_base; this vendor's tokenizer isn't public.

Context remaining1,000,000 of 1,000,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$10.00 in / $50.00 out
Characters
166
Words
29

Claude Opus 5.5 · Anthropic

0 tokens

Context limit: 1,000,000

Estimated with o200k_base; this vendor's tokenizer isn't public.

Context remaining1,000,000 of 1,000,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$4.00 in / $20.00 out
Characters
166
Words
29

Claude Opus 5 · Anthropic

0 tokens

Context limit: 1,000,000

Estimated with o200k_base; this vendor's tokenizer isn't public.

Context remaining1,000,000 of 1,000,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$5.00 in / $25.00 out
Characters
166
Words
29

Claude Sonnet 5 · Anthropic

0 tokens

Context limit: 1,000,000

Estimated with o200k_base; this vendor's tokenizer isn't public.

Context remaining1,000,000 of 1,000,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$2.00 in / $10.00 out
Characters
166
Words
29

Claude Haiku 4.5 · Anthropic

0 tokens

Context limit: 200,000

Estimated with o200k_base; this vendor's tokenizer isn't public.

Context remaining200,000 of 200,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$1.00 in / $5.00 out
Characters
166
Words
29

Gemini 3.8 Flash · Google

0 tokens

Context limit: 1,000,000

Introductory price through 31 Dec 2026 ($1.50 / $7.50 from 2027). Estimated with o200k_base; this vendor's tokenizer isn't public.

Context remaining1,000,000 of 1,000,000
Estimated input cost
$0.0000 • pricing
Price per 1M tokens
$0.75 in / $3.75 out
Characters
166
Words
29

Latest AI Tools articles