Modelflare

不再受限於單一模型 讓產品持續前進

Modelflare 是 OpenAI 相容的 AI API 閘道。只要一組 API 金鑰,就能讓產品與 Agent 串接 GPT、Claude、Gemini 及主流圖片與影片模型,並提供多供應商路由、依序備援,以及每筆請求的用量與費用記錄。

  • 以單一 OpenAI 相容層串接 LLM、圖片與影片模型
  • 多供應商路由與依序備援
  • 逐筆查看請求的用量與費用

從模型存取,到穩定交付。

  • 更多模型,一處串接。

    跨供應商比較模型、功能與價格,為產品的每個環節選擇合適的模型。

  • 備援路由,內建於每次請求。

    當上游故障允許容錯移轉時,會為同一模型嘗試其他符合條件的路由。一般 API 金鑰可設定主路由與依序排列的備援路由。

  • 一個金鑰,依您的路由偏好。

    同一個金鑰可用於各種模型。Modelflare 會依您選擇的策略,從您帳號可用的路由中,為所請求的模型選擇路由。

快速入門

API Base URL

  • OpenAI: https://modelflare.dev/v1
  • Anthropic: https://modelflare.dev
  • Gemini: https://modelflare.dev
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"}]}'

閱讀文件 · 查看定價

Enterprise & teams

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.

  • Members and budgets

    Invite admins and members by email, and give each an unlimited, one-time or monthly budget.

  • Keys with your prefix

    Enterprise keys start with your own short name, such as acme-, and every request is attributed to the member who made it.

  • Top-ups and alerts

    The owner and admins can top up. Alerts email you before the balance or a budget runs out.

  • Usage, creations and audit

    See spending by member, model and key, keep the images and videos members create, and review every admin action.

Explore enterprise plans

常見問題

Modelflare 能做什麼?

使用來自不同供應商的文字、圖片、影片與音訊模型進行開發。一個 API、一個控制台,集中管理您的金鑰、用量與帳單。

探索模型

Modelflare 與直接呼叫各供應商有何不同?

只需一個 API 金鑰、一個 Base URL 和一份餘額,就能使用多家供應商的模型。每個模型都會在官方價格旁列出其價格,每次請求也會記錄 Token 用量與費用。

比較模型

現有應用程式容易串接嗎?

通常只需更改 Base URL 和 API 金鑰。OpenAI SDK 與相容工具請使用 https://modelflare.dev/v1,Anthropic 與 Gemini SDK 請使用 https://modelflare.dev。文件涵蓋每個模型,以及 Claude Code、Codex 等程式開發 Agent。

閱讀文件

如何找到合適的模型?

從您想做的東西開始。在「模型與定價」比較功能、支援的 API 與價格,再開啟模型查看詳情。

比較模型

價格如何計算?

每個模型都會列出各路由群組的價格,計價單位如 1M Token、每張圖片或每秒影片,並與官方價格並列。控制台會記錄每次請求的用量與費用。

查看定價

需要訂閱才能開始使用嗎?

您可以先從隨用隨付的額度開始。若偏好訂閱方案,請先比較方案包含的額度、支援的模型與限制。控制台會即時顯示用量與費用。

查看定價

上游服務商發生故障時怎麼辦?

當上游故障允許容錯移轉時,會為同一模型嘗試其他符合條件的路由。一般 API 金鑰可設定主路由與依序排列的備援路由。

閱讀文件

能分別管控每個專案嗎?

為每個專案建立專屬的 API 金鑰。設定額度與到期日,必要時加上模型或 IP 限制,並分別追蹤用量。

管理 API 金鑰

Can my team share one account?

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.

Explore enterprise plans

Modelflare 如何處理我的請求資料?

信任中心說明了會處理哪些請求資料、記錄保留多久、涉及哪些服務商,以及如何回報安全問題。

信任中心

不寫程式也能創作嗎?

當然可以。在 Castaly 中選擇圖片或影片模型,描述您的構想即可。使用 Modelflare 帳號登入,餘額與用量記錄皆會共用。

開啟 Castaly