NatashaTheRobot

NatashaTheRobot

Secure Swift Packages for Cloudflare’s AI Gateway

I use Cloudflare for EVERYTHING! So I build Swift Packages to make it super easy to work with in any app!

NatashaTheRobot's avatar
NatashaTheRobot
Oct 08, 2026
∙ Paid

For my personal apps, most of my backend is now in Cloudflare! Why? Its super cheap (I literally have spent $0 for soooo much functionality that I felt guilty and signed up for the $5 / month plan despite not needing it!). And second, it is distributed.

I like the “plug-and-play” products that they have. I use it for buying and configuring domains, to host static websites for my apps (got to do the marketing!), storing documents to serve in my apps (R2), their new AI Gateway to manage AI model calling and spending, and workers that run the logic for processing my app requests! It’s A LOT!

And they keep releasing more! Including a great CLI tool for agents. Anyway, I digress…

Using AI in mobile apps comes with a BIG challenge. API keys and API requests are easy to track and steal by an attacker. And since AI usage can cost serious money, it is a big risk to include any of this in an app request. To solve this, I created a few Swift Packages that are production ready and secure that can be easily deployed on demand in any app.

If you’re not a paid subscriber, you can now get them on my tools store, starting with GenerableWorker, the secure Cloudflare backend that GenerableLLM and GenerableJev build on.

Here are the packages and how they work:

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 NatashaTheRobot, Inc · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.