Local-first

Local LLMs for business: open models on infrastructure you control

In short

A local LLM is an open language model running on machines you control. AISIA puts these models, served by Ollama, behind an OpenAI-compatible API. Routing tries local models first; the cloud is used only when a provider is configured and allowed, and any fallback is shown in the response.

This page explains how AISIA applies local-first routing, the hardware it has been tested on, and what remains outside its scope.

Discuss your local project

Why run an LLM locally

Running a model on your own infrastructure lets you decide where prompts and answers are processed, keep working when an external provider is unavailable, and avoid a per-request cost to a cloud service.

Local inference has costs too: hardware, energy, operations and model updates. Open models that fit on modest hardware answer more slowly, and their quality depends on the task. The right choice is measured on your own use cases.

How AISIA applies local-first

AISIA routing is local-first: a request goes to local models first. A confidence threshold, 0.75 by default, decides whether the local answer is good enough. The cloud stays an explicit ceiling: it is used only when a provider is configured with credentials and allowed for your organisation.

A model requested by name is never silently replaced. When a fallback happens, the model actually used appears in the response and in the traces.

  • Three Ollama tiers: GPU (Jetson), edge (Raspberry Pi) and ring.
  • FAST, QUALITY and CODE quality-of-service lanes: each local answer reports the lane and tier it ran on.
  • Per-organisation policy: local_first or cloud_first.
  • A local_only option on comparison and debate: the request fails rather than going to the cloud.

Hardware experience: a lab cluster

AISIA currently runs on lab infrastructure, not on a qualified commercial production environment. This cluster is a test bench and gives real constraints, reported as such.

Hardware profiles of the AISIA lab cluster (Specifications § 1)
TierHardwareObserved constraint
EdgeRaspberry Pi ARM64, 8 GB RAMNo GPGPU compute: small models only, limited throughput
GPUNVIDIA Jetson Xavier AGXOne resident model at a time; Ollama version pinned for CUDA compatibility
Workstationx86-64 workstation with a GPU7B chat fallback model, after the GPU, edge and ring tiers

Ollama versions are pinned per tier and the number of enabled local models changes over time: check the status page or the API rather than a figure frozen in this text.

Where to run your models

The same API contract applies in three places of execution.

  • SaaS: shared instance operated by AISIA, with logical isolation per organisation.
  • BaaS: dedicated instance in the customer's cloud tenant, separate from the SaaS.
  • PaaS: deployment in the customer's datacenter, with no outbound network if the contract says so; the customer operates it, AISIA provides the licence and support.

Current limits

  • Ollama is the only qualified local engine. Adapters for vLLM, llama.cpp and TGI exist in the code but are not qualified.
  • Models installed on the current local hardware are capped at 14 billion parameters; larger models remain reachable through configured cloud providers.
  • No page promises fully local execution: the public API itself exposes a flag that says it is not.
  • The product scope is still open and no certification is claimed.

Frequently asked questions

Can I use my local models with the OpenAI SDK?

Yes. AISIA exposes /v1/chat/completions in the OpenAI format: change the base URL and the key, then request a named local model or automatic routing.

Does my data go to the cloud?

Not by default in local-first mode when the local answer is good enough. The cloud is used only when a provider is configured and allowed for your organisation, and the model used is always shown. The local_only option rejects the request instead of leaving the local tier.

Which inference engine does AISIA use?

Ollama, on three tiers (GPU, edge, ring). It is the only qualified local engine today.

How many local models are available?

The number changes with the catalogue and activations. It is exposed by the API; a catalogued model is not necessarily enabled or allowed for your account.

Sources

Public facts checked on the dates shown. A vendor page can change: check it before you decide.

Related pages

Discuss your local project