Exhibit 31.1
CERTIFICATION
PURSUANT TO RULE 13a-14 AND 15d-14
UNDER THE SECURITIES EXCHANGE ACT OF 1934, AS AMENDED
I, Robert M. McKee, certify that:
1.    I have reviewed this quarterly report on Form 10-Q/A of Kodiak Gas Services, Inc.; and
2.    Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report.
Date: November 6, 2025
/s/ Robert M. McKee
Name: Robert M. McKee
Title:President and Chief Executive Officer