API Keys

Manage your API keys for accessing our services

No API keys yet

Create your first API key to start integrating with our services. Your keys will appear here once created.

How to use your key

Send your API key in the Authorization header of every request.

Authorization: Bearer YOUR_API_KEY
View API docs
  • Keep keys on your server. Never put them in browser code or a public repository.

  • All keys share your account's credit balance.

Use your key

Export the key as ERGO_API_KEY, then send a request to the OpenAI-compatible endpoint. Billed in credits per token.

curl
export ERGO_API_KEY="paste-your-key-here"

curl https://ergollmapi.com/v1/chat/completions \
  -H "Authorization: Bearer $ERGO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ergo-1.0", "messages": [{"role": "user", "content": "Hello"}]}'