UnoRouter

com.unorouter由 unorouter.com 發布官方發布者v0.2.5更新於 Nov 7, 2026

Search 200+ UnoRouter models (most free), check pricing, and chat through one key

已驗證Streamable HTTP可網頁執行資料與分析AI 與機器學習

概覽

AI 產生的概覽

UnoRouter MCP 伺服器,讓助理用一組金鑰搜尋 200+ 個模型、查詢按 token 計價的價格,並向任一模型送出提示詞。

可以做什麼
  • 搜尋即時模型目錄,可只篩選免費模型,並取得模型 ID
  • 向任一列出的模型送出單一提示詞,回傳回覆與 token 用量
  • 查詢各模型每百萬 token 的美元標價
適用情境
適合想用一組金鑰存取多家大型語言模型供應商、比較模型或價格,或在免費模型上快速試跑提示詞而不必逐一串接供應商的情況。
執行需求
需要 UnoRouter API 金鑰,放在 UNOROUTER_API_KEY 中,可用 Discord 或 GitHub 登入建立(不需信用卡)。可作為遠端端點使用,也可透過 npx 以本機 npm 套件執行,本機執行需 Node.js。選用的 UNOROUTER_BASE_URL 可覆寫 API 基礎位址。需要能連線至 UnoRouter API 的網路。
安裝前請注意
API 金鑰屬機密,透過 UNOROUTER_API_KEY 傳入,請勿寫進共用設定。提示詞會送往 UnoRouter 及上游模型供應商,請勿包含敏感資料。付費模型依 token 計費;免費模型有速率限制,約每個模型每分鐘一次請求。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 UnoRouter,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.unorouter%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "unorouter": {
      "type": "http",
      "url": "https://mcp.unorouter.com/mcp"
    }
  }
}

README

unorouter-mcp

MCP server for UnoRouter, an open-source OpenAI-compatible gateway serving 200+ models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, Qwen and more) behind a single API key. Models with a :free suffix cost nothing.

Gives any MCP client (Claude Desktop, Claude Code, Cursor, Windsurf, and friends) three tools:

  • search_models: filter the live catalog, optionally free models only
  • get_pricing: USD per-1M-token list prices from the public pricing endpoint
  • chat: send a prompt to any model and get the reply with token usage

Setup

Create an API key at unorouter.com/token (Discord or GitHub sign-in, no card required).

Claude Desktop / any MCP client

json
{  "mcpServers": {    "unorouter": {      "command": "npx",      "args": ["-y", "unorouter-mcp"],      "env": {        "UNOROUTER_API_KEY": "sk-your-key"      }    }  }}

Claude Code

bash
claude mcp add unorouter -e UNOROUTER_API_KEY=sk-your-key -- npx -y unorouter-mcp

Environment

VariableRequiredDefault
UNOROUTER_API_KEYyesnone
UNOROUTER_BASE_URLnohttps://api.unorouter.com

Notes

  • Free models run on shared pools with a light per-model rate limit (about 1 request per minute per model); rotate between free models or use paid ones for throughput.
  • The whole UnoRouter stack is open source: github.com/unorouter.

Development

bash
bun installbun run buildUNOROUTER_API_KEY=sk-... node dist/index.js

來源:README.md,提交 736991a

工具

3

search_models

Search UnoRouter models

Search the live UnoRouter model catalog (200+ models behind one OpenAI-compatible key). Models ending in :free cost nothing. Returns matching model IDs usable with the chat tool or any OpenAI-compatible client pointed at https://api.unorouter.com/v1.

輸入參數limitqueryfree_only

chat

Chat with a UnoRouter model

Send a single prompt to any UnoRouter model and return the reply. Use search_models to find model IDs; :free models cost nothing (light per-model rate limit, rotate models if you hit 429).

輸入參數model必填prompt必填systemmax_tokenstemperature

get_pricing

Get UnoRouter model pricing

Look up per-token pricing for UnoRouter models from the public pricing endpoint. Prices are USD list prices per 1M tokens before per-group discounts (the account dashboard shows the exact effective rate). :free models are always 0.

輸入參數limitquery

版本歷史

2
  1. v0.2.5最新Nov 7, 2026
  2. v0.2.1Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。