Request Headers
authorizationstringoptional
The authorization token (optional).
Request Query
countnumberoptional
The number of models to return.
offsetnumberoptional
The number of models to skip before returning results.
mebooleanoptional
Whether to only return models used by the user, and the user's own statistics. If true, authorization is required.
sortenumoptional
How to sort the models.
Variants
Created"created"
Sort by creation date, most recent first.
Tokens"tokens"
Sort by total tokens used or generated, most to least.
CompletionTokens"completion_tokens"
Sort by total completion tokens generated, most to least.
PromptTokens"prompt_tokens"
Sort by total prompt tokens used, most to least.
Cost"cost"
Sort by total cost incurred, most to least.
Requests"requests"
Sort by total requests made, most to least.
fromstringoptional
An RFC 3339 start date to filter by.
tostringoptional
An RFC 3339 end date to filter by.
Response Body
dataarray*required
An array of models.
Items
Modelobject
Properties
idstring*required
namestring*required
creatednumber*required
descriptionstring*required
architectureobject*required
Properties
input_modalitiesarray*required
Items
Modalitystring
output_modalitiesarray*required
Items
Modalitystring
tokenizerstring*required
instruct_typestringoptional
top_providerobject*required
Properties
is_moderatedboolean*required
context_lengthnumberoptional
max_completion_tokensnumberoptional
pricingobject*required
Properties
promptnumber*required
completionnumber*required
imagenumberoptional
requestnumberoptional
input_cache_readnumberoptional
input_cache_writenumberoptional
web_searchnumberoptional
internal_reasoningnumberoptional
discountnumberoptional
context_lengthnumberoptional
hugging_face_idstringoptional
per_request_limitsmap<string, json_value>optional
supported_parametersarrayoptional
Items
Parameterstring