Skip to main content
GET
Retrieve a specific model

경로 파라미터

string
필수
모델 ID (예: openai/gpt-4o).

응답

예제

인증

Authorization
string
header
필수

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

경로 매개변수

model_id
string
필수

The unique identifier of the model to retrieve.

응답

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.