×
Menu
Index

5.7.6. AI cost and credits

 
AI calls are paid in one of two ways:
Credits are also consumed by the cloud OCR engines (Google Vision, per page) when you do not use your own key. Local models (Ollama, local OpenAI-compatible server) consume nothing.
Estimating before processing
The AI Cost Estimate button (AI panel of the Capture tab) calculates, for the open batch, how much the processing will cost per model and per mode (synchronous or deferred) and compares models, so you can choose the cheapest model that gives good results. With Flash or mini class models an invoice costs about a euro cent or less; the deferred mode halves it.
Watching the consumption
Each document keeps the token usage of its requests in the raw response files (oai.<alias>.json, gemini.<alias>.json); Gemini also bills the thinking tokens. To compare engines or prompts, duplicate the same batch and compare the results document by document.