https://api.inferoute.ai/v1, accepts JSON, and returns JSON — so any tooling that works with the OpenAI API works with Inferoute as well.
Base URL
Authentication
All requests require a Bearer token in theAuthorization header:
Available endpoints
Chat completions
Send a messages array and receive an assistant reply. Supports streaming, function calling, and all OpenAI-compatible parameters.
Completions
Legacy text completion endpoint. Accepts a prompt string and returns generated text.
Embeddings
Generate vector representations of text for semantic search, RAG pipelines, and classification.
Models
Retrieve the full list of models available on Inferoute, including provider, context window, and capabilities.
OpenAI SDK compatibility
Because Inferoute implements the OpenAI API spec, you can use any OpenAI SDK by pointingbase_url at Inferoute: