Skip to content

Plexus

Plexus connects the inference endpoint your organization already runs to Katara. The endpoint can be NVIDIA NIM, TensorRT-LLM, Dynamo, vLLM, SGLang or another inference server, a serving platform such as KServe or Ray Serve, or a gateway such as LiteLLM in front of them, serving any model you choose, including one you trained. You install nothing from Katara: you register the endpoint’s address and a credential, Katara checks that it speaks the protocol it needs, and from then on requests from your environment’s members, keys, agents and registered payer wallets run there first.

A reply your endpoint serves costs nothing on Katara. Katara’s gateway signs a receipt for each one, and the receipt is your record of what was sent and received.

An endpoint belongs to one environment. A Live environment’s endpoints serve requests to https://api.katara.com/v1; a Test environment’s serve https://api.katara.com/test/v1 and kat_test_ keys. Live and Test each have their own endpoints, policy and payer wallets, and the same URL may be registered in both with separate credentials. Nobody outside your organization is ever sent to your endpoint.

Which model runs, and what it does with a prompt, is yours to decide. Katara checks the protocol, not the weights.

The endpoint must answer the OpenAI chat completions format with usage on every reply. Endpoint requirements lists what each Katara feature needs from it, and Inference server setup shows how to serve it from NVIDIA NIM, TensorRT-LLM, Triton, Dynamo, vLLM, SGLang, TGI, llama-server, Ollama, KServe, Ray Serve, BentoML or LiteLLM.

Choose how Katara reaches it. Connecting an endpoint has the setup for each:

  • Direct HTTPS: a public address that allows Katara’s egress addresses, with a bearer key, a client certificate, or both.
  • AWS PrivateLink: an endpoint service in your AWS account that Katara connects to over a private address.
  • Tunnel: a tunnel you run that publishes the endpoint on a hostname behind an access policy.

Owners and administrators connect endpoints, signed in as a person. In the portal at https://platform.katara.com, select the environment, open Plexus → Connect and choose Connect an Endpoint.

  1. Connection. A label, the kind (HTTPS, PrivateLink or tunnel) and the base URL up to and including /v1, such as https://llm.example.com/v1. The URL must use https.
  2. Models. For each model the endpoint serves, the model id it answers to (its model field), the name it gets on Katara, its context length, how many requests it takes at once, and whether it takes pictures. Up to 32 models per endpoint. A first-token budget is optional: leave it empty and the check measures one.
  3. Authentication. A bearer key, a client certificate for mTLS (issued by Katara or your own), or both. For a tunnel, the access headers its edge needs, up to four. A CA bundle when the endpoint’s certificate comes from a private CA. Connect creates the endpoint and sends the secrets once.
  4. Connection check. Katara checks the endpoint at once, including the context probe, and shows each probe’s result.

The first connection in the organization also sets its Organization name for models: the namespace every model name starts with, such as acme in acme/qwen3-32b. It is chosen once for the whole organization and cannot be changed. It is 3 to 32 characters, lowercase letters, digits and hyphens, starting with a letter, unique across Katara, and may not be a reserved word such as katara, cortex or plexus. A model name after the slash is up to 64 characters of lowercase letters, digits, ., _ and -, and is unique among the environment’s live models.

Names are what your callers send and what usage, chargeback and the audit record show.

Credentials are write-only. Katara encrypts each secret as it arrives and no route returns it: the portal shows a bearer key’s last four characters, a certificate’s subject, issuer and expiry, the access header names, and when each was set. Server certificates are always verified, against public roots or your CA bundle; there is no option to skip verification. Katara follows no redirect from an endpoint.

To rotate, choose Replace Credentials on the endpoint and save the new ones. They wait as a pending version while the old ones keep serving, and Katara switches once a check passes with the new ones. Keep the old credential valid on your side until the portal shows the switch, and no request is lost.

StateMeaning
draftCreated, not yet checked
checkingA check is running: on connect, or after a change of URL, certificate settings, CA bundle or models
activeEvery model passes what it needs
degradedSome model or feature is failing; the rest serve
failingNo model passes; nothing is served
removedRemoved for good. The record is kept

Remove Endpoint stops it serving at once. A removed endpoint cannot come back; connect it again as a new one.

A person who belongs to two organizations with a Plexus has their requests served by one of them. When an endpoint first goes active, its panel lists any members already bound to another organization’s Plexus; their requests stay with that organization.

The check runs from Katara’s gateway, the same path real traffic takes: the same egress addresses, credential and checks on the reply. It never runs on anything but your endpoint.

