Estimate how much it costs to send your PDF to OpenAI, Claude, Gemini, or any LLM API. Editable prices, no upload.
Every call to an LLM API charges by token count. When you send a PDF to GPT-4o, Claude, or Gemini via their API, the bill depends on how many tokens your document contains. Knowing the cost before you make the call helps you pick the right model and decide whether to chunk or summarize first.
This tool extracts text from your PDF locally and counts tokens in your browser. OpenAI models use the exact o200k_base count, while Claude and Gemini are estimated from it. It then multiplies by each model's published per-token price. Prices are a snapshot you can edit, so verify current rates before you rely on a figure.
Your PDF content stays on your device. Token counting and cost multiplication happen locally. Nothing is sent to any server or API.
They're published list prices, checked on the date shown above the table. Actual costs may differ based on volume tiers, commitments, or provider updates. Always verify on the provider's pricing page before committing to a budget.
The estimate shows input cost only (sending the PDF to the model). Output cost depends on how long the model's response is, which varies by prompt and task.
Yes. Click Edit prices and then Add model. Enter the name, provider, price per million tokens, and context window size.