pricing

Get Pricing History

Return the full pricing history for a model.

get/v1/pricing/{model_key}/history

Path parameters

model_keystring required

Response

Successful Response

cache_read_price_per_millionnumber nullable required
cache_write_1h_price_per_millionnumber nullable required
cache_write_price_per_millionnumber nullable required
created_atstring required
effective_atstring required
input_price_per_millionnumber required
model_keystring required
output_price_per_millionnumber required
updated_atstring required

Changes

Changed in 5 of the 132 revisions of this API.7

    • added the required property items/cache_write_1h_price_per_million to the response with the 200 status

      response-required-property-added

    • added the required property items/pricing_tiers to the response with the 200 status

      response-required-property-added

    • added the required property items/cache_read_price_per_million to the response with the 200 status

      response-required-property-added

    • added the required property items/cache_write_price_per_million to the response with the 200 status

      response-required-property-added

    • the endpoint scheme security XApiKeyAuth was added to the API

      api-security-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security ApiKeyAuth was added to the API

      api-security-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the endpoint scheme security ApiKeyAuth was removed from the API

      api-security-removed

    This revision also has 21 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog