Skip to content

Endpoint Requirements

A Plexus endpoint is any server that speaks the OpenAI chat completions format: an inference engine, or a gateway in front of several. Katara converts its own request formats to chat completions before it calls the endpoint, so the endpoint never needs the Responses or Messages formats.

What follows is what Katara asks of the endpoint, not of the model. Which model you serve, and how good it is, is yours to choose. The connection check tests each item and shows which features each model has opened.

FeatureRequired supportRequired for
TransportHTTPS with TLS 1.2 or later; POST /v1/chat/completions in the OpenAI request and response format; a bearer key or a client certificateEverything
StreamingServer-sent events in the OpenAI chunk format, ending in data: [DONE]Chat, streamed API requests
Usageusage with prompt_tokens, completion_tokens and total_tokens on every whole reply, and on a stream when stream_options.include_usage is setEverything: spend limits, chargeback and the shadow cost count from it
Tool callsOpenAI tools and tool_calls, arguments as a JSON string, tool_choice of auto, required and a named functionAPI tool use, web search, agent runs
JSON moderesponse_format of type json_object; json_schema recommendedJSON-mode requests, conversation compaction, agent runs
ContextThe declared context length served in full; a request over it refused with a 4xx, not cut shortLong conversations; agent runs need 32,768 tokens or more
Picturesimage_url content parts with data: URIsPictures in chat and runs, for a model that takes them
Busy signal429 or 503, ideally with Retry-After, when at capacityFallback and shares: a busy reply is not counted as a fault
Model listingGET /v1/models (optional)Noticing a model change and checking again

The usage object may arrive in a chunk of its own with empty choices or on the last content chunk; Katara reads it from either. A stream that ends without usage, or with total_tokens of 0, is refused, because it cannot be counted. When the endpoint reports cached prompt tokens in prompt_tokens_details.cached_tokens, the shadow cost uses them.

Katara never asks the endpoint for embeddings, images, audio, or the Responses and Messages formats.

  • Set the context length on the server to the figure you declare in the portal, or larger. A server that silently cuts long prompts short fails the context probe with truncates_silently, and the usable context drops to what passed.
  • Declare the concurrency the server really sustains. Katara never sends more at once. Let the server answer 429 or 503 when it is full rather than queueing without limit, so a request that cannot start soon goes elsewhere.
  • Turn on tool parsing for the model family you serve. Most engines need a flag and a parser name; Inference server setup has them.
  • The model id you declare is the model field the server answers to, as GET /v1/models lists it.

Inference server setup has a section for each server, with its command and settings. In this table, setting means the feature works once the section’s setting is on, proxy means a reverse proxy or LiteLLM in front supplies it, and check means the server’s documentation does not settle it and the connection check decides.

ServerBearer key and HTTPSTool callsJSON modePicturesRefuses an over-long promptBusy signal
NVIDIA NIMProxy, or its own mTLSSettingCheckYes, vision modelsCheckProxy
TensorRT-LLMProxySetting, no Llama parserSettingYesYesProxy
Triton OpenAI frontendProxySetting, Llama and Mistral onlyNoNoCheckProxy
NVIDIA DynamoProxy, or its own mTLSSettingYesYesCheckSetting (503)
vLLMKey yes, HTTPS proxySettingYesYesCheckSetting (503)
SGLangKey yes, HTTPS proxySettingjson_schema yes, json_object checkYesYesCheck
Hugging Face TGIKey yes, HTTPS proxyYes, not with JSON mode in one requestYesYesYes (422)Yes (429)
llama-serverKey yes, HTTPS proxyYes, named function checkYesSettingYes (400)Proxy
OllamaProxyPartly: tool_choice ignoredYesYesNo: cuts promptsYes (503)
KServeProxy or ingressAs vLLMAs vLLMAs vLLMAs vLLMCheck
Ray Serve LLMProxy or ingressAs vLLMAs vLLMAs vLLMAs vLLMYes (503)
BentoMLProxy, or its hosted tokenAs vLLMAs vLLMAs vLLMAs vLLMCheck
LiteLLM proxyYesThe backend’sThe backend’sThe backend’sThe backend’sYes (429)

A model on a server that lacks a feature still serves what it passed: the features table in the connection check says what a missing one closes.