1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="52f9ba61-663f-4bfb-a622-a1378e71fd43",e._sentryDebugIdIdentifier="sentry-dbid-52f9ba61-663f-4bfb-a622-a1378e71fd43")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9939],{68160:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/pricing",function(){return a(60618)}])},93509:function(e,t,a){"use strict";a.d(t,{Z:function(){return BillingPeriodTabs}});var n=a(11527),r=a(59948),s=a(73931);function BillingPeriodTabs(e){let{value:t,onChange:a,className:o}=e,{t:l}=(0,r.$G)(),i=[{value:"yearly",label:l("Annually")},{value:"monthly",label:l("Monthly")}];return(0,n.jsxs)("div",{className:(0,s.q)("relative flex items-center rounded-full border border-gray-300 bg-gray-100 p-1",o),role:"group","aria-label":"".concat(l("Annual")," / ").concat(l("Monthly")),children:[(0,n.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute inset-y-1 left-1 w-[calc(50%-0.25rem)] transform-gpu rounded-full border border-gray-300 bg-white shadow-sm transition-transform duration-200 [transition-timing-function:cubic-bezier(0.77,0,0.175,1)] motion-reduce:transition-none ".concat("monthly"===t?"translate-x-full":"translate-x-0")}),i.map(e=>{let r=t===e.value;return(0,n.jsx)("button",{type:"button","aria-pressed":r,onClick:()=>a(e.value),className:"relative z-10 flex-1 rounded-full px-6 py-2 text-sm font-medium transition-colors duration-200 ".concat(r?"text-gray-900":"text-gray-600 hover:text-gray-900"),children:e.label},e.value)})]})}},14158:function(e,t,a){"use strict";a.d(t,{Z:function(){return CustomHead}});var n=a(11527),r=a(1013),s=a(92868),o=a.n(s),l=a(22754);function CustomHead(e){let t=(0,l.useRouter)(),a="string"==typeof t.asPath?t.asPath:"/",s=(null==t?void 0:t.locale)||"",i=e.canonicalLocale||s,c=getUrl(i,a),d=(e.hreflangLocales||r.k).map(e=>(0,n.jsx)("link",{rel:"alternate",hrefLang:e,href:getUrl(e,a)},"hreflang-".concat(e)));return d.push((0,n.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:getUrl("en",a)},"hreflang-x-default")),(0,n.jsxs)(o(),{children:[(0,n.jsx)("title",{children:e.title}),(0,n.jsx)("meta",{name:"description",content:e.description},"description"),e.noIndex&&(0,n.jsx)("meta",{name:"robots",content:"noindex, nofollow"},"robots"),(0,n.jsx)("link",{rel:"canonical",href:c},"canonical"),!e.disableHreflang&&d,(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:site",content:"@benn_huang"}),(0,n.jsx)("meta",{name:"twitter:title",content:e.title}),(0,n.jsx)("meta",{name:"twitter:description",content:e.description}),(0,n.jsx)("meta",{name:"twitter:image",content:"https://download.chatboxai.app/static/twitter-card.png"}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:title",content:e.title}),(0,n.jsx)("meta",{property:"og:description",content:e.description}),(0,n.jsx)("meta",{property:"og:site_name",content:"Chatbox AI"}),(0,n.jsx)("meta",{property:"og:image",content:"https://download.chatboxai.app/static/twitter-card.png"}),(0,n.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,n.jsx)("meta",{property:"og:image:height",content:"630"}),(0,n.jsx)("meta",{property:"og:url",content:c}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"https://schema.org","@type":"Organization",name:"Chatbox AI",legalName:"Mediocre, LLC",url:"https://chatboxai.app/",logo:"https://chatboxai.app/icon.png",sameAs:["https://github.com/Bin-Huang/chatbox","https://www.producthunt.com/products/chatbox-ai","https://x.com/benn_huang"]},{"@context":"https://schema.org","@type":"SoftwareApplication",name:"Chatbox AI",alternateName:"Chatbox",applicationCategory:"BusinessApplication",operatingSystem:["Windows","macOS","Linux","iOS","Android","Web"],url:"https://chatboxai.app/",downloadUrl:"https://chatboxai.app/download",softwareHelp:{"@type":"CreativeWork",name:"Chatbox User Guide",url:"https://chatboxai.app/en/guide"},offers:[{"@type":"Offer",name:"Chatbox Apps",price:"0",priceCurrency:"USD",url:"https://chatboxai.app/download"},{"@type":"Offer",name:"Chatbox AI Lite",price:"3.99",priceCurrency:"USD",url:"https://chatboxai.app/pricing"},{"@type":"Offer",name:"Chatbox AI Pro",price:"19.99",priceCurrency:"USD",url:"https://chatboxai.app/pricing"},{"@type":"Offer",name:"Chatbox AI Pro+",price:"39.99",priceCurrency:"USD",url:"https://chatboxai.app/pricing"}],featureList:["Multi-model AI chat","Bring your own API key","Chat with documents and images","Real-time web search and browsing","AI image generation","Markdown and LaTeX rendering","Desktop Agent Mode","MCP server integrations","Knowledge base workflows"],sameAs:["https://github.com/Bin-Huang/chatbox","https://www.producthunt.com/products/chatbox-ai","https://x.com/benn_huang"]},{"@context":"https://schema.org","@type":"WebSite",name:"Chatbox AI",url:"https://chatboxai.app/",inLanguage:s&&"default"!==s?s:"en"}])}},"structured-data")]})}function getUrl(e,t){let a="https://chatboxai.app",n=e&&"default"!==e?e:"";n&&(a+="/"+n);let s=function(e){let t=e.split("#")[0].split("?")[0]||"/";
1for(let e of[...r.k,"default"]){if(t==="/".concat(e))return"/";if(t.startsWith("/".concat(e,"/")))return t.slice(e.length+1)||"/"}return t||"/"}("string"==typeof t&&t.length>0?t:"/");return"/"===s?"".concat(a,"/"):a+=s}},22664:function(e,t,a){"use strict";a.d(t,{t:function(){return getModelPricingManifest}});var n=a(56840);let getModelPricingManifest=async(e,t)=>{let a=new URLSearchParams({source:"website"});e&&a.set("lang",e);let r=await n.uv.get("/model_pricing_manifest?".concat(a.toString()),t);return r.data.data}},60618:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return H},default:function(){return PricingPage}});var n=a(11527),r=a(50959),s=a(93618),o=a.n(s),l=a(6276),i=a.n(l),c=a(22754),d=a(59948),m=a(89069),u=a(4116),p=a(2554),x=a(79347),h=a(75848),f=a(45804),b=a(25775),g=a(46283),y=a(94434),w=a(57566),j=a(68658),C=a(56452),v=a(82400),k=a(86798),N=a(93509),P=a(14158),S=a(63559),I=a(71779),_=a(50942),A=a(2809),M=a(23953),Z=a(56840),E=a(22664);let L=i()(()=>Promise.all([a.e(1159),a.e(8962),a.e(8851),a.e(7548),a.e(4071),a.e(7255)]).then(a.bind(a,27255)),{loadableGenerated:{webpack:()=>[27255]}}),G=i()(()=>Promise.all([a.e(1159),a.e(8851),a.e(8189)]).then(a.bind(a,78189)),{loadableGenerated:{webpack:()=>[78189]}}),U="#6c5ce7";function subPrice(e){let t=I.kT[e];return{monthly:t.monthly,yearly:t.yearlyMonthly}}let F=[{id:"pro+",name:"Pro+",...subPrice("pro+"),blurb:"For intensive work and deep learning",cta:"Get started"},{id:"pro",name:"Pro",...subPrice("pro"),blurb:"For professional productivity needs",cta:"Get started"},{id:"lite",name:"Lite",...subPrice("lite"),blurb:"For light study and everyday work",cta:"Get started"},{id:"free",name:"Free",monthly:0,yearly:0,blurb:"Free for light use",cta:"Start free",free:!0}],W=["pro+","pro","lite","free"];function ChatboxIcon(e){let{size:t}=e;return(0,n.jsxs)("svg",{"aria-hidden":"true",className:"dark:text-white",style:{width:t,height:t},viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M4.4185 17.4955H5.4185C5.4185 17.1619 5.2521 16.8502 4.97485 16.6646L4.4185 17.4955ZM4.4185 20.7373H3.4185C3.4185 21.1247 3.64218 21.4771 3.99263 21.6421C4.34308 21.8071 4.75727 21.7548 5.05577 21.508L4.4185 20.7373ZM7.66076 18.0562V17.0562C7.42812 17.0562 7.20277 17.1373 7.02349 17.2856L7.66076 18.0562ZM3.93945 6.59124C3.93945 5.30522 4.98198 4.2627 6.268 4.2627V2.2627C3.87741 2.2627 1.93945 4.20065 1.93945 6.59124H3.93945ZM3.93945 14.7277V6.59124H1.93945V14.7277H3.93945ZM4.97485 16.6646C4.34841 16.2451 3.93945 15.534 3.93945 14.7277H1.93945C1.93945 16.2292 2.70486 17.5516 3.86215 18.3265L4.97485 16.6646ZM3.4185 17.4955V20.7373H5.4185V17.4955H3.4185ZM5.05577 21.508L8.29802 18.8269L7.02349 17.2856L3.78124 19.9667L5.05577 21.508ZM17.733 17.0562H7.66076V19.0562H17.733V17.0562ZM20.0615 14.7277C20.0615 16.0137 19.019 17.0562 17.733 17.0562V19.0562C20.1236 19.0562 22.0615 17.1183 22.0615 14.7277H20.0615ZM20.0615 6.59124V14.7277H22.0615V6.59124H20.0615ZM17.733 4.2627C19.019 4.2627 20.0615 5.30522 20.0615 6.59124H22.0615C22.0615 4.20065 20.1236 2.2627 17.733 2.2627V4.2627ZM6.268 4.2627H17.733V2.2627H6.268V4.2627Z"}),(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.13418 9.29993C8.43444 9.29993 7.86719 9.86718 7.86719 10.5669C7.86719 11.2667 8.43444 11.8339 9.13418 11.8339C9.83392 11.8339 10.4012 11.2667 10.4012 10.5669C10.4012 9.86718 9.83392 9.29993 9.13418 9.29993ZM14.8666 9.29993C14.1669 9.29993 13.5996 9.86718 13.5996 10.5669C13.5996 11.2667 14.1669 11.8339 14.8666 11.8339C15.5663 11.8339 16.1336 11.2667 16.1336 10.5669C16.1336 9.86718 15.5663 9.29993 14.8666 9.29993Z"})]})}function ModelIcon(e){let{brand:t,size:a=16}=e;switch(t){case"openai":return(0,n.jsx)(b.Z,{size:a});case"claude":return(0,n.jsx)(g.Z,{size:a});case"gemini":return(0,n.jsx)(y.Z,{size:a});case"qwen":return(0,n.jsx)(w.Z,{size:a});case"deepseek":return(0,n.jsx)(j.Z,{size:a});case"grok":return(0,n.jsx)(C.Z,{size:a});case"kimi":return(0,n.jsx)(v.Z,{className:"dark:text-white",size:a});case"hunyuan":return(0,n.jsx)(k.Z,{size:a});case"chatbox":return(0,n.jsx)(ChatboxIcon,{size:a});default:return null}}function modelWithBrand(e){return e.startsWith("GPT")?{name:e,brand:"open
1ai"}:e.startsWith("Claude")?{name:e,brand:"claude"}:e.startsWith("Gemini")?{name:e,brand:"gemini"}:e.startsWith("Qwen")?{name:e,brand:"qwen"}:e.startsWith("DeepSeek")?{name:e,brand:"deepseek"}:e.startsWith("Grok")?{name:e,brand:"grok"}:e.startsWith("Kimi")?{name:e,brand:"kimi"}:/hunyuan|(?:^|[/:_.\s-])hy4(?:$|[/:_.\s-])/i.test(e)?{name:e,brand:"hunyuan"}:e.startsWith("Chatbox")?{name:e,brand:"chatbox"}:{name:e}}function getProModelNames(e){return e.filter(e=>e.is_pro_model).map(e=>e.model_name)}let z=[{label:"Compute points",desc:"Used for AI capabilities such as model chats, web search, and document analysis",kind:"points",cells:{"pro+":{points:(0,_.IU)(I.fm["pro+"].computePoints),tag:"".concat((0,_.oj)("pro+"),"\xd7 base quota")},pro:{points:(0,_.IU)(I.fm.pro.computePoints),tag:"".concat((0,_.oj)("pro"),"\xd7 base quota")},lite:{points:(0,_.IU)(I.fm.lite.computePoints)},free:{points:(0,_.IU)(_.z_.computePoints)}}},{label:"Chat \xb7 Standard Models",models:I.l_.map(modelWithBrand),kind:"check",cells:{"pro+":!0,pro:!0,lite:!0,free:!0}},{label:"Chat \xb7 Advanced Models",desc:"Unlock more advanced model capabilities with Pro and above",models:I.TF.map(modelWithBrand),kind:"check",cells:{"pro+":!0,pro:!0,lite:!1,free:!1}},{label:"AI Image Generation",kind:"images",cells:{"pro+":I.fm["pro+"].imageGenerations,pro:I.fm.pro.imageGenerations,lite:I.fm.lite.imageGenerations,free:_.z_.imageGenerations}},{label:"Work Mode",desc:"Use an agent to complete complex work",kind:"check",cells:{"pro+":!0,pro:!0,lite:!0,free:{textKey:"Trial only"}}},{label:"Real-time Web Search",desc:"Get up-to-date information through AI-powered web search",kind:"check",cells:{"pro+":!0,pro:!0,lite:!0,free:!0}},{label:"Analyze Documents and Images",desc:"Send documents and images to AI to extract and analyze content, and gather insights",kind:"check",cells:{"pro+":!0,pro:!0,lite:!0,free:!0}},{label:"Personal Knowledge Base",desc:"Save all kinds of documents to your local knowledge base for easy access anytimeâyour second brain",kind:"check",cells:{"pro+":!0,pro:!0,lite:!1,free:!1}},{label:"MCP Services",desc:"Connect a variety of tools to extend AI capabilities",kind:"check",cells:{"pro+":!0,pro:!0,lite:!1,free:!1}},{label:"Support for up to 5 devices at the same time",kind:"check",cells:{"pro+":!0,pro:!0,lite:!0,free:!0}}];var H=!0;function PricingPage(e){let{initialModelPricing:t,modelPricingUpdatedAt:a}=e;(0,A.aQ)();let{t:s}=(0,d.$G)(),l=(0,c.useRouter)(),i=l.locale,x=(null==i?void 0:i.startsWith("zh"))?"zh":"en",{data:h=[]}=(0,m.a)({queryKey:["modelPricing",x],queryFn:()=>(0,E.t)(x),initialData:t.length>0?t:void 0,initialDataUpdatedAt:a,select:getProModelNames,staleTime:3e5}),b=(h.length>0?h:I.TF).map(modelWithBrand),g={"Compute points":s("Compute points"),"Used for AI capabilities such as model chats, web search, and document analysis":s("Used for AI capabilities such as model chats, web search, and document analysis"),["".concat((0,_.oj)("pro+"),"\xd7 base quota")]:"".concat((0,_.oj)("pro+"),"\xd7 ").concat(s("base quota")),["".concat((0,_.oj)("pro"),"\xd7 base quota")]:"".concat((0,_.oj)("pro"),"\xd7 ").concat(s("base quota")),"Chat \xb7 Standard Models":s("Chat \xb7 Standard Models"),"Chat \xb7 Advanced Models":s("Chat \xb7 Advanced Models"),"Unlock more advanced model capabilities with Pro and above":s("Unlock more advanced model capabilities with Pro and above"),"AI Image Generation":s("AI Image Generation"),"Work Mode":s("Work Mode"),"Use an agent to complete complex work":s("Use an agent to complete complex work"),"Trial only":s("Trial only"),"Real-time Web Search":s("Real-time Web Search"),"Get up-to-date information through AI-powered web search":s("Get up-to-date information through AI-powered web search"),"Analyze Documents and Images":s("Analyze Documents and Images"),"Send documents and images to AI to extract and analyze content, and gather insights":s("Send documents and images to AI to extract and analyze content, and gather insights"),"Personal Knowledge Base":s("Personal Knowledge Base"),"Save all kinds of documents to your local knowledge base for easy access anytimeâyour second brain":s("Save all kinds of documents to your local knowledge base for easy access anytimeâyour second brain"),"MCP Services":s("MCP Services"),"Connect a variety of tools to extend AI capabilities":s("Connect a variety of tools to extend AI capabilities"),"Support for up to 5 devices at the same time":s("Support for up to 5 devices at the same time")},y=z.map(e=>{var t,a;return{...e,models:"Chat \xb7 Advanced Models"===e.label?b:e.models,label:null!==(t=g[e.label])&&void 0!==t?t:e.label,desc:e.desc?null!==(a=g[e.desc])&&void 0!==a?a:e.desc:void 0}});y[0]={...y[0],cells:{...y[0].cells,"pro+":{points:(0,_.IU)(I.fm["pro+"].computePoints),tag:g["".concat((0,_.oj)("pro+"),"\xd7 base quota")]},pro:{points:(0,_.IU)(I.fm.pro.computePoints),tag:g["".concat((0,_.oj)("pro"),"\xd7 base quota")]},free:{points:"".concat((0,_.IU)(_.z_.computePoints),"(").concat(s("Daily reset"),")")}}};let w=[{...F[0],blurb:s("For intensive work and deep learning"),cta:s("Get started")},{...F[1],blurb:s("For professional productivity needs"),cta:s("Get started")},{...F[2],blurb:s("For light study and everyday work"),cta:s("Get started")},{...F[3],blurb:s("Free for light use"),cta:s("Start free")}],[j,C]=(0,r.useState)("yearly"),[v,k]=(0,r.useState)("pro"),[H,T]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=!!localStorage.getItem(Z.Lx.ACCESS_TOKEN_KEY),t=!!localStorage.getItem(Z.Lx.REFRESH_TOKEN_KEY);T(e||t)},[]);let[K,O]=(0,r.useState)(null),R=(0,r.useRef)(!1),q=(0,r.useRef)(!1),{trackClick:D}=(0,A.Sl)();(0,r.useEffect)(()=>
1{if(!l.isReady||R.current||(R.current=!0,(0,M.PP)(l.query)))return;let e=(0,M.s7)(l.query);if(!e)return;C(e.period);let t=localStorage.getItem(Z.Lx.ACCESS_TOKEN_KEY)||localStorage.getItem(Z.Lx.REFRESH_TOKEN_KEY);t?O(e):l.replace((0,M.CT)(window.location.href,i||"en"))},[l.isReady,l.query,i,l]);let V=(0,r.useCallback)(()=>{O(null),l.replace((0,M.n2)(window.location.href),void 0,{shallow:!0,scroll:!1})},[l]),B=(0,r.useCallback)(()=>{O(null),l.replace("/".concat(i,"/user/overview"))},[i,l]),Y=(0,r.useCallback)(()=>{let e=(0,M.n2)(window.location.href);window.history.replaceState(window.history.state,"",e)},[]),priceOf=e=>"yearly"===j?e.yearly:e.monthly,onCtaClick=async(e,t)=>{if(e.stopPropagation(),t.free){l.push("/".concat(i,"/").concat(H?"user/overview":"login"));return}let a=(0,M.s7)({buy:t.id,period:j});if(!a||K||q.current)return;D("pricing_card_click",{content_info:{content:"Chatbox AI ".concat(t.name),position:"pricing",type:"product"}});let n=(0,M.fd)(window.location.href,a),r=localStorage.getItem(Z.Lx.ACCESS_TOKEN_KEY)||localStorage.getItem(Z.Lx.REFRESH_TOKEN_KEY);if(!r){l.push((0,M.CT)(new URL(n,window.location.origin).href,i||"en"));return}window.history.replaceState(window.history.state,"",n),q.current=!0;try{await l.replace(n,void 0,{shallow:!0,scroll:!1})&&O(a)}catch(e){console.error("Failed to open purchase window:",e)}finally{q.current=!1}},renderCta=(e,t)=>{let a=e.id===v;if(e.free&&!a&&!(null==t?void 0:t.forceGetStarted))return(0,n.jsx)("button",{onClick:t=>onCtaClick(t,e),className:"block w-full rounded-xl bg-gradient-to-r from-cyan-300 to-violet-400 p-[1.5px] transition-transform active:scale-[0.98]",children:(0,n.jsx)("span",{className:"block rounded-[10.5px] bg-white py-2.5 text-sm font-medium text-gray-900",children:s(e.cta)})});let r=(null==t?void 0:t.forceGetStarted)?s("Get started"):s(e.cta);return a?(0,n.jsx)(S.z,{onClick:t=>onCtaClick(t,e),className:"w-full rounded-xl text-white shadow-none hover:opacity-90",style:{backgroundColor:U},children:r}):(0,n.jsx)(S.z,{onClick:t=>onCtaClick(t,e),className:"w-full rounded-xl bg-gray-100 text-gray-900 shadow-none hover:bg-gray-200",children:r})};return(0,n.jsxs)(n.Fragment,{children:[(H||K)&&(0,n.jsx)(L,{intent:K,onClose:V,onOverview:B,onPaymentStart:Y}),(0,n.jsx)(G,{clearQueryKeys:["buy","period"]}),(0,n.jsx)(P.Z,{title:s("Chatbox AI Pricing: Lite, Pro, and Pro+ Plans"),description:s("Compare Chatbox AI Lite, Pro, and Pro+ pricing, quotas, and model access. Hosted GPT, Claude, Gemini, and DeepSeek from ${{price}}/month, or use Chatbox free with your own API key.",{price:(0,_.gC)(I.kT.lite.monthly)})}),(0,n.jsx)("section",{className:"bg-gradient-to-b from-[#ECEAFB] via-[#F3F1FC] to-white px-6",children:(0,n.jsxs)("div",{className:"mx-auto max-w-screen-xl px-4 pb-16 pt-10",children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h1",{className:"font-serif text-4xl font-bold text-neutral-900 md:text-5xl",children:s("Choose Your Plan")}),(0,n.jsx)("p",{className:"mx-auto mt-4 max-w-2xl text-lg text-neutral-600",children:s("Unlock the full potential of AI with Chatbox")}),(0,n.jsx)("div",{className:"mt-8",children:(0,n.jsx)(N.Z,{value:j,onChange:C,className:"mx-auto w-full max-w-xs"})})]}),(0,n.jsx)("div",{className:"mt-10 grid grid-cols-1 gap-5 sm:grid-cols-2 lg:grid-cols-4",children:w.map(e=>{let t=e.id===v,a="free"===e.id?null:("yearly"===j?I.kT[e.id].yearlyAmount/365:e.monthly/30).toFixed(2);return(0,n.jsxs)("div",{onClick:()=>k(e.id),className:"relative flex cursor-pointer flex-col rounded-2xl bg-white p-6 transition-shadow ".concat(t?"border-2 shadow-md":"border border-gray-200 hover:shadow-sm"),style:t?{borderColor:U}:void 0,children:[t&&(0,n.jsx)("span",{className:"absolute right-5 top-5 flex h-7 w-7 items-center justify-center rounded-lg",style:{backgroundColor:U},children:(0,n.jsx)(u.Z,{className:"h-4 w-4 fill-white text-white"})}),(0,n.jsx)("h3",{className:"text-xl font-bold text-neutral-900",children:e.name}),(0,n.jsxs)("div",{className:"mt-3",children:[(0,n.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,n.jsxs)("span",{className:"text-4xl font-bold text-neutral-900",children:["$",e.free?"0":priceOf(e).toFixed(2)]}),!e.free&&(0,n.jsxs)("span",{className:"text-sm text-neutral-500",children:["/ ",s("Month")]})]}),!e.free&&(0,n.jsx)("p",{className:"mt-1 text-sm font-medium leading-5",style:{color:U},children:s("As low as {{price}} a day",{price:"$".concat(a)})})]}),e.free?(0,n.jsx)("p",{className:"mt-2 text-sm text-neutral-500",children:s("Free for light use")}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("p",{className:"mt-1 text-sm text-neutral-400 ".concat("yearly"===j?"line-through":"invisible"),children:["$",e.monthly.toFixed(2),"/",s("Month")]}),(0,n.jsx)("p",{className:"mt-2 text-sm text-neutral-600",children:s(e.blurb)})]}),(0,n.jsx)("div",{className:"mt-auto pt-6",children:renderCta(e)})]},e.id)})})]})}),(0,n.jsx)("section",{className:"bg-white px-6",children:(0,n.jsxs)("div",{className:"mx-auto max-w-screen-xl py-16 md:px-4",children:[(0,n.jsxs)("div",{className:"md:hidden",children:[(0,n.jsx)("h2",{className:"font-serif text-2xl font-bold text-neutral-900",children:s("Plan Comparison")}),(()=>{let e=w.find(e=>e.id===v);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"mt-10 flex items-start justify-between gap-5",children:[(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsxs)("label",{className:"relative inline-flex cursor-pointer items-center gap-2 transition-transform duration-150 active:scale-[0.97]",children:[(0,n.jsx)("span",{className:"font-serif text-3xl font-bold text-neutral-900",children:e.name}
1),(0,n.jsx)(p.Z,{"aria-hidden":!0,className:"h-6 w-6 text-neutral-800",strokeWidth:2.5}),(0,n.jsx)("span",{className:"sr-only",children:s("Choose Your Plan")}),(0,n.jsx)("select",{value:v,onChange:e=>k(e.target.value),className:"absolute inset-0 h-full w-full cursor-pointer opacity-0","aria-label":s("Choose Your Plan"),children:W.map(e=>{let t=w.find(t=>t.id===e);return(0,n.jsx)("option",{value:e,children:t.name},e)})})]}),(0,n.jsxs)("p",{className:"mt-5 whitespace-nowrap text-2xl font-medium text-neutral-900",children:["$",e.free?"0":priceOf(e).toFixed(2),"/",s("Month")]})]}),(0,n.jsx)(S.z,{onClick:t=>onCtaClick(t,e),className:"mt-1 h-12 shrink-0 rounded-full bg-neutral-100 px-6 text-base font-medium text-neutral-900 shadow-none transition-transform duration-150 hover:bg-neutral-200 active:scale-[0.97]",children:s("Get started")})]}),(0,n.jsx)("div",{className:"mt-16 space-y-12",children:y.map(e=>(0,n.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)_minmax(96px,auto)] gap-5",children:[(0,n.jsxs)("div",{className:"min-w-0",children:[(0,n.jsx)("p",{className:"text-base font-bold leading-tight text-neutral-900",children:s(e.label)}),e.desc&&(0,n.jsx)("p",{className:"mt-2 text-sm leading-snug text-neutral-500",children:s(e.desc)}),e.models&&(0,n.jsx)("ul",{className:"mt-4 space-y-2",children:e.models.map(e=>(0,n.jsxs)("li",{className:"flex items-center gap-2.5 text-base leading-tight text-neutral-800",children:[(0,n.jsx)("span",{className:"flex h-5 w-5 shrink-0 items-center justify-center",children:(0,n.jsx)(ModelIcon,{brand:e.brand,size:20})}),e.name]},e.name))})]}),(0,n.jsx)("div",{className:"flex min-w-0 items-center justify-center",children:(0,n.jsx)(CellValue,{kind:e.kind,value:e.cells[v],t:s,mobile:!0})})]},e.label))})]})})()]}),(0,n.jsx)("div",{className:"hidden overflow-x-auto md:block",children:(0,n.jsxs)("div",{className:"min-w-[860px]",children:[(0,n.jsxs)("div",{className:"grid grid-cols-[minmax(220px,1.5fr)_repeat(4,minmax(150px,1fr))]",children:[(0,n.jsx)("div",{className:"px-5 pb-6",children:(0,n.jsx)("h2",{className:"font-serif text-2xl font-bold text-neutral-900",children:s("Plan Comparison")})}),W.map(e=>{let t=w.find(t=>t.id===e),a=e===v;return(0,n.jsxs)("div",{onClick:()=>k(e),className:"cursor-pointer px-4 pb-6 pt-2 ".concat(a?"rounded-t-2xl bg-[#f5f3ff]":""),children:[(0,n.jsx)("h3",{className:"text-xl font-bold text-neutral-900",children:t.name}),(0,n.jsxs)("p",{className:"mt-1 text-sm text-neutral-500",children:["$",t.free?"0":priceOf(t).toFixed(2),"/",s("Month")]}),(0,n.jsx)("div",{className:"mt-4",children:renderCta(t,{forceGetStarted:!0})})]},e)})]}),y.map((e,t)=>{let a=t===y.length-1;return(0,n.jsxs)("div",{className:"grid grid-cols-[minmax(220px,1.5fr)_repeat(4,minmax(150px,1fr))]",children:[(0,n.jsxs)("div",{className:"border-t border-gray-100 px-5 py-5",children:[(0,n.jsx)("p",{className:"text-sm font-semibold text-neutral-900",children:s(e.label)}),e.desc&&(0,n.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-neutral-400",children:s(e.desc)}),"points"===e.kind&&(0,n.jsx)("p",{className:"mt-1 text-xs leading-relaxed text-neutral-400",children:(0,n.jsxs)(o(),{href:"/model-pricing",className:"inline-flex items-center gap-1 text-[#6A60E2] transition-colors underline-offset-2 hover:text-[#554BC4] hover:underline",children:[s("Learn more"),(0,n.jsx)(f.Z,{"aria-hidden":!0,className:"h-3.5 w-3.5"})]})}),e.models&&(0,n.jsx)("ul",{className:"mt-3 space-y-1.5",children:e.models.map(e=>(0,n.jsxs)("li",{className:"flex items-center gap-2 text-sm text-neutral-600",children:[(0,n.jsx)("span",{className:"flex h-4 w-4 shrink-0 items-center justify-center",children:(0,n.jsx)(ModelIcon,{brand:e.brand})}),e.name]},e.name))})]}),W.map(t=>{let r=t===v,o=e.cells[t];return(0,n.jsx)("div",{className:"flex justify-center px-4 py-5 ".concat(r?"bg-[#f5f3ff]":"border-t border-gray-100"," ").concat(r&&a?"rounded-b-2xl":""),children:(0,n.jsx)(CellValue,{kind:e.kind,value:o,t:s})},t)})]},e.label)})]})})]})})]})}function CellValue(e){let{kind:t,value:a,t:r,mobile:s=!1}=e;return"points"===t&&"object"==typeof a&&"points"in a?(0,n.jsxs)("div",{className:"flex flex-col ".concat(s?"items-center":"items-start self-start"),children:[(0,n.jsx)("span",{className:s?"text-2xl font-medium text-neutral-900":"text-sm font-semibold text-neutral-900",children:a.points}),a.tag&&(0,n.jsx)("span",{className:"".concat(s?"mt-2 text-sm":"mt-1.5 text-xs"," rounded-md bg-gray-100 px-2 py-0.5 text-neutral-500"),
1children:r(a.tag)})]}):"images"===t?!1===a?(0,n.jsx)(x.Z,{className:"".concat(s?"h-8 w-8":"h-5 w-5 self-start"," text-neutral-300"),strokeWidth:2.5}):(0,n.jsx)("span",{className:"".concat(s?"text-xl":"self-start text-sm"," whitespace-nowrap font-medium text-neutral-900"),children:"".concat(a," ").concat(r("images"))}):"object"==typeof a&&"textKey"in a?(0,n.jsx)("span",{className:"".concat(s?"text-base":"self-center text-sm"," text-center font-medium text-neutral-900"),children:r(a.textKey)}):a?(0,n.jsx)(h.Z,{className:"".concat(s?"h-8 w-8":"h-5 w-5 self-center"," text-neutral-900"),strokeWidth:2.5}):(0,n.jsx)(x.Z,{className:"".concat(s?"h-8 w-8":"h-5 w-5 self-center"," text-neutral-300"),strokeWidth:2.5})}}},function(e){e.O(0,[4357,9087,9774,2888,179],function(){return e(e.s=68160)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.