<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2026"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gxai-20260331.xsd" xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001895618</identifier>
        </entity>
        <period>
            <startDate>2026-01-01</startDate>
            <endDate>2026-03-31</endDate>
        </period>
    </context>
    <context id="c1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001895618</identifier>
        </entity>
        <period>
            <instant>2026-05-13</instant>
        </period>
    </context>
    <unit id="shares">
        <measure>shares</measure>
    </unit>
    <dei:DocumentType contextRef="c0" id="ixv-424">10-Q/A</dei:DocumentType>
    <dei:DocumentQuarterlyReport contextRef="c0" id="ixv-425">true</dei:DocumentQuarterlyReport>
    <dei:DocumentPeriodEndDate contextRef="c0" id="ixv-426">2026-03-31</dei:DocumentPeriodEndDate>
    <dei:DocumentFiscalYearFocus contextRef="c0" id="ixv-427">2026</dei:DocumentFiscalYearFocus>
    <dei:DocumentTransitionReport contextRef="c0" id="ixv-428">false</dei:DocumentTransitionReport>
    <dei:EntityFileNumber contextRef="c0" id="ixv-429">001-41620</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-65">GAXOS.AI INC.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="c0" id="ixv-76">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityTaxIdentificationNumber contextRef="c0" id="ixv-81">87-3288897</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="c0" id="ixv-430">101 Eisenhower Pkwy</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="c0" id="ixv-431">Suite 300</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="c0" id="ixv-432">Roseland</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="c0" id="ixv-433">NJ</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="c0" id="ixv-109">07068</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="c0" id="ixv-434">(973)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="c0" id="ixv-435">275-7428</dei:LocalPhoneNumber>
    <dei:Security12bTitle contextRef="c0" id="ixv-154">Common Stock, par value $0.0001 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="c0" id="ixv-158">GXAI</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="c0" id="ixv-436">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityCurrentReportingStatus contextRef="c0" id="ixv-437">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="c0" id="ixv-438">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="c0" id="ixv-190">Non-accelerated Filer</dei:EntityFilerCategory>
    <dei:EntitySmallBusiness contextRef="c0" id="ixv-197">true</dei:EntitySmallBusiness>
    <dei:EntityEmergingGrowthCompany contextRef="c0" id="ixv-204">true</dei:EntityEmergingGrowthCompany>
    <dei:EntityExTransitionPeriod contextRef="c0" id="ixv-439">false</dei:EntityExTransitionPeriod>
    <dei:EntityShellCompany contextRef="c0" id="ixv-440">false</dei:EntityShellCompany>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="c1"
      decimals="INF"
      id="ixv-441"
      unitRef="shares">10219934</dei:EntityCommonStockSharesOutstanding>
    <dei:AmendmentDescription contextRef="c0" id="ixv-245">Gaxos.AI Inc. (the &#x201c;Company&#x201d;) is
filing this Amendment No.&#160;1 to the Quarterly Report on Form 10-Q (this &#x201c;Amendment&#x201d;) to amend its Quarterly Report on
Form 10-Q for the quarter ended March&#160;31, 2026, originally filed with the Securities and Exchange Commission (&#x201c;SEC&#x201d;)
on May&#160;14, 2026 (the &#x201c;Original Filing&#x201d;). This Amendment is being filed solely for the purpose of revising the certifications
filed as Exhibits 31.1 and 31.2 of the Original Filing (&#x201c;Section&#160;302 Certifications&#x201d;) to correct an inadvertent error
related to the number of shares of common stock on May 13, 2026. The number of shares of common stock was changed from 7,123,453 to 10,219,934.This Amendment contains only the cover page,
this explanatory note, the signature page and the revised Section&#160;302 Certifications filed as Exhibits 31.1 and 31.2 to this Amendment.
Because no financial statements have been included in this Amendment, paragraph 3 has been omitted from each of the revised Section&#160;302
Certifications. No other changes have been made to the Original Filing. This Amendment speaks as of the filing date of the Original Filing,
does not reflect any information or events subsequent to the Original Filing and does not modify or update in any way disclosures contained
in the Original Filing. Accordingly, this Amendment should be read in conjunction with the Original Filing and with the Company&#x2019;s
other filings made with the SEC subsequent to the Original Filing.</dei:AmendmentDescription>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-444">0001895618</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c0" id="ixv-445">true</dei:AmendmentFlag>
    <dei:DocumentFiscalPeriodFocus contextRef="c0" id="ixv-446">Q1</dei:DocumentFiscalPeriodFocus>
    <dei:CurrentFiscalYearEndDate contextRef="c0" id="ixv-447">--12-31</dei:CurrentFiscalYearEndDate>
</xbrl>
