LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
  • Overview
  • Client
  • AsyncClient
  • Run Helpers
  • Run Trees
  • Evaluation
  • Schemas
  • Utilities
  • Wrappers
  • Anonymizer
  • Testing
  • Expect API
  • Middleware
  • Pytest Plugin
  • Deployment SDK
⌘I

Chat LangChain

What can I help with?

Enter to send·Shift+Enter new line

Menu

OverviewClientAsyncClientRun HelpersRun TreesEvaluationSchemasUtilitiesWrappersAnonymizerTestingExpect APIMiddlewarePytest PluginDeployment SDK
Language
Theme
Pythonlangsmithtypescustom_charts_sectionSubSectionChartSeriesMetricDefinitionCustomChartMetricScalarfield
Attribute●Since v0.15

field

Copy
field: Literal['latency_seconds', 'first_token_seconds', 'total_tokens', 'prompt_tokens', 'completion_tokens', 'prompt_token_details.cache_creation', 'prompt_token_details.cache_read', 
View source on GitHub
'prompt_token_details.ephemeral_1h_input_tokens'
,
'prompt_token_details.ephemeral_5m_input_tokens'
,
'prompt_token_details.audio'
,
'prompt_token_details.image'
,
'prompt_token_details.video'
,
'completion_token_details.reasoning'
,
'completion_token_details.audio'
,
'completion_token_details.image'
,
'completion_token_details.video'
,
'total_cost'
,
'prompt_cost'
,
'completion_cost'
,
'feedback_score'
]