In this paper, the complex dynamics of a quasi-periodic plasma perturbations (QPP) model, which governs the interplay between a driver associated with pressure gradient and relaxation of instability due to magnetic field perturbations in Tokamaks, are studied. The model consists of three coupled ordinary differential equations (ODEs) and contains three parameters. This paper consists of three parts: (1) We study the stability and bifurcations of the QPP model, which gives the theoretical interpretation of various types of oscillations observed in [Phys. Plasmas, 18(2011):1-7]. In particular, assuming that there exists a finite time lag τ between the plasma pressure gradient and the speed of the magnetic field, we also study the delay effect in the QPP model from the point of view of Hopf bifurcation. (2) We provide some numerical indices for identifying chaotic properties of the QPP system, which shows that the QPP model has chaotic behaviors for a wide range of parameters. Then we prove that the QPP model is not rationally integrable in an extended Liouville sense for almost all parameter values, which may help us distinguish values of parameters for which the QPP model is integrable. (3) To understand the asymptotic behavior of the orbits for the QPP model, we also provide a complete description of its dynamical behavior at infinity by the Poincaré compactification method. Our results show that the input power h and the relaxation of the instability δ do not affect the global dynamics at infinity of the QPP model and the heat diffusion coefficient η just yield quantitative, but not qualitative changes for the global dynamics at infinity of the QPP model.