Compare Prices
ProvidersModelsCompareCalculatorsGuides
VISION & PDF TOKENS

Image & PDF Token Calculator

Inspect exact pixel dimensions locally in your browser or test multi-page PDF workloads to compare vision token counts and per-call API spend across Claude, GPT-6.2, Gemini 4, and open-weight VLMs.

Presets:

Reads naturalWidth × naturalHeight in your browser—never sent to any server.

1 – 16,384 px
Aspect 1.78:1
Set 0 for PDF-only
Applies to GPT models
Native or rendered pages
Adjusts text + scan load
Added to Total Input Tokens & per-call cost
Anthropic VisionAnthropic logo
1,600 media tok
$0.0037 / call
Claude Sonnet 5.5Img 1,600 · PDF 0

1568px max edge · ~1,600 tok cap/img

OpenAI Vision (GPT-6.2)OpenAI logo
1,105 media tok
$0.0027 / call
GPT-6.2 SolImg 1,105 · PDF 0

High detail · 85 + 170 × 512px tiles

Google Vision (Gemini 4)Google logo
1,548 media tok
$0.0054 / call
Gemini 4 NeonImg 1,548 · PDF 0

258 tok base (≤384px) · 768px tiles

PDF Support1,000-Call Cost
OpenAI logo
GPT-6 Luna
OpenAI · 1.05M ctx · $0.1/1M in
Native PDF1,10501,355$0.0001$0.14
OpenAI logo
GPT-6 Luna Pro
OpenAI · 1.05M ctx · $0.1/1M in
Native PDF1,10501,355$0.0001$0.14
Anthropic logo
Claude Haiku 5.5
Anthropic · 1M ctx · $0.1/1M in
Native PDF1,60001,850$0.0002$0.19
OpenAI logo
GPT-5.4 Nano
OpenAI · 400K ctx · $0.2/1M in
Native PDF1,10501,355$0.0003$0.27
Meta logo
Llama 4 Scout
Meta · 1.31M ctx · $0.1/1M in
Image / OCR3,07203,322$0.0003$0.33
DeepSeek logo
DeepSeek V4.1 Flash
DeepSeek · 1.05M ctx · $0.15/1M in
Image / OCR3,07203,322$0.0005$0.50
Qwen logo
Qwen3.8 Flash
Qwen · 1M ctx · $0.15/1M in
Image / OCR3,07203,322$0.0005$0.50
Mistral logo
Mistral Small 4
Mistral · 262K ctx · $0.15/1M in
Image / OCR3,07203,322$0.0005$0.50
MiniMax logo
MiniMax M3.1 Flash
MiniMax · 1.05M ctx · $0.15/1M in
Image / OCR3,07203,322$0.0005$0.50
Qwen logo
Qwen3.8 Omni Flash
Qwen · 1M ctx · $0.15/1M in
Image / OCR3,07203,322$0.0005$0.50
Z.ai logo
GLM 5.3 Flash
Z.ai · 1.05M ctx · $0.15/1M in
Image / OCR3,07203,322$0.0005$0.50
Google logo
Gemini 3.5 Flash Lite
Google · 1.05M ctx · $0.3/1M in
Native PDF1,54801,798$0.0005$0.54
OpenAI logo
GPT-5.4 Mini
OpenAI · 400K ctx · $0.75/1M in
Native PDF1,10501,355$0.0010$1.02
Meta logo
Llama 4 Maverick
Meta · 524K ctx · $0.35/1M in
Image / OCR3,07203,322$0.0012$1.16
Z.ai logo
GLM 5.3 FlashX Legal
Z.ai · 1.05M ctx · $0.37/1M in
Image / OCR3,07203,322$0.0012$1.23
Z.ai logo
GLM 5.3 FlashX
Z.ai · 1.05M ctx · $0.37/1M in
Image / OCR3,07203,322$0.0012$1.23
OpenAI logo
GPT-6.1 Terra
OpenAI · 1.05M ctx · $1/1M in
Native PDF1,10501,355$0.0014$1.35
OpenAI logo
GPT-6.1 Terra Pro
OpenAI · 1.05M ctx · $1/1M in
Native PDF1,10501,355$0.0014$1.35
Google logo
Gemini 3.8 Flash
Google · 1.05M ctx · $0.825/1M in
Native PDF1,54801,798$0.0015$1.48
Mistral logo
Mistral Large 4
Mistral · 1.05M ctx · $0.7/1M in
Image / OCR3,07203,322$0.0023$2.33
Google logo
Gemini 4 Hydrogen
Google · 1.05M ctx · $1.5/1M in
Native PDF1,54801,798$0.0027$2.70
OpenAI logo
GPT-6.2 Sol
OpenAI · 1.05M ctx · $2/1M in
Native PDF1,10501,355$0.0027$2.71
OpenAI logo
GPT-6.2 Sol Pro
OpenAI · 1.05M ctx · $2/1M in
Native PDF1,10501,355$0.0027$2.71
OpenAI logo
GPT-6.1 Sol Pro
OpenAI · 1.05M ctx · $2/1M in
Native PDF1,10501,355$0.0027$2.71
OpenAI logo
GPT-6.1 Sol
OpenAI · 1.05M ctx · $2/1M in
Native PDF1,10501,355$0.0027$2.71
OpenAI logo
GPT-6 Sol Pro
OpenAI · 1.05M ctx · $2/1M in
Native PDF1,10501,355$0.0027$2.71
OpenAI logo
GPT-6 Sol
OpenAI · 1.05M ctx · $2/1M in
Native PDF1,10501,355$0.0027$2.71
OpenAI logo
GPT-5.4
OpenAI · 1.05M ctx · $2.5/1M in
Native PDF1,10501,355$0.0034$3.39
Google logo
Gemini 4 Argon
Google · 1.05M ctx · $2/1M in
Native PDF1,54801,798$0.0036$3.60
Google logo
Gemini 4 Carbon
Google · 1.05M ctx · $2/1M in
Native PDF1,54801,798$0.0036$3.60
Anthropic logo
Claude Sonnet 5.5
Anthropic · 1M ctx · $2/1M in
Native PDF1,60001,850$0.0037$3.70
xAI logo
Grok 4.20
xAI · 2M ctx · $1.25/1M in
Native PDF3,07203,322$0.0042$4.15
Qwen logo
Qwen4 Max
Qwen · 1M ctx · $1.425/1M in
Image / OCR3,07203,322$0.0047$4.73
Google logo
Gemini 4 Neon
Google · 1.05M ctx · $3/1M in
Native PDF1,54801,798$0.0054$5.39
OpenAI logo
GPT-5.6 Sol
OpenAI · 1.05M ctx · $4/1M in
Native PDF1,10501,355$0.0054$5.42
Anthropic logo
Claude Sonnet 4.6
Anthropic · 1M ctx · $3/1M in
Native PDF1,60001,850$0.0056$5.55
xAI logo
Grok 4.7
xAI · 500K ctx · $2/1M in
Native PDF3,07203,322$0.0066$6.64
Moonshot logo
Kimi K3.1 Pro
Moonshot · 1.05M ctx · $2/1M in
Image / OCR3,07203,322$0.0066$6.64
Anthropic logo
Claude Opus 5.5
Anthropic · 1M ctx · $4/1M in
Native PDF1,60001,850$0.0074$7.40
Anthropic logo
Claude Opus 4.8
Anthropic · 1M ctx · $5/1M in
Native PDF1,60001,850$0.0093$9.25
OpenAI logo
GPT-6.2 Astra
OpenAI · 1.05M ctx · $8/1M in
Native PDF1,10501,355$0.0108$10.84
OpenAI logo
GPT-6.2 Astra Pro
OpenAI · 1.05M ctx · $8/1M in
Native PDF1,10501,355$0.0108$10.84
Qwen logo
Qwen3.8 Max Prime
Qwen · 1M ctx · $4/1M in
Image / OCR3,07203,322$0.0133$13.29
OpenAI logo
GPT-6 Astra
OpenAI · 1.05M ctx · $10/1M in
Native PDF1,10501,355$0.0136$13.55
OpenAI logo
GPT-6 Astra Pro
OpenAI · 1.05M ctx · $10/1M in
Native PDF1,10501,355$0.0136$13.55
Anthropic logo
Claude Fable 5.2
Anthropic · 1M ctx · $8/1M in
Native PDF1,60001,850$0.0148$14.80
Anthropic logo
Claude Fable 5.1
Anthropic · 1M ctx · $10/1M in
Native PDF1,60001,850$0.0185$18.50

