Benchmark

0.35 seconds,
JSON to finished PDF.

The median time for a one-page invoice, measured end to end from a client in the eastern United States on 2026-12-03. Here is exactly how, and every number we got.

DocumentMedianp95RangeServer time (median)Calls
Invoice, English0.35 s0.46 s0.33–2.67 s0.26 s20
Invoice, Japanese labels0.58 s0.72 s0.54–0.72 s0.49 s15
Invoice, Arabic labels (right to left)0.36 s0.45 s0.33–0.45 s0.26 s15

Raw data for every call: benchmark.json.

Method

  • Measured on 2026-12-03 (02:08 UTC) from a cloud server in the eastern United States. Requests entered Cloudflare's network at Columbus, Ohio (CMH).
  • Endpoint: POST /v1/render with the PDF returned in the response body ("output": "file").
  • Document: the built-in invoice starter with two line items, rendered to a one-page A4 PDF. The Japanese and Arabic runs send the same data with "locale": "ja" or "ar", so the labels, dates and layout direction change.
  • Timing: on the client, from sending the request to receiving the last byte of the PDF. Node.js fetch, one reused HTTPS connection, calls one at a time. Calls spaced 3.2 seconds apart. One warm-up call per document was made first and is not counted.
  • Median is the middle value; p95 is the nearest-rank 95th percentile (with 20 calls, the 19th fastest). Server time is the sum of the Server-Timing header every response carries.
  • Nothing was dropped or retried: every call is in the table and in the raw data.

What this does not show

  • Your times depend on where you call from. Add the network round trip between your servers and Cloudflare's nearest location.
  • Long documents, many images or large fonts take longer than a one-page invoice.
  • Batches and async jobs run on a separate path built for throughput, not for one-request latency.
  • We have not measured other PDF APIs under the same conditions, so we make no claim about how we compare. Run the same test against any API you are considering: the method above is all it takes.

Check it yourself

Every render response carries a Server-Timing header that breaks the server time into steps. With a free API key:

for i in $(seq 1 15); do
  curl -s -o /dev/null -w "%{time_total}\n" https://devilpdf.com/v1/render \
    -H "Authorization: Bearer $DEVILPDF_API_KEY" -H "Content-Type: application/json" \
    -d '{"template":"invoice","output":"file","data":{"number":"INV-1"}}'
done

Each curl opens a new connection, so expect these to run about a TLS handshake slower than the reused-connection numbers above.