---
title: "Upsert Model Prices"
method: PUT
path: "/models/{model_name}/price_overrides"
tags: ["models", "pricing"]
---

# Upsert Model Prices

`PUT /models/{model_name}/price_overrides`

Create or update pricing for a model.

## Path parameters

- `model_name` string, required — URL-encoded model name

## Request body

- ModelPriceEntry — A pair of input/output prices — used for requests and responses.
  - `input_price` number, required — Price in USD per 1M tokens
  - `output_price` number, required — Price in USD per 1M tokens

## Response `200`

Successful Response

- ModelPriceEntry — A pair of input/output prices — used for requests and responses.
  - `input_price` number, required — Price in USD per 1M tokens
  - `output_price` number, required — Price in USD per 1M tokens

## Other responses

- `422` — Validation Error

## Changes

- **2026-07-26** `05003e7835a2` — 1 info
  - the endpoint scheme security `ClassicAPIKeyHeader` was added to the API

[Change history](https://skmtc.dev/galileo/apis/galileo-api-server/changes/models/:model_name/price_overrides/put.md)

---

[API](https://skmtc.dev/galileo/apis/galileo-api-server.md) · [All operations](https://skmtc.dev/galileo/apis/galileo-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/galileo/galileo-api-server/revisions/8b1d1a4a933e/schema)
