An AI that has a sense of self and memory is capable of suffering. There's different measures of suffering. If any moment of suffering only existed for itself in the present moment, that is a lesser kind of suffering than a suffering that is drawn out over time through memory.