Yes, beans are better than rice in a keto diet. Rice contains 44gms of net carbs against beans' average net carbs of 11gms. People have to limit their carb intake to 20-30 per day in a keto diet to stay in Ketosis. As a result, beans are proven better than rice in a keto diet.