RelaySwitch

io.relayswitch由 relayswitch.io 發布官方發布者v1.0.0更新於 Nov 8, 2026

Every major chat, image and video model on one prepaid key. OpenAI, Anthropic and Gemini formats.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取媒體與設計AI 與機器學習

概覽

AI 產生的概覽

RelaySwitch 是遠端閘道,讓助理用一組預付 API 金鑰呼叫多種對話、嵌入、重排、轉錄與媒體模型。

可以做什麼
  • 檢視與計價模型:瀏覽對話、嵌入、重排、轉錄模型及媒體模型與其設定,並在送出前估算或報價請求費用。
  • 送出與比較對話:以任意模型 id 對話,或把同一提示同時送給 2 到 5 個模型並比較費用與耗時。
  • 網頁搜尋:執行一次網頁搜尋,回傳標題、連結、摘要與發佈日期。
  • 處理文字與音訊:將文字轉為向量、依相關性重排文件、把 URL 上的音訊或影片轉錄成文字。
  • 生成與追蹤媒體:執行影像、影片、語音、音樂或 3D 模型,輪詢仍在執行的生成工作,並列出組織過去的生成紀錄。
  • 檢查模型一致性:查看每日對每個模型是否仍照預期回答的判定結果。
適用情境
適合想用一組金鑰與一個端點存取多家廠商模型時使用;需要跨模型比較回答、在送出前預估費用,或想在同一個助理裡同時進行對話與影像、影片、音訊生成時也適用。
執行需求
遠端 streamable HTTP 端點,不需本機安裝套件。需要 RelaySwitch API 金鑰,以 bearer 形式放在 Authorization 標頭中,從服務商主控台取得。部分目錄與 proof 工具不需金鑰;chat、compare、search、embed、rerank、transcribe、media_quote、generate、generation 與 generations 需要金鑰。另需預付帳戶餘額與網路存取。
安裝前請注意
多數工具會依 token、每次搜尋、音訊秒數或媒體單位從預付金鑰扣款,使用即產生實際支出,建議先用 estimate 與 media_quote 估價。金鑰是放在 Authorization 標頭中的機密。提示詞、文件、音訊與媒體輸入會傳送給第三方 API。生成內容依組織保存並可列出,檔案僅保留 30 天。此服務宣稱提供 abliterated 與 uncensored 模型,輸出可能未經內容過濾。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 RelaySwitch,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "relayswitch": {
      "type": "http",
      "url": "https://api.relayswitch.io/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_TOKEN>"
      }
    }
  }
}

工具

15

list_models

List every text model and price

Every chat, embedding, rerank and transcription model on RelaySwitch with its id, type, the routes and tools that take it, our price (per million tokens, or per audio minute for transcription), the developer's list price where recorded, the wire formats it answers (openai, anthropic, gemini) and its specs. Image, video, speech, music and 3D models are in list_media_models. No key needed. Live from GET /v1/catalog.

輸入參數typesearchdeveloper

list_media_models

List image, video, speech and 3D models and prices

Every media model on RelaySwitch with its id, kind, endpoint, unit and price per image, second, generation or minute at each setting, next to the developer's price where recorded. No key needed. Live from GET /v1/catalog/media.

輸入參數kindsearch

media_model

One media model's settings and prices

Everything generate needs to call one image, video, speech, music or 3D model: each setting under params with its type, the values it takes, its range and its default, and the price per unit at each setting under pricing. No key needed. Live from GET /v1/catalog/media.

輸入參數model必填

estimate

Estimate what a request costs

The cost of a request on every chat model (or the ids given), cheapest first, with the developer's list cost and the saving. Give input_tokens, or a prompt / messages to count from. With the caller's key, prices are the key's own (price locks included). Live from POST /v1/estimate.

輸入參數modelspromptmessagesinput_tokensoutput_tokens

media_quote

Price a generation before running it

What generate would charge for exactly these settings, at the key's own rates: the units billed, the charge, and the developer's own price for the same request where one is on record. The settings are checked as a real request's would be, so a wrong value fails here, not at the model. Nothing runs and nothing is charged. Needs the key. Live from POST /v1/generations/quote.

輸入參數input必填model必填

proof

Daily real-model check

Whether each model is still the model it says it is: every day one fixed prompt goes to every model and the verdict per model is stable, changed, failed or unchecked, with the time of the last check and how long the answer has been unchanged. No key needed. Live from GET /v1/proof.

輸入參數model

chat

Send a chat request

Sends messages to any chat model id through POST /v1/chat/completions and returns the answer, the token usage and what the request cost. system adds instructions, image_urls lets a model that sees images look at them (a file generate made works), web_search lets the model search while it answers. Billed to the key in the MCP request's Authorization header (Bearer sk-relay-live-...); without one it fails.

輸入參數model必填systemmessages必填image_urlsmax_tokensweb_searchtemperature

compare

Ask several models the same thing

Sends the same conversation (or one prompt) to 2 to 5 chat model ids at once through POST /v1/chat/completions and returns every answer side by side with its token usage, cost and time, plus the total. For a second opinion from another model, or to pick the model that answers a kind of question best. Completions are capped at max_tokens each (default 1024). Each model is billed to the key in the MCP request's Authorization header; a model that fails is reported and not charged.

輸入參數models必填promptsystemmessagesimage_urlsmax_tokenstemperature

embed

Turn text into vectors

Embeds one text or up to 64 through POST /v1/embeddings with an embedding model id from list_models (type embedding) and returns one vector per text, in order, with the token usage and the charge. Billed to the key in the MCP request's Authorization header.

輸入參數input必填model必填

rerank

Rank documents by relevance

Orders up to 100 documents by relevance to a query through POST /v1/rerank with a rerank model id from list_models (type rerank): each result's index into documents, its score and its text, best first. Billed per input token to the key in the MCP request's Authorization header.

輸入參數model必填query必填top_ndocuments必填

transcribe

Transcribe audio or video

Turns the speech in an audio or video file at an https URL (25 MB at most; a file generate made works) into text through POST /v1/audio/transcriptions, or into English with translate. Use a transcription model id from list_models (type transcription). Billed per second of audio to the key in the MCP request's Authorization header; a request that fails is not charged.

輸入參數model必填promptlanguageaudio_url必填translate

generate

Generate an image, video, speech, music or 3D file

Runs any media model id from list_media_models with its settings (see media_model) through POST /v1/generations, waits up to wait_seconds for the files, and returns the generation: a link per file (kept 30 days), a finished image inline, and the charge. A video that is still running when the wait ends is returned as it stands; call generation with its id to keep waiting. Charged to the key in the MCP request's Authorization header when the model accepts the task; a failed generation is refunded in full. To go from an image to a video or an edit, pass the image's URL in image_urls.

輸入參數input必填model必填previewwait_seconds

generation

A generation's status and files

One generation by id: its status, progress, files and charge, waiting up to wait_seconds for it to finish first. Use it after generate answers with a video still running. Needs the key the generation was made with. Live from GET /v1/generations/{id}.

輸入參數id必填previewwait_seconds

generations

List the generations made on this key's organization

The organization's generations, newest first, each with its status, model, files and charge: the asset library behind generate. Filter by kind, model or status; page with before. Files are kept 30 days. Needs the key. Live from GET /v1/generations.

輸入參數kindlimitmodelbeforestatus

版本歷史

1
  1. v1.0.0最新Nov 8, 2026

評分

已滿足適用檢查項的 83%

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

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

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。