GET
/
v3
/
openai
/
models
/
{model}

Retrieves a model instance, providing basic information about the model. This endpoint is compatible with OpenAI API.

Request Headers

Content-Type
string
required

Enum: application/json

Authorization
string
required

Bearer authentication format, for example: Bearer {{API Key}}.

Path Parameters

model
string
required

The ID of the model to use for this request.

Response

id
string
required

The model identifier, which can be referenced in the API endpoints.

created
integer
required

The Unix timestamp (in seconds) when the model was created.

object
string
required

The object type, which is always “model”.

input_token_price_per_m
integer
required

The price per million input tokens.

output_token_price_per_m
integer
required

The price per million output tokens.

title
string
required

The title of the model.

description
string
required

The description of the model.

context_size
integer
required

The maximum context size of the model.

Was this page helpful?