We show that the automorphic étale cohomology of a (possibly noncompact) PEL-type or Hodge-type Shimura variety in characteristic zero is canonically isomorphic to the cohomology of the associated nearby cycles over most of their mixed characteristics models constructed in the literature.