Connect OpenRouter to Google Sheets
Connecting GPT for Sheets to OpenRouter allows you to access a wide range of AI models without having to manage multiple API keys from different providers.
Create your OpenRouter API key
Sign in to your OpenRouter account.
Open the API Keys page.
Click Create Key.
Enter a key name and click Create.
Copy and save the key.
Set your OpenRouter API key in GPT for Sheets
Select Extensions > GPT for Sheets and Docs > Open.
Select API keys from the sidebar menu.
Enter your API key in the OpenRouter field and click Save.
You have set your OpenRouter API key in GPT for Sheets. You can now expand the model switcher and select any model available through your OpenRouter account.

tip
Visit the OpenRouter playground to test different models and compare their capabilities before using them in your spreadsheets.