`cpdef` functions generate both a C-level function and a Python wrapper, allowing calls from both Cython/C and pure Python. While providing C-speed when called from Cython, they incur a minor, measurable overhead compared to `cdef` due to the wrapper's Python interoperability.