The atomic and electronic structures of pyramidal model STM tips of transition metals (W, Rh, Pd, Ir and Pt) were investigated using density functional theory (DFT) method. The calculated density of states show that d electrons of the apex atoms in the M4 (M = W, Rh, Pd, Ir, Pt) model tips behave differently near the Fermi level, with the dz2 state being dominant only for W tip. The electronic structures of pyramid structures of W and Pd single-atom tips with larger sizes are studied and compared. The density of states of Pd apex atom and W apex atom show different occupation of d-bands leading to asymmetric density of states for Pd tip. The asymmetric tunneling currents measured by W and Pt-Ir STM tips are explained by the calculated electronic structures of W and Pd model tips.