How it works

  1. 1Drop any local screenshot or scan into the inspector—your browser reads naturalWidth × naturalHeight via an object URL with zero server upload—or pick a standard resolution preset.
  2. 2Adjust image count, OpenAI detail mode (High 512px tiling vs Low flat 85 tokens), PDF page count, PDF layout density, and optional accompanying text prompt tokens.
  3. 3Compare Anthropic (1568px scaling), OpenAI (512px tile math), and Google (258-token base) side-by-side in the KPI cards.
  4. 4Filter the full vision catalog by vendor or Native PDF support to check 1-call and 1,000-call API costs before shipping.

Frequently asked questions

How does Claude scale images and count vision tokens?

Anthropic downscales any image whose longest edge exceeds 1,568 pixels while preserving aspect ratio, then bills roughly ceil((width × height) / 750) tokens—capped around 1,600 tokens per image. Sending 4K screenshots at native resolution wastes bandwidth without buying extra tokens.

How does OpenAI's 512px tile pricing work for High vs Low detail?

In Low detail mode, OpenAI charges a flat 85 tokens regardless of resolution. In High detail mode, images are first fit inside 2048×2048, scaled so the shortest side is at most 768px, and divided into 512×512 tiles billed at 85 base tokens plus 170 tokens per tile.

Why does Gemini charge 258 tokens per image or tile?

Google's Gemini vision pipeline encodes images up to 384×384 as a flat 258 tokens. Larger images are split into 768×768 tiles, each billed at 258 tokens, which makes Gemini especially cost-efficient for medium-resolution UI captures and multi-page documents.

How do native PDF models differ from image-only vision models?

Models advertising the 'file' input modality accept PDFs natively—for example, Claude rasterizes pages alongside extracted text (~1,600 tokens/page at mixed density), OpenAI averages ~900 tokens/page, and Gemini uses a ~258-token base per page. Image-only models require your pipeline to extract text via OCR or convert pages into PNGs first.

Related tools

View all tools →