{
  "date": "2026-09-28",
  "timezone": "Asia/Shanghai",
  "os": "macOS 26.3",
  "records": [
    {
      "date": "2026-09-27T18:48:01.812425+00:00",
      "client": "Python requests 2.33.1",
      "path": "/v1/chat/completions",
      "model": "gpt-4o",
      "httpStatus": 200,
      "elapsedSeconds": 2.53,
      "output": "tokenba_OK",
      "authorization": "Bearer [REDACTED]",
      "usage": {
        "prompt_tokens": 15,
        "completion_tokens": 6,
        "total_tokens": 21,
        "prompt_tokens_details": {
          "cached_tokens": 0,
          "audio_tokens": 0
        },
        "completion_tokens_details": {
          "reasoning_tokens": 0,
          "audio_tokens": 0,
          "accepted_prediction_tokens": 0,
          "rejected_prediction_tokens": 0
        },
        "latency_checkpoint": {
          "engine_tbt_ms": 5,
          "engine_ttft_ms": 38,
          "engine_ttlt_ms": 71,
          "pre_inference_ms": 46,
          "service_tbt_ms": 5,
          "service_ttft_ms": 526,
          "service_ttlt_ms": 554,
          "user_visible_ttft_ms": 480
        }
      }
    },
    {
      "date": "2026-09-27T18:48:02.297597+00:00",
      "client": "Python requests 2.33.1",
      "path": "/v1/responses",
      "model": "gpt-6-sol",
      "httpStatus": 200,
      "elapsedSeconds": 3.01,
      "output": "tokenba_OK",
      "authorization": "Bearer [REDACTED]",
      "usage": {
        "total_tokens": 4404,
        "attribution": {
          "items": {
            "msg_048722a6f1e425f8016ab964e12b1087d0ba2e7c1002ad7f77": {
              "cache_write_tokens": 0,
              "cached_tokens": 0,
              "content": [
                {
                  "cache_write_tokens": 0,
                  "cached_tokens": 0,
                  "input_tokens": 12,
                  "output_tokens": 0
                }
              ],
              "input_tokens": 12,
              "output_tokens": 0
            },
            "msg_048722a6f1e425f8016ab964e1ed9487d0bc8018e4b5e34fc7": {
              "cache_write_tokens": 0,
              "cached_tokens": 0,
              "content": [
                {
                  "cache_write_tokens": 0,
                  "cached_tokens": 0,
                  "input_tokens": 2,
                  "output_tokens": 10
                }
              ],
              "input_tokens": 2,
              "output_tokens": 10
            }
          },
          "request_fields": {
            "instructions": {
              "cache_write_tokens": 0,
              "cached_tokens": 3840,
              "input_tokens": 4380,
              "output_tokens": 0
            }
          }
        },
        "input_tokens": 4394,
        "input_tokens_details": {
          "cache_write_tokens": 0,
          "cached_tokens": 3840
        },
        "output_tokens": 10,
        "output_tokens_details": {
          "reasoning_tokens": 0
        }
      }
    },
    {
      "date": "2026-09-27T18:48:03.001780+00:00",
      "client": "Python requests 2.33.1",
      "path": "/v1/messages",
      "model": "claude-sonnet-5",
      "httpStatus": 200,
      "elapsedSeconds": 3.71,
      "output": "tokenba_OK",
      "authorization": "Bearer [REDACTED]",
      "usage": {
        "cache_creation_input_tokens": 10,
        "cache_read_input_tokens": 0,
        "input_tokens": 0,
        "kiro_actual_input_tokens": 5419,
        "kiro_billable_input_tokens": 10,
        "kiro_credits": 0.018599005787728027,
        "kiro_excluded_input_tokens": 5409,
        "kiro_first_thinking_ms": null,
        "kiro_first_tool_use_ms": null,
        "kiro_first_visible_ms": 1964,
        "kiro_total_ms": 1964,
        "kiro_upstream_response_ms": 1964,
        "output_tokens": 5
      }
    },
    {
      "date": "2026-09-27T18:48:03.481826+00:00",
      "client": "Python requests 2.33.1",
      "path": "/v1beta/models/gemini-3.8-flash:generateContent",
      "model": "gemini-3.8-flash",
      "httpStatus": 200,
      "elapsedSeconds": 4.19,
      "output": "tokenba_OK",
      "authorization": "Bearer [REDACTED]",
      "usage": {
        "promptTokenCount": 9,
        "candidatesTokenCount": 6,
        "totalTokenCount": 80,
        "thoughtsTokenCount": 65,
        "cachedContentTokenCount": 0
      }
    },
    {
      "date": "2026-09-27T18:50:10.943110+00:00",
      "path": "/v1/images/generations",
      "model": "gpt-image-2",
      "httpStatus": 200,
      "elapsedSeconds": 25.7,
      "bytes": 862097,
      "result": "saved image",
      "authorization": "Bearer [REDACTED]",
      "usage": {
        "total_tokens": 786,
        "input_tokens": 21,
        "output_tokens": 765,
        "input_tokens_details": {
          "text_tokens": 21,
          "image_tokens": 0
        }
      },
      "requestedSize": "1024x1024",
      "returnedImageSize": "1254x1254"
    },
    {
      "client": "Codex CLI",
      "version": "0.158.0-alpha.2.1",
      "model": "gpt-6-sol",
      "protocol": "Responses",
      "result": "tokenba_OK",
      "scope": "single turn, no tools, read-only"
    },
    {
      "client": "OpenCode",
      "version": "1.2.15",
      "binary": "/opt/homebrew/bin/opencode",
      "package": "@ai-sdk/openai",
      "model": "gpt-6-sol",
      "protocol": "Responses",
      "result": "tokenba_OK",
      "scope": "single turn, tools denied"
    },
    {
      "client": "Claude Code",
      "version": "2.1.177",
      "model": "claude-sonnet-5",
      "firstPrompt": "Reply exactly tokenba_OK.",
      "firstResult": "I can't discuss that.",
      "retryPrompt": "What is 2 + 2? Answer with only the number.",
      "retryResult": "4",
      "scope": "single turn, tools disabled"
    },
    {
      "date": "2026-09-27T19:08:30.222774+00:00",
      "path": "/v1/embeddings",
      "model": "text-embedding-3-small",
      "httpStatus": 200,
      "dimensions": 1536,
      "usage": {
        "prompt_tokens": 6,
        "total_tokens": 6
      },
      "error": null
    },
    {
      "date": "2026-09-27T19:08:13.357344+00:00",
      "client": "Python requests 2.33.1",
      "path": "/v1/chat/completions",
      "model": "gpt-4o",
      "stream": true,
      "exitCode": 0,
      "completed": true,
      "output": "API streaming is a method where data is continuously delivered in real-time from an API, allowing clients to process updates instantly as they are received.",
      "usage": {
        "prompt_tokens": 15,
        "completion_tokens": 28,
        "total_tokens": 43
      },
      "scope": "SSE completed; failure retries tested locally, not forced on production"
    },
    {
      "date": "2026-09-27T19:13:42.553785+00:00",
      "path": "/v1beta/models/gemini-3.8-flash:generateContent",
      "model": "gemini-3.8-flash",
      "authentication": "x-goog-api-key: [REDACTED]",
      "httpStatus": 200,
      "output": "4",
      "error": null
    }
  ]
}
