Skip to main content
The Go SDK and docs are currently in beta. Report issues on GitHub.

Fields

FieldTypeRequiredDescriptionExample
ByokUsageInferencefloat64:heavy_check_mark:BYOK inference cost in USD (external credits spent)0.012
CompletionTokensint64:heavy_check_mark:Total completion tokens generated125
Datestring:heavy_check_mark:Date of the activity (YYYY-MM-DD format)2025-08-24
EndpointIDstring:heavy_check_mark:Unique identifier for the endpoint550e8400-e29b-41d4-a716-446655440000
Modelstring:heavy_check_mark:Model slug (e.g., “openai/gpt-4.1”)openai/gpt-4.1
ModelPermaslugstring:heavy_check_mark:Model permaslug (e.g., “openai/gpt-4.1-2025-04-14”)openai/gpt-4.1-2025-04-14
PromptTokensint64:heavy_check_mark:Total prompt tokens used50
ProviderNamestring:heavy_check_mark:Name of the provider serving this endpointOpenAI
ReasoningTokensint64:heavy_check_mark:Total reasoning tokens used25
Requestsint64:heavy_check_mark:Number of requests made5
Usagefloat64:heavy_check_mark:Total cost in USD (OpenRouter credits spent)0.015