---
title: "Delete a custom model pricing entry"
method: DELETE
path: "/marketplace/providers/models"
---

# Delete a custom model pricing entry

`DELETE /marketplace/providers/models`

Delete one of your model rates by id. The row is closed rather than removed, so spend already priced against it keeps that rate.
Usage still pinned to it stops resolving a price, so re-pin before deleting.

## Query parameters

- `id` string, required

## Response `200`

Pricing response for custom model pricing

- HandlerCustomModelPricingResponse
  - `entries` ModelsModelPricing[]
    - `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` string
    - `tool_call` boolean
    - `unit_price_per_mtok` number
  - `status` 'Registered' | 'Deleted'

## Other responses

- `400` — Invalid id
- `401` — Host and organization do not match
- `404` — Model pricing entry not found
- `500` — Internal server error

---

[API](https://skmtc.net/baselinehq/apis/costgraph-pricing-api.md) · [All operations](https://skmtc.net/baselinehq/apis/costgraph-pricing-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baselinehq/costgraph-pricing-api/revisions/118039137757/schema)
