Quickly Create an API Key
Create a key for your selected route directly from a model page. Learn the default settings and what to check before changing an existing key's route.
After choosing a model and route, you can create a key on the current page without first opening the console. Quick creation automatically selects the current route. The resulting key works like a key created in the console and can be managed at any time.
Not sure what a key does? Start with Create and Manage API Keys.
1. Create a Key for the Selected Route
- Sign in, open the model marketplace, find a model, and expand its route list.
- Click Get Key next to the route you want.
- Enter a recognizable name and click Create.
- Copy the complete generated key and follow that route's connection instructions.
Model details and connection pages also provide access to route key actions. After creation, you can find the key in API Keys.
2. Know the Default Settings
| Setting | After Quick Creation |
|---|---|
| Route | Bound to the currently selected route. |
| Quota | Unlimited quota, with no separate key-level quota limit. |
| Expiration | Never expires. |
| Model Restrictions | No additional model restrictions. The key is not limited to the model you are currently viewing. |
| IP Allowlist | No restrictions on the IP addresses making requests. |
Unlimited quota still requires an available account balance. Available models depend on the route's supported models and your account permissions.
Before long-term use, open Edit in API Keys and set a quota, expiration, and model restrictions as needed. Do not share the key or screenshots, connection details, or import links that contain it.
3. Switch an Existing Key to Another Route
The quick-access panel also provides an Or switch an existing key option:
- Find the key you want to change and click Switch to This Route.
- Read the impact notice and confirm that the target route supports the models and connection protocols you need.
- Click Confirm Switch.
Switching preserves the existing quota, expiration, and model restrictions. It does not automatically add the new model to the allowlist. If the panel says a model is outside the allowed selection, update the model restrictions in the console as needed.
Switching immediately affects every tool using that key. Your tools' model IDs, Base URLs, and other settings are not updated automatically. Check them against the target route's connection instructions. If you only want to try another route, create a new key instead.
Once you have a key, follow Get Started in 5 Minutes to complete your first request.