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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-02-14</periodOfReport>

    <issuer>
        <issuerCik>0001743725</issuerCik>
        <issuerName>GRID DYNAMICS HOLDINGS, INC.</issuerName>
        <issuerTradingSymbol>GDYN</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001805673</rptOwnerCik>
            <rptOwnerName>Gryzlov Yury</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O GRID DYNAMICS HOLDINGS, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>6101 BOLLINGER CANYON ROAD, SUITE 465</rptOwnerStreet2>
            <rptOwnerCity>SAN RAMON</rptOwnerCity>
            <rptOwnerState>CA</rptOwnerState>
            <rptOwnerZipCode>94583</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>true</isOfficer>
            <officerTitle>CHIEF OPERATING OFFICER</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-02-14</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>F</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>2629</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>6.58</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>544679</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares that have been withheld by the Issuer to satisfy tax withholding and remittance obligations in connection with the net settlement of restricted stock units granted to the Reporting Person on February 14, 2025.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Anil Doradla, by power of attorney</signatureName>
        <signatureDate>2026-02-18</signatureDate>
    </ownerSignature>
</ownershipDocument>
