登入開始免費試用
Meta Tech Provider

在 WhatsApp 使用任何 AI 模型:透過 OpenRouter 接入 Gemini、Llama、DeepSeek 等

只要自動化功能以你自己的金鑰呼叫 OpenRouter,Google、Meta、DeepSeek、Mistral、Qwen、xAI 及其他多家實驗室的模型即可回覆 WhatsApp Business 客戶。OpenRouter 採用 OpenAI 的聊天 API 格式,因此一把金鑰、一個額度餘額,便可按 ID 調用數百個模型,例如 google/gemini-3.8-flash;號碼則留在你手機上的 WhatsApp Business 應用程式中。

easyCoexistence 讓你所選的模型在你的 WhatsApp Business 號碼上回覆:Claude 或 GPT 使用其各自的金鑰,或透過一把 OpenRouter 金鑰使用 OpenRouter 目錄中的任何模型。

466 models

截至 2026 年 11 月 11 日,OpenRouter 公開模型 API 的條目,來自 Google、Qwen、Mistral、DeepSeek、Meta 及 xAI 等實驗室。

447 of 466

截至 2026 年 11 月 11 日,僅輸出文字的目錄條目;其餘條目亦可回傳圖像、音訊或影片。

openrouter.ai/api/v1

OpenRouter 的基礎 URL,可與 OpenAI SDK 搭配使用,作為即插即用的替代方案。

402

OpenRouter 在帳戶或 API 金鑰額度不足時返回的錯誤;加值即可解決。

:batch

模型的批次定價版本,透過 OpenRouter 的 Batch API 使用,而非即時回覆。

3 providers

Anthropic、OpenAI 及 OpenRouter 金鑰均可用於「Reply with AI」步驟;OpenRouter 則是通往所有其他實驗室的途徑。

Gemini、Llama 或 DeepSeek 模型如何進入 WhatsApp 對話?

透過 OpenRouter,即「Reply with AI」步驟中,繼 Anthropic 和 OpenAI 之後的第三個供應商。將 Provider 設為 OpenRouter 後,該步驟會將你的 Instructions、easyCoexistence 加入的五條規則,以及最近的對話,連同你的金鑰和所選的模型 ID,發送至 OpenRouter 的 chat completions 端點。OpenRouter 會把請求路由至提供該模型的主機,並返回文字,再由你的號碼如其他回覆一樣發出。

模型周邊的一切與 Claude 或 GPT 相同:24 小時窗口、你從手機回覆後該對話的暫停、每個對話每小時的 AI 回覆上限,以及記錄輸入與輸出詞元數的執行日誌。

1Customer writesThe message reaches your number
2Reply with AIProvider OpenRouter, your key, a model id
3OpenRouter routes itTo a host serving that model
4Reply on the chatSent from your number, visible in the app

可以使用哪些模型?

OpenRouter 目錄中的任何 ID,截至 2026 年 11 月 11 日共有 466 個條目。ID 以 lab/model 格式書寫,OpenRouter 亦列出 Claude 和 GPT 的 ID,因此一把 OpenRouter 金鑰也能涵蓋這些模型。目錄會隨實驗室推出及淘汰模型而變動,請查閱 openrouter.ai/models 以取得最新清單。以下為 2026 年 11 月 11 日列出的各實驗室條目數量:

Google (45)google/gemini-3.8-flash, google/gemini-4-argon
Qwen (43)qwen/qwen3.8-flash, qwen/qwen3.8-max-prime
Mistral (21)mistralai/mistral-medium-3-5, mistralai/mistral-small-2603
DeepSeek (17)deepseek/deepseek-v4.1-flash, deepseek/deepseek-v4-pro-0813
Meta (8 Llama ids)meta-llama/llama-4-maverick, meta-llama/llama-3.3-70b-instruct
xAI and Moonshotx-ai/grok-4.7, moonshotai/kimi-k3

如何在編輯器中選擇 ID?

「Model」欄位顯示「Pick or type a model id」。儲存 OpenRouter 金鑰後,清單即為 OpenRouter 的完整公開目錄,你輸入的任何 ID 均會被接受。該清單未針對對話用途篩選,因此以下幾項篩選需由你自行套用:

  • 略過以 :batch 結尾的 ID。OpenRouter 將其定義為透過 Batch API 使用的批次定價版本,而非即時回覆。
  • 略過圖像或影片生成模型。客戶回覆需要輸出為文字的模型。
  • :free 版本有其自身的速率限制,繁忙的日子可能導致執行失敗;依賴前請先在實際流量下測試。
  • OpenRouter 亦接受在任何 ID 後加上路由後綴,例如 :nitro 按吞吐量排序主機,或 :floor 按價格排序。
  • 以 ~ 開頭的 ID 為別名,會自動指向某一模型系列的最新型號;固定 ID 則能保持回覆的一致性。

儲存 OpenRouter 金鑰時會檢查什麼?

在「Automations」頁面,打開 AI keys,點擊 OpenRouter 旁的 Add key,貼上金鑰後點擊「Test and save」。easyCoexistence 會向 OpenRouter 的金鑰端點查詢金鑰所屬者,此查詢不消耗詞元;被拒的金鑰不會儲存,獲接受的金鑰則只顯示為 Added,並附上其最後四個字元,已加密,且僅用於你的自動化的 AI 回覆。

需留意額度。餘額耗盡時,OpenRouter 會返回 402,easyCoexistence 將其視為金鑰被拒:帳戶中使用 OpenRouter 的每個自動化都會顯示「Paused: your OpenRouter key was refused. It starts again by itself once you save a key that works.」,並發送一封電郵通知你。加值後再次點擊「Test and save」即可重新啟動。其他錯誤,例如 429 速率限制、模型停用時的 502,或沒有合適主機時的 503,只會令該次執行失敗,並發送電郵通知你。

