Convergence zones where ophiolites outcrops, such as Oman and New Caledonia, allow the generation of natural H2 by redox phenomena. Nevertheless, the role of hydration of the mantle wedge between the overriding plate and the slab is often evoked to explain the H2 emanations. In the case of active subduction, such as that of the Nazca plate beneath the Andes, the presence of H2 emanation has been noted. In this study, we modelled the processes of (de)hydration and melting within the subduction zone. The quantification of water involved in mantle wedge hydration served as a proxy for H2 production. Multiple simulations have been conducted to investigate oceanic-continental subduction, wherein various parameters, especially the subduction angle, have been varied. It appears that in the case of flat subduction, the mantle hydration zone is large, extending up to 500 km from the trench. The extend is controlled by the velocity of the overriding plate. In the case of a steep subduction, the zone is narrower, and is located between the trench and the volcanic arc. Magma formation competes with H2 generation for the use of water expelled from the subducting plate. In the transition from a steep to a flat slab, the mantle hydration zone widens and the volcanic zone moves away from the trench. The oceanic crust may undergo melting, leading to a change in magma composition, before volcanism diminishes in intensity and then disappears.