From Kosta (a given name) + -ić (“descendant of”), with the given name ultimately from Latin Cōnstantīnus, possibly via Greek Κώστας (Kóstas).
Kòstić m (Cyrillic spelling Ко̀стић)