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
| Free | Starter | Growth | Business | Scale | |
|---|---|---|---|---|---|
| Price per month (USD) | $0 | $19 | $79 | $199 | $499 |
| Documents per month | 500 | 10,000 | 50,000 | 150,000 | 500,000 |
| Saved templates | Unlimited | Unlimited | Unlimited | Unlimited | Unlimited |
| "Made with DevilPDF" line on PDFs | Yes | ||||
| AI generations per month | 10 | 50 | 200 | 500 | 1,000 |
| Files and links kept for | 24 hours | 7 days | 30 days | 30 days | 30 days |
| Documents per batch | 25 | 100 | 500 | 1,000 | 1,000 |
Largest html in a render | 2 MB | 5 MB | 10 MB | 10 MB | 10 MB |
| PDF tools | Yes | Yes | Yes | Yes | Yes |
| Your own S3 bucket | Yes | Yes | Yes | Yes | |
| EU storage | Yes | Yes | Yes | Yes | |
| Embeddable editor | Yes | Yes |
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.
| Counted | Not 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 HTML | 30 seconds |
| Rendering a URL | 45 seconds |
options.delay | Up to 10 seconds |
| Fetching an input file from a URL (PDF tools, template upload) | 20 seconds |
| Your webhook endpoint's response | 15 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 render | 2 MB on Free, 5 MB on Starter, 10 MB on Growth and up |
| Request body | 12 MB |
| Request body for PDF tools | 45 MB |
| Request body for a template upload | 16 MB |
| Input file for PDF tools (each) | 30 MB |
| Word or Excel template file | 10 MB |
Template html | 600,000 characters |
Template css | 300,000 characters |
Template sample_data | 300,000 characters of JSON |
| Files merged in one request | 2 to 50 |
| AI prompt | 3 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 account | 25 active |
| Webhook endpoints per account | 10 |
metadata on a document | 20 keys, each up to 60 characters, values up to 500 |
header_text and footer_text | 200 characters each |
| Documents per list request | 100 |
#Retention
| Kept for | |
|---|---|
| Generated files and their download links | 24 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 bucket | Not stored by DevilPDF. Up to you. |
| The document log (ids, status, sizes, metadata) | 90 days |
| Templates | Until you delete them. |
See storage for the details.
#Image limits
| Option | Range |
|---|---|
width | 16 to 4000 CSS pixels |
height | 16 to 8000 CSS pixels |
device_scale | 1 to 3 |
quality | 1 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.