The DailyToken

How Many Tokens Does a Gemini PDF Page or Image Really Cost? (Measured With count_tokens)

This story is from 2026-11-29. It is preserved in the archive; the latest stories are on the live feed.

Almost every blog post about Gemini API pricing repeats the same rule of thumb: "a PDF page costs 258 tokens." I wanted to verify that before budgeting a document pipeline, so on 10 November 2026 I generated test PDFs and PNGs and called client.models.count_tokens() across four Gemini models ( gemi…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-11-29 14:29 · DEV Community — AI
    How Many Tokens Does a Gemini PDF Page or Image Really Cost? (Measured With count_tokens)

More stories

  1. Google adds mid-conversation instructions to Gemini API in public preview — Google AI Blog
  2. Google launches Gemini 4 Live and Gemini 4 Live Translate with faster voice and translation — Google AI Blog
  3. Parents in eight states sue Google to remove Gemini from school products — Bloomberg AI
  4. Chinese AI experts reject US calls to slow frontier research — South China Morning Post Tech
  5. Google Antigravity adds agent orchestration and scientific citation tools — Google DeepMind Blog
  6. Google plans to turn Search into a personal AI agent by 2027, internal roadmap shows — Computerworld AI
  7. December Android Drop expands Tap to Share, adds Gmail to Gemini and ASL transcription — Engadget
  8. Google launches Pillowfort, an experimental AI game-making tool, with Ustwo as early user — The Verge AI

Read the Daily Brief: the day's most important AI stories →