The accurate knowledge of cosmic ion fluxes is essential for fundamental physics, deep space missions, and exploration activities in the solar system. In the HelMod-4 model the Parker transport equation is solved using a Monte Carlo approach to evaluate the solar modulation effect on local interstellar spectra of Galactic Cosmic Rays (GCRs). This work presents the latest updates to the HelMod-4 model parameters, focusing on the descending phase of solar cycle 24. The updates are motivated by the latest high-precision measurements from the AMS-02 detector which revealed for the first time with high accuracy the features of GCR fluxes’ evolution during a period of positive interplanetary magnetic field polarity. Furthermore, we present HelMod-4/CUDA, a GPU-accelerated approach for solving the Parker equation in the heliosphere using a stochastic differential equation method. The code is an evolution of the HelMod-4 code, porting the algorithm to GPU architecture using the CUDA programming language. This approach achieves significant speedup compared to a CPU implementation. The HelMod-4/CUDA code has been validated by comparing its results with the most precise and updated experimental GCR spectra observed during high and low solar activity periods, both in the inner and outer heliosphere, at the Earth location, and outside the ecliptic plane. The comparison shows that HelMod-4 and HelMod-4/CUDA can be equivalently used to provide solar-modulated spectra with a similar degree of accuracy in reproducing observed data.