Compare

Leafwright vs DocRaptor

A studio, an API, and about a tenth of the price per PDF.

Leafwright is a PDF API with a studio on top. POST raw HTML, a public URL, or a Handlebars template to one endpoint and get a signed link back; design, brand-check, and publish those templates in an AI-assisted studio that runs the same engine; let agents render over MCP. Pro is $79 for 15,000 PDFs a month — about half a cent per document.

DocRaptor sells the Prince XML engine as an API, and for advanced print CSS — mixed page sizes, footnotes, crop marks, CMYK, tagged PDFs — Prince is genuinely better than any Chromium-based service, Leafwright included. What you pay for it: 6–12¢ per document on the popular tiers, a dashboard that is render logs rather than a template studio, and callbacks that fire on success only. If your documents don't use Prince's print features, you're paying Prince prices for output Chromium produces too.

Templates live in the studio, render from the API

POST /api/v1/templates/{id}/render
curl -X POST https://leafwright.co/api/v1/templates/tpl_9f2/render \
  -H "Authorization: Bearer $LEAFWRIGHT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "data": { "invoice_no": "1042", "total": "$1,250.00" } }'

# Brand kit applied automatically: logo, colors, footer, disclaimer

AI drafts the template, the brand kit locks fonts and colors, a11y and print checks run before publish — then every render is one call with fresh data. On DocRaptor, templating is your problem: the API takes document_content or document_url per request. How templates work →

Switch to Leafwright if you…

  • render at volume — $79 covers 15,000 documents a month; the same spend covers ~1,250 on DocRaptor
  • want templates managed for you: AI draft, brand kit, canvas, publish, then render by ID
  • need webhooks on failure, not only on success
  • connect AI agents over MCP

Stay on DocRaptor if you…

  • depend on Prince paged media: mixed page sizes, footnotes, crop marks, CMYK, tagged PDFs
  • export HTML to XLS/XLSX, or run JavaScript at render time
  • need SOC 2 or HIPAA attestations today — DocRaptor publishes them, Leafwright doesn't

Feature comparison

FeatureLeafwrightDocRaptorEdge
Price at volume$79 → 15,000 PDFs/month — about 0.5¢ each.$75 → 1,250/month (6¢ each); 15,000/month costs $399 on Bronze.Leafwright
Template studioAI draft → brand kit → canvas → a11y/print checks → publish → render by ID.No template product; the dashboard is render logs and account management.Leafwright
MCP for AI agentsRemote server at leafwright.co/mcp (OAuth 2.1) and local @leafwright/mcp.Not stated on docraptor.com (September 2026).Leafwright
WebhooksSigned webhooks on success and failure; delivery to a signed URL or your own S3/GCS bucket.callback_url fires on success only — errors never call back.Leafwright
Free tier100 PDFs per month, $0, no card.5 documents per month, plus unlimited watermarked test renders.Leafwright
Print engineChromium 151, version-pinned — excellent for the HTML/CSS documents your app already styles.Prince XML 11.4–15.1 — the reference engine for CSS Paged Media, a class above Chromium for advanced print.DocRaptor

This is DocRaptor's real moat. If you use it, stay.

Document caps200 pages per PDF; HTML 250 KB, CSS 120 KB.No hard page cap (hosted output under 100 MB).DocRaptor
Output formats & render-time JSPDF only; no JavaScript at render time.JavaScript optional; HTML-to-XLS/XLSX export.DocRaptor
Compliance postureNo SOC 2 or HIPAA claims today.Publishes SOC 2, HIPAA, and 99.99% uptime.DocRaptor
Self-hostHosted only.Hosted; for on-prem they point at running Prince yourself (licenses from $2,500/year).Split

Neither service is self-hostable; a Prince license is the on-prem path.

Pricing

Same budget: at ~$75–79 a month, Leafwright includes 15,000 documents to DocRaptor's 1,250 — about 12× the volume.

Same volume: 15,000 documents a month is $79 on Leafwright Pro and $399 on DocRaptor Bronze — about a fifth of the price.

Leafwright

USD · verified September 2026

  • Hobby$0·100 PDFs + 8 AI drafts
  • Indie$19·3,000 PDFs
  • Pro$79·15,000 PDFs
  • Business$299·80,000 PDFs
  • 1 credit renders a PDF of up to 50 pages; hard max 200 pages per PDF.
  • Hobby is hard-capped. Paid plans meter overage past the monthly limit — details on pricing.

DocRaptor

USD · verified September 2026

  • Free$0·5/mo
  • Basic$15·125/mo (12¢)
  • Professional$29·325/mo (9¢)
  • Premium$75·1,250/mo (6¢)
  • Max$149·5,000/mo (3¢)
  • Bronze$399·15,000/mo (2.66¢)
  • Silver$1,000·40,000/mo (2.5¢)
  • EnterpriseContact·Custom
  • As published on docraptor.com/signup.
  • Gold overage is 2.25¢ per document in DocRaptor's overage article; the monthly Gold price is not on /signup, so it isn't quoted here.

Questions, answered.

When should I stay on DocRaptor?

If your layout depends on Prince paged media — mixed page sizes, footnotes, crop marks, CMYK, tagged PDFs — switching to Chromium is a print-quality regression. DocRaptor is the right tool for that class of document.

Is there a cheaper DocRaptor alternative?

For standard HTML/CSS documents, yes. Leafwright Pro is $79 for 15,000 PDFs a month (~0.5¢ each) where DocRaptor's comparable spend ($75 Premium) includes 1,250 (6¢ each). The trade: Leafwright renders with Chromium, not Prince, and doesn't publish SOC 2 or HIPAA attestations.

Does Leafwright include Prince or match Prince output?

No. Leafwright does not include a Prince license and does not claim to match Prince XML print output. It runs hosted Chromium for HTML, URL, and Handlebars rendering, plus a template studio on the same engine.

Does DocRaptor have a template studio?

No. DocRaptor's dashboard is for logs and account management; you send document_content or document_url on every request. Leafwright hosts Handlebars templates in a studio — AI-drafted, brand-kitted, checked before publish — that shares the render engine with the API.

More comparisons

All comparisons →

Render your first PDF this afternoon

Hobby is free and hard-capped: 100 PDFs and 8 AI template drafts a month, no credit card. Upgrade when you outgrow it.