This is the first study to propose and validate a dual-biomarker stratification model that combines a surrogate for insulin resistance (the TyG index) with an immunodeficiency marker (CD4 T-cell count) to assess the mortality risk in HIV-associated sepsis. Here, CD4 is linked to immune system disorder.