--- title: Modelflare Chat emoji: 💬 colorFrom: indigo colorTo: pink sdk: gradio sdk_version: 5.49.1 app_file: app.py pinned: false license: mit short_description: Chat demo (needs HF PRO) via Modelflare gateway --- # Modelflare Chat Demo > **Status:** Gradio runtime needs Hugging Face **PRO** (or Team) hardware quota for org Spaces. > Until then this Space stays a placeholder. Use the free path below. ## Use Modelflare today (no PRO) 1. [Getting Started collection](https://huggingface.co/collections/Modelflare/modelflare-getting-started) 2. [Start landing](https://huggingface.co/spaces/Modelflare/start) 3. [OpenAI SDK one-line guide](https://huggingface.co/spaces/Modelflare/openai-sdk) 4. Console: [modelflare.dev](https://modelflare.dev/?utm_source=huggingface&utm_medium=space&utm_campaign=chat) ## After PRO is enabled 1. Create an API key in the [Modelflare console](https://modelflare.dev/). 2. Space → **Settings** → **Variables and secrets** → add secret `MODELFLARE_API_KEY` (use a rate-limited demo group). 3. Ensure `app.py` / `requirements.txt` are present, then restart the Space. Point OpenAI SDKs at `https://modelflare.dev/v1` with the same key. Docs: [docs.modelflare.dev](https://docs.modelflare.dev/). Model dropdown ids are examples — use a model name enabled on your Modelflare group.