Please wait
   .8

Consent of Independent Registered Public Accounting Firm

We hereby consent to the incorporation by reference in this Annual Report on Form 40-F for the year ended September 30, 2024 of CGI Inc. of our report dated November 5, 2024, relating to the consolidated financial statements and the effectiveness of internal control over financial reporting, which appears in .2 to this Annual Report on Form 40-F.

We also consent to the incorporation by reference in the Registration Statements on Form S-8 Nos. 333-197742, 333-220741, 333-261831 and 333-261832 of CGI Inc. of our report dated November 5, 2024 referred to above. We also consent to reference to us under the heading Interests of Experts in the Annual Information Form, filed as to this Annual Report on Form 40-F, which is incorporated by reference in such Registration Statements.

/s/PricewaterhouseCoopers LLP

Montréal, Canada

December 18, 2024