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 (keys are minted from your active pool subscription or credit balance)
  5. Copy the key — it won’t be shown again

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

  • Pool-subscription keys give unlimited usage during your reserved time blocks (1 concurrent request per key); credit keys are limited by your balance
  • Keys are validated on every request
  • Usage and spend are tracked per key
  • You can create multiple keys (e.g. one per app or per agent) to run requests in parallel
  • 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