Llm Models Foundation Model Retrieve

Foundation model detail by PK. Auth optional — API key OR JWT parsed if present, anonymous allowed. Serializer filters variants by org when authenticated. Uses ``OptionalJWTAndAPIKeyAuthenticationViewMixin`` (not bare ``authentication_classes=[KeywordsAIJWTAuthentication]``): SimpleJWT raises ``InvalidToken`` (401) on any present-but-non-JWT bearer — i.e. an API key — so the bare config 401'd legitimate API-key callers despite ``AllowAny``. The mixin accepts API key OR JWT and treats unparseable creds as anonymous, and IP-rate-limits anonymous callers via ``TokenBucketThrottle``.

Authentication

AuthorizationBearer
JWT access token or Respan API key

Path parameters

idintegerRequired

Response

idintegerRead-only
variantsstringRead-only
model_namestring<=255 characters
updated_atdatetimeRead-only
display_namestring<=255 characters
speeddouble
max_context_windowinteger-2147483648-2147483647
model_sizeinteger-2147483648-2147483647
mmlu_scoredouble
mt_bench_scoredouble
big_bench_scoredouble
input_costdouble
output_costdouble
rate_limitinteger-2147483648-2147483647
token_rate_limitinteger-2147483648-2147483647
multilingualinteger-2147483648-2147483647
streaming_supportinteger-2147483648-2147483647
function_callinteger-2147483648-2147483647
enforce_function_callinteger-2147483648-2147483647
weightdouble
image_supportinteger-2147483648-2147483647
hf_urlstringformat: "uri"<=200 characters
model_descriptionstring
model_paramslist of strings
total_requestsinteger-2147483648-2147483647
total_costdouble
total_tokenslong-9223372036854776000-9223372036854776000
total_completion_tokenslong-9223372036854776000-9223372036854776000
total_prompt_tokenslong-9223372036854776000-9223372036854776000
avg_tpsdouble