I have a Greenworks model 25242 mower, which is the same as the Ryobi, but with a different larger Li-Ion battery. Be advised that the blade is only 15.5" long, whereas the blade on the Bosch is 14.5" long, so the difference in cutting width is only 1". The rear wheels on the Ryobi are farther apart than the front, whereas on the Bosch they are neatly tucked in, so you can do a much better job of cutting close to walls and fences with Bosch and pass through tighter spaces. The grass bag on the Ryobi is considerably larger than the Bosch, so it wins in this regard. My Greenworks (Ryobi) is sturdy and has been reliable. It's handle folds flat, which is convenient for storage. The Bosch is about 10 lbs lighter than the Ryobi. You can expect about a 30 minute run time on a fully charged battery with either mower.
One warning: Both mowers have a maximum cutting height adjustment of 2.75" (70 cm), so if you want to cut your grass longer, you look for a different mower. I replaced the stock 6" front wheels on mine with 7" wheels to bring the cutting height above 3".