# Provider API connections

Source: [https://docs.aventail.co.uk/docs/guides/provider-connections](https://docs.aventail.co.uk/docs/guides/provider-connections)

Save cloud-provider connections in **Control → Models & APIs → APIs**, then choose which devices may use them. You need a signed-in personal account and an API key from a supported provider. You can save a connection before installing Link or registering a device.

Saving a connection does **not** grant a device access or change its routing order. Provider billing, credit and model access remain with your provider account.

### Manage cloud-provider connections

Personal Control production · captured 20 November 2026. Account identity and masked key suffixes obscured. Forms were inspected without submitting keys or deleting a connection.

1.  **Review saved connections**
    
    Open APIs to see saved connections, key status such as Key checked, and device use. Choose Add API key or Manage. The check time is under Manage.
    
    [Screenshot: Open APIs to see saved connections, key status such as Key checked, and device use. Choose Add API key or Manage. The check time is under Manage.](https://docs.aventail.co.uk/img/control/models-apis-2026-11/apis-overview.png)
    
2.  **Add a provider key**
    
    Select the provider, name the connection and enter its key, then choose Check and save. Saving here grants no device access.
    
    The example form is blank. No new key was submitted for this capture.
    
    [Screenshot: Select the provider, name the connection and enter its key, then choose Check and save. Saving here grants no device access.](https://docs.aventail.co.uk/img/control/models-apis-2026-11/add-anthropic.png)
    
3.  **Inspect and manage**
    
    Use Manage to read the last check, check the key again, rename, replace or review device use.
    
    Key checked describes the displayed earlier check, not a new validation performed for this guide.
    
    [Screenshot: Use Manage to read the last check, check the key again, rename, replace or review device use.](https://docs.aventail.co.uk/img/control/models-apis-2026-11/manage-connection.png)
    
4.  **Replace the saved key**
    
    Check and replace validates a new key for the same connection. Connected devices whose route uses it normally fetch the replacement within about ten minutes; saving is not acknowledgement.
    
    The old key is kept after a failed fetch and retried on the next periodic check. Revoke a leaked key at the provider immediately.
    
    [Screenshot: Check and replace validates a new key for the same connection. Connected devices whose route uses it normally fetch the replacement within about ten minutes; saving is not acknowledgement.](https://docs.aventail.co.uk/img/control/models-apis-2026-11/replace-key.png)
    
5.  **Read the removal warning**
    
    Remove saved-route references before confirming removal. Keep connection cancels; provider revocation is needed for immediate cutoff.
    
    This screenshot shows the confirmation only. No connection was removed. An offline device can retain a previously fetched key indefinitely.
    
    [Screenshot: Remove saved-route references before confirming removal. Keep connection cancels; provider revocation is needed for immediate cutoff.](https://docs.aventail.co.uk/img/control/models-apis-2026-11/remove-connection.png)
    

Removing a connection does not revoke its key

Removal stops future key fetches from Control. An offline device may retain a previously fetched key indefinitely. Revoke the key at the provider to cut off access immediately, including after a leak. Keep raw keys out of screenshots, messages and source control.

**Read how to add a provider connection**

## Add an API key

1.  Open **Models & APIs → APIs**. **Models** remains the default tab for library models and uploads.
2.  Choose **Add API key**, then select the provider. Use **Get an API key from \[provider\] (opens in a new tab)** if needed; the form shows the selected provider's name.
3.  Enter a recognisable **Connection name** and the provider's **API key**. Leave the key hidden when sharing your screen.
4.  Select **Check and save**. Wait for the result before trying again. The submitted key is cleared from the form; if the check fails, re-enter it after resolving the cause. The provider and connection name are retained.
5.  Confirm the connection appears under **Saved API connections**. A connection can be **Not used on any devices** and still be saved correctly.

The provider choices observed on 20 November 2026 are Anthropic, DeepSeek, Google Gemini, Kimi (Moonshot AI), Mistral AI, OpenAI and Qwen (Alibaba Cloud). Kimi uses the international Moonshot endpoint; Qwen uses Alibaba Cloud's Singapore endpoint. Use a key for the endpoint described by the form.

Only a masked suffix is displayed after saving. A successful key check confirms access at that moment; it does not guarantee future availability, sufficient credit or access to every provider model.

You can save at most **20 connections per person**. Connection names must be unique and **60 characters or fewer**. When adding or replacing keys, Control allows **50 new-key submissions** and **20 rejected or unverified keys per 24 hours**. Provider checks also have a **10-per-minute** limit. Repeated retries can exhaust an allowance; resolve the reported cause and wait for the displayed retry delay before trying again. Do not assume the limit resets at midnight.

## Allow a device to use the connection

1.  Install and register Link if needed, then open **Devices → your device → Routing → Set up routing**. For an existing route, use **Manage routing → Edit routing**.
2.  Select **Cloud provider** for the intended step and choose the saved **Connection**.
3.  If access has not been granted, check the computer and connection, then select **Allow this device to use this connection → Allow connection**.
4.  Choose an available cloud model, review any backups and **Apply routing**. Keep Link connected and wait for **Applied**.
5.  Send a harmless test request and inspect its destination. Saving a key, applying routing and completing an inference request are separate checks.

Follow [Routing and backups](https://docs.aventail.co.uk/docs/getting-started/routing-and-backups) for the complete device workflow. To add a connection inside that editor, choose **Connect a provider**, enter the **Provider API key** and connection details, review the **Allow this device to use this connection** checkbox, then choose **Connect provider**. Grant access only for the intended device and connection.

**Read how to manage or replace a connection**

## Check or rename a connection

Open **APIs → Manage** beside the intended connection. Inspect **Last key check**, **Result** and device use.

-   **Check key** checks the saved key again. An unreachable or rate-limited provider is different from an authentication rejection; read the result before replacing a working key.
-   **Rename** changes the connection's label, keeping its identity and device references. Save the new name and check the list.
-   **View devices** opens device management. Inspect the intended device's routing to change where requests go.

Use **Refresh connections** to reload the list. Follow any displayed retry delay rather than repeatedly submitting checks.

## Replace an API key

1.  Open **Manage → Replace key** for the intended provider connection.
2.  Enter the **New API key**, then choose **Check and replace**.
3.  Wait for the outcome. Validation failure leaves the old key unchanged. Success updates the same saved connection, preserving its device references and routing order.
4.  Keep the devices connected. Connected devices whose route uses this connection normally fetch the replacement within about **10 minutes**. After a failed fetch, Link keeps the old key and retries on the next periodic check. A successful save does not confirm receipt by any particular device.
5.  Check the intended route with a harmless request. Revoke an old key at the provider when appropriate; if it was exposed, revoke it immediately rather than waiting for devices to refresh.

**Read how to remove a connection and recover from errors**

## Remove a connection

1.  Inspect **Manage** and identify devices whose saved routes use the connection, including offline devices.
2.  Change those routes to another permitted destination and apply the changes. Confirm the intended outcome before removing a connection they depend on.
3.  Choose **Remove connection**. Read the current-use result and warning. If removal is blocked, resolve the listed route references and refresh connection use.
4.  Only when you intend to delete the saved connection, choose **Confirm removal**. This cannot be undone. Use **Keep connection** to cancel.

Control checks saved-route references again when removal is confirmed. Device access grants alone do not block deletion. Removing the account record does not erase copies already fetched by devices; use provider-side revocation when immediate cutoff is required.

## If a check or save fails

| Result | Next step |
| --- | --- |
| Key needs attention: provider rejected the key | Check the selected provider, required region and key permissions. Replace with a valid key where needed. |
| Latest check inconclusive: provider unreachable or rate-limited | Follow the displayed delay, check provider availability and retry once the cause is resolved. The previous key status is kept. |
| Key needs attention: no available credit | Check billing and add credit in the provider account before checking again. |
| Key needs attention: no access to the checked model | Check the key's permissions and model access with the provider. |
| Key needs attention: checked model unavailable | Check that the model is available to this provider account; review the selected model before retrying. |
| Submission or check limit reached | Stop retrying, resolve the cause and wait for the displayed retry delay. New-key submissions have a 24-hour allowance; checks also have a per-minute limit. |
| Connection still used by devices | Edit the listed saved routes, including those for offline devices, then refresh use before removing. |
| Replacement saved but device still fails | Confirm connectivity and allow the refresh interval. Inspect the device's connection permission, selected model and provider credit. |
| Key is missing after a failed check | The form clears submitted keys. Re-enter it after correcting the problem; do not put it in the connection name. |

Next: [configure routing and a local backup](https://docs.aventail.co.uk/docs/getting-started/routing-and-backups), or [manage library models](https://docs.aventail.co.uk/docs/guides/models).
