
If your web app calls an LLM API straight from the browser, the key is public — anyone can read it from the bundle or the network tab. Put a small server layer in between: keys stay in env vars server-side, and you can rotate them without shipping a new client.














