There are a lot of riders with contracts expiring at the end of this year, this is the list.
Lewis Hamilton
Yuki Tsunoda
Daniel Ricciardo
Kevin Magnussen
Nico Hülkenberg
Guanyu Zhou
Logan Sargeant
I have heard that Hamilton is quite eager to race in F1 for 5 more years. He really wants that 8th title but let's see what time brings to us. As of 2026, Mercedes will need to get ahead of Red Bull about car development to make it possible for Hamilton. Otherwise it is very likely to stay as just a dream for him. For now they say Mercedes are ahead of Red Bull on this topic.
Ricciardo has signed for AlphaTauri for the rest of the season. After that it is doubtful what he will do. I read some news like Red Bull have announced Perez for next season also but I don't know how true that is. If Perez continues to disappoint his team I think that he might not be able to stay that long.