# Models

> AI tools to reach their models through the realm's model gateway as the signed-in user, with short-lived credentials, and what they used counted.

Today each AI tool on a device holds its own model key and talks to its provider directly. Model access will route
those calls through a model gateway instead, as the user who signed in on the device, with short-lived credentials
in place of long-lived keys, and with every request's tokens and cost counted by user, device and tool.

Everything in this area is planned.

<CardGrid>
  <LinkCard title="What's next for models" description="Each planned capability, and what to use today." href="./whats-next/" />
  <LinkCard title="Discovery" description="The AI tools on each device today, and the models a running Ollama holds." href="../discovery/" />
</CardGrid>

## Coming next

- [Runtime credentials](./whats-next/#runtime-credentials): short-lived credentials in place of model keys.
- [Local model proxy](./whats-next/#local-model-proxy): the gateway credential added for tools that can't hold one.
- [Gateway tokens](./whats-next/#gateway-tokens): signed tokens naming the user, device and tool.
- [One gateway for every provider](./whats-next/#one-gateway-for-every-provider), with
  [model failover](./whats-next/#model-failover).
- [Usage and cost](./whats-next/#usage-and-cost), [activity events](./whats-next/#activity-events), and
  [budgets and spend limits](./whats-next/#budgets-and-spend-limits).
