LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmith_openapi_clientresourcesRunStatsResponseRunStats
Interface●Since v0.8

RunStats

Copy
interface RunStats

Properties

property
completion_cost: number | null
property
completion_cost_details: __type | null
property
completion_token_details: __type | null
property
completion_tokens: number | null
property
completion_tokens_p50: number | null
property
completion_tokens_p99: number | null
property
cost_p50: number | null
property
cost_p99: number | null
property
error_rate: number | null
property
feedback_stats: __type | null
property
first_token_p50: number | null
property
first_token_p99: number | null
property
last_run_start_time: string | null
property
latency_p50: number | null
property
latency_p99: number | null
property
median_tokens: number | null
property
prompt_cost: number | null
property
prompt_cost_details: __type | null
property
prompt_token_details: __type | null
property
prompt_tokens: number | null
property
prompt_tokens_p50: number | null
property
prompt_tokens_p99: number | null
property
run_count: number | null
property
run_facets: __type[] | null
property
streaming_rate: number | null
property
tokens_p99: number | null
property
total_cost: number | null
property
total_tokens: number | null
View source on GitHub