In thriller, reader often knows who identity the villain that he knows at moment, but in a mistery, the villain keeps secret until the very end.
In a thriller, the reader often knows right away who the villain is, but in a mystery, the villain is kept secret until the very end.