A dozen large investors filed a joint lawsuit against 12 banks for allegedly conspiring to rig global foreign-exchange prices, according to a new consolidated complaint.

The class-action lawsuit, filed in U.S. District Court in the Southern District of New York late Monday, was from a group of investors across the U.S. and Caribbean, including city and state pension plans.

They...