Manage API keys for your space
You can share API keys with space users and control whether they are allowed to use their own keys.
Set space API keys
Use space API keys to:
Make more models available to your space users without extra cost to them.
Centralize billing.
Simplify access to AI providers and models.
Prerequisites
You must be the owner or an admin of the space to set space API keys.
Google
Microsoft
To set a space API key:
Create an API key, or request an API key from your AI provider platform admin. Learn more.
infoMake sure your keys belong to an organization or project with the following rate limits:
RPM (requests per minute) ≥ 1,000
TPM (tokens per minute) ≥ 1,000,000
The actual limits required depend on your team's workload requirements.
Sign in to the GPT for Work dashboard with your Google account.
In the sidebar, select API keys.
Select Configure space API keys.
Click the AI provider whose API key you want to set.
Set the API key:
In the text field, enter the key.
Click Check to verify that the key is valid.
Click Save.
You have set the space API key. The space users can now use any model available with the key in GPT for Sheets or GPT for Docs.
Space users can still set their own key for the same AI provider, which will override the space key, unless you disallow personal keys.
To set a space API key:
Create an API key, or request an API key from your AI provider platform admin. Learn more.
infoMake sure your keys belong to an organization or project with the following rate limits:
RPM (requests per minute) ≥ 1,000
TPM (tokens per minute) ≥ 1,000,000
The actual limits required depend on your team's workload requirements.
Sign in to the GPT for Work dashboard with your Microsoft account.
In the sidebar, select API keys.
Select Configure space API keys.
Click the AI provider whose API key you want to set.
Set the API key:
In the text field, enter the key.
Click Check to verify that the key is valid.
Click Save.
You have set the space API key. The space users can now use any model available with the key in GPT for Excel or GPT for Word.
Space users can still set their own key for the same AI provider, which will override the space key, unless you disallow personal keys.
Control personal API key usage
Choose whether space users can use their own API keys. If you disable this option, space users can only use models that do not require API keys and models associated with space API keys. If you allow space users to use their own keys, they can override the space key for any AI provider with their personal key.
Prerequisites
You must be the owner or an admin of the space to control personal API key usage.
Google
Microsoft
Sign in to the GPT for Work dashboard with your Google account.
In the sidebar, select API keys.
Use the toggle to allow or disallow space users to use their own API keys.
Sign in to the GPT for Work dashboard with your Microsoft account.
In the sidebar, select API keys.
Use the toggle to allow or disallow space users to use their own API keys.