
Modelflare 推出兼容 OpenAI 的多模型统一 API 网关
来源标题:Show HN: Modelflare – One OpenAI-compatible API key for many LLMs
Modelflare 是一个兼容 OpenAI 的 AI API 网关,用一个 API key 即可接入 GPT、Claude、Gemini 及主流图像和视频模型。它支持服务商路由、有序故障转移,并按请求统计用量与成本,企业账户还可分配团队预算。
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Modelflare is an OpenAI-compatible AI API gateway. One API key connects products and agents to GPT, Claude, Gemini, and leading image and video models, with provider routing, ordered fallback, and per-request usage and cost.
Compare models, capabilities, and prices across providers. Choose what fits each part of your product.
When an upstream failure allows failover, try another eligible route for the same model. Configure a primary route and ordered backups for a regular API key.
Use the same key across models. Modelflare selects a route for the requested model from those available to your account, following your chosen strategy.
curl https://modelflare.dev/v1/chat/completions
-H "Authorization: Bearer $MODELFLARE_API_KEY"
-H "Content-Type: application/json"
-d '{"model": "MODEL_ID", "messages": [{"role": "user", "content": "Hello"}]}'
Read the docs · View pricing
Approved enterprise accounts get a console of their own: invite your team, give each member a budget, and see every top-up, request and creation in one place.
Invite admins and members by email, and give each an unlimited, one-time or monthly budget.
Enterprise keys start with your own short name, such as acme-, and every request is attributed to the member who made it.
The owner and admins can top up. Alerts email you before the balance or a budget runs out.
See spending by member, model and key, keep the images and videos members create, and review every admin action.
Build with text, image, video, and audio models from different providers. One API and one console keep your keys, usage, and billing together.
You use one API key, one base URL, and one balance for models from many providers. Each model lists its price next to the official rate, and every request records its token usage and cost.
Usually you only change the base URL and API key. Use https://modelflare.dev/v1 with OpenAI SDKs and compatible tools, or https://modelflare.dev with Anthropic and Gemini SDKs. The docs cover each model and coding agents such as Claude Code and Codex.
Start with what you want to make. On Models & Pricing, compare capabilities, supported APIs, and rates, then open a model for the details.
Each model lists its price for every routing group, in units such as 1M tokens, one image, or one second of video, beside the official rate. Your console records the usage and cost of each request.
You can start with pay-as-you-go credits. If you prefer a plan, compare its included quota, supported models, and limits first. Your console shows usage and charges as you go.
When an upstream failure allows failover, try another eligible route for the same model. Configure a primary route and ordered backups for a regular API key.
Give each project its own API key. Set a quota and expiration date, add model or IP restrictions when needed, and track usage separately.
Yes. With an enterprise account, the whole team spends one shared balance. Invite members by email, give each a budget and their own keys, and see each member’s usage, requests and creations in the enterprise console. The owner and admins can top up, and alerts tell you before the balance or a budget runs out.
The Trust Center explains which request data is processed, how long records are kept, which service providers are involved, and how to report a security issue.
Of course. In Castaly, choose an image or video model and describe your idea. Sign in with your Modelflare account; your balance and usage records are shared.
Compare AI API prices, billing units and supported endpoints for text, image and video models. Review model groups and request conditions.
Run your team on one Modelflare account: member budgets, prefixed API keys, top-ups, alerts, usage logs and audit, plus capacity and support for larger workloads.
Model developers, inference platforms, compute providers and API distributors: apply to supply models and capacity to developers and teams on Modelflare.
Engineering guides to OpenAI-compatible APIs, streaming, provider routing, fallback design, error diagnosis, API key security, token usage, and cost control.
Explore projects supported by or partnering with Modelflare, including open-source tools, AI products, and teams building with our platform.
Explore Modelflare plugins for coding assistants, agents, and automation tools. Browse release status and setup details across the integration directory.
Introduce Modelflare to your audience, apply for the affiliate program, and track eligible referrals in your account.
Apply to Project Plaza and grow through reciprocal promotion. Submit your project and propose visible Modelflare placements.
Learn how Modelflare supports developers, teams, and organizations with unified model access, flexible routing, usage and cost records, and enterprise assistance.
Learn how Modelflare handles API data, protects credentials, uses service-provider categories, and manages retention, diagnostics, and security incidents.
Read the Modelflare terms of service for commercial API access, billing, usage, compliance, suspension, and disputes.
Read the Modelflare privacy policy for data handling, account information, billing metadata, and service operations.
Review the rules for Modelflare project listing, reciprocal promotion, affiliate attribution, historical quota records, and payouts.
See the 171 countries, regions, and territories where Modelflare commercial API service is currently available.
Review Modelflare top-up refund windows, refundable principal, bonus-credit deductions, refund processing fees, and account reconciliation.
Review Modelflare rules for account and API Key security, signup credits, payments, access limits, downstream integrations, and safe content use.
Read the Modelflare user agreement for account access, API usage, billing, and service responsibilities.
Setup guides, model contracts, and API reference.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。