ProbeWhat passes
reachThe connection succeeds, the certificate verifies and the credential is accepted. A 401 or 403 is reported as unauthorized and nothing else is tried
listingGET /v1/models lists the model id. An endpoint that does not list passes with no_listing
stream_usageA streamed reply with stream_options.include_usage ends with usage, and records the time to the first token
usageA whole reply carries usage
tools_named, tools_autoWith a named function forced, and with tool_choice auto, the reply has tool_calls whose arguments parse, and no tool syntax in the text
json_object, json_schemaThe reply is one JSON object; for json_schema, one that follows the schema
contextA prompt filling the declared context, less room for the answer, is answered and counted within 10% of its size; one over it is refused rather than cut short
visionA test picture is described, when the model takes pictures
concurrencyA short burst at the declared figure is served. A failure shows a warning; it does not change the figure

A full check runs on connect, after a credential or model change, when the endpoint’s model listing changes, and when you choose Run Check. Every 15 minutes a light pass checks each active model with one streamed reply, one tool call and one JSON reply. The context probe fills the whole window, which costs your GPUs a full prefill, so it runs only on connect, on a model change and when you tick Include the context probe. Six checks an hour per organization may be asked for by hand; past that the request is refused with 429 plexus_check_limit.

A failing probe names its reason: unauthorized, tls_failed, timeout, unreachable, address_refused, not_listed, no_tool_call, not_json, schema_not_followed, picture_not_seen, busy_below_declared, usage_mismatch or truncates_silently, with up to 2 KB of detail about the probe’s own request. Katara never shows more of what an endpoint sent, so a check cannot be used to learn about a host that is not yours.

What a model passes decides what it serves:

Katara featureNeedsWhen the model lacks it
Chat, API chat requests, Cortex tiersstream_usageThe model serves nothing
Spend limits, chargeback, shadow costusage on streamed and whole repliesThe model serves nothing: an unmetered reply would get past every limit
API requests with tools, steps after a web searchTool callsFallback sends the request to Katara’s tier; strict refuses it, naming the check
JSON-mode requests, conversation compactionJSON modeThe same
Agent runsTool calls, JSON mode and a proven context of at least 32,768 tokensThe model is not offered to agents
PicturesvisionThe pictures setting applies

A passing check is not certification. It shows that the endpoint speaks the protocol, not what the model is or how good it is. Live traffic counts too: a feature whose replies Katara refuses several times in a short window is withdrawn until the next pass.

Callers keep sending katara/cortex. Plexus → Policy → Cortex tiers maps each of Cortex’s tiers, light, standard and deep, to one of your models; one model may fill all three. With Katara’s hosted classifier each request is sorted into a tier and runs on the model mapped to it. With None, every request runs on the tier the policy names, and no request text goes to a classifier. When all three tiers map to one model the classifier is not asked at all. Agent calls are deep.

A request can also name one of your models directly, such as acme/qwen3-32b. Your models by name on the API is on by default; turn it off and named requests go to Cortex like any other name. GET /v1/models lists your organization’s names to its own callers and to nobody else. A named model is never replaced by another, in either mode: when it cannot serve, the reply is 503 no_capacity naming it, with Retry-After: 5.

Show our models in chat is off by default, and then the chat app offers only Katara Cortex. Turned on, members bound to your organization see a model menu in the chat: Katara Cortex first, then your models by name. Nobody outside the organization sees the menu.

When your models cannot serve a request decides what happens when the tier’s model is failing, busy, or lacks a feature the request needs.

  • Fallback, the default: the request goes to Katara’s own models for the same tier, in the usual order, and is charged as usual. A tier left empty goes straight to Katara’s tier.
  • Strict: the tier’s model serves the request or it is refused. Nothing from the environment goes to Katara’s own models, and an empty tier is refused.

A strict refusal is 503 with "code": "no_capacity" and a Retry-After header. Its message says why: no model can serve now, the tier is empty, the model has not passed the check the request needs, or every slot the caller may use is taken. In fallback mode Katara Cortex answers the request, and Katara Community is reached only while it is on for you.

SettingValuesDefault
ClassifierKatara’s hosted classifier or NoneHosted in fallback, none in strict
TierWith no classifier, the tier every request runs on: light, standard or deepstandard
PicturesWhether Katara’s own vision model may describe pictures for a model that has not passed vision. Off refuses such a request with feature_not_supportedOn in fallback, off in strict

Owners and administrators change the policy, signed in as a person. Each save has a version, and a save must name the version it replaces, so two people editing at once cannot overwrite each other: the second gets 409 conflict and the portal shows the newer policy. A tier must name a live model of the environment. A policy saved before tiers existed shows Set the tier map until an administrator saves one.

By default the whole organization’s requests run on its Plexus. To limit it, name Teams and Projects on the policy page (access.teams and access.projects, up to 100 each). A person is admitted through any team they belong to, and a service account’s key only through a project. Anyone else is routed as if the organization had no Plexus: to Katara’s own models in fallback mode, or refused with 503 no_capacity in strict mode, with a message asking them to have an administrator add their team or project. Nothing in a request can widen the list. Empty lists open it to everyone again.

