Your first protected route
OpenAI · production environment
/api/ai/chatProxy target · api.openai.com/v1/responses
••••••••••••••••••••
https://prototype.qurmmius.app
!
Why this is safeThe key is stored as an edge environment secret. Your client only receives a short-lived response; the raw key never enters the browser bundle.