Authentication
The LLM relay uses Bearer tokens for authentication. Your API key acts as the Bearer token, which must be included in the Authorization header when making requests.
Direct API requests
Set the Authorization
header to Bearer <1RPC_AI_API_KEY>
if you're making direct API calls.
OpenAI TypeScript SDK
Set the api_base
to https://1rpc.ai/v1
and pass your API key as theapiKey
.
Last updated