Manage API keys for your space
As a space owner or admin, you can manage API key access for your team by setting shared space API keys and controlling whether users can set their own API keys. This centralizes billing, lets your team access AI models without providing their own API keys, and gives you control over which models are available.
Set space API keys
Set space API keys to allow your space users to access more models without extra cost to them. Space users can still use their own API keys to access models, unless you disallow user API key usage.
Prerequisites
You are the owner or an admin of the space.
Google
Microsoft
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 a space API key. All space users can now use any model available with the key in GPT for Sheets or GPT for Docs.
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 a space API key. All space users can now use any model available with the key in GPT for Excel or GPT for Word.
Control whether users can set API keys
Choose whether space users can set their own API keys. If you disable this option, they can only use models that do not require API keys or models available through the space API keys. If you enable this option, they can override the space key with their own key for any AI provider.
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.
You have controlled whether space users can 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.
You have controlled whether space users can use their own API keys.