Skip to main content

LLMAttributesSummary

Normalized LLM-specific attributes for list view (excludes large fields like output_message)

request_modelstring

The model requested for the LLM call

provider_namestring

The LLM provider name (e.g., openai, anthropic)

input_tokensinteger<int64>

Number of input/prompt tokens

output_tokensinteger<int64>

Number of output/completion tokens

total_coststring

Total cost of the LLM operation in dollars

operation_namestring

Type of LLM operation (chat, embeddings, text_completion)

output_typestring

Type of output (e.g., text)

sdk_namestring

Name of the SDK that generated the trace (openllmetry, openlit)

sdk_versionstring

Version of the SDK

system_promptstring

System prompt/instructions

user_promptstring

User prompt/message

LLMAttributesSummary
{
"request_model": "string",
"provider_name": "string",
"input_tokens": 0,
"output_tokens": 0,
"total_cost": "string",
"operation_name": "string",
"output_type": "string",
"sdk_name": "string",
"sdk_version": "string",
"system_prompt": "string",
"user_prompt": "string"
}
Was this page helpful?