AI Studio

MODEL AI Chat

A ChatGPT-style interface powered by your configured provider. Connect your provider securely to enable AI results.

AI backend requiredMobile friendlyNo sign-up required

Use MODEL AI Chat

Configure AI_API_BASE_URL, AI_API_KEY and AI_CHAT_MODEL in Cloudflare Pages Functions secrets.

Loading tool interface… If this message stays, refresh the page or check that /assets/app.js is available.

About this tool

This chat UI calls a server-side API route. Add your provider key as a Cloudflare secret before using it; never put API keys in frontend files or GitHub.

What a secure AI chat needs

The browser sends conversation messages to the same-origin /api/chat route. The Cloudflare Function reads the provider secret server-side and returns text from an OpenAI-compatible endpoint. Cost, latency, model behaviour and data handling depend on the provider you select.

Protect the endpoint

Before enabling a public API key, configure rate limiting, abuse monitoring, usage caps and an appropriate privacy disclosure. Never publish the secret in JavaScript or GitHub.

How to use it

  1. Enter or select the information requested by the form above.
  2. Review your inputs for typos or incorrect values.
  3. Run the tool and check the output before copying, downloading or relying on it.

Accuracy and privacy

AI features require a provider configured by the site owner. Never place API keys in this page's JavaScript. Results are provided as a convenience; verify important educational, financial, legal or professional decisions with an appropriate source.

Frequently asked questions

How does model ai chat work?

This chat UI calls a server-side API route. Add your provider key as a Cloudflare secret before using it; never put API keys in frontend files or GitHub.

Does this tool require an API key?

AI features require a provider configured by the site owner. Never place API keys in this page's JavaScript.