I'm pretty sure LLM are deterministic in design.
The fact it doesn't give the same output for the same prompt is just a choice of the programmers to add randomness so it feels more natural.
But you can totally setup some LLMs to be perfectly deterministic.