latestOpenAPI 3.0.1Apache 2.0raw.githubusercontent.com2026-08-14193367.1 KB

118039137757

Register custom model pricing

Register custom token pricing for models you host. Entries are versioned: a price change closes the current row and opens a new one, so historic spend keeps the rate it was billed at. The returned id is what you attach with the costgraph.ai/pricing-id.model label or tag. Each version carries its own id, so read the live entry back after a price change instead of holding on to an earlier one.

post/marketplace/providers/models

Request body

Response

Pricing response for custom model pricing

status'Registered' | 'Deleted'