The amino acids in protein can be converted to glucose, so a ketogenic diet specifies enough protein to preserve lean body mass including muscle, but that will still cause ketosis.
There is not one “standard” ketogenic diet with a specific ratio of macronutrients ( carbohydrates, protein, fat). The ketogenic diet typically reduces total carbohydrate intake to less than 50 grams a day—less than the amount found in a medium plain bagel—and can be as low as 20 grams a day. Generally, popular ketogenic resources suggest an average of 70-80% fat from total daily calories, 5-10% carbohydrate, and 10-20% protein. For a 2000-calorie diet, this translates to about 165 grams fat, 40 grams carbohydrate, and 75 grams protein. The protein amount on the ketogenic diet is kept moderate in comparison with other low-carb high-protein diets, because eating too much protein can prevent ketosis. The amino acids in protein can be converted to glucose, so a ketogenic diet specifies enough protein to preserve lean body mass including muscle, but that will still cause ketosis.