Skip to main content
GET
Retrieve a specific model

Paramètres de chemin

string
requis
L’identifiant du modèle (par exemple, openai/gpt-4o).

Réponse

Exemple

Autorisations

Authorization
string
header
requis

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

Paramètres de chemin

model_id
string
requis

The unique identifier of the model to retrieve.

Réponse

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.