POST /generate
{
  "text": " Paris. The capital of France is Paris. The capital of",
  "output_ids": [
    12095,
    13,
    576,
    6722,
    315,
    9625,
    374,
    12095,
    13,
    576,
    6722,
    315
  ],
  "meta_info": {
    "id": "146d8543627741f4b370ec1d6d163cae",
    "finish_reason": {
      "type": "length",
      "length": 12
    },
    "prompt_tokens": 5,
    "weight_version": "default",
    "num_retractions": 0,
    "storage_prefetch_wait": 0.0,
    "storage_staging_wait": 0.0,
    "forward_entry_time": 1792250570.5068624,
    "prefill_finished_time": 1792250570.5491552,
    "queue_time": 0.0003253601025789976,
    "reasoning_tokens": 0,
    "completion_tokens": 12,
    "cached_tokens": 2,
    "weight_versions": [
      {
        "version": "default",
        "start": 0,
        "end": 12
      }
    ],
    "cached_tokens_details": {
      "device": 2,
      "host": 0
    },
    "dp_rank": null,
    "e2e_latency": 0.47646299190819263,
    "request_received_ts": 1792250570.5053024,
    "first_token_latency": 0.043852723902091384,
    "api_server_dispatch_finish_ts": 1792250570.506087,
    "request_finished_ts": 1792250570.9817655,
    "decode_throughput": 25.42704326159189,
    "response_sent_to_client_ts": 1792250570.9822536
  }
}
POST /v1/chat/completions
{
  "id": "611255fed30d485c89a2d3234d74ad81",
  "object": "chat.completion",
  "created": 1792250571,
  "model": "default",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "Earth",
        "reasoning_content": null
      },
      "logprobs": null,
      "finish_reason": "stop",
      "matched_stop": 151645
    }
  ],
  "usage": {
    "prompt_tokens": 21,
    "total_tokens": 23,
    "completion_tokens": 2,
    "prompt_tokens_details": {
      "cached_tokens": 0
    },
    "reasoning_tokens": 0
  },
  "metadata": {
    "weight_version": "default",
    "weight_versions": [
      {
        "version": "default",
        "start": 0,
        "end": 2
      }
    ]
  }
}
