Unfurlkit vs Generating OG Images on Cloudflare Workers

Cloudflare Workers is a popular place to run your own OG image endpoint, because it's cheap and runs close to users. There are two main ways to do it: a Satori-based library (HTML/JSX to SVG to PNG, no browser) or Browser Run (Cloudflare's hosted headless Chrome, driven with Puppeteer or Playwright). Unfurlkit is a hosted URL that returns the image for you.

Option A: Satori-based libraries on Workers

Library Who maintains it Source (accessed 21 Oct 2026)
@cloudflare/pages-plugin-vercel-og Official Cloudflare Pages Plugin. Cloudflare's docs say it's powered by @vercel/og, and that the plugin's underlying Satori library was created by the Vercel team. https://developers.cloudflare.com/pages/functions/plugins/vercel-og/
workers-og Community (GitHub kvnang/workers-og), not Cloudflare https://github.com/kvnang/workers-og

The official Pages Plugin (for Pages Functions):

  • Works as middleware. It renders an image at a path suffix (for example /blog/hello-world/social-image.png) from a React component.
  • It can read values from the underlying page with HTMLRewriter extractors, such as the og:title meta tag.
  • With autoInject.openGraph: true, it adds og:image, og:image:height and og:image:width tags to the page.
  • It also exposes an ImageResponse API (@cloudflare/pages-plugin-vercel-og/api) for arbitrary images.

workers-og (community):

  • Describes itself as browser-less (no Puppeteer), using Vercel's Satori engine, with an API modelled on @vercel/og.
  • Its README says @vercel/og errors on a Worker because of how WASM is bundled, which is why the package exists.
  • It accepts plain HTML strings (parsed with HTMLRewriter) as well as React-like elements.

Satori renders a CSS subset (flexbox, no grid), so the same layout limits apply as with @vercel/og. Remember to escape user text before putting it into HTML.

Option B: Browser Run (headless Chrome on Workers)

Cloudflare's docs now call this Browser Run (URLs still use /browser-rendering/). Sources (accessed 21 Oct 2026): https://developers.cloudflare.com/browser-rendering/puppeteer/, https://developers.cloudflare.com/browser-rendering/limits/, https://developers.cloudflare.com/browser-rendering/pricing/.

  • You use @cloudflare/puppeteer, Cloudflare's official fork of Puppeteer (currently v1.1.0, based on Puppeteer v22.13.1 per the docs), through a browser binding. Playwright and CDP are also supported.
  • Free plan: 10 minutes of browser time per day, 3 concurrent browsers, 1 new browser every 20 seconds.
  • Paid plan: 10 browser hours a month included, then $0.09 per hour. 10 concurrent browsers (averaged monthly) included, then $2.00 per browser. Defaults are 200 concurrent browsers per account and 3 new browsers per second.
  • Browsers time out after 60 seconds of inactivity by default, extendable to 20 minutes with keep_alive.

This gives you full Chrome rendering (any CSS, web fonts), at a higher cost per image than Satori. See self-hosted Puppeteer/Playwright for the screenshot approach in general.

Workers limits and pricing that matter here

Sources (accessed 21 Oct 2026): https://developers.cloudflare.com/workers/platform/limits/, https://developers.cloudflare.com/workers/platform/pricing/.

Feature Workers Free Workers Paid
Price $0 $5/month minimum per account
Requests 100,000/day 10 million/month included, then $0.30 per million
CPU time per request 10 ms 30 s default, up to 5 min. 30 million CPU-ms/month included, then $0.02 per million CPU-ms
Memory 128 MB per isolate 128 MB per isolate
Worker size 64 MiB (uncompressed) 64 MiB
Startup time 1 second 1 second

Things to note for image rendering:

  • CPU time. Satori plus PNG conversion is CPU work. The docs say the average Worker uses about 2.2 ms per request. We haven't measured OG rendering on Workers, so test yours against the Free plan's 10 ms limit before relying on it. Exceeding it returns Error 1102.
  • Free plan daily cap. Over 100,000 requests a day, a Worker returns Error 1027 or is bypassed, depending on the route's fail mode.
  • Caching costs. Cloudflare's pricing page says that because Workers run before the cache, cached requests still incur costs. With Workers Caching enabled, cache hits are billed as requests but use no CPU time. Plan your caching (Cache API or a CDN in front) so crawlers don't trigger a render each time.
  • Fonts and WASM count toward bundle size and startup time.

What Unfurlkit is (per our spec)

  • A hosted URL: https://unfurlkit.com/v1/basic.png?title=…&theme=dark, returning a 1200×630 PNG.
  • Templates: basic (title, subtitle, theme = light|dark, accent). Also blog, product, changelog, repo, event and podcast. See templates.
  • Only unique, uncached renders count. Shares and cache hits are free.
  • Free: every image URL needs your key. A Free key gets 10 renders in total (no monthly reset), with a small "unfurlkit" watermark, and needs no card. Pro: $9/mo or $90/yr for 10,000 renders a month, no watermark, and custom fonts (Inter, Roboto, Playfair Display, JetBrains Mono) and logo. See pricing.
  • Right-to-left scripts such as Arabic and Hebrew aren't supported yet at launch.

Side by side

Feature Workers + Satori library Workers + Browser Run Unfurlkit
Layout JSX/HTML, CSS subset Full Chrome Fixed basic template
You write Template, caching, escaping Template, browser handling, caching One meta tag
Cost Workers plan + usage Workers plan + browser hours and concurrency Free tier, or Pro $9/mo
Fonts and scripts Whatever you bundle Whatever Chrome can load RTL not supported yet at launch

When Cloudflare Workers is the better fit

  • You're already on Cloudflare (Pages or Workers) and want images on your own domain with no extra vendor.
  • You need a custom design. Your own JSX or HTML, your fonts, and any script you can bundle a font for.
  • High volume at low cost. Satori on the Paid plan can be very cheap per image once caching is in place.
  • You need full browser rendering (Browser Run) for complex designs.
  • You need RTL scripts today.

When Unfurlkit is the better fit

  • You're not on Cloudflare, or you'd rather not maintain an image Worker, fonts, caching and escaping.
  • The basic card is enough for your blog or docs.
  • You want caching and render counting handled for you, with images that keep rendering over the limit.

Testing either way

Check pages with the Free OG Image Checker to see previews on X, LinkedIn, Facebook, WhatsApp, Slack, Discord and iMessage.

Updated 2026-10-21

Try it freePricing