Yes, just weight.
“The Deore is all steel, the SLX swaps the largest cog out to aluminum, and the XT swaps the two largest to aluminum. For absolute longevity, go with the Deore. For a slight weight savings and a cool looking black largest cog, take the SLX.”
That was from this video...