GPT is legal in China. GPT is widely used in natural language processing and text generation. When using GPT to write novels, you should abide by the law, and you should not infringe on the rights and interests of others, and you should not make illegal or harmful content, such as malicious fraud and malicious dissemination of false information, otherwise you will be punished by law.