Access Google AI Studio

Go to https://aistudio.google.com and sign up or log in.

Generate API Keys

Click Get API key at the top, then click the Create API key button to generate an API key.

API keys are only visible once after generation, so be sure to store it securely. If you lose your API key, you can delete the existing key from the dashboard and generate a new one.

Google AI Studio API keys can be used for free up to a certain limit. For detailed information, see the Gemini API Pricing page.

Register API Key in Porter AI

In Settings > Models, click the icon for Google Gemini and enter your API key.

Once you add your API key, Gemini model usage will be charged to your Google credits.

Add Models

Once you’ve registered an API key, you can add additional Gemini models beyond the default ones. Simply provide a display name (shown in chats) and the official Gemini model name.

You can find the list of model names available via API on the Gemini models documentation page. The highlighted section in the screenshot below shows the model name format.

For fine-tuned models, you can add them by entering the custom model name you configured.