# Choosing a model

> Which Inola model to call for which task, when not to use each one, and how the models work together in one system, with links to the page of each model.

Every Inola model is called through the same endpoint, `POST /v1/infer`; the model is the `model` field of the request.
This page helps to pick the one for your task. Each model has its own page with a request you can run.

## By task

| your task | model | what you get back |
|---|---|---|
| Decide something about a document: is it a refund request, which team should handle it, how urgent is it | [Inola Decider](https://inola.ai/docs/models/decider.md) | for each question you ask, an answer with a probability: yes or no, one of your options, or a level on your scale |
| Find out whether a text that your AI system is about to read carries an instruction aimed at the model | [Inola Cordon](https://inola.ai/docs/models/cordon.md) | a verdict and a score |
| Ask a question that has no list of options and get the answer as a quote from the document | [Inola Resolver](https://inola.ai/docs/models/resolver.md) (closed access) | a quote from the document, or "unsure"; it also does everything Inola Decider does |

## When not to use each model

- **Inola Decider** needs a document and a question. It does not write free text and it does not search a collection of
  documents. If the answer is a quote rather than a choice, that is Inola Resolver's job.
- **Inola Cordon**, the indirect prompt injection detector, judges the content your system reads: pages, emails, retrieved passages, tool outputs. It
  is not built to judge the prompt of your own user, and it does not clean the text: it tells you what it found, and
  you decide what to do with the document.
- **Inola Resolver** is in closed access. It is opened to teams on request; see [Inola Resolver](https://inola.ai/docs/models/resolver.md) for how to ask for early access.

## How the models work together

- **A document comes from outside, and an AI reads it.** Check it with Inola Cordon first, and pass it on only
  if you are satisfied. [Protect an agent](https://inola.ai/docs/guides/protect-an-agent.md) and
  [Protect a RAG pipeline](https://inola.ai/docs/guides/protect-a-rag-pipeline.md) show where the check goes.
- **A document needs a decision.** Ask Inola Decider several questions in one request: the document is read and billed
  once, not once per question.
- **You are not sure the document says it.** Set `allow_unsure` on a question: the answer then carries the probability
  of "don't know" next to the probabilities of the options. See the [API reference](https://inola.ai/docs/reference/api.md).
- **Many documents, no hurry.** Send a file through the [Batch API](https://inola.ai/docs/guides/batches.md) instead of single requests.

## Before you build on it

- `GET /v1/models` lists the models your key can call, with the versions and how each one is served in your region.
- A model may be served only through batches, or only in real time, in your region; a model that is not running at the
  moment may start on the first request. See [Models and versions](https://inola.ai/docs/concepts/models-and-versions.md) for the
  timeouts to allow.
- Pin a version when your system depends on exact answers; the same page says how.
- How the tokens of a request are counted and billed: [Tokens and billing](https://inola.ai/docs/concepts/tokens-and-billing.md).
