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

# 常見誤解

> 修正 CometAPI token 與 Key 問題：移除 token 配額限制、設定正確的 Base URL、避免 invalid token 錯誤，並了解併發與 RPM/TPM 行為。

## **1. 為什麼即使我的餘額充足，仍然無法使用 token？**

請檢查以下兩點：

* **Token 配額限制**：token 可能被設定了配額限制，需先移除後才能繼續使用。
* **帳戶餘額**：帳戶餘額與 token 配額彼此獨立；token 需要設為無限配額才能正常運作。

***

## **2. 為什麼我的 Key 無法使用？為什麼呼叫 API 時沒有回應？**

最常見的原因是 **Base URL 設定錯誤**。\
解決方式：

* 將 Base URL 改為：`https://api.cometapi.com`。

***

## **3. 介面請求限制是什麼？多個 Key 一起使用會提高併發嗎？**

* **單個 Key 沒有 RPM/TPM 限制**：
  * **理論併發能力**：
    * TPM 最高可達 5000 萬。
    * RPM 最高可達 30,000。
  * **全球節點負載平衡**：保證最佳呼叫效果與最低延遲。
* **多個 Key 的併發上限**：與單個 Key 相同，不會疊加。
* **無群組限制**：沒有 VIP 節點分組限制，歡迎大規模併發呼叫！

***

## **4. 單個 Key 是否有併發或 RPM/TPM 限制？**

完全沒有限制，cometapi 支援極大規模的併發，且絕對沒有上限。

***

## **5. 建立新 token 時，參數應該如何填寫？**

1. 輸入**token 名稱**。
2. 點擊 **「Set to unlimited quota」** 按鈕。
3. 在 **token grouping** 中選擇對應選項；每個群組都支援生產環境等級的呼叫。

***

## **6. 為什麼 API 呼叫會回傳 "invalid token"？**

最常見的原因是 Base URL 尚未修改。

* 使用預設的 OpenAI 官方 Base URL 會導致此問題。
* 解決方式：將 Base URL 改為 `https://api.cometapi.com/v1`。

***

## **7. 如何分析圖片？**

1. 將本機圖片轉換為 **base64 格式**。
2. 呼叫 API 進行分析。
3. 具體操作方式請參考 [API 文件](/zh-Hant/overview/quick-start)。

***

<script type="application/ld+json">
  {`
    {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "FAQPage",
        "@id": "https://apidoc.cometapi.com/support/common-misconceptions",
        "url": "https://apidoc.cometapi.com/support/common-misconceptions",
        "name": "常見誤解",
        "description": "修正 CometAPI token 和 Key 問題：移除 token 配額限制、設定正確的 Base URL、避免 invalid token 錯誤，並了解並發 RPM/TPM 行為。",
        "mainEntity": [
          {
            "@type": "Question",
            "name": "為什麼我明明餘額充足，卻無法使用我的 token？",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "請檢查以下兩點： - Token 配額限制：token 可能設定了配額限制，需要先移除後才能繼續使用。 - 帳戶餘額：帳戶餘額與 token 配額彼此獨立；token 需要設定為無限配額才能正常運作。"
            }
          },
          {
            "@type": "Question",
            "name": "為什麼我的 Key 無法使用？為什麼呼叫 API 時沒有回應？",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "最常見的原因是 Base URL 設定錯誤。解決方案： - 將 Base URL 改為：https://api.cometapi.com。"
            }
          },
          {
            "@type": "Question",
            "name": "介面請求限制是什麼？同時使用多個 Key 會提升並發量嗎？",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "- 單個 Key 沒有 RPM/TPM 限制： - 理論並發能力： - TPM 最高可達 5,000 萬。 - RPM 最高可達 30,000。 - 全域節點負載平衡：保證最佳呼叫效果與最低延遲。 - 多個 Key 的並發上限：與單個 Key 相同，不會疊加。 - 無群組限制：沒有 VIP 節點分組限制，歡迎大規模並發呼叫！"
            }
          },
          {
            "@type": "Question",
            "name": "單個 Key 是否有並發或 RPM/TPM 限制？",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "完全沒有限制，cometapi 支援極大的並發，且絕對沒有上限。"
            }
          },
          {
            "@type": "Question",
            "name": "建立新 token 時，參數該如何填寫？",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "1. 輸入 token 名稱。2. 點擊「Set to unlimited quota」按鈕。3. 在 token 分組中選擇對應選項；每個群組都支援生產環境等級的呼叫。"
            }
          },
          {
            "@type": "Question",
            "name": "為什麼 API 呼叫會回傳「invalid token」？",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "最常見的原因是 Base URL 尚未修改。 - 使用預設的 OpenAI 官方 Base URL 會導致此問題。 - 解決方案：將 Base URL 改為 https://api.cometapi.com/v1。"
            }
          },
          {
            "@type": "Question",
            "name": "如何分析圖片？",
            "acceptedAnswer": {
              "@type": "Answer",
              "text": "1. 將本機圖片轉換為 base64 格式。2. 呼叫 API 進行分析。3. 具體操作方式請參考 API 文件。"
            }
          }
        ]
      },
      {
        "@type": "BreadcrumbList",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "CometAPI 文件",
            "item": "https://apidoc.cometapi.com/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "支援",
            "item": "https://apidoc.cometapi.com/support/help-center"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "常見誤解",
            "item": "https://apidoc.cometapi.com/support/common-misconceptions"
          }
        ]
      }
    ]
    }
    `}
</script>
