Skip to content

Authentication

All inference requests require an API key in the Authorization header.

Authorization: Bearer YOUR_API_KEY

This works for both OpenAI-compatible (/v1/*) and Anthropic-compatible (/anthropic/*) endpoints.

  1. Sign in to the dashboard
  2. Go to API Keys
  3. Click Create Key
  4. Choose a name and plan tier (Standard or Pro)
  5. Copy the key — it won’t be shown again

You need an active subscription to create keys. Alternatively, top up credits for pay-as-you-go access with a credit key.

  • Each key has its own rate limits (RPM and TPM) based on its plan tier
  • Keys are validated on every request
  • Usage and spend are tracked per key
  • You can create multiple keys with different plan tiers
  • Disabling or deleting a key revokes it immediately

Requests without an API key receive a 402 Payment Required response with USDC payment instructions. This enables AI agents to pay per request. See x402 Protocol.

StatusMeaning
401Missing or invalid API key
402No key provided — x402 payment available
429Rate limit exceeded (RPM or TPM) — retry after the limit resets
502Upstream provider error