> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prisminference.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Models

> Model IDs, context windows, and workload guidance for Prism inference.

Use the model ID in the `model` field of either supported API format. All
models are available through `api.prisminference.com`.

| Model             | Model ID          | Context | Use when                                                          |
| ----------------- | ----------------- | ------- | ----------------------------------------------------------------- |
| GLM-5.3           | `prism-glm53`     | 1M      | An agent needs long context, tool use, and multi-step coding.     |
| Kimi K3           | `prism-kimik3`    | 1M      | A task needs deep reasoning, vision, or a long conversation.      |
| Qwen              | `prism-qwen`      | 256K    | Inner-loop work benefits from a smaller, low-latency dense model. |
| MiniMax           | `prism-minimax`   | 1M      | Long agentic workflows need a mid-size mixture-of-experts model.  |
| DeepSeek-V4-Flash | `prism-dsv4flash` | 1M      | Coding and tool-use loops prioritize fast generation.             |

<h2 id="glm-53">
  GLM-5.3
</h2>

`prism-glm53` is the default model for coding agents. It is a 744B sparse
mixture-of-experts model with a 1M-token context window.

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "model": "prism-glm53",
  "messages": [
    { "role": "user", "content": "Review this repository-wide refactor: ..." }
  ]
}
```

<h2 id="kimi-k3">
  Kimi K3
</h2>

`prism-kimik3` is a 2.8T mixture-of-experts model with roughly 50B active
parameters and a 1M-token context window. Choose it for reasoning-heavy coding
and multimodal input.

<h2 id="qwen">
  Qwen
</h2>

`prism-qwen` is a 27B dense model with a 256K-token context window. Choose it
for short, frequent agent turns where latency matters more than maximum model
capacity.

## MiniMax

`prism-minimax` is a 230B mixture-of-experts model with a 1M-token context
window. It fits long tool traces and multi-step agent workflows.

<h2 id="deepseek-v4-flash">
  DeepSeek-V4-Flash
</h2>

`prism-dsv4flash` is the fast model in the public lineup. It has a 1M-token
context window and is intended for coding, reasoning, and tool use.

## Shared interface

The public models use the same request formats:

* OpenAI Chat Completions at `POST /v1/chat/completions`
* Anthropic Messages at `POST /v1/messages`
* Streaming in either format
* OpenAI function tools or Anthropic tool-use blocks
* JSON mode and JSON Schema structured output on Chat Completions
* Optional reasoning controls

<Tip>
  Start with `prism-glm53`. Move to a different model when a measured workload
  shows a clear need for lower latency, multimodal input, or a different
  reasoning profile.
</Tip>

## List available models

Use the Models API to read the catalog available to an authenticated key:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl "https://api.prisminference.com/v1/models" \
  -H "Authorization: Bearer $PRISM_API_KEY"
```

```json theme={"theme":{"light":"github-light","dark":"github-dark"}}
{
  "object": "list",
  "data": [
    {
      "id": "prism-glm53",
      "object": "model",
      "created": 1788926400,
      "owned_by": "prism"
    }
  ]
}
```

Retrieve one model by ID:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
curl "https://api.prisminference.com/v1/models/prism-glm53" \
  -H "Authorization: Bearer $PRISM_API_KEY"
```

The endpoint returns `404` when the model does not exist or is not available to
the API key. Use the list endpoint at runtime instead of assuming every key has
access to every model.
