---
title: "Update Model Pricing"
method: POST
path: "/v1/web/admin/infrastructure/models/pricing"
tags: ["Web Admin", "Web Admin Models"]
---

# Update Model Pricing

`POST /v1/web/admin/infrastructure/models/pricing`

## Request

- Base URL: `https://api.hydraai.ru` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hydraai.ru/v1/web/admin/infrastructure/models/pricing`
- Auth: none declared

## Request body

- PricingChange
  - `operation_id` string, uuid, required
  - `reason` string, required
  - `model_id` string, required
  - `expected_version` string, required
  - `mode` 'current' | 'schedule' | 'cancel', required
  - `pricing` AdminPricing
    - `type` 'tokens' | 'image' | 'time' | 'characters' | 'request', required
    - `in_cost_per_million` union
      - number
      - string
    - `out_cost_per_million` union
      - number
      - string
    - `cost_per_million` union
      - number
      - string
    - `cost_per_image` union
      - number
      - string
    - `cost_per_image_quality` object, nullable
    - `cost_per_second` union
      - number
      - string
    - `cost_per_request` union
      - number
      - string
    - `prompt` union
      - number
      - string
    - `completion` union
      - number
      - string
    - `input_cache_read` union
      - number
      - string
    - `input_cache_write` union
      - number
      - string
    - `overrides` TokenPricingOverride[], nullable
      - `min_prompt_tokens` integer, required
      - `prompt` number, nullable
      - `completion` number, nullable
      - `input_cache_read` number, nullable
      - `input_cache_write` number, nullable
    - `free_requests` boolean
  - `date_of_use` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-04** `42d3d2735311`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hydraai/apis/hydraai-api/changes/v1/web/admin/infrastructure/models/pricing/post.md)

---

[API](https://skmtc.dev/hydraai/apis/hydraai-api.md) - [All operations](https://skmtc.dev/hydraai/apis/hydraai-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hydraai/apis/hydraai-api/revisions/42d3d2735311?raw)
