Thirty-six possible models for NbC (111)/NbN (111) interface were established.
Termination structure and stacking sequence both influence the interfacial stability.
Atomic structure and electronic transition across the interfaces are smooth.
Chemical bond between Nb/C and Nb/N in interfaces shows both covalency and ionicity.
Ionicity for Nb/N bonding is stronger than that for Nb/C bonding.