<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
  <headerData>
    <submissionType>144</submissionType>
    <filerInfo>
      <filer>
        <filerCredentials>
          <cik>0001706496</cik>
          <ccc>XXXXXXXX</ccc>
        </filerCredentials>
      </filer>
      <liveTestFlag>LIVE</liveTestFlag>



    </filerInfo>
  </headerData>
  <formData>
    <issuerInfo>
      <issuerCik>0001577526</issuerCik>
      <issuerName>C3.ai, Inc.</issuerName>
      <secFileNumber>001-39744</secFileNumber>
      <issuerAddress>
        <com:street1>1400 SEAPORT BLVD</com:street1>
        <com:city>REDWOOD CITY</com:city>
        <com:stateOrCountry>CA</com:stateOrCountry>
        <com:zipCode>94063</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>650-503-2200</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Davis Lisa Ann</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Director</relationshipToIssuer>
      </relationshipsToIssuer>
    </issuerInfo>
    <securitiesInformation>
      <securitiesClassTitle>Class A Common Shares</securitiesClassTitle>
      <brokerOrMarketmakerDetails>
        <name>Charles Schwab &amp; Co., Inc.</name>
        <address>
          <com:street1>3000 Schwab Way</com:street1>
          <com:city>Westlake</com:city>
          <com:stateOrCountry>TX</com:stateOrCountry>
          <com:zipCode>76262</com:zipCode>
        </address>
      </brokerOrMarketmakerDetails>
      <noOfUnitsSold>915</noOfUnitsSold>
      <aggregateMarketValue>27427.00</aggregateMarketValue>
      <noOfUnitsOutstanding>116365205</noOfUnitsOutstanding>
      <approxSaleDate>12/27/2023</approxSaleDate>
      <securitiesExchangeName>NYSE</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Class A Common Shares</securitiesClassTitle>
      <acquiredDate>12/27/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Employee Stock Option Exercise</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>C3.ai, Inc.</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>915</amountOfSecuritiesAcquired>
      <paymentDate>12/27/2023</paymentDate>
      <natureOfPayment>Broker Payment for Cashless Exercise</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>12/27/2023</noticeDate>
      <signature>Lisa Ann Davis</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 2768}]
144
0001706496
XXXXXXXX
LIVE
0001577526
C3.ai, Inc.
001-39744
1400 SEAPORT BLVD
REDWOOD CITY
CA
94063
650-503-2200
Davis Lisa Ann
Director
Class A Common Shares
Charles Schwab & Co., Inc.
3000 Schwab Way
Westlake
TX
76262
915
27427.00
116365205
12/27/2023
NYSE
Class A Common Shares
12/27/2023
Employee Stock Option Exercise
C3.ai, Inc.
N
915
12/27/2023
Broker Payment for Cashless Exercise
Y
12/27/2023
Lisa Ann Davis