We propose a quantum Otto cycle in two spin-1/2 anisotropic XY model transverse external magnetic field. first characterize the parameter regime that working medium operates as an engine adiabatic regime. Then, we consider finite-time behavior of with and without utilizing shortcut to adiabaticity (STA) technique. STA schemes guarantee dynamics system follows path, at expense introducing contro...