Skip to main content

Your own model endpoint

Your agents can run on a model you host yourself: vLLM on your own GPUs, an inference gateway your IT team runs, or any server that speaks the OpenAI Chat Completions API. MeetLoyd sends each call to your server; the model, the weights and the hardware stay yours.

What you need​

  • A server that answers POST /v1/chat/completions and GET /v1/models the way the OpenAI API does. vLLM, SGLang, TGI, LiteLLM and most inference gateways do.
  • An HTTPS address MeetLoyd can reach from the internet. Addresses on a private network (10.x, 192.168.x, an internal DNS name) are refused, because our servers cannot reach inside your network.
  • An API key on the server, so that only MeetLoyd can call it. vLLM sets one with vllm serve <model> --api-key <key>. The key is optional, but an endpoint open to the internet without one can be used by anyone who finds it.
  • For agents that use tools: a model and server configuration that support tool calling. With vLLM, that is --enable-auto-tool-choice and the --tool-call-parser matching your model.
Running MeetLoyd on your own infrastructure?

On an on-premises installation the endpoint can sit on your private network, and your platform administrator can also serve models for every organisation on the installation. Ask them; their guide covers it.

Connect it​

  1. Go to Models → Providers & keys and click Add LLM.
  2. Choose Custom / Self-hosted.
  3. Enter the Endpoint URL, including /v1 — for example https://llm.example.com/v1.
  4. Enter the API key, or leave it blank if your server checks callers some other way (mutual TLS, a private link).
  5. Click Test connection & list models. MeetLoyd calls your server and lists the models it serves. If the test fails, the message says why: the address is unreachable, the key is refused, or the address belongs to a public provider (in which case add that provider instead — see below).
  6. Save.

The key is encrypted at rest and never shown again.

Approve the model, then use it​

A model on your endpoint is used only once you approve it — a model name that happens to match must never send your agents' traffic somewhere you did not choose.

  1. Go to Models → Approved models and add the model name exactly as the test listed it.
  2. Pick it as an agent's model, or as Loyd's model.

Model names that will not reach your endpoint​

MeetLoyd recognises model names by their family. A name that starts like a public provider's goes to that provider, not to your endpoint. Avoid names starting with claude-, gpt-, o1, o3, gemini-, mistral-, mixtral-, kimi-, moonshot-, grok-, deepseek, qwen, glm, llama-, or containing openai, anthropic, google, mistral, groq or vllm — and the exact name of a model already in MeetLoyd's catalogue.

If your model has such a name, serve it under another one. vLLM does this with --served-model-name, for example vllm serve meta-llama/Llama-3.3-70B-Instruct --served-model-name acme-llama-70b. Then approve acme-llama-70b.

A public provider's address goes in its own entry​

Do not paste a public provider's API address (OpenAI, Anthropic, Mistral and so on) into Custom / Self-hosted. Your agents would never use that key, because their model names belong to the provider's own entry. The test detects this and offers to switch you to the right provider.

Billing and data​

MeetLoyd does not bill the inference on your endpoint: you run the model, you pay for it. Prompts and answers travel between MeetLoyd and your server only; what your server keeps is up to its configuration.

Troubleshooting​

SymptomCause
The test cannot reach the endpointThe address is not reachable from the internet, or it is a private address.
The test answers 401The API key is missing or does not match the server's.
The model is listed but agents use another providerThe model name starts like a public provider's model. Rename it on the server.
The model is listed but agents never use itIt is not on Approved models, or not picked as the agent's model.
Agents answer without using their toolsThe server does not have tool calling enabled for this model.