Skip to main content
All /v1/* endpoints require authentication. ARouter supports four methods: three API-key-based methods for every major LLM SDK, plus wallet-based authentication for AI agents with crypto wallets.

Auth Methods

Used by the OpenAI SDK, DeepSeek SDK, Mistral SDK, and most OpenAI-compatible clients.
The first three methods use the same ARouter API key. The gateway automatically detects which method is being used. Wallet users follow a separate path: SIWx/x402 produce a wallet JWT, and subsequent requests use Authorization: Bearer <jwt>.

Key Types

Management keys create API keys that can only narrow permissions — never expand beyond the tenant’s scope. See the Key Management Guide for details.

Error Responses

When authentication fails, you’ll receive one of these responses:
Both return HTTP 401 Unauthorized.