Local models

Reached from the left nav "Local models" (route /foundry-local). Hetu runs open-source models locally by driving Microsoft's official Foundry Local CLI: browse the catalog, download, load, and wire models straight into Hetu chat and the knowledge base. Hetu bundles no model runtime of its own.

What it is

Foundry Local is Microsoft's local inference runtime, exposing an OpenAI-compatible HTTP service. Hetu wraps it in a management page:

Install the CLI

On first open, if the foundry command is not detected, the whole page shows install guidance instead of an error. To install (requires Windows 10 / 11):

winget install Microsoft.FoundryLocal

Refresh the page afterwards and Hetu picks it up automatically. On its first run the CLI downloads and registers the execution providers available on your machine (CPU / WebGPU / AMD MIGraphX, etc.).

Runtime status

ItemNotes
Service controlsStart / stop / restart the local service. The port is assigned dynamically by the CLI and Hetu asks for it every time rather than hardcoding it
EndpointThe OpenAI-compatible service root, e.g. http://127.0.0.1:62645; the provider factory appends /v1
CLI versionThe installed foundry version
Loaded / downloadedModels resident in memory / models cached locally
CLI warningsProblems the CLI reports itself (such as a failed execution-provider registration) are surfaced verbatim, not swallowed

Hardware

The status card lists your CPU model, detected GPUs / NPUs, available memory and free disk space. What you can run — and which device variant to pick — depends on this: downloading a CUDA variant on a machine without an NVIDIA GPU will not work.

Model cache path

Model catalog

The catalog lists one row per device variant of each model (CPU / GPU / NPU), showing the execution provider, size and license. Filter by task, device and state, search by keyword, and sort by size or name; downloaded models always sort first.

Row actions

ActionNotes
DownloadNeeds network access the first time; the progress bar is parsed live from the CLI's output
Load / unloadBring a model into memory or release it; a model must be loaded before chat can use it
Wire into HetuRegisters the variant as a chat model under the local provider so you can pick it in chat
DeleteRemoves the local files; you will need to download again

When loading fails

The most common cause is that the variant needs an execution provider this machine lacks. For example, AMD GPU machines have no CUDA, so a CUDA variant will always fail to load. The CLI's raw error is passed through — switch to another device variant of the same model (usually CPU or WebGPU) and it will work. Separately, a few catalog entries have metadata that disagrees with the actual binary (a model labelled CPU that is really a CUDA model); that is an upstream catalog issue and Hetu cannot correct it for you.

Wiring into Hetu models

Platform support

Data and API