---
title: LLMMetadata
seo:
  title: LLMMetadata — TypeScript SDK
  description: Metadata about an LLM call to record on a span. (TypeScript SDK)
description: Metadata about an LLM call to record on a span.
---

## Properties

| Prop | Type | Default | Description |
| - | - | - | - |
| `model?` | `Maybe<string>` | - | Model name (e.g. "gpt-4o"). |
| `provider?` | `Maybe<string>` | - | Provider name (e.g. "openai"). |
| `non_cached_input_tokens?` | `Maybe<number>` | - | Number of non-cached input tokens. |
| `output_tokens?` | `Maybe<number>` | - | Number of output tokens. |
| `cache_read_input_tokens?` | `Maybe<number>` | - | Number of cache-read input tokens. |
| `cache_creation_input_tokens?` | `Maybe<number>` | - | Number of cache-creation input tokens. |
| `total_cost_usd?` | `Maybe<number>` | - | Total cost in USD. |
