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

# Change one compute price

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

Change the rate or the descriptive fields of a compute 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

- ComputePrice
  - `architecture` string
  - `availability_zone` string
  - `cost_per_hour` number — On-demand-equivalent hourly USD; multiply by provider_pricing_rules.month_hours for monthly.
  - `cpu_cores` number
  - `cpu_cores_cost_per_hour` number
  - `created_at` string
  - `currency` string — Currency the provider published this price in. Cost columns are always normalized USD.
  - `gpu_cost_per_hour` number
  - `gpu_count` number
  - `gpu_type` string
  - `id` string
  - `instance_type` string
  - `native_cost_per_hour` number — cost_per_hour as published, before FX normalization. Zero when currency is USD.
  - `operating_system` string
  - `period_billing_hours` number — Commitment term the raw price covers: 1=hourly on-demand; 8640/25920/43200=1mo/3mo/1yr buckets. cost_per_hour is already normalized to hourly.
  - `provider` string
  - `ram_gb` number
  - `ram_gb_cost_per_hour` number
  - `raw_pricing_data` object
  - `region` string
  - `service` string
  - `tags` object
  - `updated_at` string
  - `usage_type` string — Pricing tier token (ONDEMAND, RESERVED, SPOT_*, *_HBP, *_BYOL, Commit1Yr/3Yr). Filter to ONDEMAND for normal pricing.

## Other responses

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

## Changes

- **2026-09-03** `2b7d1ae74be1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/baselinehq/apis/costgraph-pricing-api/changes/v1/marketplace/compute/: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)
