> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nativeport.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nativeport.ai/_mcp/server.

## Unified Inference API — production

<ChangelogTags>inference-api</ChangelogTags>

`POST /inference/v1/chat/completions` and `GET /inference/v1/models[/{id}]` are live in production: one OpenAI Chat Completions-shaped contract, JSON and SSE, over [OpenAI](/openai), [Anthropic](/anthropic), [Grok](/grok), and [Hugging Face](/huggingface) at once. Address any admitted model with a canonical id (`openai/<id>`, `anthropic/<id>`, `xai/<id>`, `huggingface/<owner>/<model>[:provider]`) and the same request schema works unchanged across providers — including full request/response translation for Anthropic's Messages API. Image input is honored only for the models `GET /inference/v1/models` reports `capabilities.vision: true` for.

It's a translation layer over the four existing model-inference routes, not a fifth upstream: no new credential, no separate catalog, no separate rate-limit pool. Read the full guide at [Inference API](/inference).