Setup
Usage
Once initialized, all OpenAI calls are captured automatically:What Gets Captured
| Attribute | Description |
|---|---|
| Model | gpt-4o, gpt-4o-mini, o3, etc. |
| Messages | Input messages array |
| Response | Completion content |
| Tokens | Prompt, completion, and total tokens |
| Cost | Calculated from token usage and model pricing |
| Latency | Request duration |