Our model predicted that infection duration is dependent on the magnitude of CD8+ T cells rather than their efficacy, which we verified by depleting CD8+ T cells. Here, CD8A is linked to infection.