
Metrics captured
Completion invocations capture the following metrics automatically: completion token length, prompt token length, latency, model name, total token length. For example, a completion API call results in a usage log that looks like this: