Skip to content
InfercomInfercomInfercom Documentation

Models

Get environment's available model metadata

GET
/models/{model_id}
from openai import OpenAI
client = OpenAI(
base_url="https://api.infercom.ai/v1",
api_key="your-infercom-api-key",
)
model = client.models.retrieve("MiniMax-M2.7")
print(model.id)

Retrieve metadata for a single model by ID, including context length, max completion tokens, capabilities, and EU sovereignty region.

model_id
required
Model Id

Model id to get metadata

string

Successful Response

Media typeapplication/json
Model Metadata

Model metadata

object
id
required
Id

Model id

string
object
Object

Type

string
default: model
Allowed value: model
Allowed values: model
owned_by
OwnedBy

Model owner

string
context_length
context length

Model context length

integer
max_completion_tokens
max completion tokens

Model max completion tokens

integer
sn_metadata
sn metadata

Additional metadata provided by SambaNova. Use the ?verbose=true query parameter on /v1/models to ensure this field is populated.

object
region
region

Hosting region for the model. "EU" indicates the model runs on Infercom’s EU infrastructure (Equinix Munich 4, Germany) with full data sovereignty.

string
is_external
is_external

false = EU-hosted on Infercom infrastructure (sovereign). true = routed to SambaNova’s global infrastructure (US).

boolean
architecture
architecture

Model architecture identifier

string
provider
provider

Model provider (e.g., Meta, DeepSeek, MiniMax, OpenAI)

string
capabilities
capabilities

Model capabilities (e.g., text, reasoning, vision)

Array<string>
license
license

Model license type

string
status
status

Model availability status (e.g., active)

string
hf_link
hf_link

Hugging Face model page URL

string
overview
overview

Brief model description

string
pricing
pricing

Pricing details

object
prompt
prompt

Price per prompt token in USD

number
completion
completion

Price per completion token in USD

number
duration_per_hour
duration per hour

Price per input hour

number
nullable
key
additional properties
any
key
additional properties
any
Example
{
"object": "model",
"sn_metadata": {
"region": "EU",
"is_external": false
}
}

Not found

Media typeapplication/json
SimpleError

Other kind of simple schema errors

object
error
required
error

Error detail.

string
nullable
Examplegenerated
{
"error": "example"
}