---
title: "Change one model price"
method: PATCH
path: "/v1/marketplace/models/{id}"
tags: ["marketplace"]
---

# Change one model price

`PATCH /v1/marketplace/models/{id}`

Change the rate or the descriptive fields of a model price you have published. Send only the fields you want to change.
The fields that identify the price cannot be changed, because they describe a different SKU; delete the price and register a new one instead.

## Path parameters

- `id` string, required

## Request body

- object

## Response `200`

The changed price

- ModelPrice
  - `context_limit` integer
  - `currency` string
  - `effective_from` string
  - `effective_to` string
  - `fetched_at` string
  - `host` string
  - `id` string
  - `modalities_input` string[]
  - `modalities_output` string[]
  - `model` string
  - `model_id` string
  - `open_weights` boolean
  - `output_limit` integer
  - `provider` string
  - `publisher` string
  - `raw_pricing_data` DatatypesJSON
  - `reasoning` boolean
  - `region` string
  - `sku_price_id` string
  - `source` string
  - `source_url` string
  - `structured_output` boolean
  - `tags` DatatypesJSON
  - `token_bucket` 'input' | 'output' | 'cache_read' | 'cache_write'
  - `tool_call` boolean
  - `unit_price_per_mtok` number

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

## Changes

- **2026-09-11** `57ac66a4ba4d` — 4 warning
  - added the new `cache_read` enum value to the `token_bucket` response property for the response status `200`
  - added the new `cache_write` enum value to the `token_bucket` response property for the response status `200`
  - added the new `input` enum value to the `token_bucket` response property for the response status `200`
  - added the new `output` enum value to the `token_bucket` response property for the response status `200`
- **2026-09-03** `2b7d1ae74be1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/baselinehq/apis/costgraph-pricing-api/changes/v1/marketplace/models/:id/patch.md)

---

[API](https://skmtc.dev/baselinehq/apis/costgraph-pricing-api.md) · [All operations](https://skmtc.dev/baselinehq/apis/costgraph-pricing-api/llms.txt) · [OpenAPI document](https://skmtc.dev/baselinehq/apis/costgraph-pricing-api/revisions/8cb58cf63915?raw)
