You can turn off Gemini Enterprise by disabling the Discovery Engine API.
Disabling the Discovery Engine API has the following effects:

- All Gemini Enterprise and Agent Search resources might be deleted
- Charges might continue to appear for up to a day after disabling the API
- [Prepaid credits](https://docs.cloud.google.com/gemini/enterprise/docs/manage-prepaid-credits.md.txt#expiration-refunds) stay on your Cloud Billing account until they expire. Credits are non-refundable, except as allowed by the [Supplemental Paid Credit Terms](https://cloud.google.com/terms/supplemental-paid-credit).

Because Gemini Enterprise and
Agent Search are based on
the Discovery Engine API, disabling the Discovery Engine API turns off
all these products and any code that calls the Discovery Engine API fails.

To turn off Gemini Enterprise, follow these steps:

1. In the Google Cloud console, go to the [**Discovery Engine API Service Details**](https://console.cloud.google.com/apis/api/discoveryengine.googleapis.com) page.
2. Click **Disable API**.
3. In the **Disable Discovery Engine API?** box, click **Disable**.