v1

latestOpenAPI 3.1.02026-08-06213193627.0 KB
models

Get All Default Models With Price

We return a subset of the Model information because we do NOT want to expose all of our model data!

get/v1/models/prices

Response

Successful Response

modelstring required

The name of the model. Can belong to many providers

providerstring nullable

The provider for the model.

ownerstring nullable

The owner of the model. Sometimes, for a provider/model combination, many instances exist, trained on different data

namespacestring required

The fully qualified (namespaced) model name

atstring nullable

Extra model settings inferred from namespace

context_windowinteger required

The max_tokens for this model

untilstring date-time nullable required

The most recent data this model has been trained with

descriptionstring required

A description of the model

urlstring required

A URL to the model's page or more informatino

api_targetstring

Store the name of the model the API requires

deprecated_onstring date-time nullable

For models whose deprecation date is known (past or future), to show errors and deny service, or show warnings

parent_idstring uuid nullable

The ID of parent, in case it's not a base model

prompt_idstring uuid nullable

The ID of prompt, used for this model

completion_token_costnumber required

The cost of a completion token, in USD

prompt_token_costnumber required

The cost of a prompt token, in USD

base_costnumber required

A (usually 0) cost added on top of a request. Some models charge per request, not only per token

price_unit'tokens' | 'characters' required

The unit of billing for this model