In computer science, one definition of algorithm is basically any program that runs on a turing machine. By that definition, any LLM is an algorithm.