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

# Models & Pricing

> Explore every model on the Prem API platform — confidential inference and Zero Data Retention — with prices, in one place.

This page shows the prices for all available models on the Prem API platform. All prices are pay-as-you-go, by usage.

Prem serves two inference modes:

* **Confidential inference** — the local proxy encrypts the inference end-to-end. See the [Confidential Proxy](/confidential-proxy) guide.
* **Zero Data Retention (ZDR)** — the gateway at `https://gateway.prem.io` serves the inference without state. You need no client KEK and no local proxy. See the [ZDR overview](/zdr/overview).

The tables that follow list the top models for each mode. The catalog changes with your API key and with the inference mode. Use `GET /rvenc/models` to get the confidential catalog and `GET /openai/models` to get the ZDR catalog.

## Confidential models

These are the top models available for confidential inference. Prices are per 1M tokens and match the `price_config` field of the models endpoint.

| Model                                                                                                                           | API ID                    | Type                | Modalities         | Pricing                            |
| :------------------------------------------------------------------------------------------------------------------------------ | :------------------------ | :------------------ | :----------------- | :--------------------------------- |
| **Qwen 3.8** · 27B ([weights](https://huggingface.co/Qwen/Qwen3.8-27B))                                                         | `qwen38-27b`              | Chat                | Text, Image, Video | \$0.30 in · \$2.40 out / 1M tokens |
| **DeepGram General Nova 3**                                                                                                     | `deepgram/general-nova-3` | Audio Transcription | Audio              | \$0.05 / audio minute              |
| **DeepSeek v4 Flash (Abliterated)** · 304B ([weights](https://huggingface.co/prem-research/DeepSeek-V4-Flash-0731-abliterated)) | `deepseek-v4-flash`       | Chat                | Text               | \$0.16 in · \$0.32 out / 1M tokens |

* **Qwen 3.8**: A sparse Mixture-of-Experts architecture. It gives frontier-level intelligence with low latency.
* **DeepGram General Nova 3**: A general-purpose ASR model with the highest performance. Use it for meetings, captions, and multilingual audio.
* **DeepSeek v4 Flash (Abliterated)**: A fast, long-context model for coding, agentic workflows, and complex reasoning, with no built-in content filters, giving you an unrestricted model for building and experimentation.

<div className="flex justify-center"><span className="not-prose"><a href="https://dashboard.prem.io" target="_blank" className="transition-opacity hover:opacity-70"><Badge color="blue">Try in Playground</Badge></a></span></div>

## ZDR models

These are the top models available for Zero Data Retention inference. Prices are per 1M tokens and match the `price_config` field of the models endpoint.

| Model                  | API ID              | Type | Modalities | Pricing                             | Region     |
| :--------------------- | :------------------ | :--- | :--------- | :---------------------------------- | :--------- |
| **Qwen 3.8 2.4T A95B** | `qwen38-24t`        | Chat | Text       | \$2.50 in · \$6.00 out / 1M tokens  | `eu`       |
| **DeepSeek V4 Pro**    | `deepseek-v4-pro`   | Chat | Text       | \$1.75 in · \$3.50 out / 1M tokens  | `eu`, `uk` |
| **GLM 5.2**            | `glm-5.2`           | Chat | Text       | \$1.50 in · \$4.50 out / 1M tokens  | `eu`, `uk` |
| **Kimi K3**            | `kimi-k3`           | Chat | Text       | \$3.50 in · \$15.25 out / 1M tokens | `eu`       |
| **DeepSeek V4 Flash**  | `deepseek-v4-flash` | Chat | Text       | \$0.25 in · \$0.30 out / 1M tokens  | `eu`       |

<div className="flex justify-center"><span className="not-prose"><a href="https://dashboard.prem.io" target="_blank" className="transition-opacity hover:opacity-70"><Badge color="blue">Try in Playground</Badge></a></span></div>

<Note>
  The prices above match the `price_config` field of the models endpoint. The `regions` field of `GET /openai/models` gives the current region of each model.
</Note>

<Info>
  You get access to all models by an OpenAI-compatible API. See the [Quickstart](/quickstart) guide to start.
</Info>

## Get the models your key can use

The catalog changes with your API key and with the inference mode. A model that is available for ZDR is not always available for confidential inference. The opposite is also true. Call the models endpoint with the same API key that you use for chat requests.

* `GET /rvenc/models` returns the confidential catalog.
* `GET /openai/models` returns the ZDR catalog.

<CodeGroup>
  ```bash curl theme={"system"}
  curl https://gateway.prem.io/rvenc/models \
    -H "Authorization: Bearer $PREM_API_KEY"
  ```

  ```bash curl-zdr theme={"system"}
  curl https://gateway.prem.io/openai/models \
    -H "Authorization: Bearer $PREM_API_KEY"
  ```

  ```python Python theme={"system"}
  import os
  from openai import OpenAI

  client = OpenAI(
      api_key=os.environ["PREM_API_KEY"],
      base_url="https://gateway.prem.io/openai",
  )

  for model in client.models.list():
      print(model.id, model.type, model.regions)
  ```

  ```typescript TypeScript theme={"system"}
  import OpenAI from "openai";

  const client = new OpenAI({
    apiKey: process.env.PREM_API_KEY!,
    baseURL: "https://gateway.prem.io/openai",
  });

  for await (const model of client.models.list()) {
    console.log(model.id);
  }
  ```
</CodeGroup>

<Note>
  The `GET /openai/models` endpoint uses the OpenAI models list format. The standard `client.models.list()` method of an OpenAI SDK reads it. Prem adds more fields to each entry, and an OpenAI SDK ignores them.
</Note>

Filter the catalog by the type of the model:

```bash theme={"system"}
curl "https://gateway.prem.io/openai/models?type=CHAT" \
  -H "Authorization: Bearer $PREM_API_KEY"
```

The `type` parameter accepts these values: `CHAT` and `AUDIO_TRANSCRIPTION`.

Send the exact model ID from the response. Do not add a provider prefix or a slash.

### The response fields

The response has `"object": "list"` and an array in `data`. Each entry has these fields:

| Field              | Description                                                |
| ------------------ | ---------------------------------------------------------- |
| `id`               | The model ID to send in a chat request                     |
| `object`           | Always `model`                                             |
| `created`          | The Unix timestamp of the moment that Prem added the model |
| `owned_by`         | The owner of the model                                     |
| `name`             | The display name of the model                              |
| `description`      | A short description of the model                           |
| `type`             | `CHAT` or `AUDIO_TRANSCRIPTION`                            |
| `input_modalities` | The input types that the model accepts                     |
| `price_config`     | The price for each mode and region                         |
| `regions`          | The regions that give this model for the endpoint's mode   |
| `usage_mode`       | The method that the platform uses to meter the model       |

The first four fields are the standard OpenAI fields. The other fields are Prem fields, and an OpenAI SDK ignores them.

## Regions

The `regions` field shows the regions that give the model. The endpoint that you call decides the mode:

* `GET /openai/models` returns the ZDR catalog. The `regions` field shows the ZDR regions.
* `GET /rvenc/models` returns the confidential catalog. The `regions` field shows the confidential regions.

```json theme={"system"}
{
  "regions": ["eu", "uk"]
}
```

The ZDR partners operate in the European Union (`eu`), Switzerland (`ch`), and the United Kingdom (`uk`). The regions for one model can be different from the regions for another model. The `regions` field is the current source of truth for each model.

## Mode errors

The API rejects a model that the mode you chose does not give. The response has a 400 status and one of these messages:

| Message                                                      | Cause                                                                                          |
| ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------- |
| `Model {model} is available for encrypted inference only.`   | You sent a confidential-only model to `/openai/chat/completions`. Use the confidential routes. |
| `Model {model} is not available for confidential inference.` | You sent a ZDR-only model to a confidential route. Use `/openai/chat/completions`.             |

Call the models endpoint again after you change the API key. Then remove each model that the new key does not return.

## Deployment Strategies

| Feature              | Explorer          | Developer           | Enterprise           |
| -------------------- | ----------------- | ------------------- | -------------------- |
| **Rate Limit**       | 10 req / sec      | Scalable            | Dedicated            |
| **API Deployment**   | Multi-Tenant APIs | Dedicated APIs      | Dedicated APIs       |
| **Model Deployment** | Curated Models    | Custom Model Choice | Custom Model Choice  |
| **Infrastructure**   | Shared Instances  | Dedicated Instances | air-gapped / on-prem |

<Tip>
  See the [Rate Limits](/rate-limits) page for the rate limits of each tier. The page includes token limits (TPM), audio processing limits, and concurrent request limits.
</Tip>

<Tip>
  Prem serves all APIs in agreement with its security model. For more information, see the [Security Model](/security-model) page.
</Tip>

## Get Started

<CardGroup cols={3}>
  <Card title="Create Account" icon="user-plus" href="https://dashboard.prem.io" arrow="true">
    Register. Then start to use the Confidential APIs.
  </Card>

  <Card title="Quickstart" icon="bolt" href="/quickstart" arrow="true">
    Make your first API call in minutes.
  </Card>

  <Card title="ZDR Overview" icon="shield-check" href="/zdr/overview" arrow="true">
    Set up your first ZDR request.
  </Card>

  <Card title="Contact Sales" icon="envelope" href="mailto:sales@premai.io" arrow="true">
    Contact Prem for enterprise features, custom models, or dedicated infrastructure.
  </Card>
</CardGroup>
