Transformer models have had a great impact on natural language processing (NLP) in recent years by realizing outstanding and efficient contextualized language models. Recent studies have used transformer-based language models for various NLP tasks, including Persian named entity recognition (NER). However, in complex tasks, for example, NER, it is difficult to determine which contextualized embedding will produce the best representation for the tasks. Considering the lack of comparative studies to investigate the use of different contextualized pretrained models with sequence modeling classifiers, we conducted a comparative study about using different classifiers and embedding models. In this paper, we use different transformer-based language models tuned with different classifiers, and we evaluate these models on the Persian NER task. We perform a comparative analysis to assess the impact of text representation and text classification methods on Persian NER performance. We train and evaluate the models on three different Persian NER datasets, that is, MoNa, Peyma, and Arman. Experimental results demonstrate that XLM-R with a linear layer and conditional random field (CRF) layer exhibited the best performance. This model achieved phrase-based F-measures of 70.04, 86.37, and 79.25 and word-based F scores of 78, 84.02, and 89.73 on the MoNa, Peyma, and Arman datasets, respectively. These results represent state-of-the-art performance on the Persian NER task.Named entity recognition (NER) detects and classifies named entities in text into categories, for example, persons, organizations, locations, and time expressions. NER is a fundamental task in many natural language processing (NLP) applications, for example, information extraction, text summarization, and machine translation, especially for low-resource languages, for example, Persian, which requires additional features to process the text effectively.NER is applied to various domains, and the set of entities is selected based on the given domain, for example, NER has been used to extract drug and disease mentions in English and Russian by Miftahutdinov and others [1]. In addition, Chen and others [2] investigated