Get started
Introduction
OpenAI-compatible Chat and Responses, Anthropic Messages, and 14 image plus 28 video models on one Modelflare API key, with setup guides for Codex, Claude Code and other coding agents.
Modelflare is a unified API gateway for text, image, and video models. One key covers OpenAI-compatible chat plus the native contracts that image and video providers still require. Console, keys, and live prices stay on the main site.
Get started
Section titled “Get started”Create an API key
Sign in to the console and create a key on a group that lists your model.
Send a request
Point an OpenAI SDK or curl at https://modelflare.dev/v1 with the key.
Pick a surface
Chat, Responses, Anthropic Messages, Images or Video, all on the same key.
What Modelflare provides
Section titled “What Modelflare provides”- One key for text, image, and video
- Chat Completions, Responses, Anthropic Messages, Images, and Video share the same authentication and routing groups.
- OpenAI-compatible chat
- If you already use the OpenAI SDK, switch the base URL and keep your client code.
- Native contracts where they matter
- GPT Images, Gemini native image, and async video families keep their own request fields. The docs do not flatten them into one fake schema.
- Live prices on the main site
- Availability, groups, and billing always come from Models & Pricing. This site does not keep a second price list.
Explore the docs
Section titled “Explore the docs”Coding agents
Codex, Claude Code, OpenCode, Grok Build, Gemini CLI, and CC-Switch setup.
Media Skill
Let an agent choose, price, call, and save image or video generations.
Platform features
Smart API Keys, group failover, the cache hit guarantee, and data retention.
Models
Text, image, and video models with the exact request contract for each.
Which endpoint to call
Hostnames, auth, and which family each request uses.