The chat interface and server are prepared. This alternative lets you keep your OpenAI key in your own Cloudflare account.
OPENAI_API_KEY: your OpenAI API keyGARY_ACCESS_CODE: a long, unique password you choose for this chatbot.
gpt-6-astra. If your API project cannot access that model, add a variable called OPENAI_MODEL with an available Responses API model ID.https://….workers.dev address. Return to garyai, click Connection, paste that address, and enter your GARY_ACCESS_CODE when prompted. The OpenAI API key stays in Cloudflare.This version supports text conversations, writing, math, and coding assistance. It does not include web browsing, file uploads, image generation, or code execution. The external Worker uses a shared access code and a basic 10-request-per-minute limit per running instance; do not distribute the access code publicly.