---
title: "Create New Model Price"
method: POST
path: "/api/v1/model-price-map"
tags: ["model-price-map"]
---

# Create New Model Price

`POST /api/v1/model-price-map`

## Request body

- ModelPriceMapCreateSchema — Model price map create schema.
  - `name` string, required
  - `start_time` string, date-time, nullable
  - `match_path` string[]
  - `match_pattern` string, required
  - `prompt_cost` union, required
    - number
    - string
  - `completion_cost` union, required
    - number
    - string
  - `prompt_cost_details` object, nullable
  - `completion_cost_details` object, nullable
  - `provider` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
