A prototype calling an API is straightforward. Putting it in front of other people introduces cost exposure, abuse, privacy obligations and the question of what happens when it says something wrong.
What must be true before launch?
- The key is server-side. Never in client code.
- Per-user limits. So one user cannot exhaust your budget.
- A spending cap. At the provider.
- Input validation. Length and content.
- Monitoring. Usage, errors and cost.
Why are per-user limits essential?
Because without them a single user, whether malicious or looping, can consume your entire budget. Rate limiting per account is the protection, and it should exist before the first external user.
What about people misusing it?
Expect it. Anything accepting free text will be used to try things unrelated to your product, and a system prompt alone does not prevent that reliably.
What should you do about that?
Constrain the input where you can, filter obvious abuse, and accept that some will get through. Designing so that misuse produces nothing useful is more effective than trying to block every attempt.
What about what it says?
You are responsible for it. Output presented in your product is your product's output, regardless of which model generated it, and that is the framing a regulator or a customer will use.
What about telling people it is AI?
Increasingly expected and occasionally required. Disclosure shapes how people treat output, which is exactly the point, and hiding it tends to be discovered and damages trust more than the disclosure would have.
Regulations in several jurisdictions now address this directly for certain uses. Anybody deploying something public should check the current position rather than relying on what was true when they started building.
What should you log?
Enough to investigate a complaint: the request, the response, the model and the time. That is also personal data in many cases, so retention and access need deciding rather than defaulting.
What about the second week?
When the real usage patterns appear. First-week traffic is people trying it; the second week shows what they actually came back for, which is frequently a narrower set of things than you built.
That is the moment to look at cost per real interaction and at which features go unused. Both inform whether to simplify, and simplifying early is considerably easier than after more has been built on top.
What should you tell users?
That output is generated and may be wrong. Clear framing shapes how people treat it, and it is increasingly expected rather than optional.
How should you roll out?
Gradually. A small proportion of traffic first tells you about real usage patterns and real costs before the exposure is total, and rolling back is straightforward while the numbers are small.
What about the first external users?
Worth choosing rather than accepting whoever arrives. A small group who understand it is new, and who will report problems rather than quietly leaving, is worth considerably more than the same number of anonymous users.
They also tolerate rough edges. Launching to people who expect a finished product means the first impression is formed on the version with the most problems, which is avoidable by controlling who sees it first.
What about privacy obligations?
Applicable as soon as real users are involved. Sending user content to a provider is processing personal data in many cases, which requires a lawful basis, transparency about what happens to it, and appropriate terms with the provider.
API terms generally differ from consumer ones and are usually more suitable, and they are worth reading rather than assuming. For anything handling material about identifiable people in the UK, that is a requirement rather than a precaution.
What is the incident plan?
Knowing how to turn it off. A switch that disables the feature, independent of a deployment, is what lets you respond in minutes rather than waiting for a release.
What is most often missing?
Cost controls and the off switch. Both are quick to add beforehand and painful to arrange while something is going wrong.