Vertex AI in express mode is the fastest way to start building generative AI applications on Google Cloud. Signing up in express mode is quick and easy, and it doesn't require entering any billing information. After you sign up, you can access and use Google Cloud APIs in just a few steps.
Express mode eligibility
Vertex AI in express mode is separate from, and not available through, the Google Cloud Free Program. If you are in the Google Cloud Free Program, see the other quickstarts in the Get Started section to start using Generative AI on Vertex AI.
Vertex AI is available in express mode for developers that click the
Try Vertex AI Studio free
button and sign up using a @gmail.com
Google Account. Accounts used
previously to access Google Cloud are ineligible for express mode and are
not shown the "Try Vertex AI Studio free" button. For example, if you used
your Google Account to create a Google Cloud free trial account, you are
not eligible to sign up in express mode with that same Google Account.
About Vertex AI in express mode
Upon completing your sign-up in express mode, you get access to the following:
- Core Vertex AI Studio features. You can test and customize prompts for different generative AI models in Vertex AI Studio in express mode, and get the corresponding code to use in your application.
- An API key.
- 90 days to try Vertex AI in express mode.
During your 90 days, you can use the Vertex AI APIs that support express mode for free up to their quotas. You can increase your quota limits at any time by enabling billing.
After enabling billing, the 90 day limit is removed, your quotas are increased, and you only pay for what you use. At any time, you can choose to end express mode and start using all the Google Cloud services and capabilities.
The following table lists the differences between Vertex AI express mode without billing, Vertex AI with billing, and Vertex AI without express mode:
Item | Vertex AI express mode | Vertex AI express mode with billing | Vertex AI |
---|---|---|---|
Time limit | 90 days | Unlimited | Unlimited |
Available services | Basic Generative AI on Vertex AI services. | Expanded Vertex AI services and select Google Cloud services. | All Google Cloud services, including Vertex AI. |
Data sources | Google Drive |
|
All data sources available in Google Cloud. |
Quota | See Available models and rate limits in express mode. | See Rate limits. | See Rate limits. |
Service level agreement (SLA) | None | Vertex AI SLA | Vertex AI SLA |
Standard format of API endpoints | Specify API key instead of project ID and location. For example:https://aiplatform.googleapis.com/v1/publishers/google/models/{model}:streamGenerateContent?key={API_KEY}
|
Specify API key instead of project ID and location. For example:https://aiplatform.googleapis.com/v1/publishers/google/models/{model}:streamGenerateContent?key={API_KEY}
|
Specify project ID and location. For example:https://us-west1-aiplatform.googleapis.com/v1/projects/{project}/locations/{location}/publishers/google/models/{model}:streamGenerateContent
|
Available models and rate limits in express mode
You can try out several models in express mode, including the Gemini 2.0 Flash models. The following table lists the models that are available in express mode, along with their rate limits:
Model category | Available models | Requests per minute | Tokens per minute |
---|---|---|---|
Gemini | gemini-2.0-flash-thinking-exp-01-21 |
2 | 4,000,000 |
gemini-exp-1206 |
2 | 4,000,000 | |
gemini-1.5-pro-002 |
1 | 4,000,000 | |
gemini-1.5-flash-002 |
1 | 4,000,000 | |
gemini-1.0-pro-002 |
5 | Not applicable |
Note that for Gemini 2.0 models, the Multimodal Live API isn't available in the Console in express mode. To use the Multimodal Live API in express mode, use the Vertex AI API or Google Gen AI SDK.
Vertex AI in express mode workflow
You can start sending requests from your application to Vertex AI APIs in three steps:
Use Vertex AI Studio in express mode to quickly try Vertex AI features.
For example, in the Google Cloud console in express mode, select Vertex AI > Freeform and use the Freeform page to create and optimize multimodal prompts using a variety of Gemini models.
Get the code for what you implemented with the UI.
On the Freeform page, click < > Get code. A panel opens showing code that programmatically sends the same requests that you implemented in the UI. You can get the code for a programming language or curl. You can use Google Colab to try the Python code.
Use your API key to authenticate with the Vertex AI API.
In the Google Cloud console in express mode, click
Menu and select API Keys, and then copy your key into your code where it says"YOUR_API_KEY"
. For example:Python
To learn how to install or update the Vertex AI SDK for Python, see Install the Vertex AI SDK for Python. For more information, see the Python API reference documentation.
from google import genai # TODO(developer): Update the following line YOUR_API_KEY = "YOUR_API_KEY" client = genai.Client(vertexai=True,api_key=YOUR_API_KEY, model = GenerativeModel("gemini-1.5-pro-002") response = model.generate_content("Explain bubble sort to me") print(response.text)
What's different in express mode
Vertex AI in express mode provides a subset of the features for Generative AI on Vertex AI. Therefore, some of the Vertex AI documentation is not relevant if you signed up in express mode. For details on the available API endpoints in express mode, see the Vertex AI in express mode REST API reference.
In addition, customers in Google Cloud typically use organizations and projects to work with resources (for example, to call an API endpoint). When using Vertex AI in express mode, you don't need to worry about organizations or projects. However, you might see them mentioned in some of the Google Cloud documentation that you reference while you're using Vertex AI in express mode. You can still use the documentation, but ignore concepts and instructions that refer to organizations and projects. In addition, the location you selected when signing up in express mode is used throughout your experience.
When calling REST API endpoints in express mode, you'll use the endpoint format for express mode and specify your API key. For example:
Standard endpoint URL | https://{location}-aiplatform.googleapis.com/v1/projects/{project}/locations/{location}/publishers/google/models/{model}:streamGenerateContent |
Endpoint URL in express mode | https://aiplatform.googleapis.com/v1/publishers/google/models/{model}:streamGenerateContent?key={API_KEY} |
View and manage API keys
To authenticate with Vertex AI API endpoints that support express mode, use the API key that was created for you during sign-up or any key that you've created in express mode. An API key is an encrypted string that is auto-generated for you when you sign up in express mode. These API keys can be viewed and managed on the API Keys page.
To learn more about the best practices for managing API keys, see Best practices for managing API keys.
To view and manage your API keys, do the following:
Go to the Vertex AI Studio Overview page in express mode.
In Google Cloud console in express mode, click
Menu.Select API Keys.
The API Keys page opens and you can use it to manage your API keys.
View quotas
Your free use of Vertex AI in express mode is restricted by quotas. These quotas restrict the rate at which you can use Vertex AI in express mode at no cost. A quota limits how much of a Google Cloud resource you can use.
To view your current usage and quotas, do the following:
Go to the Vertex AI Studio Overview page in express mode.
In Google Cloud console in express mode, click
Menu.Select Quotas.
Enable and manage billing
You can increase your quotas and remove the 90 day limit by enabling billing.
After enabling billing, you pay only for what you use. You can also save your prompts and access additional settings in the console that are that grayed out when billing isn't enabled.
To view your current usage and quotas, do the following:
Go to the Vertex AI Studio Overview page in express mode.
In Google Cloud console in express mode, click
Menu.Select Billing.
Start using all Google Cloud capabilities and services
You can start using all the capabilities and services available in Google Cloud in your project by graduating from express mode.
To graduate from express mode, do the following:
Go to the Vertex AI Studio Overview page in express mode.
In Google Cloud console in express mode, click
Menu.Select Billing.
In the Access all Google Cloud section, click Learn more and get started.
After you graduate from express mode, specify your project ID and location instead of your
API key when you call the REST API endpoints. For example:
https://{location}-aiplatform.googleapis.com/v1/projects/{projectid}/locations/{location}/publishers/google/models/{model}:streamGenerateContent
What's next
- Try the Vertex AI Studio tutorial for Vertex AI in express mode.
- Try the API tutorial for Vertex AI in express mode.
- See the complete API reference for Vertex AI in express mode.