The equilibrium geometries and energetics of the A 4 B 4 -type binary clusters consisting of Na, Mg, Al, and Si atoms have been calculated using ab initio molecular-dynamics simulation under the framework of densityfunctional theory with the plane-wave-based pseudopotential approach. Several local minima were found to lie close in energy in the potential-energy surface, suggesting a rich variety of isomers for these binary clusters. Further, optimization of the local minimum structures has been carried out by taking all electrons into account using the linear combination of atomic orbitals approach with nonlocal approximations for the exchangecorrelation effect. The stability aspects of these clusters have been analyzed based on different parameters such as binding energy, ionization potential, and the energy gap between the highest occupied and lowest unoccupied molecular orbitals ͑HLG͒ obtained from the energetics of the neutral and cation clusters corresponding to the lowest-energy structures. The results reveal that for such heteroatomic systems, there is no direct correlation between the binding energies and the ionization potentials or the HLG's for these binary clusters. The charge-transfer analysis has been carried out to understand the bonding nature of these hetreroatomic systems. The results suggest that while bonding between Na, Al, and Si atoms involves significant charge transfer, the Mg atom interacts very weakly. This is further corroborated from the heat of formation of these mixed clusters. While mixing between Na 4 , Al 4 , and Si 4 tetramer clusters is highly exothermic, mixing of the Mg 4 cluster is less exothermic. The enthalpy of mixing is in the order of