Run an open chat model from a Cloudflare Worker with Workers AI
Call Google's open Gemma 4 model from a TypeScript Cloudflare Worker using the Workers AI binding. No API key, free daily allocation.
Install
npx shadcn add https://www.wirestack.site/r/cloudflare-workers-ai-chat-worker.json.env.local.Free accounts can open one adapted integration a month. Sign in to try it.
Set it up by hand
No AI tool or account needed: follow the steps and copy the code into your project.



