Docs / Limits and plans

Reference

Limits and plans

Every limit in DevilPDF, in one place. The same numbers are available from GET /v1/plans, and your own usage from GET /v1/usage.

#Plans

FreeStarterGrowthBusinessScale
Price per month (USD)$0$19$79$199$499
Documents per month50010,00050,000150,000500,000
Saved templatesUnlimitedUnlimitedUnlimitedUnlimitedUnlimited
"Made with DevilPDF" line on PDFsYes
AI generations per month10502005001,000
Files and links kept for24 hours7 days30 days30 days30 days
Documents per batch251005001,0001,000
Largest html in a render2 MB5 MB10 MB10 MB10 MB
PDF toolsYesYesYesYesYes
Your own S3 bucketYesYesYesYes
EU storageYesYesYesYes
Embeddable editorYesYes

Every plan has the whole API: templates, HTML, URLs, images, async, batches, webhooks, forms and the MCP server. Plans differ in volume and in the features marked above.

There are no overage charges. When you reach a monthly allowance, requests return quota_exceeded until you upgrade or the month resets.

#What counts as a document

One successful output file is one document.

CountedNot counted
A successful POST /v1/render, whatever the format or output mode.A render that fails or times out.
Each item in a batch that renders successfully.Batch items that fail. They are given back.
An async render that succeeds.Test renders from the dashboard editor and the embedded editor.
A document generated through the MCP server.Template previews and POST /v1/templates/validate.
Each file a PDF tool produces. A split into five parts is five.POST /v1/pdf/fields, and every GET request.

Fetching, listing or downloading a document is always free.

The allowance covers a calendar month and resets on the first day of the month at 00:00 UTC. Unused documents do not roll over.

Batches and async renders take their documents from the allowance when they are accepted, and give back any that fail.

#AI generations

Each successful generate or revise call uses one AI generation, including drafts made with "save": false. Generations that fail or are refused are not counted. Rendering a template that was made with AI is a normal document and uses no generations.

#Free test renders

The Test render button in the dashboard editor and in the embedded editor does not use your allowance. Together they are capped at 300 test renders per day. Reaching the cap does not affect the API.

#Rate limit

Each account can make 600 API requests per minute, shared by all of its keys. Above that, requests return 429 with the type rate_limited. Back off for a few seconds and retry.

To generate a lot of documents quickly, send a batch instead of many single requests. One batch request queues up to 1,000 documents, depending on your plan.

#Time limits

Limit
Rendering a template or HTML30 seconds
Rendering a URL45 seconds
options.delayUp to 10 seconds
Fetching an input file from a URL (PDF tools, template upload)20 seconds
Your webhook endpoint's response15 seconds

A render that runs out of time returns render_timeout and is not counted. For long documents, use "async": true so your own request does not have to stay open.

#Sizes

Limit
html in a render2 MB on Free, 5 MB on Starter, 10 MB on Growth and up
Request body12 MB
Request body for PDF tools45 MB
Request body for a template upload16 MB
Input file for PDF tools (each)30 MB
Word or Excel template file10 MB
Template html600,000 characters
Template css300,000 characters
Template sample_data300,000 characters of JSON
Files merged in one request2 to 50
AI prompt3 to 4,000 characters

Anything over a size limit returns payload_too_large.

Base64 makes a file about a third larger. If a base64 input pushes a request over the body limit, pass the file as an https URL or a document id instead.

#Counts

Limit
API keys per account25 active
Webhook endpoints per account10
metadata on a document20 keys, each up to 60 characters, values up to 500
header_text and footer_text200 characters each
Documents per list request100

#Retention

Kept for
Generated files and their download links24 hours to 30 days, by plan. Shorten per request with expires_in (minimum 60 seconds).
Files rendered with "output": "file"Not stored at all.
Files delivered to your own bucketNot stored by DevilPDF. Up to you.
The document log (ids, status, sizes, metadata)90 days
TemplatesUntil you delete them.

See storage for the details.

#Image limits

OptionRange
width16 to 4000 CSS pixels
height16 to 8000 CSS pixels
device_scale1 to 3
quality1 to 100
scale (PDF)0.1 to 2

See images.

#Need more?

If you need more than 500,000 documents a month or a higher rate limit, email hello@devilpdf.com.