Modelflare
OpenAI-compatible AI API gateway giving access to text, image, and video models from many providers with routing, fallback, and per-request usage records.
At a Glance
Engagement
Available On
Alternatives
Listed Dec 2026
About Modelflare
Modelflare is an API platform from Havenbyte LLC that brings access to GPT, Claude, Gemini and other text, image, and video models together behind one OpenAI-compatible API. It combines model access, API key management, routing choices, and request-level usage and cost records in a single console. The homepage lists 80 models from 11 providers and availability in 171 countries and regions.
What It Is
Modelflare is an AI API gateway. Developers use one API key, one base URL, and one balance for models from multiple providers instead of integrating each provider separately. For most apps, the documented change is the base URL and API key: https://modelflare.dev/v1 for OpenAI SDKs and compatible tools, or https://modelflare.dev for Anthropic and Gemini SDKs. The docs also cover coding agents such as Claude Code and Codex.
Routing and Fallback
When an upstream failure allows failover, Modelflare tries another eligible route for the same model. A regular API key can be configured with a primary route and ordered backups. A Smart API Key selects a route among those available to the account following a chosen strategy: balanced, stability first, or low price first.
Text, Image, and Video Workflow
The homepage demonstrates a chained flow: a chat completion call (/v1/chat/completions) writes a visual brief, an image generation call (/v1/images/generations) renders it, and a video call (/v1/videos) animates the image, with the result retrieved via GET /v1/videos/{task_id}. The catalog lists image and video models from providers such as OpenAI, Google, ByteDance, Kling, Alibaba Cloud, and MiniMax, with details like max resolution and duration ranges.
Usage, Keys, and Teams
Every request records token usage, cache usage, and cost in the console. Per-project API keys can have quotas, expiration dates, and model or IP restrictions. Enterprise accounts share one balance across members, with per-member budgets, keys under a custom prefix, balance and budget alerts, usage logs, and an audit log.
Related Projects
AnyModelBot is a free, MIT-licensed desktop app built on Modelflare that lets users sign in with a Modelflare account and assign different models to individual bots. Castaly is a separate workbench for creating images and videos with a Modelflare account.
Community Discussions
Be the first to start a conversation about Modelflare
Share your experience with Modelflare, ask questions, or help others learn from your insights.
Pricing
claude-sonnet-5-5
Pay-as-you-go per-token API pricing; starting price shown is the claude-first-topup route.
- Starting price/1M: Input $0.2, Output $1 (claude-first-topup, unlocked by a single top-up of US$50)
- claude-stable route: Input $0.63, Output $3.15 per 1M
- claude-premium route: Input $1, Output $5 per 1M
- Official price/1M: Input $2, Output $10
claude-sonnet-5
Pay-as-you-go per-token API pricing; starting price shown is the claude-first-topup route.
- Starting price/1M: Input $0.2, Output $1 (claude-first-topup, unlocked by a single top-up of US$50)
- claude-stable route: Input $0.63, Output $3.15 per 1M
- Official price/1M: Input $2, Output $10
gpt-6.2-sol
Pay-as-you-go per-token API pricing; starting price shown is the openai-first-topup route.
- Starting price/1M: Input $0.03, Output $0.15 (openai-first-topup, unlocked by a single top-up of US$20)
- openai-stable (default): Input $0.16, Output $0.8 per 1M
- Official price/1M: Input $2, Output $10
gpt-6.2-astra
Pay-as-you-go per-token API pricing; starting price shown is the openai-first-topup route.
- Starting price/1M: Input $0.12, Output $0.6 (openai-first-topup, unlocked by a single top-up of US$20)
- openai-stable (default): Input $0.64, Output $3.2 per 1M
- Official price/1M: Input $8, Output $40
gemini-4-neon
Pay-as-you-go per-token API pricing.
- Starting price/1M: Input $0.45, Output $2.25 (gemini-stable)
- gemini-premium: Input $2.1, Output $10.5 per 1M
- Official price/1M: Input $3, Output $15
Plan $99.99
28-day subscription plan with weekly credit issuance, covering all text and chat models.
- Total credits $110 (includes $10.01 bonus credit, Extra +10%)
- Issued every 7 days: $27.50, in 4 installments
- Unused credits expire each period
Plan $299.99
28-day subscription plan with weekly credit issuance, covering all text and chat models.
- Total credits $340 (includes $40.01 bonus credit, Extra +13%)
- Issued every 7 days: $85, in 4 installments
- Unused credits expire each period
Plan $499.99
28-day subscription plan with weekly credit issuance, covering all text and chat models.
- Total credits $580 (includes $80.01 bonus credit, Extra +16%)
- Issued every 7 days: $145, in 4 installments
- Unused credits expire each period
Plan $999.99
28-day subscription plan with weekly credit issuance, covering all text and chat models.
- Total credits $1,180 (includes $180.01 bonus credit, Extra +18%)
- Issued every 7 days: $295, in 4 installments
- Unused credits expire each period
Plan $1,499.99
28-day subscription plan with weekly credit issuance, covering all text and chat models.
- Total credits $1,800 (includes $300.01 bonus credit, Extra +20%)
- Issued every 7 days: $450, in 4 installments
- Unused credits expire each period
Contact sales
Enterprise accounts with shared balance, member budgets, capacity planning and volume pricing.
- Members and roles
- Per-member budgets
- Audit log
- Priority support
- Capacity planning
- Volume pricing
Capabilities
Key Features
- OpenAI-compatible API
- Anthropic and Gemini SDK-compatible endpoints
- Provider routing
- Ordered fallback routes for API keys
- Smart API Key with balanced, stability-first, or low-price-first strategies
- Text, image, and video model access
- Per-request token usage and cost records
- Per-project API keys with quotas, expiry, and model/IP restrictions
- Enterprise shared balance with member budgets and audit log
- Model catalog with pricing comparison against official rates
