Ingot
a Go inference runtime for supported model snapshots
Beside Cinder's furnace
“Choose the model, then measure the load.” Ingot runs a supported model snapshot and exposes a loopback HTTP API, reachable only from the same machine. It is also an engine embedded by Anvil and, in the appropriate build, Citadel.
Worked example: one local chat request
With a compatible build installed, configure a supported snapshot, model_id = workshop, and a context budget in Ingot's configuration file. For a text-only snapshot, set vision = false. The default listener is 127.0.0.1:8484.
After starting Ingot and confirming that /v1/models lists workshop, send:
curl http://127.0.0.1:8484/v1/chat/completions \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"model": "workshop",
"messages": [{
"role": "user",
"content": "Explain a cache miss in two sentences."
}],
"max_tokens": 100
}
JSON
The result is a chat-completion response; add "stream":true to request streamed events. This is an illustrative request, not a measured quality or speed result. Bailey can point at the same local /v1 endpoint.
Runtime, hardware and model scope
The inference build targets Apple silicon macOS or Linux with NVIDIA CUDA. You need model weights (the saved learned parameters), tokenizer/configuration files and enough memory for the weights and the requested context and working buffers.
The Go program uses native GPU libraries. Apple builds link MLX and its Metal resources; NVIDIA builds require the native CUDA stack and compatible drivers. Source builds need Go, a C/C++ toolchain and the native dependencies. The container build additionally needs Docker and NVIDIA GPU access. “No Python server” does not mean a dependency-free executable or bundled model weights.
Model-family detection includes Gemma 4, dense Qwen3 and Qwen3.5/3.6 variants. Compatibility depends on the snapshot layout, quantization (how weights are stored at reduced precision) and enabled features. The loader reports unsupported combinations. Sizing a model request explains the resource boundary.
Boundaries that matter
The standalone listener accepts literal loopback addresses and has no API-key authentication. Use a controlled gateway such as Citadel for other machines. Images require a compatible vision model and enabled vision; remote image URLs are not fetched. Tool calls are structured requests for the client to execute, not commands executed by Ingot.
By default, max_batch = 1: Ingot serves one request at a time; others wait. On a batching-capable chat backend, max_batch = N lets up to N requests decode together. max_batch = auto chooses a count at startup from what fits. Laya, embedders, rerankers and speech models do not batch.
The fit check charges cache and fixed state per row (request slot), including prompt-cache snapshots. A fixed batch size that does not fit is refused at startup. Prompt caching and GPU splitting are also family-dependent. None promises a faster individual reply. Cinder follows requests through the scheduler.
One engine, several roles
A small summarizer and a larger work model can both run through Ingot. Their coordination belongs to the surrounding app: Bailey assembles conversation context, Anvil runs work passes, and Citadel offers auto coordination. Ingot supplies inference; those callers decide what to send and who executes tools.
Availability and further reading
Ingot is under development. Continue through the workshop guides, why no Python server, and the local/shared request map.
