Add usage billing, promo trials, and usage tracking to your AI features — no billing infrastructure needed.
🚨 Unlimited Free Usage (YOLO)
on free users
🎯 Capped Free Trials (Zero Risk)
Instantly learn who pays—just $0.50 per user in trial costs.
The AI App Template is built on Cloudflare's Agents framework with At Your Service integrated: sign-in, capped promo credits, real-time billing and top-ups, all wired up.
Depending on how your app handles sign-in today.
A complete sign-in flow, branded for the platform. For MVPs, demos, or apps without their own auth. The user sees: "Sign in to use [your app]".
The lighter integration, for apps that already handle their own auth. The user sees: "Link your At Your Service wallet".
Both modes route every LLM call through the wallet gateway for metering, billing and cost optimisation. A custom domain such as ai.yourapp.com is optional.
Peace of mind, instant validation, and zero complexity.
Users link their AI wallet and use your app with promo credits straight away. The gateway handles usage billing and tracking transparently.
Set promo credit limits per user, say $0.50. Users try freely until the credits run out, then top up or use their own keys. No surprise bills: the cost is capped up front.
One credit equals one dollar, charged at LLM cost plus a minimal markup. Users know exactly what they are paying for, and you set the promotional amount that sponsors a risk-free trial.
Track every token and see which users convert to paid usage. LLM usage and costs in real time, with full transparency and zero liability.
Fred, the founder, was lead AI engineer at an AI platform that went viral and then almost went bankrupt: over a hundred thousand people tried it, thousands used it regularly, the LLM bills piled up, and only a handful ever paid. Free AI usage without limits is a liability, and this is the tool he wishes had existed then.
Only slightly. Most users already log in with Google or GitHub anyway, so it is one OAuth popup instead of pasting API keys, at the same trust level as the sign-ins they already use.
They can top up with a card, switch to their own API keys, or use promotional credits you provide. Your application is never interrupted and there is no billing to reconcile on your side.
At Your Service strictly covers LLM usage costs. You can charge for access to your app independently of the LLM usage costs.
You control retention. Choose no logging at all for maximum privacy, or a retention period for troubleshooting and quality evaluation.
Swap your OpenAI or Anthropic base URL for ours, add the sign-in, and your users pay their own AI usage from the first request.