The purpose of the article is to find out the capabilities of public versions of modern artificial intelligence in the field of creating historical texts, their quality, theoretical orientation and the possibility of using them as a tool for historical research, as well as auxiliary material for students and anyone interested in history. To achieve the goal of the study, a comparison was made of texts on historical topics created by domestic (GigaChat from Sberbank) and foreign (ChatGPT 3.5 from OpenAI) artificial intelligence. Analyzing the test results, it was noted that both AIs make factual errors, including crucial ones. A comparison of foreign and domestic AI showed that the knowledge base used is much wider and richer in ChatGPT 3.5 from OpenAI, so it gives more detailed, extensive and balanced answers. GigaChat from Sberbank, as well as ChatGPT 3.5 from OpenAI, «adheres» to mainly liberal views on Russian history, which is explained by the predominance of Western liberal theories in domestic historical literature, used as an AI knowledge base. Assessing AI responses in general, the author believes that both versions of artificial intelligence give a mostly negative assessment of Russian history. The author considers it inappropriate to recommend both AIs for use by schoolchildren and students as an auxiliary tool for studying Russian history.