Back to Invoice Data Extractor
Document ProcessingGemini 1.5 Pro

Invoice Data Extractor Using Gemini 1.5 Pro

Optimized prompts and cost breakdowns for running invoice data extractor with Gemini 1.5 Pro.

About Gemini 1.5 Pro
Provider
google
Context Window
128K tokens
Input Cost
$1.25 / 1M tokens
Output Cost
$5.0 / 1M tokens

Best For

Multimodal tasksGoogle integrationCost efficiency
Optimized Prompts for Gemini 1.5 Pro
These prompts are tailored to work best with Gemini 1.5 Pro's capabilities

extraction

Extract the following from this invoice:
- Vendor name and address
- Invoice number and date
- Due date
- Line items (description, quantity, unit price, total)
- Subtotal, tax, and total

Return as JSON.

{{invoice_text}}
Cost Breakdown
Estimated costs for running this workflow with Gemini 1.5 Pro
input tokens
~1069 tokens
output tokens
~847 tokens
cost per request
$0.0488
monthly 1000 requests
$9.00
Rate Limiting Considerations

Google has rate limits of approximately 4718 RPM. Consider implementing request queuing for high-volume usage.

Monitoring with Administrate

Track Gemini Pro API latency and error rates. Set up alerts for rate limit warnings and cost thresholds.