Pricing

Upsert one model-catalog overlay row

Overlay facts win per non-null field over the models.dev row; overlay-only models are served too. Overlay prices fill pricing-table gaps (never override an active price). With expiresWhenUpstreamMatches (default true) the row is deleted once upstream matches every non-null fact.

put/api/models-catalog/overlay

Request body

providerstring required
modelIdstring required
namestring
familystring
releaseDatestring
contextWindowinteger
maxOutputinteger
reasoningboolean
statusstring
reasonstring required
verifiedBystring
expiresWhenUpstreamMatchesboolean

Response

Overlay row upserted

providerstring required
modelIdstring required
namestring nullable
familystring nullable
releaseDatestring nullable
contextWindownumber nullable
maxOutputnumber nullable
reasoningboolean nullable
statusstring nullable
reasonstring required
verifiedBystring nullable
expiresWhenUpstreamMatchesboolean required
createdAtnumber required
updatedAtnumber required

Changes

Changed in 1 of the 183 revisions of this API.1