The former clearly implies the latter, since the question is asked in an incredulous tone and presupposes that an LLM "perpetrates thought".
A neutral way of phrasing that question would be something like, "Are there mechanisms that would allow an entity without consciousness to generate such outputs?"