---
title: "Create Token Price"
method: POST
path: "/api/admin/token-prices"
tags: ["admin"]
---

# Create Token Price

`POST /api/admin/token-prices`

## Request

- Base URL: `https://api.stellara.natlex.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stellara.natlex.it/api/admin/token-prices`
- Auth: HTTP bearer

Add a new token price entry.

## Request body

- TokenPriceCreate
  - `model_name` string, required
  - `input_price_per_1m` number, required
  - `output_price_per_1m` number, required
  - `effective_date` string, required

## Response `201`

Successful Response

- TokenPriceRow
  - `id` integer, required
  - `model_name` string, required
  - `input_price_per_1m` number, required
  - `output_price_per_1m` number, required
  - `effective_date` string, required
  - `source` string
  - `created_by` string, nullable
  - `created_at` unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/natlex/apis/stellara-api.md) · [All operations](https://skmtc.dev/natlex/apis/stellara-api/llms.txt) · [OpenAPI document](https://skmtc.dev/natlex/apis/stellara-api/revisions/e576f046b61f?raw)
