Gemini API key免費版的免費額度是多少?是以次數計算,還是容量大小呢?

 Gemini API 的免費版提供了一定的免費額度,主要是以**請求次數**和**處理的 token 數量**來計算,而非容量大小。以下是詳細說明:


## **免費版的額度與限制**

1. **請求次數限制**:

   - 免費版的請求次數限制為每分鐘 **60 次**(60 RPM, Requests Per Minute)[3][9][20]。

   - 這個限制對於個人開發者或小型專案來說通常已經足夠。


2. **Token 限制**:

   - 免費版的 token 限制為每月 **100 萬個 token**[7][29]。

   - Token 是用來計算輸入和輸出的單位,例如一個中文字通常會佔用約 2 個 token,而英文單字則可能佔用 1 個 token。


3. **使用範圍**:

   - 免費版主要適用於測試、學習或小型專案,並且可以透過 Google AI Studio 直接使用[1][4][7]。


## **如何計算額度**

- **請求次數**:每次 API 呼叫都會計算一次請求,無論輸入內容的長短。

- **Token 使用量**:每次請求的輸入和輸出內容都會消耗 token。例如,輸入一段 50 字的文字並獲得 100 字的回應,總共會消耗約 150 個 token。


## **升級選項**

如果免費版的額度不足,您可以選擇升級到付費方案,這樣可以獲得更高的請求次數和 token 限制。此外,付費方案的數據不會被用於改進 Google 的產品[8][13][37]。


總結來說,Gemini API 免費版的額度是以**請求次數**和**token 數量**為基準,對於一般學習和測試用途已經非常慷慨。如果需要更高的使用量,可以考慮升級到付費方案。

[1] https://ai.google.dev/pricing?hl=zh-tw

[2] https://aistudio.google.com/

[3] https://juejin.cn/post/7322518831938191369

[4] https://cn.linkedin.com/posts/ericsk_gemini-api-pricing-google-ai-for-developers-activity-7196693397007433729-kGhU

[5] https://www.revanthquicklearn.com/post/how-to-create-free-api-keys-to-access-google-gemini-models

[6] https://docgpt.ai/docs/gpt-for-sheets/how-to-create-gemini-api-keys-in-2024

[7] https://ai.google.dev/pricing

[8] https://ai.google.dev/gemini-api/docs/billing

[9] https://blog.infuseai.io/google-gemini-model-intro-a302d6ae87c3

[10] https://blog.csdn.net/qq_19968255/article/details/136994559

[11] https://beebom.com/how-use-google-gemini-api-key/

[12] https://www.geminiforwork.gwaddons.com/setup-api-keys/create-geminiai-api-key

[13] https://ai.google.dev/gemini-api/docs/billing?hl=zh-tw

[14] https://cloud.google.com/gemini/docs/quotas

[15] https://ai.google.dev/gemini-api/docs/tokens?hl=zh-tw

[16] https://blog.csdn.net/HugoCan/article/details/137842668

[17] https://ai.google.dev/gemini-api/docs/api-key?hl=zh-tw

[18] https://www.facebook.com/groups/gaitech/posts/1146466153204265/

[19] https://blog.jiatool.com/posts/gemini_api/

[20] https://juejin.cn/post/7314139049370959899

[21] https://medium.com/around-the-prompt/everything-you-need-to-know-about-the-gemini-api-as-a-developer-in-less-than-5-minutes-5e75343ccff9

[22] https://www.merge.dev/blog/gemini-api-key

[23] https://jefflin1982.medium.com/%E4%B8%89%E5%80%8B%E6%9C%89%E5%BF%AB%E9%80%9F%E6%8E%A8%E8%AB%96%E7%9A%84llm-%E4%B8%A6%E4%B8%94%E6%9C%89%E5%85%8D%E8%B2%BB%E9%A1%8D%E5%BA%A6api-key%E5%8F%AF%E4%BB%A5%E4%BD%BF%E7%94%A8-118f3cc21d53

[24] https://www.geminiforwork.gwaddons.com/setup-api-keys

[25] https://dev.to/garciadiazjaime/gemini-api-the-free-tier-that-makes-developers-happy-28nk

[26] https://forest.watch.impress.co.jp/

[27] https://ai.google.dev/pricing?hl=ja

[28] https://ai.google.dev/gemini-api/docs/api-key?hl=ja

[29] https://ai.google.dev/gemini-api/docs/billing?hl=ja

[30] https://help.copilot.money/en/articles/6133456-gemini-api-key-instructions

[31] https://help.3commas.io/en/articles/5539049-gemini-how-to-create-api-keys

[32] https://ai.google.dev/

[33] https://www.facebook.com/groups/GDGKaohsiung/posts/3655757171341491/

[34] https://linux.do/t/topic/113289?page=2

[35] https://blog.csdn.net/yimitiantang/article/details/136280104

[36] https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/multimodal-faqs?hl=zh-cn

[37] https://www.reddit.com/r/Bard/comments/1fx0edt/gemini_api_paid_tier_still_applies_free_tier_rate/

[38] https://www.googlecloudcommunity.com/gc/AI-ML/Gemini-API-429-Resource-has-been-exhausted-e-g-check-quota/m-p/725903

[39] https://www.reddit.com/r/GoogleGeminiAI/comments/1chhvzg/gemini_costs_monitoring/

[40] https://www.geminiforwork.gwaddons.com/setup-api-keys/set-up-geminiai-api-key

[41] https://medium.com/@jessicajimantoro/read-this-before-using-gemini-api-4933becad899

[42] https://docs.gemini.com/rest-api/

[43] https://zapier.com/blog/gemini-api/

[44] https://stackoverflow.com/questions/78814277/gemini-api-keys-usage-per-api-key

留言