---
title: "Choose a model"
description: "Compare TIR Token Factory models by context window, capabilities, and price per million tokens, and copy the model ID your requests send."
content_type: "how-to"
product: "token-factory"
platform: "TIR"
url: "/tir/token-factory/how-to/choose-a-model/"
topic: ["models"]
---

# Choose a model

<!-- cspell:ignore gemma -->

Find a model that fits your task and your budget in Token Factory's model list, then copy the model
ID to use in your requests. Every model on the list works with the same API key and the same base
URL, so you can switch models later by changing one value in your code.

## Compare models on the list

In TIR, open a project. In the side menu, under **INFERENCE**, select **Token Factory**. It lists
the open-weight models you can call. For each model, it shows:

- **Model**: the model's name and its model ID.
- **Context**: the model's context window, which is how many tokens of prompt and conversation it
  can read in one request.
- **Max Output**: the most tokens the model can return in one reply.
- **Input/Output Price per 1M tokens**: the price for every million tokens the model reads and
  writes, in the currency of the account that owns the project. Cached Input is the price of input
  tokens served from the prompt cache, and it is never more than the input price; the model's page
  lists it as **Cached input cost / 1M**.

To narrow the list, type part of a name, a model ID, or a creator in the search box, or pick one
creator in **Creator**. The list opens on **Sort: price**, with the highest input price first. To
find models that read long documents or long conversations, switch to **Sort: context window**,
which puts the largest context window first.

## Check what the model can do

Select a model to open its page. Tags on the page show what the model supports:

- **Vision**: it reads images as well as text.
- **Tools**: it can call functions you describe in the request.
- **JSON**: it can return output that follows a JSON schema.
- **Reasoning**: it works through a problem before it answers.

A model with none of these shows **Text only**. A tag such as **BF16** or **FP8** shows the precision
its weights are served at, when that is known. **Zero retention** confirms that your prompts and the
model's outputs are not stored; see [Tokens and
billing](/tir/token-factory/concepts/tokens-and-billing/#zero-data-retention).

The page also lists the model's **Creator**, **Context**, **Max output**, and its three prices per
million tokens: **Input cost / 1M**, **Cached input cost / 1M**, and **Output cost / 1M**. To compare
it with another model, select the model's name at the top of the page and pick another from the
list.

## Copy the model ID

The model ID, such as `google/gemma-4-31b-it`, is what you send as the model in each request. Select
the copy button next to it, and send the full ID, including the creator before the slash.

**Call this model** on the same page shows a working request in Python, Node, and cURL, with this
model ID and the base URL already filled in. To create the API key it needs, see [Create an API
key](/tir/token-factory/how-to/create-an-api-key/).

For how the three prices add up to the cost of a request, see [Tokens and
billing](/tir/token-factory/concepts/tokens-and-billing/). If the model list shows "Token Factory
pricing is not available right now. Please try again later.", see [Troubleshooting TIR Token
Factory](/tir/token-factory/troubleshooting/token-factory/#token-factory-pricing-is-not-available-right-now).
