The short answer
Ganymede is the figure most often named as Zeus’s male lover in Greek myth. He was a beautiful Trojan prince whom Zeus took to Olympus to serve as cupbearer. Calling him the only male lover goes beyond what the ancient sources say. Ganymede is the name that appears most often, but the surviving sources don’t give a complete list of Zeus’s partners, so “only” can’t be confirmed.
Ganymede in the Iliad
In book 20 of Homer’s Iliad, the gods take Ganymede because of his beauty, to pour wine for them. He is described as the youngest of three handsome sons of Tros, the founder of Troy. To make up for his loss, Zeus gives Tros fine horses, the kind that carry the immortal gods, delivered by Hermes.
The Iliad doesn’t describe a romance. The abduction is the gods’ response to the boy’s beauty, and nothing in Homer’s account suggests a love affair.
How the story became a love story
Later writers turned the abduction into a love story. By the 6th century BCE, the lover reading had appeared, and by the 5th century BCE, dramatists and poets such as Sophocles present Ganymede as Zeus’s beloved. Roman writers went further and made the erotic relationship explicit.
Some accounts change the payment as well. A lost epic called the Little Iliad says Tros received a golden vine instead of horses.
Sources also disagree about Ganymede’s parents. Most name Tros as his father, while a few name Laomedon.
Other names that come up
Chrysippus is sometimes cited as another male love of Zeus, but the surviving sources tie him to someone else. In the lost Oedipodeia, Laius, the father of Oedipus, carries off Chrysippus, the son of Pelops. That abduction is not Zeus’s.
Apollo has a better-known male love in Hyacinthus, a youth whose story ends in tragedy in the best-known version. That story is about Apollo, not Zeus, but readers often mix the two.
Zeus is far better known for his relationships with goddesses and mortal women, Hera among them.
Later traditions
Later tradition places Ganymede among the stars, linked with the constellation Aquarius.
How to check the sources
Popular retellings often add details that the ancient texts don’t contain. If you want to check the story, read book 20 of the Iliad in a translation with notes. The Iliad dates to around the 8th century BCE, far later than the Sumerian poems. Readers asking “Which mythology is the oldest?” should keep that gap in mind when they compare Greek sources with older ones.