Anterior segment optical coherence tomography (AS-OCT) allows the explore not only the anterior chamber but also the front part of the vitreous cavity. Our cross-sectional single-centre study investigated whether AS-OCT can distinguish between vitreous involvement due to vitreoretinal lymphoma (VRL) and vitritis in uveitis. We studied AS-OCT images from 28 patients (11 with biopsy-proven VRL and 17 with differential diagnosis uveitis) using publicly available radiomics software written in MATLAB. Patients were divided into two balanced groups: training and testing. Overall, 3260/3705 (88%) AS-OCT images met our defined quality criteria, making them eligible for analysis. We studied five different sets of grey-level samplings (16, 32, 64, 128, and 256 levels), finding that 128 grey levels performed the best. We selected the five most effective radiomic features ranked by the ability to predict the class (VRL or uveitis). We built a classification model using the xgboost python function; through our model, 87% of eyes were correctly diagnosed as VRL or uveitis, regardless of exam technique or lens status. Areas under the receiver operating characteristic curves (AUC) in the 128 grey-level model were 0.95 [CI 0.94, 0.96] and 0.84 for training and testing datasets, respectively. This preliminary retrospective study highlights how AS-OCT can support ophthalmologists when there is clinical suspicion of VRL.