Katara never sends a model more requests at once than you declared for it, and the Plexus takes as many as its serving models declare together. A 429 or 503 from your endpoint counts as busy, not as a fault, so your own gateway’s limits do not take the model out of service. Shares on the policy page reserve part of the total for a team or project, as a percent (shares, each {kind, id, percent}, up to 50, adding up to at most 100). A caller within its share is served first and is never pushed off by one over it. A caller over its share, or with none, takes only the slots nobody has reserved. A caller in several teams uses the largest share among them and its project.

When every slot a caller may use is taken, a fallback Plexus sends the request to Katara’s own models, and a strict one answers 503 no_capacity with Retry-After: 2. Without shares the Plexus is first come, first served.

For a launch or a batch job, a member can ask for a larger share for a set window. Open Plexus → Reservations and choose Request Reservation: the team or project it is for, the extra Share (percent), From and Until in UTC, and a reason. A window lasts at most 90 days. A member may ask for their own team or for a project; owners and administrators for any team.

The environment’s Locus approval policy decides who must approve and how many, stage by stage, as it does for actions (Tools, policies and approvals). The policy in force when the reservation is asked for is the one that applies to it. Reviewers are notified with Reservation to review; one denial ends it, and the vote that completes the last stage approves it. A reservation nobody decides before the policy’s deadline is denied. Approving takes a person in a recent session with locus:approvals:decide; an API key cannot approve.

An approved reservation adds its percent to the team’s or project’s share for exactly its window and lapses on its own. Shares and approved reservations together can never exceed the whole Plexus at any moment, checked when the reservation is asked for and again when it is approved, and a policy change cannot shrink the room an approved reservation holds. The requester can Withdraw a pending reservation; the requester, an owner or an administrator can Revoke an approved one, which ends it at once. The requester is told when it is approved, denied or revoked.

States are pending, approved, denied, withdrawn, revoked and expired.

Nothing. A reply your endpoint serves is issued with a maximum charge of zero: no credits are held, no wallet is debited, and nothing is settled on chain. A credit-paid key or chat session pays nothing for it, a wallet key moves nothing, and an x402 request is answered without using its authorization. The x402 minimum charge does not apply.

What is not inference is metered as usual, for agent runs as for any run: a governed tool action, a sandbox step, an evaluation case, a web search. A fallback reply is charged at the price of the model that answered, the same as for an organization with no Plexus.

The reply’s katara object marks a self-served reply:

"katara": {
"self_served": true,
"cost_usdc": "0",
"fallback": false,
"provider": "endpoint",
"receipt_hash": "0x5f0c…9e21",
"served": { "pool": "own", "model": "acme/qwen3-32b", "endpoint": "4c1e…" }
}

A fallback reply has no self_served and carries its charge as usual.

The portal’s Usage page counts self-served requests a person or key made in a separate column and shows them as no charge. GET /katara/v1/billing/usage returns the count as self_served_requests, which is included in requests and the token totals.

Katara’s gateway signs a receipt for every reply your endpoint serves: the request id, the model name and the id your endpoint served it under, commitments to the request exactly as sent and the reply as received, the endpoint’s token counts, when the request started, its first token and when it completed, and a price of 0. It says nothing about which weights ran. Each self-served row of the audit record carries its whole receipt, and Verifying Plexus receipts shows how to check them offline.

Every request Katara sends your endpoint carries an X-Katara-Request-Id header, the same id the caller gets back as x-katara-request-id, so your gateway’s logs join the audit record. Katara sends no member identity to the endpoint; the audit record names the member.

Your endpoint is not free to run, and a department may want to see what its use of it is worth. A rate card sets your organization’s own price per model for the replies its Plexus serves. The price is recorded on each reply as its shadow cost and never collected: it reaches no credits, wallet or chain.

Each model is priced one of two ways, or not at all:

  • tokens: dollars per million input and output tokens, with an optional cached price for cached input that defaults to the input price and may not exceed it.
  • gpu_hour: a gpu_hour_price and the tokens_per_gpu_hour the hardware delivers, which Katara turns into one price for every token.
  • none: takes the price away. Replies after that are recorded at 0.

Rates are keyed by your model names. Write a model’s rate with putRateCard / put_rate_card and read them all with listRateCards / list_rate_cards; prices are dollar strings with up to nine decimals. Owners and administrators set them, signed in. Each model’s rate has a version, and a write names the version it replaces. The rate is copied onto every reply it prices, so a later change never alters a month already recorded. An environment can price up to 200 models.

