LLM

Get a model pricing definition by ID

#{"ratelimit_module":"ModelPricing", "ratelimit_module_operation":"get"}#

get/api/{org_id}/llm/models/{model_id}

Request

Path parameters

org_idstring required

Organization name

model_idstring required

Model pricing definition ID

Response

Success

childrenobject[]

Definitions shadowed by this one (same match_pattern, lower source/sort priority). Only populated in list responses — not stored in the database.

created_atinteger

Created timestamp in microseconds

descriptionstring

Human-readable description. Populated for built-in entries.

enabledboolean

Whether this definition is active

idstring nullable

Unique identifier (KSUID)

match_patternstring

Regex pattern to match model names from incoming spans. Example: "(?i)^gpt-4o" or "(?i)^(claude-sonnet-4-6)$" Max length: 512 characters.

namestring

Display name for the model (e.g., "GPT-4o", "Claude Sonnet 4.6")

org_idstring

Organization ID

providerstring

Provider name (e.g., "OpenAI", "Anthropic"). Populated for built-in entries.

sort_orderinteger

Explicit sort order for deterministic tie-breaking when multiple definitions match the same model name and have equal (or absent) valid_from values. Lower values are checked first; the first match wins. Defaults to 0 — set a lower number to make a definition take priority.

source'built_in' | 'meta_org' | 'org'

Ownership source of a model pricing definition.

updated_atinteger

Updated timestamp in microseconds

valid_frominteger nullable

Optional Unix timestamp (microseconds) from which this definition is valid. When multiple definitions match the same model name, the one with the greatest valid_from that is still <= the span's start time is used. If None, the definition is valid for all time.

Changes

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