#4
Many Tanytarsini are superficially similar to
Polypedilum and related genera. Your fly has R-M nearly perpendicular to M and R5, which is the key character used to distinguish the tribes.
Other considerations: Tanytarsini usually has wings haired, R4+5 shorter than M, anal lobe reduced to nonexistent, and dorsal eye extensions absent.