OpenRouter 還是直接使用 Anthropic 或 OpenAI 金鑰?

兩者均適用於同一個「Reply with AI」步驟,並可在同一號碼的不同自動化之間混用:兜底自動化使用 Anthropic 金鑰的 Claude,關鍵字自動化則透過 OpenRouter 使用 Gemini 模型。區別在於覆蓋範圍與直接性。OpenRouter 在你與模型之間增加一家公司,並為多家實驗室提供單一帳單;直接金鑰則讓請求與帳單都由同一供應商處理:

OpenRouter keyDirect Anthropic or OpenAI key
Models reachedMany labs, including Claude and GPT idsThat provider's models only
Model list in the editorThe full public catalog, unfilteredModels your key can use; OpenAI's list shows chat models only
BillOne OpenRouter credit balanceYour account with that provider
Out of credit402 pauses OpenRouter automationsAnthropic's 402 pauses Claude ones; OpenAI's 429 fails each run
Who handles the requestOpenRouter and the host it routes toThe provider directly

你自行託管的模型能否回覆?

可以,透過「Call my webhook」步驟,而非作為第四個供應商。將其指向你的伺服器或 n8n 工作流程;easyCoexistence 會發送訊息及該對話最近 10 則訊息,並以 X-EC-Signature 簽署。若你的端點在 20 秒內返回 {"reply": "..."},該文字即會發送給客戶。你的程式碼可以調用在自有硬件上運行的模型、微調模型,或依序調用多個模型。

代價是,你的端點需自行負責「Reply with AI」步驟為你處理的工作,包括提示詞、回覆長度與速度。24 小時窗口,以及你從手機回覆後的暫停,仍適用於你回傳的回覆。

透過 OpenRouter 使用模型需要多少費用?

共有三份獨立帳單。OpenRouter 按該模型列出的費率,以你的額度扣除每次回覆的詞元費用;「Runs」分頁顯示每個 AI 步驟的輸入與輸出詞元數,因此將平均詞元數乘以費率,再乘以預計回覆數,即可估算每月費用。Meta 會把其收費的訊息,按每則、依類別及國家計費至你自己的 WhatsApp Business 帳戶。easyCoexistence 按每個已連接號碼收費,從不按 AI 回覆計費,亦不對詞元或訊息加價。「Test run」同樣會消耗真實詞元。

設定方法

  1. Create an OpenRouter key and add creditsIn your OpenRouter account, create an API key and add credits, so replies are not refused for balance.
  2. Save it under AI keysOn the Automations page, open AI keys, click Add key next to OpenRouter, paste the key and click Test and save.
  3. Start from the AI assistant exampleClick New automation, pick Blank, add a Reply with AI step from the step menu, and set Provider to OpenRouter.
  4. Choose the model idPick an id from the list or type it in lab/model form, such as google/gemini-3.8-flash, avoiding :batch and image models.
  5. Test before customers see itSwitch it Off, click Save, then Test and Run test with real questions. Switch it On and save when the replies read right.

常見錯誤

  • 選擇以 :batch 結尾的 ID。這是 OpenRouter 的 Batch API 版本模型,用於排隊作業,而非客戶等待的回覆。
  • 只輸入模型名稱而未加實驗室前綴,例如 gemini-3.8-flash。OpenRouter 的 ID 格式為 lab/model,因此請求會失敗,執行日誌會顯示錯誤。
  • 在繁忙號碼上執行 :free 版本。免費版本有其自身的速率限制,超出限制的執行會失敗,而非回覆。
  • 讓 OpenRouter 餘額歸零。返回 402 會令帳戶中所有 OpenRouter 自動化暫停,直至你加值並重新儲存金鑰。
使用 EasyCoexistence 完成這項設定

對話記錄、回覆上限,以及你從手機回覆時的暫停,均由我們為你處理。我們從不為 AI 收費,亦不對詞元加價。每個已連接號碼每月 US$ 9 起,最低降至 US$ 0.75,號碼越多越便宜,並提供首 3 天免費試用。

常見問題

我可以直接貼上 Google Gemini API 金鑰嗎?

不可以。「Reply with AI」步驟接受 Anthropic、OpenAI 及 OpenRouter 金鑰。Gemini 模型可透過 OpenRouter 並以 google/gemini-3.8-flash 等 ID 調用,或透過「Call my webhook」步驟背後的自有程式碼調用。

不同自動化可以使用不同模型嗎?

可以。Provider 與模型按各「Reply with AI」步驟及各 AI 代理分別設定,因此關鍵字自動化可以使用細小而快速的模型,兜底自動化則使用較大的模型,兩者均使用同一把 OpenRouter 金鑰。

使用 OpenRouter 時,誰能看到訊息?

指令、該步驟讀取的對話記錄,以及新訊息,會發送至 OpenRouter 及提供該模型的主機,並受其各自條款約束。語音訊息的錄音會發送至你的 OpenAI 金鑰,若只儲存了 OpenRouter 金鑰,則發送至 OpenRouter,以轉寫成文字。easyCoexistence 會把經由它傳送的號碼的對話,保存你所選的 30、90 或 365 天(預設 90 天)作為上下文,執行日誌則保存 30 天。

實驗室更新模型後,回覆會否改變?

使用固定 ID 則不會。以 ~ 開頭的 ID 為別名,會跟隨某一模型系列的最新型號,因此回覆可能在無通知的情況下改變;請使用帶日期或版本號的 ID,以保持行為穩定。

繼續閱讀

準備開始嗎?

幾分鐘內設定 WhatsApp Coexistence,而非幾個月。應用程式在手機上仍可繼續運作。

開始免費試用

驗證日期