content: <?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <headerData>
  <submissionType>144</submissionType>
  <filerInfo>
  <filer>
  <filerCredentials>
  <cik>0001866650</cik>
  <ccc>XXXXXXXX</ccc>
  </filerCredentials>
  </filer>
  <liveTestFlag>LIVE</liveTestFlag>
  </filerInfo>
  </headerData>
  <formData>
  <issuerInfo>
  <issuerCik>0001467760</issuerCik>
  <issuerName>Apollo Commercial Real Estate Finance, Inc.</issuerName>
  <secFileNumber>001-34452</secFileNumber>
  <issuerAddress>
  <street1 xmlns="http://www.sec.gov/edgar/common">9 West 57th Street, 42nd Floor</street1>
  <city xmlns="http://www.sec.gov/edgar/common">New York</city>
  <stateOrCountry xmlns="http://www.sec.gov/edgar/common">NY</stateOrCountry>
  <zipCode xmlns="http://www.sec.gov/edgar/common">10019</zipCode>
  </issuerAddress>
  <issuerContactPhone>212-515-3200</issuerContactPhone>
  <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Whonder Carmencita N.M.</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
  <relationshipsToIssuer>
  <relationshipToIssuer>Director</relationshipToIssuer>
  </relationshipsToIssuer>
  </issuerInfo>
  <securitiesInformation>
  <securitiesClassTitle>Common Stock</securitiesClassTitle>
  <brokerOrMarketmakerDetails>
  <name>Wells Fargo Securities, LLC</name>
  <address>
  <street1 xmlns="http://www.sec.gov/edgar/common">1525 West WT Harris Blvd</street1>
  <city xmlns="http://www.sec.gov/edgar/common">Charlotte</city>
  <stateOrCountry xmlns="http://www.sec.gov/edgar/common">NC</stateOrCountry>
  <zipCode xmlns="http://www.sec.gov/edgar/common">28262</zipCode>
  </address>
  </brokerOrMarketmakerDetails>
  <noOfUnitsSold>11000</noOfUnitsSold>
  <aggregateMarketValue>109522.6</aggregateMarketValue>
  <noOfUnitsOutstanding>138871188</noOfUnitsOutstanding>
  <approxSaleDate>03/04/2025</approxSaleDate>
  <securitiesExchangeName>NYSE</securitiesExchangeName>
  </securitiesInformation>
  <securitiesToBeSold>
  <securitiesClassTitle>Common Stock</securitiesClassTitle>
  <acquiredDate>04/03/2023</acquiredDate>
  <natureOfAcquisitionTransaction>Restricted stock issued under an S-8 registered plan</natureOfAcquisitionTransaction>
  <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
  <isGiftTransaction>N</isGiftTransaction>
  <amountOfSecuritiesAcquired>10338</amountOfSecuritiesAcquired>
  <paymentDate>04/03/2023</paymentDate>
  <natureOfPayment>Equity compensation for services rendered</natureOfPayment>
  </securitiesToBeSold>
  <securitiesToBeSold>
  <securitiesClassTitle>Common Stock</securitiesClassTitle>
  <acquiredDate>04/01/2022</acquiredDate>
  <natureOfAcquisitionTransaction>Restricted stock issued under an S-8 registered plan</natureOfAcquisitionTransaction>
  <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
  <isGiftTransaction>N</isGiftTransaction>
  <amountOfSecuritiesAcquired>662</amountOfSecuritiesAcquired>
  <paymentDate>04/01/2022</paymentDate>
  <natureOfPayment>Equity compensation for services rendered</natureOfPayment>
  </securitiesToBeSold>
  <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
  <noticeSignature>
  <noticeDate>03/06/2025</noticeDate>
  <signature>/s/ Carmencita N.M. Whonder</signature>
  </noticeSignature>
  </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3322}]
text: 144
  0001866650
  XXXXXXXX
  LIVE
  0001467760
  Apollo Commercial Real Estate Finance, Inc.
  001-34452
  9 West 57th Street, 42nd Floor
  New York
  NY
  10019
  212-515-3200
  Whonder Carmencita N.M.
  Director
  Common Stock
  Wells Fargo Securities, LLC
  1525 West WT Harris Blvd
  Charlotte
  NC
  28262
  11000
  109522.6
  138871188
  03/04/2025
  NYSE
  Common Stock
  04/03/2023
  Restricted stock issued under an S-8 registered plan
  Issuer
  N
  10338
  04/03/2023
  Equity compensation for services rendered
  Common Stock
  04/01/2022
  Restricted stock issued under an S-8 registered plan
  Issuer
  N
  662
  04/01/2022
  Equity compensation for services rendered
  Y
  03/06/2025
  /s/ Carmencita N.M. Whonder