Back to Invoice Data Extractor
Document ProcessingLlama 3 (70B)
Invoice Data Extractor Using Llama 3 (70B)
Optimized prompts and cost breakdowns for running invoice data extractor with Llama 3 (70B).
About Llama 3 (70B)
- Provider
- meta
- Context Window
- 8K tokens
- Input Cost
- $0.9 / 1M tokens
- Output Cost
- $0.9 / 1M tokens
Best For
Self-hostingOpen sourcePrivacy
Optimized Prompts for Llama 3 (70B)
These prompts are tailored to work best with Llama 3 (70B)'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 Llama 3 (70B)
- input tokens
- ~1329 tokens
- output tokens
- ~875 tokens
- cost per request
- $0.0357
- monthly 1000 requests
- $44.00
Rate Limiting Considerations
Meta has rate limits of approximately 4824 RPM. Consider implementing request queuing for high-volume usage.
Monitoring with Administrate
Track Llama 3 (70B) API latency and error rates. Set up alerts for rate limit warnings and cost thresholds.