The striker has received a pay-out and is now a free agent.
He posted to social media: "We are sure that we will meet again in the future.
"It's time to say goodbye to the Alavés family. It has been a pleasure to be part of the history of this club. Thank you for making it possible.
"Thanks to the club, my teammates, the coaching staff and the fans. I wish you so best with all my heart."