Imo?
Did you see the matrix I linked?
Pjanic scored more goals, had more assists, made more key passes, completed more passes, made more forward passes, had more tackles, interceptions and won more aerial duels. The only parameter where Modric is better is blocks per 90 minutes.