https://api.infyrence.com/v1.
1
Create an API key
Sign in and open API keys in your dashboard. Create a key and copy it. It starts with
sk-.Keep it handy as an environment variable:2
Point the base URL at Infyrence
Every request goes to the base URL If you already use an OpenAI SDK, set the base URL and the API key. No other code change is required.
https://api.infyrence.com/v1 and authenticates with your key as a Bearer token:The
model field accepts any id returned by GET /v1/models. Example ids include claude-sonnet-5, gpt-5.5, and gemini-3.1-pro. Always call GET /v1/models for the live list available to your account.3
Make a chat completion
Send a
POST to /v1/chat/completions with a model and a list of messages.The response
A non-streaming request returns a singlechat.completion JSON object. The generated text is in choices[0].message.content, and token counts are in usage.
Every response includes an
X-Request-Id header. Include it when you contact support so a request can be traced quickly.Stream the response
Setstream: true to receive the response incrementally as Server-Sent Events. Each event is a data: line carrying a chat.completion.chunk object, and the stream ends with a final data: [DONE] line. The text for each chunk arrives in choices[0].delta.content.
Next steps
Browse models
Call
GET /v1/models to see every model available to your account.Chat completions reference
Full request and response fields, plus every parameter you can send.
Authentication
How Bearer tokens work and how to rotate your keys.
Pricing
Usage-based, per-model rates for input and output tokens.