Skip to content

API Keys

Creating a key

  1. Log in at studiolm.dev
  2. Go to Dashboard → API Keys → Create New Key
  3. Give it a name and click Create
  4. Copy the key immediately — it is only shown once

Using a key

Include it in the Authorization header of every request:

Authorization: Bearer sk-your-api-key

Or set it as an environment variable and let the SDK pick it up:

export STUDIOLM_API_KEY="sk-..."

Security best practices

  • Never hardcode keys in source files or commit them to version control
  • Use a separate key for each environment (dev / staging / production)
  • Rotate keys periodically
  • Revoke a key immediately if it is exposed

Revoking a key

Dashboard → API Keys → select key → Disable or Delete.

Disabled keys stop working immediately. Usage history is preserved.

Limits

Plan Max keys Daily tokens
Free 1 30,000
Pro 2 100,000