<?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-02-16</startDate>
            <endDate>2026-02-16</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-02-16</startDate>
            <endDate>2026-02-16</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-02-16</startDate>
            <endDate>2026-02-16</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-02-16</startDate>
            <endDate>2026-02-16</endDate>
        </period>
    </context>
    <context id="c_report">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0002083345</identifier>
        </entity>
        <period>
            <startDate>2026-02-16</startDate>
            <endDate>2026-02-16</endDate>
        </period>
    </context>
    <unit id="USD">
        <measure>iso4217:USD</measure>
    </unit>
    <unit id="pure">
        <measure>pure</measure>
    </unit>
    <unit id="shares">
        <measure>shares</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:AmtSctiesRegd
      contextRef="c_offering_1"
      decimals="0"
      id="fee_014"
      unitRef="shares">2875000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_015"
      unitRef="USD">5.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_016"
      unitRef="USD">14375000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_017"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_1"
      decimals="INF"
      id="fee_018"
      unitRef="USD">1985.19</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_2" id="fee_019">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_2" id="fee_020">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_2" id="fee_021">Representative's warrants</ffd:OfferingSctyTitl>
    <ffd:FeesOthrRuleFlg contextRef="c_offering_2" id="fee_022">true</ffd:FeesOthrRuleFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_2"
      decimals="0"
      id="fee_023"
      unitRef="shares">0</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_024"
      unitRef="USD">0.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_025"
      unitRef="USD">0.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_026"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_2"
      decimals="INF"
      id="fee_027"
      unitRef="USD">0.00</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_3" id="fee_028">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_3" id="fee_029">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_3" id="fee_030">Class A Ordinary Shares issuable upon the exercise of the Representative's warrants</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_3" id="fee_031">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_3"
      decimals="0"
      id="fee_032"
      unitRef="shares">143750</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_033"
      unitRef="USD">5.50</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_034"
      unitRef="USD">790625.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_035"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_3"
      decimals="INF"
      id="fee_036"
      unitRef="USD">109.19</ffd:FeeAmt>
    <ffd:PrevslyPdFlg contextRef="c_offering_4" id="fee_037">true</ffd:PrevslyPdFlg>
    <ffd:OfferingSctyTp contextRef="c_offering_4" id="fee_038">Equity</ffd:OfferingSctyTp>
    <ffd:OfferingSctyTitl contextRef="c_offering_4" id="fee_039">Class A Ordinary Shares, US$0.0001 per share</ffd:OfferingSctyTitl>
    <ffd:Rule457oFlg contextRef="c_offering_4" id="fee_040">true</ffd:Rule457oFlg>
    <ffd:AmtSctiesRegd
      contextRef="c_offering_4"
      decimals="0"
      id="fee_041"
      unitRef="shares">1263000</ffd:AmtSctiesRegd>
    <ffd:MaxOfferingPricPerScty
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_042"
      unitRef="USD">5.00</ffd:MaxOfferingPricPerScty>
    <ffd:MaxAggtOfferingPric
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_043"
      unitRef="USD">6315000.00</ffd:MaxAggtOfferingPric>
    <ffd:FeeRate
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_044"
      unitRef="pure">0.0001381</ffd:FeeRate>
    <ffd:FeeAmt
      contextRef="c_offering_4"
      decimals="INF"
      id="fee_045"
      unitRef="USD">872.11</ffd:FeeAmt>
    <ffd:TtlOfferingAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_046"
      unitRef="USD">21480625.00</ffd:TtlOfferingAmt>
    <ffd:TtlFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_047"
      unitRef="USD">2966.49</ffd:TtlFeeAmt>
    <ffd:TtlPrevslyPdAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_048"
      unitRef="USD">2957.98</ffd:TtlPrevslyPdAmt>
    <ffd:TtlOffsetAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_049"
      unitRef="USD">0.00</ffd:TtlOffsetAmt>
    <ffd:NetFeeAmt
      contextRef="c_report"
      decimals="INF"
      id="fee_050"
      unitRef="USD">8.51</ffd:NetFeeAmt>
    <ffd:OfferingNote contextRef="c_offering_1" id="fee_051">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;Includes 375,000 shares of Class A Ordinary Shares that the underwriters have the option to purchase pursuant to their over-allotment option.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_2" id="fee_052">We have agreed to issue to the representative of the underwriters (the &#x201c;Representative&#x201d;) warrants to purchase up to an aggregate number of shares of our Class A Ordinary Shares in an aggregate equal to five percent (5%) of the aggregate number of shares of ordinary shares sold in this offering) (the &#x201c;Representative&#x2019;s Warrants&#x201d;). The Representative&#x2019;s Warrants are exercisable at a per share price equal to 110% of the public offering price per share of the Class A Ordinary Shares sold in this offering.&lt;br/&gt;&lt;br/&gt;In accordance with Rule 457(g) under the Securities Act, because Class A Ordinary Shares underlying the Representative&#x2019;s warrants are registered hereby, no separate registration fee is required with respect to the warrants registered hereby.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_3" id="fee_053">We have agreed to issue to the representative of the underwriters (the &#x201c;Representative&#x201d;) warrants to purchase up to an aggregate number of shares of our Class A Ordinary Shares in an aggregate equal to five percent (5%) of the aggregate number of shares of ordinary shares sold in this offering) (the &#x201c;Representative&#x2019;s Warrants&#x201d;). The Representative&#x2019;s Warrants are exercisable at a per share price equal to 110% of the public offering price per share of the Class A Ordinary Shares sold in this offering.&lt;br/&gt;&lt;br/&gt;In accordance with Rule 457(g) under the Securities Act, because Class A Ordinary Shares underlying the Representative&#x2019;s warrants are registered hereby, no separate registration fee is required with respect to the warrants registered hereby.</ffd:OfferingNote>
    <ffd:OfferingNote contextRef="c_offering_4" id="fee_054">This Registration Statement also covers the sale by selling shareholders of the Registrant of 1,263,000Class A Ordinary Shares.</ffd:OfferingNote>
</xbrl>
