PineRouterDocs
GuidesModelsAPI referenceApps

API reference

Base URL, authentication and every endpoint.

Base URL

https://pinerouter.ai/v1

The API follows OpenAI's format, so OpenAI's SDKs and most OpenAI-compatible tools work by changing the base URL. Anthropic's Messages format works too.

Authentication

Authorization: Bearer sk-...

Create keys in the console under API keys. Every endpoint page has a playground: paste your key under Authorization and send a real request.

Endpoints

Limits, billing and error codes: Keys, billing and limits.