Models

Get model

Retrieves current model details, including supported operations, request parameters, request endpoints, selector limits, and pricing when available. Non-chat integrations should read these current model-specific request details before creating a request.

get/v1/models/{model}

Request

  • Base URL: https://api.tokenlab.sh
  • URL: https://api.tokenlab.sh/v1/models/{model}
  • Auth: HTTP bearer

Path parameters

modelstring required

The model ID

Response

Model information

idstring required

Model identifier

object'model' required
createdinteger required

Unix timestamp

owned_bystring required

Model provider

Example response

{
  "id": "gpt-4o",
  "owned_by": "openai"
}

Changes

No recorded changes to this operation across all 1 revision of this API.