Eldric Docs 5.0.198 ← eldric.ai
Inference

Inference

Overview · Users, administrators and developers · Applies to 5.0.196

Eldric runs large language models (LLMs) itself, with no Ollama, vLLM or other runtime installed. A node serves open-weight models in GGUF form, for example Qwen, Llama 3, Mistral, Gemma 4, gpt-oss and Hermes-style models, whose tool-call formats Eldric recognises. Eldric ships no models: an administrator adds the files. The same API also reaches cloud LLMs through your own provider accounts. This section says what is served, where it runs and what each kind of model can do in the shipped release.

How a chat request reaches a model A client sends /v1/chat/completions to the edge, which checks the caller and passes the request on; the edge serves no model. The router picks the node for the model. A local model runs in the inference module of the node that holds it, with llama.cpp on the graphics card or processor. A cloud model goes to the node running the cloud module, which holds the provider key and calls the provider. The answer streams back the same way. Client chat, app, SDK or curl: /v1/chat/completions Edge checks the caller, passes the request on; serves no model Router picks the node: a model on its own node first, else the least loaded Inference node inference module, llama.cpp graphics card or processor port 8880 Cloud node cloud module with the provider keys calls the provider local model cloud model
A chat request from the client to the model, for a local model and for a cloud model.

Where models run

Local models run in the inference module, inside the Eldric service on port 8880 of every node that has the inference role, which a node has by default. The engine is llama.cpp, built into Eldric, and it reads GGUF files.

  • CPU package (eldric-aios): runs models on the processor. On x86_64 it needs AVX2.
  • GPU package (eldric-aios-cuda): runs models on an NVIDIA card and falls back to the processor without one.
  • A build on a Mac uses Metal. We do not offer a macOS server package; the macOS download is the app and the command-line client.

GET /api/v1/inference/engine on a node reports what it has: engine, cuda, metal, native_ready and, when the engine cannot run, native_unavailable_reason, plus the model directory and the models loaded. Up to 5.0.181 the GPU package also carried a separate inference daemon, eldric-inferenced; it is no longer installed.

Cloud models are served by the cloud module on a node that has it, with the provider keys an administrator entered there (Cloud provider keys). Which node answers which model, and what happens when one is down, is on Models across the cluster.

The API

RouteWhat it does
POST /v1/chat/completionsChat, OpenAI-compatible. With "stream": true the answer arrives as server-sent events.
POST /v1/embeddingsText to vectors (Embeddings).
GET /v1/modelsEvery model the cluster offers, local and cloud.

The same routes answer for local and cloud models. For a local model the request is handed to the inference module inside the service; for a cloud model the cloud module forwards it to the provider. Clients reach them through the edge with an API key (API reference).

What the model list tells you

A local model's row in /v1/models carries:

FieldMeaning
idThe file name without .gguf.
loaded, serving_stateWhether it is in memory now; ok when loaded, unknown otherwise.
kind, supports_chatWhat the model is for: chat, embedding or rerank, and whether it can chat (from 5.0.196).
context_lengthThe context it gets on this node (Context length).
tool_format, tool_call_supportedThe tool format its template teaches, or none (Tool calling).
vision_supportedWhether a projector is paired with it (Vision).
placement, vram_bytesFor a loaded model: gpu, moe_experts_cpu:<n> or cpu, and the planned graphics memory (Mixture-of-experts models).
pinnedNever unloaded to make room.

The row does not say whether a model is for chat or for embeddings; see Embeddings.

The pages in this section

What Eldric knows and remembers, as opposed to which model answers, is under Knowledge and memory.