如果您是個人自由工作開發人員、學生或業餘愛好者,建議使用 Android Studio 中的 Gemini,這項功能免費提供。包括存取脈絡窗口較小的 Gemini 2.5 Pro 輕量版,適用於大多數工作。如需執行更複雜的任務,並充分運用 Gemini 2.5 Pro 完整的 100 萬個詞元脈絡窗口,可以新增 Gemini API 金鑰,並依詞元付費。
如果您是團隊中的專業開發人員,請要求管理員考慮訂閱企業方案。Gemini for Business 包含其他功能,可簡化與隊友的協作,並協助您納入公司的最佳做法和標準。這些功能包括:
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-03 (世界標準時間)。"],[],[],null,["| **Note:** Gemini in Android Studio is only available in the current stable channel version of Android Studio, the three most recent previous major versions, and patches associated with those versions. If you are using an older version of Android Studio, you must update to use Gemini. [Learn more about service\n| compatibility](/studio/releases#service-compat).\n\nGemini in Android Studio is your AI-powered coding companion for Android\ndevelopment. It helps you be more productive by answering your development\nqueries, generating code, finding relevant resources, and encouraging best\npractices. Most importantly, Gemini in Android Studio is uniquely equipped to\naccelerate Android development---it can help you mock up and troubleshoot Compose\nUIs, fix Gradle build errors, analyze crashes through integrations with Logcat\nand App Quality Insights, and more. \n\nGemini in Android Studio is available in the following editions:\n\n- [No-cost tier](/studio/gemini/get-started).\n- [Business tier](/studio/gemini/get-started-businesses), available through a subscription to [Gemini Code Assist](https://developers.google.com/gemini-code-assist/docs/overview%7B:.external%7D) or membership in the [Google Developer Program](https://developers.google.com/program%7B:.external%7D).\n - Standard tier.\n - Enterprise tier.\n\nChoose the right tier\n\nIf you're an individual freelance developer, student, or hobbyist we recommend\nusing [Gemini in Android Studio](/studio/gemini/get-started), available at no\ncost. This includes access to a lightweight version of Gemini 2.5 Pro with a\nsmaller context window, which is appropriate for most tasks. If you need\nto execute more complex tasks that would benefit from Gemini 2.5 Pro's full 1M\ntoken context window, you can [add a Gemini API key](/studio/gemini/add-api-key)\nand pay per-token.\n\nIf you're a professional developer who works as part of a team, ask your\nadmin to consider subscribing to the [business tier](/studio/gemini/get-started-businesses). Gemini for businesses includes additional features that simplify collaboration with your teammates and help you incorporate your company's best practices and standards. These features include:\n\n- Expanded 1M token context window.\n- [Intellectual Property (IP) indemnification](https://cloud.google.com/gemini/docs/discover/works#how-gemini-protects%7B:.external%7D).\n- [VPC Service Controls (VPC-SC) and Private Google Access](https://developers.google.com/gemini-code-assist/docs/configure-vpc-service-controls%7B:.external%7D).\n- Integration with tools such as Firebase, Colab Enterprise, BigQuery data insights, Cloud Run, and Database Studio.\n- Analytics to track your team's usage and productivity impact.\n- Customized code suggestions from your codebases in external tools such as GitHub (available only in the Enterprise tier).\n\nFor more details about the different offerings, see the\n[feature comparison](/studio/gemini/feature-comparison).\n\nWhat's new in Gemini in Android Studio\n\nGemini in Android Studio updates frequently.\nTo learn about the latest AI features, check out the\n[Android Studio preview release notes](/studio/preview/features) and\n[download a preview version of Android Studio](/studio/previ)."]]