ต้นทุน
ทำงานบน Cloudflare Workers — ไม่ใช่คอนเทนเนอร์ Chromium ขนาด 800 MB ที่คิดเงิน $0.40/ชั่วโมงโดยไม่ทำอะไร $0.00005 ต่อหน้า ไม่มีขั้นต่ำ ไม่มีค่า per-seat ไม่มีค่า per-environment
$5 สำหรับ 100,000 หน้า PDF สร้างเสร็จที่ edge ในไม่กี่มิลลิวินาที
สร้างขึ้นเพื่อรองรับสเกลระดับโลก รองรับข้อกำหนด PDF/A, Factur-X และ ZUGFeRD อย่างเต็มรูปแบบ
แก้ไข DocumentRequest ทางซ้าย แล้วเรียก live edge worker
schema จริง, PDF จริง, โดยทั่วไป <5 ms
ทำงานบน Cloudflare Workers — ไม่ใช่คอนเทนเนอร์ Chromium ขนาด 800 MB ที่คิดเงิน $0.40/ชั่วโมงโดยไม่ทำอะไร $0.00005 ต่อหน้า ไม่มีขั้นต่ำ ไม่มีค่า per-seat ไม่มีค่า per-environment
โปรไฟล์เก็บถาวร PDF/A (1b, 2b, 3b, 4) ตามคำขอ รองรับ Factur-X, ZUGFeRD และ EN 16931 ในรูปแบบ native — มาตรา 5 ของ API reference ไม่ใช่ลิงก์บน roadmap
pages[], elements[], x/y เป็นมิลลิเมตร ไม่มี HTML→PDF ไม่มี headless Chrome ไม่ต้องเรียน DSL ของ template JSON ชุดเดียวกันป้อนทั้ง API และ visual editor — ดีไซเนอร์และนักพัฒนาแก้ไฟล์เดียวกัน
Latin, CJK, อาหรับ (RTL + shaping ซับซ้อน), Devanagari, Cyrillic, Bengali และไทย ถูกฝังในเอนจิ้น — รวมถึง 3000+ emoji สี ไม่ต้อง `apt install fonts-noto-cjk` ไม่มีตัวอักษรหาย ตลอดกาล
semantics เอกสารจริง ไม่ใช่ screenshots ของ browser ใน wrapper PDF
x/y เป็นมิลลิเมตร, x_anchor สำหรับจัดชิดขวา, การวางตำแหน่งระดับซับมิลลิเมตรบนฉลาก เป็นพิกัด ไม่ใช่ค่าประมาณ
// inside elements[i]
"x_anchor": {
"reference": "content_right",
"offset": 6
} 30+ symbologies รวม GS1-128, QR, PDF417, DataMatrix ทั้งหมดเป็น vector ความยาว barcode โดยรวมแม่นยำถึง 0.1 mm
// 30+ formats: code128, qrcode, datamatrix, pdf417, ...
"type": "barcode",
"format": "code128",
"content": "INV-2026-001" Why vector beats raster font_mode: strict (ฟอนต์ที่ประกาศต้องคลุมทุก glyph), prefer (สำรองผ่านฟอนต์ในชุด), auto (เอนจิ้นเลือกเอง) auto/prefer หมดทางเลือกจะคืน API-504 — fail แบบโจ่งแจ้ง ไม่เงียบ
// inside style{}
"font_family": "NotoSans-Regular",
"font_mode": "prefer" settings.profile = "pdfa-3b" เปิดทั้งการปฏิบัติตาม PDF/A-3b และ stream แนบ XML ฝังตัวที่ Factur-X / ZUGFeRD ต้องการ ฟิลด์เดียว เอกสารเดียวที่ปฏิบัติตามครบ
// top-level on DocumentRequest
"settings": {
"profile": "pdfa-3b"
} PDF/A and Factur-X, explained {page} / {total_pages} resolve หลัง layout รองรับ keep_together, widow/orphan และ page_break blocks
// element of type "variable"
{ "type": "variable",
"name": "page",
"scope": "system" } row_span ข้ามหน้า repeat headers, alternate_fill, compound double borders ส่วน 1% ที่มักพังเสมอ
// inside table element
"pagination": {
"keep_spans_together": true
} JSON DocumentRequest ชุดเดียวกันขับเคลื่อนทั้ง POST /api/v1/pdf/render และ visual editor ที่ editor.gpdf.com แก้ไขแบบ visual, ส่งผ่าน API, หรือเขียนเอง — ทั้งสามทางทำ round-trip บนไฟล์เดียวกัน
// three routes, one engine
POST /api/v1/pdf/render
POST /api/v1/template-render
POST /api/v1/e-invoice/render Read the API reference $0.00005 ต่อ page, p50 3 ms, embedded CJK, PDF/A-3 attachment stream สี่ตัวเลขแรกที่ fintech, ERP และ tax-compliance teams ตรวจ
// invoice — header + table pattern
{ "size": "a4",
"elements": [
{ "type": "text", "x": 18, "y": 22, ... },
{ "type": "table", "x": 18, "y": 60, ... }
]} Why JSON beats HTML→PDF size presets label_100_150 และ label_4_6_in Vector GS1-128, ITF-14, SSCC ที่ precision 0.1 mm — carriers และ 3PLs print ช่วง peak โดยไม่ต้องใช้ rasterised barcodes
// 4×6 thermal shipping label
{ "size": "label_4_6_in",
"elements": [{
"type": "barcode",
"format": "code128",
"content": "1Z999AA10123456784" }]} Shipping-label use case ใบแจ้งหนี้ A4 หนึ่งหน้า 12 รายการ, QR + logo ค่ามัธยฐานจากการสร้าง PDF 1000 ครั้ง ยิ่งต่ำยิ่งดี
Methodology: 1-page A4 invoice · 12 line items · 1 QR + 1 logo · 1K invocations · median (p50) and p99 reported. Sampled 2026-04-29 from a workstation in EU-WEST. PDFShift, DocRaptor, Puppeteer and LaTeX numbers are reproduced from each vendor's published quickstart sample with the same input — re-run on your own workload before deciding. Read the head-to-head comparisons →
ไม่มี per-seat ไม่มี per-environment ไม่มี support-tier gatekeeping
ทุก paid tiers รวม
สำหรับทีมที่อยู่ภายใต้ข้อกำกับ, private cloud/VPC deployment และสภาพแวดล้อม intranet ที่แยกออกจากกัน gPdf สามารถรันเป็น dedicated Worker, server หรือ gateway-backed deployment ได้ โดยกำหนด network controls, region requirements, DPA terms และ support escalation ตามแต่ละ engagement
สิบสองคำตอบ — อ้างอิงคำต่อคำโดย JSON-LD FAQPage ที่ Google rich results ใช้
p50 อยู่ที่ 3 มิลลิวินาทีและ p99 อยู่ที่ 8 มิลลิวินาทีบนหน้า A4 หน้าเดียววัดผ่าน 1000 invocations เวลาทั้งหมดบน edge รวมเครือข่ายมักอยู่ที่ 8-15 มิลลิวินาที
JSON DocumentRequest body หน้า องค์ประกอบ เลเยอร์ watermarks หัวกระดาษ ท้ายกระดาษ และตารางทั้งหมดถูกแสดงเชิงโครงสร้าง — ไม่มี HTML ไม่มี Markdown ไม่มี browser layout pass
Headless Chromium ใช้เวลา 200-800 มิลลิวินาทีต่อ render และต้องการ container 800 MB gPdf render หน้า A4 เดียวกันใน 3 มิลลิวินาทีภายใน V8 isolate 1 MB โดยไม่มี cold start ข้อแลกเปลี่ยนคือ input format: gPdf รับ JSON DocumentRequest ไม่ใช่ raw HTML
สามตัว: /api/v1/pdf/render รับ DocumentRequest เต็มสำหรับ pixel-level control /api/v1/template-render รับ template_id พร้อม data array สำหรับ systems ที่มี published template /api/v1/e-invoice/render สร้าง Factur-X / ZUGFeRD hybrid invoices ทั้งสามใช้ engine, rate limits และ error-code surface เดียวกัน
ไม่ NotoSans CJK ฝังตัวอยู่และ font fallback chain อัตโนมัติจัดการ glyphs ที่ขาดหาย คุณจะไม่เห็น tofu boxes และไม่ต้อง apt install fonts-noto-cjk บน runtime
มากกว่า 30 symbologies รวมถึง QR, GS1-128, PDF417, DataMatrix, Aztec, MaxiCode และ Code 128 ทั้งหมดเป็น vector ความยาว barcode โดยรวมอยู่ภายใน 0.1 mm จากขนาดที่ขอ — แม่นยำพอสำหรับความกว้างฉลากตามข้อกำหนด GS1 และ ITF-14
ใช่ PDF/A-1b, 2b, 3b และ 4 เลือกได้ต่อ request รองรับ Factur-X และ ZUGFeRD attachment streams สำหรับ e-invoice scenarios
ใช่ ตั้งค่า settings.profile เป็น pdfa-3b และแนบ payload XML ที่มีโครงสร้างเป็น file stream Factur-X และ ZUGFeRD ทำงานบน PDF/A-3 ซึ่งจำเป็นสำหรับ mandate e-invoicing ของเยอรมนี และ mandate B2B ของฝรั่งเศสตั้งแต่กันยายน 2026
ภายใน V8 isolates ของ Cloudflare Workers ไม่มี Chromium container ไม่มี Lambda warming และไม่มี document persistence หลัง request
ไม่ Renderer เป็น stateless DocumentRequest ของคุณอยู่ใน V8 isolate เพียงไม่กี่ milliseconds ระหว่าง render แล้วหายไป gPdf ไม่มี caching layer และไม่มี document store — statelessness คือ contract ไม่ใช่ opt-in toggle
ใช่ Free Trial ให้ 100 pages ต่อวันโดยไม่ต้องใช้บัตรเครดิต รีเซ็ตอัตโนมัติทุกวันและหยุดเมื่อถึง quota — ไม่มี surprise bill Paid tiers เริ่มที่ $5 ต่อเดือนสำหรับ 100,000 pages
เปิด playground ด้านบน แก้ไข DocumentRequest แล้วกด สร้าง PDF — live edge worker จะส่ง PDF จริงกลับมา คัดลอก curl snippet ไปที่ terminal เพื่อ call จากที่ไหนก็ได้ Playground ไม่ต้อง install และไม่ต้องใช้ credit card; ต้องมี account เฉพาะเมื่อจะ issue API key ของคุณเอง
กรอบตัดสินใจแบบไม่ผูกกับ vendor สำหรับเลือก API สร้าง PDF คำถาม 8 ข้อที่ช่วยบอกว่าคุณจะยังพอใจในอีก 12 เดือนหรือไม่
DocRaptor ใช้ Prince แปลง HTML เป็น PDF บน hosted backend ส่วน gPdf render structured JSON โดยตรงที่ Cloudflare edge ส่วนต่างราคา 18× และไม่ใช่ teaser.
PDF/A profile จำกัดอะไรจริง ๆ เหตุใด Factur-X จึงสำคัญต่อ e-invoicing ในยุโรป และ pipeline ที่เล็กที่สุดสำหรับ PDF ที่ compliant จาก JSON renderer.
วิศวกรรมที่ตรวจสอบได้พร้อมเอกสาร — ทั้งสอง register และทั้งสองตรวจสอบได้
มีตัวเลือก data residency สำหรับ EU, US, APAC และ SA โดยกำหนด region requirements ในสัญญา
ไม่มี document persistence ไม่มี caching layer หรือ document store ใน product
ระบุ competitors, methodology ครบ, sampled date ครบ ทุก benchmark บนหน้านี้ reproduce ได้ — re-run บน workload ของคุณก่อนตัดสินใจ
Same input → byte-identical PDF Diffable และ testable ใน CI โดยไม่มี snapshot drift