Manage API keys for your space
As a space owner or admin, you can manage API keys for your team by setting shared space keys and controlling whether users can set their own keys. This allows users to access models without providing their own keys, gives you control over which models are available, and centralizes billing.
Set space API keys
Set a space API key to give users access to additional models without extra cost to them. Users can still use their own keys to access models, unless you disallow this.
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 enable this option, users can override a space key with their own key for any AI provider. If you disable this option, users can only use models that do not require API keys or models available through space API keys.
Prerequisites
You are the owner or an admin of the space.
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.