In this research, with the treatment with PCP and antibiotics, the serum levels of proinflammatory factors TNF-α and IL-6 were significantly decreased, but the levels of anti-inflammatory cytokines IL-10 and IL-4 were elevated, leading to a reduction in the body’s inflammatory response. Here, TNF is linked to pneumocystosis.