Connecting to AI Gateway


To connect to AI Gateway, go to the AI Gateway tab in the AI Agents section.

Creating an API Key
Copy link

AI Gateway uses separate keys that aren't linked to your account level API keys.

To create a key:

  1. Go to AI AgentsAI Gateway.
  2. Click Create key.
  3. Enter a name for the key and select the validity period.
  4. (Optional) Add a description that will show in the dashboard.
  5. (Optional) Select the project.
  6. Click Create.

AI Agents 06 11 2026 12 16 Pm

  1. Copy the generated key and store it locally.

Deleting an API Key
Copy link

To delete an API key:

  1. Go to AI AgentsAI Gateway.
  2. Open the API Keys tab.
  3. Click the three dot menu next to the key you want to remove.
  4. Click Delete.
  5. Confirm the action.

AI Agents 06 15 2026 04 18 Pm

Getting Connection Details
Copy link

You can find the connection details in the Connection tab.

  1. Go to AI AgentsAI Gateway.
  2. Open the Connection tab.
  3. Select a model and a programming language. The interface will show the input and output token pricing for the selected model.
  4. Copy the code sample for connecting and the command for installing the OpenAI library.

AI Agents 06 15 2026 04 19 Pm