{
  "record_type": "internal_authenticated_openai_compatible_api_acceptance_test",
  "tested_utc": "2026-10-20T04:08:10+00:00",
  "client": "Standalone PHP cURL using the public HTTPS endpoint, not an in-process model call",
  "request": {
    "endpoint": "https://www.xianshe.com/source/plugin/xianshe_ai/openai.php/v1/chat/completions",
    "method": "POST",
    "payload": {
      "model": "qwen3.8-flash",
      "messages": [
        {
          "role": "user",
          "content": "请只回复：连接成功"
        }
      ],
      "max_tokens": 32,
      "stream": false
    },
    "tls_peer_and_host_verified": true
  },
  "response": {
    "object": "chat.completion",
    "model": "qwen3.8-flash",
    "message": "连接成功",
    "finish_reason": "stop",
    "usage": {
      "prompt_tokens": 40,
      "completion_tokens": 3,
      "total_tokens": 43
    },
    "xianshe": {
      "source": "compute",
      "quota_tokens": 43,
      "trial_tokens_used": 43,
      "member_quota_used": 0,
      "wallet_tokens_used": 0,
      "credits_used": 0
    }
  },
  "settlement": {
    "usage_log_status": "success",
    "trial_tokens_used": 43,
    "credits_charged": 0,
    "wallet_tokens_used": 0,
    "other_member_quota_used": 0,
    "trial_reservation_released": true
  },
  "new_keys_created": 0,
  "http_attempts": 1,
  "automatic_retries": 0,
  "boundaries": [
    "Internal administrator acceptance test; not a customer order, delivery, or organic conversion.",
    "The zero-credit charge used this account existing trial allowance; other requests follow current account and model billing rules.",
    "Model ID is the site routing identifier; this record does not certify upstream weights, license, quality, throughput, or availability for every account."
  ]
}
