API Key Configuration in AI
From the Cursor cheat sheet ยท AI Models & Configuration ยท verified Nov 2026
API Key Configuration
Use your own API keys
bash
# Add a key in Cursor Settings > Models
# Providers
- OpenAI # Standard, non-reasoning chat models
- Anthropic
- Google
- Azure OpenAI # Models deployed in your Azure instance
- AWS Bedrock # Access key and secret key, or IAM roles in the dashboard
# Steps
1. Open Cursor Settings (Cmd/Ctrl+Shift+J)
2. Go to Models
3. Find the provider and paste your key
4. Click Save
# Good to know
- The provider bills you directly for the model cost
- Keys work with chat models only; Tab keeps using Cursor's models
- The key is not stored on Cursor's servers, but it is sent with every requestbash
# Example: use your own OpenAI key
Cursor Settings > Models > OpenAI
Paste the key, then click Save
# That provider's models now appear in the model picker
# If a key is invalid or rejected
# Requests to that provider fail until you update or remove the key๐ก On individual plans, requests with your own key do not draw from your included usage
โก On Teams and Enterprise the Cursor Token Rate still applies to eligible models
๐ Zero Data Retention does not cover requests made with your own key
๐ An invalid key makes that provider's requests fail until you fix or remove it
apikeysconfiguration
Continue with Cursor
Save the full cheat sheet or work through every related task.