---
title: "Comment by Furqan Ashraf on \"Letting visitors try my AI video generator without an account, without going broke\" | Hashnode"
description: "For per-use cost, the layer I'd add sits between your device signature and the global cap: what kind of network the request comes from. Part of it is free on Wo"
url: "https://hashnode.com/posts/letting-visitors-try-my-ai-video-generator-without-an-account-without-going-broke/6ae08be1fe019808d44cf5b8/comment/6ae1e4862e911415069a77c8"
---

[Discussion](https://hashnode.com/posts/letting-visitors-try-my-ai-video-generator-without-an-account-without-going-broke/6ae08be1fe019808d44cf5b8)

Comment [Letting visitors try my AI video generator without an account, without going broke](https://hashnode.com/posts/letting-visitors-try-my-ai-video-generator-without-an-account-without-going-broke/6ae08be1fe019808d44cf5b8)

[Furqan Ashraf](https://hashnode.com/@jfreaks)

[Oct 28](https://hashnode.com/posts/letting-visitors-try-my-ai-video-generator-without-an-account-without-going-broke/6ae08be1fe019808d44cf5b8/comment/6ae1e4862e911415069a77c8)

For per-use cost, the layer I'd add sits between your device signature and the global cap: what kind of network the request comes from.

Part of it is free on Workers already. `request.cf.asn` and `request.cf.asOrganization` tell you when a "visitor" is a cloud provider, and those guests could get zero free generations instead of the normal allowance. That catches the lazy scripts at no cost.

It won't catch residential proxies or VPNs, which is how someone walks around per-IP limits. That needs an IP reputation lookup, called only on the generate path. We sell one (disclosure: I work at IPGeolocation.io). It's a paid feature and it means sending the IP to a third party, which you'd want in your privacy note, so it only makes sense once abuse costs you more than the plan: [https://ipgeolocation.io/ip-security-api.html](https://ipgeolocation.io/ip-security-api.html)

On Praneet's question, I'm curious too: when the global cap hits mid-day, do new visitors get "come back tomorrow" or a nudge to sign up?

[Milos Tu](https://hashnode.com/@milostu)

[Nov 5](https://hashnode.com/posts/letting-visitors-try-my-ai-video-generator-without-an-account-without-going-broke/6ae08be1fe019808d44cf5b8/comment/6ae1e4862e911415069a77c8#reply-6aec3d639f337ab6b17a80c9)

Thanks for the idea, and for the disclosure. Treating data center networks differently is a good cheap check, since real visitors rarely come from them and it costs nothing on Workers. I'll look at how that would fit.

I agree with your own test on the paid reputation lookup. The global cap already limits what abuse can cost me, and traffic is still small, so it isn't worth another bill or another third party in the privacy policy yet.

On the cap: right now it's a plain "at capacity, try again later" message, with more detail in my reply to Praneet. I think it should nudge people to sign up instead.

[Furqan Ashraf](https://hashnode.com/@jfreaks)

[Nov 5](https://hashnode.com/posts/letting-visitors-try-my-ai-video-generator-without-an-account-without-going-broke/6ae08be1fe019808d44cf5b8/comment/6ae1e4862e911415069a77c8#reply-6aec4fb924b48b9251d318d1)

Fair call. The global cap is what makes it safe to wait.

One catch for the data-centre check: iCloud Private Relay exits through Cloudflare, Akamai and Fastly, so leave those out or you'll block real iPhone users.

Happy to help if you want a second pair of eyes when you build it.
