Send PDFs straight to the model
Document Reading
Send PDFs and other documents to document-capable models with OpenAI's file content block.
file → gemini-3.6-flash
# SummaryRevenue up 18%,driven by enterprise.Risks: 2 · Actions: 4
01
Native PDFs
No parsing step on your side.
02
Multiple files
Several documents per message.
03
Standard block
OpenAI file content format.
04
Clear errors
Unsupported types fail fast.
Built for
Contract review
Ask questions across clauses
Report summaries
Long PDFs to short briefs
Data extraction
Pull fields into JSON
Attach a PDF
request.json
1{2 "model": "gemini-3.6-flash",3 "messages": [4 {5 "role": "user",6 "content": [7 { "type": "text", "text": "Summarize this report" },8 {9 "type": "file",10 "file": {11 "filename": "report.pdf",12 "file_data": "data:application/pdf;base64,..."13 }14 }15 ]16 }17 ]18}More in models & modalities
All featuresStart using Document Reading today
One API key. Every model. Live in minutes.