How does one pronounce the Greek word that means “if”?

Whereas in Ancient Greek, it’s εἰ, pronounced /ei/ in Homeric Greek, /eː/ in Attic Greek, and /i/ in Koine and Byzantine.

Modern αν is Ancient ἄν, which was a modal particle accompanying εἰ (if… would…, who-ever); it ended up replacing it.