Estimate how much it costs to send your PDF to OpenAI, Claude, Gemini, or any LLM API. Editable prices, no upload.
In our public UN declaration sample, the extracted text measured 2,190 o200k tokens. At an illustrative $2 per million input tokens, that is $0.00438 for the document text alone. Instructions, page images and output are excluded. This is not a measured API bill.
API cost depends on the tokens the provider processes, not just the PDF's page count. Native PDF inputs can include page images as well as extracted text. Instructions and generated answers can also add to the bill.
This calculator counts locally extracted text with public OpenAI encodings and uses estimates for the listed models. It multiplies those counts by editable input prices. It does not measure native PDF image tokens or the provider's actual usage. Check the current rates and usage returned by the provider.
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.