Skip to content

Model Endpoints

View as Markdown

A Model Endpoint serves your model on one or more workers behind one HTTPS address, the root endpoint. Your applications call that address with an auth token. vLLM and SGLang endpoints answer the same chat and completion requests as the OpenAI API. Code written for OpenAI works once you change the address, the key, and the model name.

You choose a framework such as vLLM and tell the endpoint where the model comes from: Hugging Face, a Model Repository that holds your own files, or your own container image. Then you pick a machine and set how many workers run. The endpoint can keep a fixed number of workers, grow and shrink with traffic, or scale to zero when nobody calls it. An endpoint belongs to one project and one region.

In TIR, open your project. In the side menu, under Inference, select Model Endpoints. Your endpoints in the current project and region are listed there, and Create Endpoint starts a new one.

Each of these takes one model or framework from an empty project to a working request.

Start with Get started with Model Endpoints, which deploys a Hugging Face model on vLLM and calls it. To create and manage endpoints from code, the TIR API reference lists the operations under Model Endpoints. The Model Endpoints FAQ answers questions about regions, access, scaling, and billing, and Troubleshooting Model Endpoints covers the messages that come up most.