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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2025-12-02</periodOfReport>

    <issuer>
        <issuerCik>0001018963</issuerCik>
        <issuerName>ATI INC</issuerName>
        <issuerTradingSymbol>ATI</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001572385</rptOwnerCik>
            <rptOwnerName>WETHERBEE ROBERT S</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>2021 MCKINNEY AVENUE</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 1100</rptOwnerStreet2>
            <rptOwnerCity>DALLAS</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>75201</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>Executive Chairman</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>true</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $0.10 per share</value>
            </securityTitle>
            <transactionDate>
                <value>2025-12-18</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>6507</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>108.86</value>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>180031.3409</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $0.10 per share</value>
            </securityTitle>
            <transactionDate>
                <value>2025-12-18</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>47355</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>109.57</value>
                    <footnoteId id="F3"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>132676.3409</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $0.10 per share</value>
            </securityTitle>
            <transactionDate>
                <value>2025-12-18</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>6158</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>110.34</value>
                    <footnoteId id="F4"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>126518.3409</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares sold pursuant to a 10b5-1 Trading Plan dated August 15, 2025, entered into for personal tax and estate planning purposes.</footnote>
        <footnote id="F2">The price reported is a weighted average price.  The shares were sold in multiple transactions at prices ranging from $108.18 to to $109.17.  The reporting person undertakes to provide to the Issuer, its security holders and the Staff of the U.S. Securities and Exchange Commission (the &quot;SEC&quot;), upon request, full information regarding the number of shares sold at each specific price within the range reported.</footnote>
        <footnote id="F3">The price reported is a weighted average price.  The shares were sold in multiple transactions at prices ranging from $109.18 to to $110.17.  The reporting person undertakes to provide to the Issuer, its security holders and the Staff of the SEC, upon request, full information regarding the number of shares sold at each specific price within the range reported.</footnote>
        <footnote id="F4">The price reported is a weighted average price.  The shares were sold in multiple transactions at prices ranging from $110.18 to to $110.67.  The reporting person undertakes to provide to the Issuer, its security holders and the Staff of the SEC, upon request, full information regarding the number of shares sold at each specific price within the range reported.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Amanda J. Skov, Attorney-in-Fact for Robert S. Wetherbee</signatureName>
        <signatureDate>2025-12-19</signatureDate>
    </ownerSignature>
</ownershipDocument>
