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

# Pricing

> Per-model input/output cost table that powers Spend. Edit prices inline, import from JSON, or sync from the Guardway-maintained list.

## What this is for

**Settings → Pricing** holds the per-token cost for every model that flows through your gateways. The numbers here are what [Spend](/platform/dashboard/spend) multiplies against token counts to estimate USD spend, and what budget enforcement compares against on [API Keys](/platform/configuration/api-keys) and [Configuration → Access](/platform/configuration/members).

If a model is missing here, Spend renders the cost as blank for that model and budget enforcement skips it.

## Options

### Stat blocks

| Block              | Metric                                                     |
| ------------------ | ---------------------------------------------------------- |
| **Models Priced**  | Total rows in the pricing table.                           |
| **Custom Pricing** | How many rows have been overridden from the default.       |
| **Last Sync**      | When the pricing table was last refreshed (relative time). |

### Search and filters

* **Search models** — substring match against the model name.
* **Provider** — dropdown filtering to one provider.

### Pricing table

Columns:

| Column        | Notes                                                                |
| ------------- | -------------------------------------------------------------------- |
| **Model**     | Model name (provider-prefixed).                                      |
| **Provider**  | Display name with the provider icon.                                 |
| **Input/1M**  | USD per **1 million prompt tokens**. Click to edit.                  |
| **Output/1M** | USD per **1 million completion tokens**. Click to edit.              |
| **Custom**    | `default` or a yellow `custom` badge if you've overridden the price. |
| **Updated**   | Last time this row was modified.                                     |

Click a price cell to edit; blur saves the value via the platform pricing API.

### Import / Export

| Action             | Notes                                                                                                                                                                                                                                              |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Export JSON**    | Downloads the current table as `guardway-pricing-<date>.json`. The export uses the LiteLLM-style key format (`provider_id/model_name`) so you can edit it in any text editor and re-import.                                                        |
| **Import Pricing** | Opens a dialog with **Upload File** and **Paste JSON** tabs. Accepts the Guardway export, the LiteLLM map, and a flat array of `{model, provider, …}` rows. Returns counts of imported / skipped / failed entries and lists any unknown providers. |

## How to configure

<Frame caption="Settings → Pricing">
  <img src="https://mintcdn.com/fcguardwayai/rJTQ_bXDRs9Cgazf/images/screenshots/platform/settings/pricing-table.png?fit=max&auto=format&n=rJTQ_bXDRs9Cgazf&q=85&s=12d0235335d7c34fc35a85410151af10" alt="Model pricing table" width="256" height="256" data-path="images/screenshots/platform/settings/pricing-table.png" />
</Frame>

<Steps>
  <Step title="Open Settings → Pricing">
    Open **Settings → Pricing** from the dashboard sidebar.
  </Step>

  <Step title="Edit one model inline">
    Click the **Input/1M** or **Output/1M** cell on the row, type the new value, and click outside the field. The row's badge flips to `custom`.
  </Step>

  <Step title="Bulk-update via JSON">
    Click **Export JSON** to download the current table, edit prices in your editor, then click **Import Pricing → Upload File**. Confirm the imported / skipped counts in the toast.
  </Step>

  <Step title="Verify in Spend">
    Open [Dashboard → Spend](/platform/dashboard/spend) and confirm the affected models now report cost. Pricing updates take effect immediately for new requests.
  </Step>
</Steps>

## Permissions

Owner and Admin can edit prices and import. Read Only users see the table but cannot modify it.

## Related

* [Models](/platform/configuration/models) — which models are exposed on each gateway.
* [Spend](/platform/dashboard/spend) — where these prices show up as USD.
* [API Keys](/platform/configuration/api-keys) — per-key budget enforcement uses this table.
