# PromptExecutionTelemetryPayload

Type: object

Schema: [PromptExecutionTelemetryPayload](https://api.prompteasy.eu/docs/api/models/promptexecutiontelemetrypayload/index.md)

- `actual_llm_model` (optional)
  Type: string
  
  Actual LLM model name used for completion
  
  maxLength: 64
  
  Example:
  
  ```json
  "gpt-4o"
  ```

- `prompt_tokens` (optional)
  Type: integer
  
  Number of prompt/input tokens used
  
  minimum: 0
  
  Example:
  
  ```json
  1500
  ```

- `completion_tokens` (optional)
  Type: integer
  
  Number of output/completion tokens generated
  
  minimum: 0
  
  Example:
  
  ```json
  300
  ```

- `cached_prompt_tokens` (optional)
  Type: integer
  
  Number of cached prompt tokens
  
  minimum: 0
  
  Example:
  
  ```json
  500
  ```

- `reasoning_tokens` (optional)
  Type: integer
  
  Number of reasoning tokens used
  
  minimum: 0
  
  Example:
  
  ```json
  100
  ```

- `latency_ms` (optional)
  Type: integer
  
  Total request execution duration in milliseconds
  
  minimum: 0
  
  Example:
  
  ```json
  1250
  ```

- `ttft_ms` (optional)
  Type: integer
  
  Time to first token in milliseconds
  
  minimum: 0
  
  Example:
  
  ```json
  200
  ```

- `finish_reason` (optional)
  Type: string
  
  LLM completion finish reason
  
  maxLength: 32
  
  Example:
  
  ```json
  "stop"
  ```

- `status` (optional)
  Type: integer
  
  Execution status (1 = fetched, 2 = completed, 3 = failed)
  
  enum: [1,2,3]
  
  Example:
  
  ```json
  2
  ```