Shadow cost shows up in three places: it counts against spend limits, apart from real spend; statements list it per team, project, key and member; and the audit record’s usage rows carry it. A fallback reply carries no shadow cost: it has a real charge.

A program that pays per request with x402 and no key belongs to no organization, so its requests are served as anyone’s. Register its wallet and they run on your Plexus instead:

  1. Open Plexus → Payer Wallets, choose Register Payer Wallet and enter the wallet’s address. Choose Get Message to Sign.
  2. Sign the message with that wallet’s own key as a personal message. The portal shows a Foundry cast wallet sign command for it. The message can be used once, within ten minutes.
  3. Paste the signature and choose Register Wallet.

A wallet is registered for one network, the environment’s, and to one organization. Registering it a second time is refused with 409 payer_already_registered, or payer_registered_elsewhere when another organization holds it. A wrong signature is 403 payer_signature_invalid, and an expired or used message 404 payer_challenge_unavailable.

The program changes nothing: it gets the usual 402 challenge and signs the usual authorization. When your endpoint serves the request, the payment response reports an amount of 0 and the authorization is never used. When it cannot, a fallback Plexus sends the request to what the challenge quoted, charged as quoted; a strict one refuses it with 503 no_capacity. Revoke ends the registration, and the wallet’s requests are served as anyone’s again.

When no model of an endpoint has served for five minutes, its breaker resting or its light check failing, owners and administrators get the notification An endpoint is not responding, once per outage, and An endpoint is back when it serves again.

StrictFallback
Chat and API requestsRefused at once, 503 no_capacity naming the PlexusAnswered by Katara’s own models, charged as usual
Agent run stepsThe run ends failed with reason provider_unavailable. Nothing is charged for the attempt; start the run again when the endpoint is backThe run continues on Katara’s own models, charged as usual. The run records it and owners and administrators are told Requests went to Katara’s models

A run is not paused to wait for the endpoint.

A model that passes tool calls, JSON mode and a context of at least 32,768 tokens is offered to agents in its environment under its name. listAgentModels / list_agent_models lists it beside Katara’s own models; pin it in the agent’s model_policy as you would any model (Define, test and inspect an agent). Its tools, structured output and pictures come from the check. A run on it holds nothing for inference.

An agent defined against a model that later stops passing tool calls is not admitted until the model passes again. Pictures in a run go to your model when it passed vision; otherwise the pictures setting applies. Models of another organization are never listed and cannot be selected, and Katara Community serves no agent runs.

A Test environment’s endpoints serve its kat_test_ keys and its agents’ Test Compute, on the Test gateway; Live never serves Test or the reverse. Payer wallets registered in Test pay in test USDC. Self-served replies cost nothing in Test as in Live. In Test, a step the Plexus cannot serve ends the run with provider_unavailable in both modes, so a Test run never reports a simulated reply as if your endpoint had answered. A Test environment with no endpoint behaves as it does without Plexus.

The Plexus routes are in the product API reference. Both SDKs have them under client.plexus:

OperationTypeScriptPython
Read and set the organization name for modelsgetNamespace, setNamespaceget_namespace, set_namespace
List and read endpointslistEndpoints, getEndpointlist_endpoints, get_endpoint
Connect an endpointcreateEndpointcreate_endpoint
Change its URL, certificate settings or modelsupdateEndpointupdate_endpoint
Replace its credentialsrotateCredentialrotate_credential
Remove itremoveEndpointremove_endpoint
Ask for a check and read the resultsrequestCheck, listChecksrequest_check, list_checks
Read and write the policygetPolicy, putPolicyget_policy, put_policy
Register a payer walletissuePayerChallenge, then registerPayerWalletissue_payer_challenge, then register_payer_wallet
List and revoke payer walletslistPayerWallets, revokePayerWalletlist_payer_wallets, revoke_payer_wallet
Read and write rate cardslistRateCards, putRateCardlist_rate_cards, put_rate_card
Ask for, read and list reservationsrequestReservation, getReservation, listReservationsrequest_reservation, get_reservation, list_reservations
Approve or deny, withdraw or revokedecideReservation, endReservationdecide_reservation, end_reservation

An endpoint update names the expected_version it replaces, and a stale one is 409 conflict. Connecting before the organization name for models is set is 409 plexus_namespace_required; a name already taken is 409 plexus_model_name_taken, and a namespace taken elsewhere 409 plexus_namespace_taken. An endpoint needs a bearer key, a client certificate, or both.

Lists page 1 to 100 at a time, 25 by default; pass next_cursor back as after. Reads need org:read. Endpoints, the namespace, the policy, payer wallets and rate cards change only with org:plexus:write, which owners and administrators hold, and a person’s session; reservations follow the rules above. In every case the SDK refuses an API key before it sends the request, and the server refuses one too. Each change takes an idempotency key.