<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ecd="http://xbrl.sec.gov/ecd/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="gxai-20260811.xsd" xlink:type="simple"/>
    <context id="c0">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001895618</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName contextRef="c0" id="ixv-127">GAXOS.AI INC.</dei:EntityRegistrantName>
    <ecd:InsiderTrdPoliciesProcAdoptedFlag contextRef="c0" id="ixv-4339">true</ecd:InsiderTrdPoliciesProcAdoptedFlag>
    <ecd:AwardTmgMnpiDiscTextBlock contextRef="c0" id="ixv-2232">&lt;div class="BRDSX_h4" style="color: #000000; font-family: 'Times New Roman', Times, serif; font-size: 10pt; font-style: italic; margin-top: 20.5pt; margin-left: 0pt; text-align: left;"&gt;Policies and Practices Regarding the Grant of Equity Awards &lt;/div&gt;&lt;div class="BRDSX_para" style="color: #000000; font-family: 'Times New Roman', Times, serif; font-size: 10pt; margin-top: 6pt; margin-left: 0pt; text-indent: 20pt; text-align: justify;"&gt;We do not schedule the grant of any equity awards in anticipation of the disclosure of material, non-public information and we do not schedule the disclosure of material, non-public information based on the timing of granting equity awards. We have not adopted a formal policy that dictates the timing of equity award grants. We may choose to grant equity awards outside of the annual broad-based awards (e.g., as part of a new hire package or as a retention or promotional incentive). Stock options may be granted only with an exercise price at or above the closing market price of our common stock on the date of grant. During 2025, no stock option grants were made to any of our NEOs during any period beginning four business days before the filing or furnishing of a periodic report or current report and ending one business day after the filing or furnishing of any such report with the SEC. We believe that our Insider Trading Policy is reasonably designed to promote compliance with insider trading laws, rules and regulations, and NASDAQ listing standards. A copy of our Insider Trading Policy was filed as Exhibit&#160;19.1 to our Annual Report on Form&#160;10-K for the fiscal year ended December&#160;31, 2025. &lt;/div&gt;</ecd:AwardTmgMnpiDiscTextBlock>
    <ecd:AwardTmgHowMnpiCnsdrdTextBlock contextRef="c0" id="ixv-4340">We do not schedule the grant of any equity awards in anticipation of the disclosure of material, non-public information and we do not schedule the disclosure of material, non-public information based on the timing of granting equity awards.</ecd:AwardTmgHowMnpiCnsdrdTextBlock>
    <ecd:AwardTmgMnpiCnsdrdFlag contextRef="c0" id="ixv-4341">false</ecd:AwardTmgMnpiCnsdrdFlag>
    <ecd:MnpiDiscTimedForCompValFlag contextRef="c0" id="ixv-4342">false</ecd:MnpiDiscTimedForCompValFlag>
    <ecd:AwardTmgMethodTextBlock contextRef="c0" id="ixv-4343">We have not adopted a formal policy that dictates the timing of equity award grants. We may choose to grant equity awards outside of the annual broad-based awards (e.g., as part of a new hire package or as a retention or promotional incentive). Stock options may be granted only with an exercise price at or above the closing market price of our common stock on the date of grant.</ecd:AwardTmgMethodTextBlock>
    <dei:DocumentType contextRef="c0" id="hidden-fact-0">PRE 14A</dei:DocumentType>
    <dei:EntityCentralIndexKey contextRef="c0" id="ixv-4347">0001895618</dei:EntityCentralIndexKey>
    <dei:AmendmentFlag contextRef="c0" id="ixv-4348">false</dei:AmendmentFlag>
</xbrl>
