Base URL
/v1 suffix. Use the row that matches yours; a
wrong base URL shows up as 403 on paths like /v1/v1/models or
/v1/chat/completions/chat/completions.
Never set the base URL to a full endpoint such as
.../v1/chat/completions.
Setup for Claude Code, OpenAI-compatible tools and the SDKs, including the model settings
Claude Code needs, is in
Coding agents and SDKs.
Authentication
Send your API key as a bearer token on every request:OpenAI-compatible
The API mirrors the OpenAI wire format, so existing OpenAI clients work with only a base URL and key change:Endpoints
Every endpoint, with its parameters and a playground to try it with your key, is in the
API Reference. Its OpenAPI spec is public at
https://docs.primalabs.ai/api-reference/inference/openapi.yaml, for importing into
Postman, Insomnia or a client generator.
Next steps
Quickstart
Make your first request in under a minute.
Models
The catalog, context windows, and how pricing works.
Rate limits
The three limits in front of every request.
Service status
Live uptime per model, incidents, and email updates.