Skip to main content
GET
Retrieve a specific model

Path Parameters

string
required
The model ID (e.g., openai/gpt-4o).

Response

Example

Authorizations

Authorization
string
header
required

API key authentication. Pass your OpenModex API key as a Bearer token in the Authorization header: Authorization: Bearer omx_sk_...

Path Parameters

model_id
string
required

The unique identifier of the model to retrieve.

Response

Model details.

Represents a model available through OpenModex.

id
string

The unique model identifier.

object
string

The object type (e.g., 'model').

name
string

The display name of the model.

provider
string

The provider of the model (e.g., 'openai', 'anthropic', 'google').

description
string

A human-readable description of the model.

category
string[]

Categories the model belongs to (e.g., 'chat', 'embedding', 'image').

context_length
integer

Maximum context length in tokens.

max_output_tokens
integer

Maximum number of output tokens the model can generate.

modalities
object

Supported input and output modalities.

features
string[]

List of supported features (e.g., 'streaming', 'function_calling', 'json_mode').

license
string

The license under which the model is available.

pricing
object

Pricing information for the model.

performance
object

Performance metrics for the model.

quality_scores
object

Quality benchmark scores for the model.