Integration

Ollama for business: identity, quotas and routing in front of your local models

In short

Ollama serves open models on your machines, through a local API that is partly OpenAI-compatible. AISIA sits in front of it: authentication by account or organisation key, roles, quotas, choice of model and serving lane, a trace for every call, and the cloud only when it is configured and visible in the response.

Ollama is the only local inference engine qualified in AISIA. The vLLM, llama.cpp and TGI adapters exist in the code but are not qualified.

Talk about your local deployment

What Ollama does on its own

Ollama downloads, loads and serves open models. Its documentation describes OpenAI-compatible endpoints, including /v1/chat/completions, /v1/models and /v1/embeddings. For a local server, it states that the client must send an API key value, but that Ollama ignores it.

In other words, an Ollama server shared on a network does not, by itself, tell users or teams apart. That is what the gateway adds.

What AISIA adds in front of Ollama

Control layer added by AISIA (platform code, 2026-11-29)
NeedAISIA mechanism
IdentityAccounts, OIDC (Google, Microsoft, Okta), ak_live_ organisation keys
PermissionsRoles per organisation; list of allowed providers and models
Cost and usageToken quotas per organisation, 429 response when exceeded
Model choicemodel=local/<model> to impose a local model, or automatic routing
Serving lanesFAST, QUALITY, CODE, REASON, RAG and CEILING lanes; the lane and tier used come back with the response
TraceabilityTrace identifier, model actually served, per-organisation log
Cloud useExplicit CEILING lane, never silent, and only when a provider is configured

Calling a local model through AISIA

The local/ prefix forces local execution: if the model is unavailable, the API returns an error instead of calling a cloud provider. The OpenAI-format response also carries an aisia block that states the serving lane and tier.

curl https://api.aisia.fr/v1/chat/completions \
  -H "Authorization: Bearer $AISIA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"local/llama3.2:1b","messages":[{"role":"user","content":"Hello"}]}'

A local model may answer 503 with a Retry-After header while it is loading into memory: only one model stays resident per tier.

How AISIA runs Ollama on its own infrastructure

The AISIA lab infrastructure serves Ollama on three tiers: a GPU tier (NVIDIA Jetson Xavier AGX), an edge tier on 8 GB ARM64 Raspberry Pi boards with no GPU compute, and a ring tier on a CPU server. Versions are pinned per tier and read from the platform facts: 0.40.16 for edge and ring, 0.32.1 for the GPU tier as of 2026-11-29.

This dual pinning is deliberate: the GPU tier stays on a version validated for its CUDA stack until a newer version has passed a trial on that hardware. The number of enabled local models changes over time; read it from the API, not from this page.

What about Open WebUI?

Open WebUI is a self-hosted interface that connects to local or third-party models. Its enterprise page mentions integration with LDAP, Active Directory and SSO providers, and on-premise, private cloud or air-gapped deployments; white-label use requires an enterprise licence.

The two approaches can be combined: Open WebUI brings a chat interface, AISIA a governed API and multi-model routing. The AISIA documentation describes connecting Open WebUI to https://api.aisia.fr/v1 like any OpenAI-compatible API; AISIA has not tested that connection in production.

Frequently asked questions

Can I plug my own Ollama server into AISIA?

In a BaaS or PaaS instance, local models are declared in the platform registry (the local_models.yaml file or the aisia_local_model Terraform resource) with their endpoint. On the shared SaaS offer, the local models are those of the AISIA infrastructure.

Can my requests go to the cloud without me knowing?

No. With local/<model>, no cloud fallback happens. With automatic routing, cloud use goes through an explicit lane, and the provider that served the request appears in the response and in the trace.

Are vLLM or llama.cpp supported?

Adapters exist in the code, but only Ollama is qualified today. The other engines should not be treated as operational until they are qualified.

Which Ollama versions are used?

As of 2026-11-29: 0.40.16 on the edge and ring tiers, 0.32.1 on the GPU tier, according to the platform facts. These versions change with releases.

Sources

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

Related pages

Talk about your local deployment