<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ffd="http://xbrl.sec.gov/ffd/2025"
  xmlns:iso4217="http://www.xbrl.org/2003/iso4217"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <link:schemaRef
      xlink:href="https://xbrl.sec.gov/ffd/2025/ffd-2025.xsd"
      xlink:type="simple"/>
    <context id="c_offering_1">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002083345</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>1</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-23</startDate>
            <endDate>2026-09-23</endDate>
        </period>
    </context>
    <context id="c_offering_2">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002083345</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>2</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-23</startDate>
            <endDate>2026-09-23</endDate>
        </period>
    </context>
    <context id="c_offering_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002083345</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>3</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-23</startDate>
            <endDate>2026-09-23</endDate>
        </period>
    </context>
    <context id="c_offering_4">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002083345</identifier>
            <segment>
                <xbrldi:typedMember dimension="ffd:OfferingAxis">
                    <dei:lineNo>4</dei:lineNo>
                </xbrldi:typedMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-09-23</startDate>
            <endDate>2026-09-23</endDate>
        </period>
    </context>
    <context id="c_report">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002083345</identifier>
        </entity>
        <period>
            <startDate>2026-09-23</startDate>
            <endDate>2026-09-23</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <ffd:SubmissnTp contextRef="c_report" id="fee_001">F-1/A</ffd:SubmissnTp>
    <ffd:FeeExhibitTp contextRef="c_report" id="fee_002">EX-FILING FEES</ffd:FeeExhibitTp>
    <dei:EntityCentralIndexKey contextRef="c_report" id="fee_003">0002083345</dei:EntityCentralIndexKey>
    <ffd:RegnFileNb contextRef="c_report" id="fee_004">333-292484</ffd:RegnFileNb>
    <ffd:OfferingTableNa contextRef="c_report" id="fee_005" xsi:nil="true"/>
    <ffd:OffsetTableNa contextRef="c_report" id="fee_006">N/A</ffd:OffsetTableNa>
    <ffd:CombinedProspectusTableNa contextRef="c_report" id="fee_007">N/A</ffd:CombinedProspectusTableNa>
    <ffd:FormTp contextRef="c_report" id="fee_008">F-1</ffd:FormTp>
    <dei:EntityRegistrantName contextRef="c_report" id="fee_009">Optimal AI Limited</dei:EntityRegistrantName>
    <ffd:PrevslyPdFlg contextRef="c_offering_1" id="fee_010">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_1" id="fee_011">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_1" id="fee_012">Class A Ordinary Shares, US$0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_1" id="fee_013">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_014"
      unitRef="USD">14375000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_015"
      unitRef="USD">1985.19</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_2" id="fee_016">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_2" id="fee_017">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_2" id="fee_018">Representative's warrants</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_2" id="fee_019">true</ffd:FeesOthrRuleFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_020"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_021"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_3" id="fee_022">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_3" id="fee_023">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_3" id="fee_024">Class A Ordinary Shares issuable upon the exercise of the Representative's warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_3" id="fee_025">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_026"
      unitRef="USD">790625.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_027"
      unitRef="USD">109.19</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_4" id="fee_028">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_4" id="fee_029">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_4" id="fee_030">Class A Ordinary Shares, US$0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_4" id="fee_031">true</ffd:Rule457oFlg>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_032"
      unitRef="USD">6315000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeAmt
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_033"
      unitRef="USD">872.10</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_034"
      unitRef="USD">21480625.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_035"
      unitRef="USD">2966.48</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_036"
      unitRef="USD">2966.48</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_037"
      unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_038"
      unitRef="USD">0.00</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c_offering_1" id="fee_039">Pursuant to Rule 416 under the Securities Act of 1933, as amended (or the Securities Act), there is also being registered hereby such indeterminate number of additional shares of Class A Common Stock as may be issued or issuable because of stock splits, stock dividends and similar transactions.&lt;br/&gt;&lt;br/&gt;Estimated solely for the purpose of calculating the registration fee pursuant to Rule 457(o) under the Securities Act.&lt;br/&gt;&lt;br/&gt;The previously filed fee table reflected (i) 2,875,000 Class A Ordinary Shares at $5.00 per share, a $14,375,000.00 aggregate offering price and a fee of $1,985.19, (ii) 143,750 Class A Ordinary Shares issuable upon exercise of the Representative&#x2019;s Warrants at $5.50 per share , a $790,625.00 aggregate offering price and a fee of $109.19, and (iii) 1,263,000 Class A Ordinary Shares being registered for resale by the selling shareholders at $5.00 per share, a $6,315,000.00 aggregate offering price and a fee of $872.11, for total fees previously paid of $2,966.48, as reflected in the table as filed.&lt;br/&gt;&lt;br/&gt;The Company has since changed its offering structure and now intends to offer and sell 2,000,000 Class A Ordinary Shares at a fixed public offering price of $1.00 per share, resulting in a revised aggregate offering price of $2,000,000.00 and a corresponding registration fee of $174, calculated at the fee rate of 0.00008700. No additional fee is due because the $2,966.48 fee shown as previously paid exceeds the fee that would be payable based on the revised offering structure and maximum aggregate offering price. The revision is disclosed in this footnote rather than by changing the previously paid table entries.&lt;br/&gt;</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_2" id="fee_040">The previously filed fee table reflected (i) 2,875,000 Class A Ordinary Shares at $5.00 per share, a $14,375,000.00 aggregate offering price and a fee of $1,985.19, (ii) 143,750 Class A Ordinary Shares issuable upon exercise of the Representative&#x2019;s Warrants at $5.50 per share , a $790,625.00 aggregate offering price and a fee of $109.19, and (iii) 1,263,000 Class A Ordinary Shares being registered for resale by the selling shareholders at $5.00 per share, a $6,315,000.00 aggregate offering price and a fee of $872.11, for total fees previously paid of $2,966.48, as reflected in the table as filed.&lt;br/&gt;&lt;br/&gt;The Company has since changed its offering structure and now intends to offer and sell 2,000,000 Class A Ordinary Shares at a fixed public offering price of $1.00 per share, resulting in a revised aggregate offering price of $2,000,000.00 and a corresponding registration fee of $174, calculated at the fee rate of 0.00008700. No additional fee is due because the $2,966.48 fee shown as previously paid exceeds the fee that would be payable based on the revised offering structure and maximum aggregate offering price. The revision is disclosed in this footnote rather than by changing the previously paid table entries.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_3" id="fee_041">The previously filed fee table reflected (i) 2,875,000 Class A Ordinary Shares at $5.00 per share, a $14,375,000.00 aggregate offering price and a fee of $1,985.19, (ii) 143,750 Class A Ordinary Shares issuable upon exercise of the Representative&#x2019;s Warrants at $5.50 per share , a $790,625.00 aggregate offering price and a fee of $109.19, and (iii) 1,263,000 Class A Ordinary Shares being registered for resale by the selling shareholders at $5.00 per share, a $6,315,000.00 aggregate offering price and a fee of $872.11, for total fees previously paid of $2,966.48, as reflected in the table as filed.&lt;br/&gt;&lt;br/&gt;The Company has since changed its offering structure and now intends to offer and sell 2,000,000 Class A Ordinary Shares at a fixed public offering price of $1.00 per share, resulting in a revised aggregate offering price of $2,000,000.00 and a corresponding registration fee of $174, calculated at the fee rate of 0.00008700. No additional fee is due because the $2,966.48 fee shown as previously paid exceeds the fee that would be payable based on the revised offering structure and maximum aggregate offering price. The revision is disclosed in this footnote rather than by changing the previously paid table entries.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_4" id="fee_042">The previously filed fee table reflected (i) 2,875,000 Class A Ordinary Shares at $5.00 per share, a $14,375,000.00 aggregate offering price and a fee of $1,985.19, (ii) 143,750 Class A Ordinary Shares issuable upon exercise of the Representative&#x2019;s Warrants at $5.50 per share , a $790,625.00 aggregate offering price and a fee of $109.19, and (iii) 1,263,000 Class A Ordinary Shares being registered for resale by the selling shareholders at $5.00 per share, a $6,315,000.00 aggregate offering price and a fee of $872.11, for total fees previously paid of $2,966.48, as reflected in the table as filed.&lt;br/&gt;&lt;br/&gt;The Company has since changed its offering structure and now intends to offer and sell 2,000,000 Class A Ordinary Shares at a fixed public offering price of $1.00 per share, resulting in a revised aggregate offering price of $2,000,000.00 and a corresponding registration fee of $174, calculated at the fee rate of 0.00008700. No additional fee is due because the $2,966.48 fee shown as previously paid exceeds the fee that would be payable based on the revised offering structure and maximum aggregate offering price. The revision is disclosed in this footnote rather than by changing the previously paid table entries.</ffd:OfferingNote>
</xbrl>
