https://inference-api.openserv.ai
OpenAI SDK
Chat completions
Responses
Use the Responses API to receive the reasoning trace alongside the answer. OpenAI models only.Anthropic SDK
Messages
Important details
Base URL differs by SDK
Auth field differs by SDK
A system prompt is required
Every request needs a system, developer, or instructions message. Requests without one are rejected:Parameter map
Moving an integration across SDKs comes down to this mapping.See also
- SERV Tools — enable the prompt-injection guard and shadow agents via tool definitions.
- Endpoint compatibility — which models work on which endpoint.
- Quickstart — the five-minute setup.
- SDK Migration — Python, Vercel AI SDK, LangChain, and raw
fetch. - Models — pricing and context windows.

