<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2024-05-28</periodOfReport>

    <issuer>
        <issuerCik>0001351636</issuerCik>
        <issuerName>SOUNDTHINKING, INC.</issuerName>
        <issuerTradingSymbol>SSTI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001705470</rptOwnerCik>
            <rptOwnerName>Clark Ralph A.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O SOUNDTHINKING INC.,</rptOwnerStreet1>
            <rptOwnerStreet2>39300 CIVIC CENTER DRIVE</rptOwnerStreet2>
            <rptOwnerCity>FREMONT</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94538</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>President and CEO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-05-28</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>932</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>16.2808</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>541809</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">The Reporting Person made a prior election to sell only the number of shares of common stock necessary to cover applicable tax withholding obligations realized upon the vesting of restricted stock units, as well as any related brokerage commission fees.</footnote>
        <footnote id="F2">The shares were sold at prices ranging from $16.28 to $16.31. The Reporting Person will provide on request to the SEC, the issuer or the security holder of the issuer, full information regarding the number of shares sold at each separate price.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Ralph A. Clark</signatureName>
        <signatureDate>2024-05-30</signatureDate>
    </ownerSignature>
</ownershipDocument>
