To get started, you’ll need a Google Cloud account. You’ll then create a project and obtain an API Key.
First, navigate to the cloud console. If you’re doing this for the first time, to join the cloud console, you’ll probably get a Start free button at the top-right of the page. Click this button and log in using your existing Google account. You may also get a page with select your country. Select your country, read the terms, and then click Agree and Continue. The next steps will probably ask you to create a new payment profile and payment method. Update your payment details and then click Start Free. You may also get a short survey to complete for the Google’s usage metrics. Fill in the survey and then click done.
I already have these steps done. So, I’ll Go to my console, that is the Google’s cloud console. Here, you’ll click on Create or Select a Project. Click New Project on the top right here, and give a project name like MyFirstGemini. You can choose No organization here and then click on Create
Now that you have your first cloud project, it’s time to navigate to AI Studio.google.com. Make sure you’re logged in to your Google account. On Get API Key page, click Create API Key. You’ll get an option to Search for Google Cloud projects. Select your first project My First Gemini and click Get API Key in the existing project. It takes a moment to generate the API Key. You can now see that the API key is generated successfully.
You’ve set up your first cloud project and API Key for use in AI Studio. Now, any transactions will be tracked and billed to this account. You can manage your billing in the cloud console billing account. Navigate to console.cloud.google.com/billing. On this page, click on My Billing Account. Then goto Manage billing Account. Under your project My First Gemini, under Actions, you’ll see these three dots. Click on this, and then disable billing. Click Disable Billing here, and then wait for the confirmation message to come.
Now, back in AI Studio, on the Get API Key page, come down to projects. In the API key list, when you see Free of charge, it means you’re using the free tier. Click the second link here to Set Up Billing. Click Link A Billing Account and then select your billing account. You can Set Account here to continue set up billing. For now, there is no need to do this and you can continue with the free tier. Click Cancel.
To learn more about pricing tiers, look at AI Google Dev’s pricing page here.
Next, to try the Gemini models and its new features, try the Google Advanced subscription on. It comes free for a month. This subscription gives you 2TB of storage, priority access to the new features, and seamless integration with Google’s workspaces.
Now, you’ve learned how to create your API key in AI Studio. You also learned about managing your billing account and different subscription options. You can make an informed choice on what products are right for you.