Both tools have its pros and cons - ahrefs can detect links or new links fairly quickly as their spiders are extremely active - so if you are building links, then using ahrefs to confirm the existence would be efficient. semrush is a little different - it can provide very good insight on the keyword's value and traffic, but not as good as link detection I guess.