---
title: Priority pay-per-token for Foundation Model APIs
description: Learn how to use priority pay-per-token for Databricks Foundation Model APIs to get more consistent availability for latency-sensitive, real-time pay-per-token workloads.
canonical_url: https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/priority-mode
---

# Priority pay-per-token for Foundation Model APIs

This page describes priority pay-per-token for [Foundation Model APIs pay-per-token](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/index.md#token-foundation-apis), including how it behaves and how to send priority requests.

## What is priority pay-per-token?

Priority pay-per-token, also referred to as priority mode, is a pay-per-token capability for latency-sensitive, real-time applications. When you send a request with the `service_tier` parameter set to `"priority"`, Databricks admits the request ahead of standard best-effort pay-per-token traffic on the same model. This keeps availability more consistent during periods of high traffic.

Priority pay-per-token is opt-in per request, so you can send priority and standard requests to the same model. It requires no capacity commitment and is billed at a higher per-token rate than standard pay-per-token requests.

Databricks recommends priority mode when:

* You need more consistent performance and availability than standard pay-per-token, but aren't ready to commit to dedicated capacity.
* Your production applications require higher availability.

## <a id="supported-models" />Supported models

The following pay-per-token models support priority mode. To send a priority request, use the model's endpoint or model service name with the `service_tier` parameter set to `"priority"`.

### Partner models

| Provider | Model                                                                                                                                        | Endpoint or model service name     | Notes                                                                                                                                                            |
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| OpenAI   | [GPT-6.2 Astra](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-6-2-astra)          | `system.ai.gpt-6-2-astra`          | Query through Unity Gateway.                                                                                                                                     |
| OpenAI   | [GPT-6.2 Sol](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-6-2-sol)              | `system.ai.gpt-6-2-sol`            | Query through Unity Gateway.                                                                                                                                     |
| OpenAI   | [GPT-6.1 Terra](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-6-1-terra)          | `databricks-gpt-6-1-terra`         |                                                                                                                                                                  |
| OpenAI   | [GPT-6.1 Sol](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-6-1-sol)              | `databricks-gpt-6-1-sol`           |                                                                                                                                                                  |
| OpenAI   | [GPT-6 Sol](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-6-sol)                  | `databricks-gpt-6-sol`             |                                                                                                                                                                  |
| OpenAI   | [GPT-6 Luna](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-6-luna)                | `databricks-gpt-6-luna`            |                                                                                                                                                                  |
| OpenAI   | [GPT-6 Astra](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-6-astra)              | `databricks-gpt-6-astra`           |                                                                                                                                                                  |
| OpenAI   | [GPT-5.6 Sol](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-6-sol)              | `databricks-gpt-5-6-sol`           |                                                                                                                                                                  |
| OpenAI   | [GPT-5.6 Terra](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-6-terra)          | `databricks-gpt-5-6-terra`         |                                                                                                                                                                  |
| OpenAI   | [GPT-5.6 Luna](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-6-luna)            | `databricks-gpt-5-6-luna`          |                                                                                                                                                                  |
| OpenAI   | [GPT-5.5](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-5)                      | `databricks-gpt-5-5`               |                                                                                                                                                                  |
| OpenAI   | [GPT-5.4](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-4)                      | `databricks-gpt-5-4`               |                                                                                                                                                                  |
| OpenAI   | [GPT-5.4 mini](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-4-mini)            | `databricks-gpt-5-4-mini`          |                                                                                                                                                                  |
| OpenAI   | [GPT-5.3 Codex](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-3-codex)          | `databricks-gpt-5-3-codex`         |                                                                                                                                                                  |
| OpenAI   | [GPT-5.2](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-2)                      | `databricks-gpt-5-2`               |                                                                                                                                                                  |
| OpenAI   | [GPT-5.1](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-1)                      | `databricks-gpt-5-1`               |                                                                                                                                                                  |
| OpenAI   | [GPT-5](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5)                          | `databricks-gpt-5`                 |                                                                                                                                                                  |
| OpenAI   | [GPT-5 mini](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#openai-gpt-5-mini)                | `databricks-gpt-5-mini`            |                                                                                                                                                                  |
| Google   | [Gemini 3.7 Flash](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#gemini-3-7-flash)           | `databricks-gemini-3-7-flash`      | Available on the global endpoint only. Requires [cross geography routing](https://docs.databricks.com/aws/en/resources/databricks-geos.md#cross-geo-processing). |
| Google   | [Gemini 3.5 Flash](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#gemini-3-5-flash)           | `databricks-gemini-3-5-flash`      | Available on the global endpoint only. Requires [cross geography routing](https://docs.databricks.com/aws/en/resources/databricks-geos.md#cross-geo-processing). |
| Google   | [Gemini 3.5 Flash Lite](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#gemini-3-5-flash-lite) | `databricks-gemini-3-5-flash-lite` | Available on the global endpoint only. Requires [cross geography routing](https://docs.databricks.com/aws/en/resources/databricks-geos.md#cross-geo-processing). |
| Google   | [Gemini 3.1 Pro](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#gemini-3-1-pro)               | `databricks-gemini-3-1-pro`        | Available on the global endpoint only. Requires [cross geography routing](https://docs.databricks.com/aws/en/resources/databricks-geos.md#cross-geo-processing). |
| Google   | [Gemini 3.1 Flash Lite](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#gemini-3-1-flash-lite) | `databricks-gemini-3-1-flash-lite` | Available on the global endpoint only. Requires [cross geography routing](https://docs.databricks.com/aws/en/resources/databricks-geos.md#cross-geo-processing). |
| Google   | [Gemini 3 Flash](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#gemini-3-flash)               | `databricks-gemini-3-flash`        | Available on the global endpoint only. Requires [cross geography routing](https://docs.databricks.com/aws/en/resources/databricks-geos.md#cross-geo-processing). |
| xAI      | [Grok 4.6](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#grok-4-6)                           | `databricks-grok-4-6`              |                                                                                                                                                                  |

### Open source models

| Provider      | Model                                                                                                                                                | Endpoint name                         | Notes                                                                                                                                                                                                                         |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Zhipu AI      | [GLM 5.3](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#glm-5-3)                                     | `databricks-glm-5-3`                  |                                                                                                                                                                                                                               |
| Zhipu AI      | [GLM 5.3 Flash](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#glm-5-3-flash)                         | `databricks-glm-5-3-flash`            |                                                                                                                                                                                                                               |
| Zhipu AI      | [GLM 5.2 (legacy)](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#glm-5-2)                            | `databricks-glm-5-2`                  |                                                                                                                                                                                                                               |
| Moonshot AI   | [Kimi K3](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#kimi-k3)                                     | `databricks-kimi-k3`                  |                                                                                                                                                                                                                               |
| DeepSeek      | [DeepSeek V4.1 Flash (1017)](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#deepseek-v4-1-flash-1017) | `databricks-deepseek-v4-1-flash-1017` |                                                                                                                                                                                                                               |
| DeepSeek      | [DeepSeek V4.1 Flash](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#deepseek-v4-1-flash)             | `databricks-deepseek-v4-1-flash`      |                                                                                                                                                                                                                               |
| Alibaba Cloud | [Qwen3.5 122B A10B](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/supported-models.md#qwen35-122b-a10b)                  | `databricks-qwen35-122b-a10b`         | <ul><li>This model is available in [preview](https://docs.databricks.com/aws/en/release-notes/release-types.md). Reach out to your account teams for enablement.</li><li>Available only in the `ap-south-1` region.</li></ul> |

## How priority pay-per-token behaves

Consider the following behavior before you use priority pay-per-token:

* Consistent performance and availability. Priority pay-per-token is designed to keep availability consistent under load. It does not guarantee a specific time-to-first-token or end-to-end latency target. Priority requests target a higher availability than standard pay-per-token requests. Databricks defines availability at a tier as the number of successful requests divided by the total number of admitted requests at that tier.
* Best-effort capacity. Priority mode does not reserve capacity and there is no capacity commitment.
* Fallback to standard pay-per-token. If priority capacity is fully subscribed, requests are served at standard pay-per-token availability and billed at standard pay-per-token rates.
* Per-token premium. Priority requests are billed at a higher per-token rate than standard pay-per-token requests.

## Priority pay-per-token compared to provisioned throughput

Priority pay-per-token and provisioned throughput both target production workloads, but they make different trade-offs:

| Consideration | Priority pay-per-token                                  | Provisioned throughput                   |
| ------------- | ------------------------------------------------------- | ---------------------------------------- |
| Capacity      | Best-effort, shared.                                    | Dedicated, reserved capacity.            |
| Commitment    | None. Opt in per request.                               | Requires a provisioned endpoint.         |
| Availability  | More consistent than standard pay-per-token under load. | Predictable, based on reserved capacity. |
| Billing       | Per-token, at a premium over standard pay-per-token.    | Based on provisioned model units.        |

## Send a priority request

To use priority mode, set the `service_tier` parameter to `"priority"` on a per-request basis. The following example uses the OpenAI client:

```python
from databricks_openai import DatabricksOpenAI

client = DatabricksOpenAI()

response = client.chat.completions.create(
    model="databricks-model-name",
    messages=[
      {
        "role": "user",
        "content": "What is a mixture of experts model?",
      }
    ],
    max_tokens=256,
    service_tier="priority",
)
```

See [Foundation model REST API reference](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/api-reference.md) for parameter syntax and [Use foundation models](https://docs.databricks.com/aws/en/machine-learning/model-serving/score-foundation-models.md) for more query options.

## Capacity limits

Each cluster supports a maximum total number of tokens per minute across all tenants. Databricks sets a per-tenant limit during onboarding so that a single tenant cannot consume all cluster capacity. If your workload requires more capacity than the per-tenant limit allows, reach out to your Databricks account team.

For more Foundation Model APIs limits, see [Foundation Model APIs limits and quotas](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/limits.md).

## Additional resources

* [Databricks Foundation Model APIs](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/index.md)
* [Foundation model REST API reference](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/api-reference.md)
* [Foundation Model APIs limits and quotas](https://docs.databricks.com/aws/en/machine-learning/foundation-model-apis/limits.md)
* [Use foundation models](https://docs.databricks.com/aws/en/machine-learning/model-serving/score-foundation-models.md)
* [OpenAI priority processing](https://developers.openai.com/api/docs/guides/priority-processing)
* [Gemini priority pay-as-you-go](https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/priority-paygo)
