In its current form it is endless but I put a cap on the amount of enemies that can spawn. So eventually you hit "max" difficulty