A strict ketogenic diet is <20g of carbs a day, or about 5% of your total calories. It’s recommended to start out with a strict keto diet if you are a beginner so you can get the hang of eating keto foods. Some people eat under 50g of carbs per day and can stay in ketosis just fine. Others do a more low-carb style (Atkins) diet with <100g a day. Once you are settled in after a few weeks of strict keto start raising your carbs until you find the sweet spot for your body.