Or
Writing with an LLM is not a shame
Should be "Writing with a LLM is not a shame", no reason to put a "an" here.
Is not about the letter, it's about practical pronunciation. "An r before a u, and an m or an f".