Bifrost · JSON Structure

Bifrost Usage Stats Structure

Token usage statistics for the completion.

Type: object Properties: 3
AI GatewayLLMLoad BalancingOpen SourceOpenAI CompatibleMCP

UsageStats is a JSON Structure definition published by Bifrost, describing 3 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

prompt_tokens completion_tokens total_tokens

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "name": "UsageStats",
  "type": "object",
  "description": "Token usage statistics for the completion.",
  "properties": {
    "prompt_tokens": {
      "type": "int32",
      "description": "Number of tokens in the prompt."
    },
    "completion_tokens": {
      "type": "int32",
      "description": "Number of tokens generated."
    },
    "total_tokens": {
      "type": "int32",
      "description": "Total tokens used."
    }
  }
}