The advent of Large Language Models (LLMs) has the potential to transform item rankings and recommender systems by leveraging extensive training to provide nuanced and personalized suggestions based on comprehensive contextual information about items. LLMs offer advantages, such as easy updating with new preferences and flexibility, in maintaining current relevance. In this paper, we explore the use of LLMs for item rating prediction and recommendation. The LLMs were tested in their capacities as rating predictors and as ranked recommended list generators. We have chosen four advanced LLMs, Llama 3.1 70B, Qwen 2.5 32B, Mistral 7B, and OpenLLaMA 2.0 13B to be rating generators and item recommenders due to their transformer-based architecture. We also conducted an n-shot experimentation and fine tuning to assess how different amounts of data influenced the LLMs’ rating prediction and ranking recommendation. It is theorized that with more data regarding a user’s specific tastes the model will have more accurate results. Specifically, we evaluated three sample sizes—5, 10, and each user’s full rating history—plus fine-tuning, to assess how increased sample information affects accuracy. Experimental results showed that traditional User-Based Collaborative Filtering (UBCF) outperformed LLMs in rating prediction, yielding higher accuracy. However, in generating ranked recommendation lists, LLMs exhibited strong performance, with Llama 3.1 70B achieving superior overall results compared to other LLMs and UBCF.