Skip to main content
1

Open API Keys

In your Edgee Console, navigate to API Keys.
2

Create a new key

Click Create API Key, give it a name (e.g., “Development”), and click Create.
3

Copy your key

Copy the key immediately; it will not be shown again.
Create an API Key
Store your API key securely. Never commit it to version control or expose it in client-side code.

Enable Token Compression at the same time

You can enable token compression at the same time as creating the API key. To do so, select the compression engine you want to use.
Create an API Key with compression
Good to know: You can also enable token compression afterwards in Edge Models page.

Test Your Key

Now you copied your key, you can verify it works with a simple curl request:
curl https://api.edgee.ai/v1/chat/completions \
  -H "Authorization: Bearer $EDGEE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5.2",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'