> ## Documentation Index
> Fetch the complete documentation index at: https://apixo.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# API 金鑰路由策略：Auto、Value 和 Official

> 瞭解各路由策略的適用場景，併為應用使用的 APIXO API 金鑰選擇策略。

路由策略按 API 金鑰設定。如果兩個應用共用同一把金鑰，修改策略會同時影響兩者。

## 選擇策略

| Dashboard 選項 | 適用場景 |
| - | - |
| **Auto**（預設） | 如需由 APIXO 管理該金鑰的路由，選擇此項。 |
| **Value** | 優先考慮成本時選擇此項。 |
| **Official** | 應用需要官方路由時選擇此項。 |

## 設定位置

1. 開啟[控制檯的 API Keys 頁面](https://apixo.ai/dashboard/api-keys)，選擇應用正在使用的金鑰。
2. 為該金鑰選擇路由策略。現有金鑰和請求程式碼都可以繼續使用。
3. 在 [API 定價頁](https://apixo.ai/pricing/api)檢視所需模型和配置的價格。不同路由策略可用的模型可能不同。

如果更改後未見效果，請確認正在執行的應用實際使用的是哪把金鑰。配置方法見[身分驗證](https://apixo.ai/docs/zh-hant/concepts/authentication.md)。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.