The best diet for a pet hamster typically consists of a combination of high-quality hamster pellets, fresh vegetables, occasional fruits, and limited amounts of seeds and nuts. It's important to provide a balanced diet to ensure your hamster gets all the necessary nutrients. Fresh water should always be available, and treats should be given sparingly to prevent obesity.