---
title: "Get Pricing History"
method: GET
path: "/v1/pricing/{model_key}/history"
tags: ["pricing"]
---

# Get Pricing History

`GET /v1/pricing/{model_key}/history`

Return the full pricing history for a model.

## Path parameters

- `model_key` string, required

## Response `200`

Successful Response

- PricingResponse[]
  - `cache_read_price_per_million` number, nullable, required
  - `cache_write_1h_price_per_million` number, nullable, required
  - `cache_write_price_per_million` number, nullable, required
  - `created_at` string, required
  - `effective_at` string, required
  - `input_price_per_million` number, required
  - `model_key` string, required
  - `output_price_per_million` number, required
  - `pricing_tiers` PricingTier[], required
    - `cache_read_price_per_million` number, nullable
    - `cache_write_1h_price_per_million` number, nullable
    - `cache_write_price_per_million` number, nullable
    - `input_price_per_million` number, nullable
    - `min_input_tokens` integer, required
    - `output_price_per_million` number, nullable
  - `updated_at` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-23** `eba5b612f28e` — 2 info
  - added the required property `items/cache_write_1h_price_per_million` to the response with the `200` status
  - added the required property `items/pricing_tiers` to the response with the `200` status
- **2026-07-22** `51ba68e0330c` — 2 info
  - added the required property `items/cache_read_price_per_million` to the response with the `200` status
  - added the required property `items/cache_write_price_per_million` to the response with the `200` status
- **2026-07-20** `d9a87177ce4a` — 1 info
  - the endpoint scheme security `XApiKeyAuth` was added to the API
- **2026-07-14** `0ad4e5f1cc3e` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
- **2026-04-17** `0f43605bdc13` — 1 info
  - the endpoint scheme security `ApiKeyAuth` was removed from the API

[Change history](https://skmtc.dev/mozilla-ai/apis/otari/changes/v1/pricing/:model_key/history/get.md)

---

[API](https://skmtc.dev/mozilla-ai/apis/otari.md) · [All operations](https://skmtc.dev/mozilla-ai/apis/otari/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mozilla-ai/otari/revisions/4dbc718fb44d/schema)
