Skip to content
Gemini 3 Pro is now available. Experience state-of-the-art reasoning and agentic coding in your terminal. Read the announcement

Gemini CLI: License, Terms of Service, and Privacy Notices

Gemini CLI is an open-source tool that lets you interact with Google’s powerful AI services directly from your command-line interface. The Gemini CLI software is licensed under the Apache 2.0 license. When you use Gemini CLI to access or use Google’s services, the Terms of Service and Privacy Notices applicable to those services apply to such access and use.

Your Gemini CLI Usage Statistics are handled in accordance with Google’s Privacy Policy.

Note: See quotas and pricing for the quota and pricing details that apply to your usage of the Gemini CLI.

Your authentication method refers to the method you use to log into and access Google’s services with Gemini CLI. Supported authentication methods include:

  • Logging in with your Google account to Gemini Code Assist.
  • Using an API key with Gemini Developer API.
  • Using an API key with Vertex AI GenAI API.

The Terms of Service and Privacy Notices applicable to the aforementioned Google services are set forth in the table below.

If you log in with your Google account and you do not already have a Gemini Code Assist account associated with your Google account, you will be directed to the sign up flow for Gemini Code Assist for individuals. If your Google account is managed by your organization, your administrator may not permit access to Gemini Code Assist for individuals. Please see the Gemini Code Assist for individuals FAQs for further information.

Authentication MethodService(s)Terms of ServicePrivacy Notice
Google AccountGemini Code Assist servicesTerms of ServicePrivacy Notices
Gemini Developer API KeyGemini API - Unpaid ServicesGemini API Terms of Service - Unpaid ServicesGoogle Privacy Policy
Gemini Developer API KeyGemini API - Paid ServicesGemini API Terms of Service - Paid ServicesGoogle Privacy Policy
Vertex AI GenAI API KeyVertex AI GenAI APIGoogle Cloud Platform Terms of ServiceGoogle Cloud Privacy Notice

1. If you have logged in with your Google account to Gemini Code Assist

Section titled “1. If you have logged in with your Google account to Gemini Code Assist”

For users who use their Google account to access Gemini Code Assist, these Terms of Service and Privacy Notice documents apply:

* If your account is also associated with an active subscription to Gemini Code Assist Standard or Enterprise edition, the terms and privacy policy of Gemini Code Assist Standard or Enterprise edition will apply to all your use of Gemini Code Assist.

2. If you have logged in with a Gemini API key to the Gemini Developer API

Section titled “2. If you have logged in with a Gemini API key to the Gemini Developer API”

If you are using a Gemini API key for authentication with the Gemini Developer API, these Terms of Service and Privacy Notice documents apply:

3. If you have logged in with a Gemini API key to the Vertex AI GenAI API

Section titled “3. If you have logged in with a Gemini API key to the Vertex AI GenAI API”

If you are using a Gemini API key for authentication with a Vertex AI GenAI API backend, these Terms of Service and Privacy Notice documents apply:

You may opt-out from sending Gemini CLI Usage Statistics to Google by following the instructions available here: Usage Statistics Configuration.