GPT Migrator
APIs, integrations and technical migration

File uploads in the OpenAI and Anthropic APIs

Last checked October 18, 2026
Short answerOpenAI lists 50 MB per file and 50 MB total per request for file inputs. Anthropic's Files API lists 500 MB per file and 1 TB per organization, with content billed as input tokens.

From the providers' documentation, checked October 18, 2026.

OpenAI file inputsAnthropic Files API
HowSend PDFs and other supported files by file ID, Base64 or URL in the Responses APIUpload once, then reference the file_id in document or image blocks
Limits50 MB per file and 50 MB total per request; Chat Completions accepts only PDFs500 MB per file, 1 TB per organization
CostContent counts as model input; no separate price shown on the guideUpload, list and delete are free; content billed as input tokens
ScopePer requestVisible to the whole workspace, not per end user

Sending whole files every time is expensive for big libraries; retrieval over a vector store sends only relevant passages: OpenAI file search. See context windows.

Check your GPT before you move it

Paste your instructions, file names and Actions schema into the free checker. It runs in your browser and builds a portable bundle. Nothing is uploaded.

Open the free checker

Related guides

Sources

Pages describing other companies' products reflect their public documentation on the date shown and can go out of date.