Learn how to upload and analyze PDF documents using Sonar models
Sonar models support PDF document analysis through file URL uploads. You can ask questions about PDF content, get summaries, extract information, and perform detailed analysis of uploaded documents.
PDF files must be accessible via a public URL.
Optimize Your Questions
Prepare Your PDFs
Handle Large Documents
Error | Cause | Solution |
---|---|---|
Invalid URL | URL not accessible | Verify URL returns PDF directly |
File too large | PDF exceeds size limits | Compress or split the document |
Processing timeout | Document too complex | Simplify question or use smaller sections |
PDF analysis follows standard Sonar pricing based on:
Large PDFs consume more input tokens. Consider the document size when estimating costs.
Explore the complete API documentation
Learn about different Sonar model capabilities