models.generated.ts 448 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267
  1. // This file is auto-generated by scripts/generate-models.ts
  2. // Do not edit manually - run 'npm run generate-models' to update
  3. import type { Model } from "./types.ts";
  4. export const MODELS = {
  5. "amazon-bedrock": {
  6. "amazon.nova-2-lite-v1:0": {
  7. id: "amazon.nova-2-lite-v1:0",
  8. name: "Nova 2 Lite",
  9. api: "bedrock-converse-stream",
  10. provider: "amazon-bedrock",
  11. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  12. reasoning: true,
  13. input: ["text", "image"],
  14. cost: {
  15. input: 0.33,
  16. output: 2.75,
  17. cacheRead: 0,
  18. cacheWrite: 0,
  19. },
  20. contextWindow: 128000,
  21. maxTokens: 4096,
  22. } satisfies Model<"bedrock-converse-stream">,
  23. "amazon.nova-lite-v1:0": {
  24. id: "amazon.nova-lite-v1:0",
  25. name: "Nova Lite",
  26. api: "bedrock-converse-stream",
  27. provider: "amazon-bedrock",
  28. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  29. reasoning: false,
  30. input: ["text", "image"],
  31. cost: {
  32. input: 0.06,
  33. output: 0.24,
  34. cacheRead: 0.015,
  35. cacheWrite: 0,
  36. },
  37. contextWindow: 300000,
  38. maxTokens: 8192,
  39. } satisfies Model<"bedrock-converse-stream">,
  40. "amazon.nova-micro-v1:0": {
  41. id: "amazon.nova-micro-v1:0",
  42. name: "Nova Micro",
  43. api: "bedrock-converse-stream",
  44. provider: "amazon-bedrock",
  45. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  46. reasoning: false,
  47. input: ["text"],
  48. cost: {
  49. input: 0.035,
  50. output: 0.14,
  51. cacheRead: 0.00875,
  52. cacheWrite: 0,
  53. },
  54. contextWindow: 128000,
  55. maxTokens: 8192,
  56. } satisfies Model<"bedrock-converse-stream">,
  57. "amazon.nova-pro-v1:0": {
  58. id: "amazon.nova-pro-v1:0",
  59. name: "Nova Pro",
  60. api: "bedrock-converse-stream",
  61. provider: "amazon-bedrock",
  62. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  63. reasoning: false,
  64. input: ["text", "image"],
  65. cost: {
  66. input: 0.8,
  67. output: 3.2,
  68. cacheRead: 0.2,
  69. cacheWrite: 0,
  70. },
  71. contextWindow: 300000,
  72. maxTokens: 8192,
  73. } satisfies Model<"bedrock-converse-stream">,
  74. "anthropic.claude-haiku-4-5-20251001-v1:0": {
  75. id: "anthropic.claude-haiku-4-5-20251001-v1:0",
  76. name: "Claude Haiku 4.5",
  77. api: "bedrock-converse-stream",
  78. provider: "amazon-bedrock",
  79. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  80. reasoning: true,
  81. input: ["text", "image"],
  82. cost: {
  83. input: 1,
  84. output: 5,
  85. cacheRead: 0.1,
  86. cacheWrite: 1.25,
  87. },
  88. contextWindow: 200000,
  89. maxTokens: 64000,
  90. } satisfies Model<"bedrock-converse-stream">,
  91. "anthropic.claude-opus-4-1-20250805-v1:0": {
  92. id: "anthropic.claude-opus-4-1-20250805-v1:0",
  93. name: "Claude Opus 4.1",
  94. api: "bedrock-converse-stream",
  95. provider: "amazon-bedrock",
  96. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  97. reasoning: true,
  98. input: ["text", "image"],
  99. cost: {
  100. input: 15,
  101. output: 75,
  102. cacheRead: 1.5,
  103. cacheWrite: 18.75,
  104. },
  105. contextWindow: 200000,
  106. maxTokens: 32000,
  107. } satisfies Model<"bedrock-converse-stream">,
  108. "anthropic.claude-opus-4-5-20251101-v1:0": {
  109. id: "anthropic.claude-opus-4-5-20251101-v1:0",
  110. name: "Claude Opus 4.5",
  111. api: "bedrock-converse-stream",
  112. provider: "amazon-bedrock",
  113. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  114. reasoning: true,
  115. input: ["text", "image"],
  116. cost: {
  117. input: 5,
  118. output: 25,
  119. cacheRead: 0.5,
  120. cacheWrite: 6.25,
  121. },
  122. contextWindow: 200000,
  123. maxTokens: 64000,
  124. } satisfies Model<"bedrock-converse-stream">,
  125. "anthropic.claude-opus-4-6-v1": {
  126. id: "anthropic.claude-opus-4-6-v1",
  127. name: "Claude Opus 4.6",
  128. api: "bedrock-converse-stream",
  129. provider: "amazon-bedrock",
  130. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  131. reasoning: true,
  132. thinkingLevelMap: {"xhigh":"max"},
  133. input: ["text", "image"],
  134. cost: {
  135. input: 5,
  136. output: 25,
  137. cacheRead: 0.5,
  138. cacheWrite: 6.25,
  139. },
  140. contextWindow: 1000000,
  141. maxTokens: 128000,
  142. } satisfies Model<"bedrock-converse-stream">,
  143. "anthropic.claude-opus-4-7": {
  144. id: "anthropic.claude-opus-4-7",
  145. name: "Claude Opus 4.7",
  146. api: "bedrock-converse-stream",
  147. provider: "amazon-bedrock",
  148. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  149. reasoning: true,
  150. thinkingLevelMap: {"xhigh":"xhigh"},
  151. input: ["text", "image"],
  152. cost: {
  153. input: 5,
  154. output: 25,
  155. cacheRead: 0.5,
  156. cacheWrite: 6.25,
  157. },
  158. contextWindow: 1000000,
  159. maxTokens: 128000,
  160. } satisfies Model<"bedrock-converse-stream">,
  161. "anthropic.claude-opus-4-8": {
  162. id: "anthropic.claude-opus-4-8",
  163. name: "Claude Opus 4.8",
  164. api: "bedrock-converse-stream",
  165. provider: "amazon-bedrock",
  166. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  167. reasoning: true,
  168. thinkingLevelMap: {"xhigh":"xhigh"},
  169. input: ["text", "image"],
  170. cost: {
  171. input: 5,
  172. output: 25,
  173. cacheRead: 0.5,
  174. cacheWrite: 6.25,
  175. },
  176. contextWindow: 1000000,
  177. maxTokens: 128000,
  178. } satisfies Model<"bedrock-converse-stream">,
  179. "anthropic.claude-sonnet-4-5-20250929-v1:0": {
  180. id: "anthropic.claude-sonnet-4-5-20250929-v1:0",
  181. name: "Claude Sonnet 4.5",
  182. api: "bedrock-converse-stream",
  183. provider: "amazon-bedrock",
  184. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  185. reasoning: true,
  186. input: ["text", "image"],
  187. cost: {
  188. input: 3,
  189. output: 15,
  190. cacheRead: 0.3,
  191. cacheWrite: 3.75,
  192. },
  193. contextWindow: 200000,
  194. maxTokens: 64000,
  195. } satisfies Model<"bedrock-converse-stream">,
  196. "anthropic.claude-sonnet-4-6": {
  197. id: "anthropic.claude-sonnet-4-6",
  198. name: "Claude Sonnet 4.6",
  199. api: "bedrock-converse-stream",
  200. provider: "amazon-bedrock",
  201. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  202. reasoning: true,
  203. input: ["text", "image"],
  204. cost: {
  205. input: 3,
  206. output: 15,
  207. cacheRead: 0.3,
  208. cacheWrite: 3.75,
  209. },
  210. contextWindow: 1000000,
  211. maxTokens: 64000,
  212. } satisfies Model<"bedrock-converse-stream">,
  213. "au.anthropic.claude-haiku-4-5-20251001-v1:0": {
  214. id: "au.anthropic.claude-haiku-4-5-20251001-v1:0",
  215. name: "Claude Haiku 4.5 (AU)",
  216. api: "bedrock-converse-stream",
  217. provider: "amazon-bedrock",
  218. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  219. reasoning: true,
  220. input: ["text", "image"],
  221. cost: {
  222. input: 1,
  223. output: 5,
  224. cacheRead: 0.1,
  225. cacheWrite: 1.25,
  226. },
  227. contextWindow: 200000,
  228. maxTokens: 64000,
  229. } satisfies Model<"bedrock-converse-stream">,
  230. "au.anthropic.claude-opus-4-6-v1": {
  231. id: "au.anthropic.claude-opus-4-6-v1",
  232. name: "AU Anthropic Claude Opus 4.6",
  233. api: "bedrock-converse-stream",
  234. provider: "amazon-bedrock",
  235. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  236. reasoning: true,
  237. thinkingLevelMap: {"xhigh":"max"},
  238. input: ["text", "image"],
  239. cost: {
  240. input: 16.5,
  241. output: 82.5,
  242. cacheRead: 0.5,
  243. cacheWrite: 6.25,
  244. },
  245. contextWindow: 1000000,
  246. maxTokens: 128000,
  247. } satisfies Model<"bedrock-converse-stream">,
  248. "au.anthropic.claude-opus-4-8": {
  249. id: "au.anthropic.claude-opus-4-8",
  250. name: "Claude Opus 4.8 (AU)",
  251. api: "bedrock-converse-stream",
  252. provider: "amazon-bedrock",
  253. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  254. reasoning: true,
  255. thinkingLevelMap: {"xhigh":"xhigh"},
  256. input: ["text", "image"],
  257. cost: {
  258. input: 5,
  259. output: 25,
  260. cacheRead: 0.5,
  261. cacheWrite: 6.25,
  262. },
  263. contextWindow: 1000000,
  264. maxTokens: 128000,
  265. } satisfies Model<"bedrock-converse-stream">,
  266. "au.anthropic.claude-sonnet-4-5-20250929-v1:0": {
  267. id: "au.anthropic.claude-sonnet-4-5-20250929-v1:0",
  268. name: "Claude Sonnet 4.5 (AU)",
  269. api: "bedrock-converse-stream",
  270. provider: "amazon-bedrock",
  271. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  272. reasoning: true,
  273. input: ["text", "image"],
  274. cost: {
  275. input: 3,
  276. output: 15,
  277. cacheRead: 0.3,
  278. cacheWrite: 3.75,
  279. },
  280. contextWindow: 200000,
  281. maxTokens: 64000,
  282. } satisfies Model<"bedrock-converse-stream">,
  283. "au.anthropic.claude-sonnet-4-6": {
  284. id: "au.anthropic.claude-sonnet-4-6",
  285. name: "AU Anthropic Claude Sonnet 4.6",
  286. api: "bedrock-converse-stream",
  287. provider: "amazon-bedrock",
  288. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  289. reasoning: true,
  290. input: ["text", "image"],
  291. cost: {
  292. input: 3.3,
  293. output: 16.5,
  294. cacheRead: 0.33,
  295. cacheWrite: 4.125,
  296. },
  297. contextWindow: 1000000,
  298. maxTokens: 128000,
  299. } satisfies Model<"bedrock-converse-stream">,
  300. "deepseek.r1-v1:0": {
  301. id: "deepseek.r1-v1:0",
  302. name: "DeepSeek-R1",
  303. api: "bedrock-converse-stream",
  304. provider: "amazon-bedrock",
  305. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  306. reasoning: true,
  307. input: ["text"],
  308. cost: {
  309. input: 1.35,
  310. output: 5.4,
  311. cacheRead: 0,
  312. cacheWrite: 0,
  313. },
  314. contextWindow: 128000,
  315. maxTokens: 32768,
  316. } satisfies Model<"bedrock-converse-stream">,
  317. "deepseek.v3-v1:0": {
  318. id: "deepseek.v3-v1:0",
  319. name: "DeepSeek-V3.1",
  320. api: "bedrock-converse-stream",
  321. provider: "amazon-bedrock",
  322. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  323. reasoning: true,
  324. input: ["text"],
  325. cost: {
  326. input: 0.58,
  327. output: 1.68,
  328. cacheRead: 0,
  329. cacheWrite: 0,
  330. },
  331. contextWindow: 163840,
  332. maxTokens: 81920,
  333. } satisfies Model<"bedrock-converse-stream">,
  334. "deepseek.v3.2": {
  335. id: "deepseek.v3.2",
  336. name: "DeepSeek-V3.2",
  337. api: "bedrock-converse-stream",
  338. provider: "amazon-bedrock",
  339. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  340. reasoning: true,
  341. input: ["text"],
  342. cost: {
  343. input: 0.62,
  344. output: 1.85,
  345. cacheRead: 0,
  346. cacheWrite: 0,
  347. },
  348. contextWindow: 163840,
  349. maxTokens: 81920,
  350. } satisfies Model<"bedrock-converse-stream">,
  351. "eu.anthropic.claude-fable-5": {
  352. id: "eu.anthropic.claude-fable-5",
  353. name: "Claude Fable 5 (EU)",
  354. api: "bedrock-converse-stream",
  355. provider: "amazon-bedrock",
  356. baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
  357. reasoning: true,
  358. thinkingLevelMap: {"xhigh":"xhigh"},
  359. input: ["text", "image"],
  360. cost: {
  361. input: 11,
  362. output: 55,
  363. cacheRead: 1.1,
  364. cacheWrite: 13.75,
  365. },
  366. contextWindow: 1000000,
  367. maxTokens: 128000,
  368. } satisfies Model<"bedrock-converse-stream">,
  369. "eu.anthropic.claude-haiku-4-5-20251001-v1:0": {
  370. id: "eu.anthropic.claude-haiku-4-5-20251001-v1:0",
  371. name: "Claude Haiku 4.5 (EU)",
  372. api: "bedrock-converse-stream",
  373. provider: "amazon-bedrock",
  374. baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
  375. reasoning: true,
  376. input: ["text", "image"],
  377. cost: {
  378. input: 1,
  379. output: 5,
  380. cacheRead: 0.1,
  381. cacheWrite: 1.25,
  382. },
  383. contextWindow: 200000,
  384. maxTokens: 64000,
  385. } satisfies Model<"bedrock-converse-stream">,
  386. "eu.anthropic.claude-opus-4-5-20251101-v1:0": {
  387. id: "eu.anthropic.claude-opus-4-5-20251101-v1:0",
  388. name: "Claude Opus 4.5 (EU)",
  389. api: "bedrock-converse-stream",
  390. provider: "amazon-bedrock",
  391. baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
  392. reasoning: true,
  393. input: ["text", "image"],
  394. cost: {
  395. input: 5,
  396. output: 25,
  397. cacheRead: 0.5,
  398. cacheWrite: 6.25,
  399. },
  400. contextWindow: 200000,
  401. maxTokens: 64000,
  402. } satisfies Model<"bedrock-converse-stream">,
  403. "eu.anthropic.claude-opus-4-6-v1": {
  404. id: "eu.anthropic.claude-opus-4-6-v1",
  405. name: "Claude Opus 4.6 (EU)",
  406. api: "bedrock-converse-stream",
  407. provider: "amazon-bedrock",
  408. baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
  409. reasoning: true,
  410. thinkingLevelMap: {"xhigh":"max"},
  411. input: ["text", "image"],
  412. cost: {
  413. input: 5.5,
  414. output: 27.5,
  415. cacheRead: 0.5,
  416. cacheWrite: 6.25,
  417. },
  418. contextWindow: 1000000,
  419. maxTokens: 128000,
  420. } satisfies Model<"bedrock-converse-stream">,
  421. "eu.anthropic.claude-opus-4-7": {
  422. id: "eu.anthropic.claude-opus-4-7",
  423. name: "Claude Opus 4.7 (EU)",
  424. api: "bedrock-converse-stream",
  425. provider: "amazon-bedrock",
  426. baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
  427. reasoning: true,
  428. thinkingLevelMap: {"xhigh":"xhigh"},
  429. input: ["text", "image"],
  430. cost: {
  431. input: 5.5,
  432. output: 27.5,
  433. cacheRead: 0.55,
  434. cacheWrite: 6.875,
  435. },
  436. contextWindow: 1000000,
  437. maxTokens: 128000,
  438. } satisfies Model<"bedrock-converse-stream">,
  439. "eu.anthropic.claude-opus-4-8": {
  440. id: "eu.anthropic.claude-opus-4-8",
  441. name: "Claude Opus 4.8 (EU)",
  442. api: "bedrock-converse-stream",
  443. provider: "amazon-bedrock",
  444. baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
  445. reasoning: true,
  446. thinkingLevelMap: {"xhigh":"xhigh"},
  447. input: ["text", "image"],
  448. cost: {
  449. input: 5.5,
  450. output: 27.5,
  451. cacheRead: 0.55,
  452. cacheWrite: 6.875,
  453. },
  454. contextWindow: 1000000,
  455. maxTokens: 128000,
  456. } satisfies Model<"bedrock-converse-stream">,
  457. "eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
  458. id: "eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
  459. name: "Claude Sonnet 4.5 (EU)",
  460. api: "bedrock-converse-stream",
  461. provider: "amazon-bedrock",
  462. baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
  463. reasoning: true,
  464. input: ["text", "image"],
  465. cost: {
  466. input: 3.3,
  467. output: 16.5,
  468. cacheRead: 0.33,
  469. cacheWrite: 4.125,
  470. },
  471. contextWindow: 200000,
  472. maxTokens: 64000,
  473. } satisfies Model<"bedrock-converse-stream">,
  474. "eu.anthropic.claude-sonnet-4-6": {
  475. id: "eu.anthropic.claude-sonnet-4-6",
  476. name: "Claude Sonnet 4.6 (EU)",
  477. api: "bedrock-converse-stream",
  478. provider: "amazon-bedrock",
  479. baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
  480. reasoning: true,
  481. input: ["text", "image"],
  482. cost: {
  483. input: 3.3,
  484. output: 16.5,
  485. cacheRead: 0.33,
  486. cacheWrite: 4.125,
  487. },
  488. contextWindow: 1000000,
  489. maxTokens: 64000,
  490. } satisfies Model<"bedrock-converse-stream">,
  491. "global.anthropic.claude-fable-5": {
  492. id: "global.anthropic.claude-fable-5",
  493. name: "Claude Fable 5 (Global)",
  494. api: "bedrock-converse-stream",
  495. provider: "amazon-bedrock",
  496. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  497. reasoning: true,
  498. thinkingLevelMap: {"xhigh":"xhigh"},
  499. input: ["text", "image"],
  500. cost: {
  501. input: 10,
  502. output: 50,
  503. cacheRead: 1,
  504. cacheWrite: 12.5,
  505. },
  506. contextWindow: 1000000,
  507. maxTokens: 128000,
  508. } satisfies Model<"bedrock-converse-stream">,
  509. "global.anthropic.claude-haiku-4-5-20251001-v1:0": {
  510. id: "global.anthropic.claude-haiku-4-5-20251001-v1:0",
  511. name: "Claude Haiku 4.5 (Global)",
  512. api: "bedrock-converse-stream",
  513. provider: "amazon-bedrock",
  514. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  515. reasoning: true,
  516. input: ["text", "image"],
  517. cost: {
  518. input: 1,
  519. output: 5,
  520. cacheRead: 0.1,
  521. cacheWrite: 1.25,
  522. },
  523. contextWindow: 200000,
  524. maxTokens: 64000,
  525. } satisfies Model<"bedrock-converse-stream">,
  526. "global.anthropic.claude-opus-4-5-20251101-v1:0": {
  527. id: "global.anthropic.claude-opus-4-5-20251101-v1:0",
  528. name: "Claude Opus 4.5 (Global)",
  529. api: "bedrock-converse-stream",
  530. provider: "amazon-bedrock",
  531. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  532. reasoning: true,
  533. input: ["text", "image"],
  534. cost: {
  535. input: 5,
  536. output: 25,
  537. cacheRead: 0.5,
  538. cacheWrite: 6.25,
  539. },
  540. contextWindow: 200000,
  541. maxTokens: 64000,
  542. } satisfies Model<"bedrock-converse-stream">,
  543. "global.anthropic.claude-opus-4-6-v1": {
  544. id: "global.anthropic.claude-opus-4-6-v1",
  545. name: "Claude Opus 4.6 (Global)",
  546. api: "bedrock-converse-stream",
  547. provider: "amazon-bedrock",
  548. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  549. reasoning: true,
  550. thinkingLevelMap: {"xhigh":"max"},
  551. input: ["text", "image"],
  552. cost: {
  553. input: 5,
  554. output: 25,
  555. cacheRead: 0.5,
  556. cacheWrite: 6.25,
  557. },
  558. contextWindow: 1000000,
  559. maxTokens: 128000,
  560. } satisfies Model<"bedrock-converse-stream">,
  561. "global.anthropic.claude-opus-4-7": {
  562. id: "global.anthropic.claude-opus-4-7",
  563. name: "Claude Opus 4.7 (Global)",
  564. api: "bedrock-converse-stream",
  565. provider: "amazon-bedrock",
  566. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  567. reasoning: true,
  568. thinkingLevelMap: {"xhigh":"xhigh"},
  569. input: ["text", "image"],
  570. cost: {
  571. input: 5,
  572. output: 25,
  573. cacheRead: 0.5,
  574. cacheWrite: 6.25,
  575. },
  576. contextWindow: 1000000,
  577. maxTokens: 128000,
  578. } satisfies Model<"bedrock-converse-stream">,
  579. "global.anthropic.claude-opus-4-8": {
  580. id: "global.anthropic.claude-opus-4-8",
  581. name: "Claude Opus 4.8 (Global)",
  582. api: "bedrock-converse-stream",
  583. provider: "amazon-bedrock",
  584. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  585. reasoning: true,
  586. thinkingLevelMap: {"xhigh":"xhigh"},
  587. input: ["text", "image"],
  588. cost: {
  589. input: 5,
  590. output: 25,
  591. cacheRead: 0.5,
  592. cacheWrite: 6.25,
  593. },
  594. contextWindow: 1000000,
  595. maxTokens: 128000,
  596. } satisfies Model<"bedrock-converse-stream">,
  597. "global.anthropic.claude-sonnet-4-5-20250929-v1:0": {
  598. id: "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
  599. name: "Claude Sonnet 4.5 (Global)",
  600. api: "bedrock-converse-stream",
  601. provider: "amazon-bedrock",
  602. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  603. reasoning: true,
  604. input: ["text", "image"],
  605. cost: {
  606. input: 3,
  607. output: 15,
  608. cacheRead: 0.3,
  609. cacheWrite: 3.75,
  610. },
  611. contextWindow: 200000,
  612. maxTokens: 64000,
  613. } satisfies Model<"bedrock-converse-stream">,
  614. "global.anthropic.claude-sonnet-4-6": {
  615. id: "global.anthropic.claude-sonnet-4-6",
  616. name: "Claude Sonnet 4.6 (Global)",
  617. api: "bedrock-converse-stream",
  618. provider: "amazon-bedrock",
  619. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  620. reasoning: true,
  621. input: ["text", "image"],
  622. cost: {
  623. input: 3,
  624. output: 15,
  625. cacheRead: 0.3,
  626. cacheWrite: 3.75,
  627. },
  628. contextWindow: 1000000,
  629. maxTokens: 64000,
  630. } satisfies Model<"bedrock-converse-stream">,
  631. "google.gemma-3-27b-it": {
  632. id: "google.gemma-3-27b-it",
  633. name: "Google Gemma 3 27B Instruct",
  634. api: "bedrock-converse-stream",
  635. provider: "amazon-bedrock",
  636. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  637. reasoning: false,
  638. input: ["text", "image"],
  639. cost: {
  640. input: 0.12,
  641. output: 0.2,
  642. cacheRead: 0,
  643. cacheWrite: 0,
  644. },
  645. contextWindow: 202752,
  646. maxTokens: 8192,
  647. } satisfies Model<"bedrock-converse-stream">,
  648. "google.gemma-3-4b-it": {
  649. id: "google.gemma-3-4b-it",
  650. name: "Gemma 3 4B IT",
  651. api: "bedrock-converse-stream",
  652. provider: "amazon-bedrock",
  653. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  654. reasoning: false,
  655. input: ["text", "image"],
  656. cost: {
  657. input: 0.04,
  658. output: 0.08,
  659. cacheRead: 0,
  660. cacheWrite: 0,
  661. },
  662. contextWindow: 128000,
  663. maxTokens: 4096,
  664. } satisfies Model<"bedrock-converse-stream">,
  665. "jp.anthropic.claude-opus-4-7": {
  666. id: "jp.anthropic.claude-opus-4-7",
  667. name: "Claude Opus 4.7 (JP)",
  668. api: "bedrock-converse-stream",
  669. provider: "amazon-bedrock",
  670. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  671. reasoning: true,
  672. thinkingLevelMap: {"xhigh":"xhigh"},
  673. input: ["text", "image"],
  674. cost: {
  675. input: 5,
  676. output: 25,
  677. cacheRead: 0.5,
  678. cacheWrite: 6.25,
  679. },
  680. contextWindow: 1000000,
  681. maxTokens: 128000,
  682. } satisfies Model<"bedrock-converse-stream">,
  683. "jp.anthropic.claude-opus-4-8": {
  684. id: "jp.anthropic.claude-opus-4-8",
  685. name: "Claude Opus 4.8 (JP)",
  686. api: "bedrock-converse-stream",
  687. provider: "amazon-bedrock",
  688. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  689. reasoning: true,
  690. thinkingLevelMap: {"xhigh":"xhigh"},
  691. input: ["text", "image"],
  692. cost: {
  693. input: 5,
  694. output: 25,
  695. cacheRead: 0.5,
  696. cacheWrite: 6.25,
  697. },
  698. contextWindow: 1000000,
  699. maxTokens: 128000,
  700. } satisfies Model<"bedrock-converse-stream">,
  701. "jp.anthropic.claude-sonnet-4-5-20250929-v1:0": {
  702. id: "jp.anthropic.claude-sonnet-4-5-20250929-v1:0",
  703. name: "Claude Sonnet 4.5 (JP)",
  704. api: "bedrock-converse-stream",
  705. provider: "amazon-bedrock",
  706. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  707. reasoning: true,
  708. input: ["text", "image"],
  709. cost: {
  710. input: 3,
  711. output: 15,
  712. cacheRead: 0.3,
  713. cacheWrite: 3.75,
  714. },
  715. contextWindow: 200000,
  716. maxTokens: 64000,
  717. } satisfies Model<"bedrock-converse-stream">,
  718. "jp.anthropic.claude-sonnet-4-6": {
  719. id: "jp.anthropic.claude-sonnet-4-6",
  720. name: "Claude Sonnet 4.6 (JP)",
  721. api: "bedrock-converse-stream",
  722. provider: "amazon-bedrock",
  723. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  724. reasoning: true,
  725. input: ["text", "image"],
  726. cost: {
  727. input: 3,
  728. output: 15,
  729. cacheRead: 0.3,
  730. cacheWrite: 3.75,
  731. },
  732. contextWindow: 1000000,
  733. maxTokens: 64000,
  734. } satisfies Model<"bedrock-converse-stream">,
  735. "meta.llama3-1-70b-instruct-v1:0": {
  736. id: "meta.llama3-1-70b-instruct-v1:0",
  737. name: "Llama 3.1 70B Instruct",
  738. api: "bedrock-converse-stream",
  739. provider: "amazon-bedrock",
  740. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  741. reasoning: false,
  742. input: ["text"],
  743. cost: {
  744. input: 0.72,
  745. output: 0.72,
  746. cacheRead: 0,
  747. cacheWrite: 0,
  748. },
  749. contextWindow: 128000,
  750. maxTokens: 4096,
  751. } satisfies Model<"bedrock-converse-stream">,
  752. "meta.llama3-1-8b-instruct-v1:0": {
  753. id: "meta.llama3-1-8b-instruct-v1:0",
  754. name: "Llama 3.1 8B Instruct",
  755. api: "bedrock-converse-stream",
  756. provider: "amazon-bedrock",
  757. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  758. reasoning: false,
  759. input: ["text"],
  760. cost: {
  761. input: 0.22,
  762. output: 0.22,
  763. cacheRead: 0,
  764. cacheWrite: 0,
  765. },
  766. contextWindow: 128000,
  767. maxTokens: 4096,
  768. } satisfies Model<"bedrock-converse-stream">,
  769. "meta.llama3-3-70b-instruct-v1:0": {
  770. id: "meta.llama3-3-70b-instruct-v1:0",
  771. name: "Llama 3.3 70B Instruct",
  772. api: "bedrock-converse-stream",
  773. provider: "amazon-bedrock",
  774. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  775. reasoning: false,
  776. input: ["text"],
  777. cost: {
  778. input: 0.72,
  779. output: 0.72,
  780. cacheRead: 0,
  781. cacheWrite: 0,
  782. },
  783. contextWindow: 128000,
  784. maxTokens: 4096,
  785. } satisfies Model<"bedrock-converse-stream">,
  786. "meta.llama4-maverick-17b-instruct-v1:0": {
  787. id: "meta.llama4-maverick-17b-instruct-v1:0",
  788. name: "Llama 4 Maverick 17B Instruct",
  789. api: "bedrock-converse-stream",
  790. provider: "amazon-bedrock",
  791. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  792. reasoning: false,
  793. input: ["text", "image"],
  794. cost: {
  795. input: 0.24,
  796. output: 0.97,
  797. cacheRead: 0,
  798. cacheWrite: 0,
  799. },
  800. contextWindow: 1000000,
  801. maxTokens: 16384,
  802. } satisfies Model<"bedrock-converse-stream">,
  803. "meta.llama4-scout-17b-instruct-v1:0": {
  804. id: "meta.llama4-scout-17b-instruct-v1:0",
  805. name: "Llama 4 Scout 17B Instruct",
  806. api: "bedrock-converse-stream",
  807. provider: "amazon-bedrock",
  808. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  809. reasoning: false,
  810. input: ["text", "image"],
  811. cost: {
  812. input: 0.17,
  813. output: 0.66,
  814. cacheRead: 0,
  815. cacheWrite: 0,
  816. },
  817. contextWindow: 3500000,
  818. maxTokens: 16384,
  819. } satisfies Model<"bedrock-converse-stream">,
  820. "minimax.minimax-m2": {
  821. id: "minimax.minimax-m2",
  822. name: "MiniMax M2",
  823. api: "bedrock-converse-stream",
  824. provider: "amazon-bedrock",
  825. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  826. reasoning: true,
  827. input: ["text"],
  828. cost: {
  829. input: 0.3,
  830. output: 1.2,
  831. cacheRead: 0,
  832. cacheWrite: 0,
  833. },
  834. contextWindow: 204608,
  835. maxTokens: 128000,
  836. } satisfies Model<"bedrock-converse-stream">,
  837. "minimax.minimax-m2.1": {
  838. id: "minimax.minimax-m2.1",
  839. name: "MiniMax M2.1",
  840. api: "bedrock-converse-stream",
  841. provider: "amazon-bedrock",
  842. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  843. reasoning: true,
  844. input: ["text"],
  845. cost: {
  846. input: 0.3,
  847. output: 1.2,
  848. cacheRead: 0,
  849. cacheWrite: 0,
  850. },
  851. contextWindow: 204800,
  852. maxTokens: 131072,
  853. } satisfies Model<"bedrock-converse-stream">,
  854. "minimax.minimax-m2.5": {
  855. id: "minimax.minimax-m2.5",
  856. name: "MiniMax M2.5",
  857. api: "bedrock-converse-stream",
  858. provider: "amazon-bedrock",
  859. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  860. reasoning: true,
  861. input: ["text"],
  862. cost: {
  863. input: 0.3,
  864. output: 1.2,
  865. cacheRead: 0,
  866. cacheWrite: 0,
  867. },
  868. contextWindow: 196608,
  869. maxTokens: 98304,
  870. } satisfies Model<"bedrock-converse-stream">,
  871. "mistral.devstral-2-123b": {
  872. id: "mistral.devstral-2-123b",
  873. name: "Devstral 2 123B",
  874. api: "bedrock-converse-stream",
  875. provider: "amazon-bedrock",
  876. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  877. reasoning: false,
  878. input: ["text"],
  879. cost: {
  880. input: 0.4,
  881. output: 2,
  882. cacheRead: 0,
  883. cacheWrite: 0,
  884. },
  885. contextWindow: 256000,
  886. maxTokens: 8192,
  887. } satisfies Model<"bedrock-converse-stream">,
  888. "mistral.magistral-small-2509": {
  889. id: "mistral.magistral-small-2509",
  890. name: "Magistral Small 1.2",
  891. api: "bedrock-converse-stream",
  892. provider: "amazon-bedrock",
  893. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  894. reasoning: true,
  895. input: ["text", "image"],
  896. cost: {
  897. input: 0.5,
  898. output: 1.5,
  899. cacheRead: 0,
  900. cacheWrite: 0,
  901. },
  902. contextWindow: 128000,
  903. maxTokens: 40000,
  904. } satisfies Model<"bedrock-converse-stream">,
  905. "mistral.ministral-3-14b-instruct": {
  906. id: "mistral.ministral-3-14b-instruct",
  907. name: "Ministral 14B 3.0",
  908. api: "bedrock-converse-stream",
  909. provider: "amazon-bedrock",
  910. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  911. reasoning: false,
  912. input: ["text"],
  913. cost: {
  914. input: 0.2,
  915. output: 0.2,
  916. cacheRead: 0,
  917. cacheWrite: 0,
  918. },
  919. contextWindow: 128000,
  920. maxTokens: 4096,
  921. } satisfies Model<"bedrock-converse-stream">,
  922. "mistral.ministral-3-3b-instruct": {
  923. id: "mistral.ministral-3-3b-instruct",
  924. name: "Ministral 3 3B",
  925. api: "bedrock-converse-stream",
  926. provider: "amazon-bedrock",
  927. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  928. reasoning: false,
  929. input: ["text", "image"],
  930. cost: {
  931. input: 0.1,
  932. output: 0.1,
  933. cacheRead: 0,
  934. cacheWrite: 0,
  935. },
  936. contextWindow: 256000,
  937. maxTokens: 8192,
  938. } satisfies Model<"bedrock-converse-stream">,
  939. "mistral.ministral-3-8b-instruct": {
  940. id: "mistral.ministral-3-8b-instruct",
  941. name: "Ministral 3 8B",
  942. api: "bedrock-converse-stream",
  943. provider: "amazon-bedrock",
  944. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  945. reasoning: false,
  946. input: ["text"],
  947. cost: {
  948. input: 0.15,
  949. output: 0.15,
  950. cacheRead: 0,
  951. cacheWrite: 0,
  952. },
  953. contextWindow: 128000,
  954. maxTokens: 4096,
  955. } satisfies Model<"bedrock-converse-stream">,
  956. "mistral.mistral-large-3-675b-instruct": {
  957. id: "mistral.mistral-large-3-675b-instruct",
  958. name: "Mistral Large 3",
  959. api: "bedrock-converse-stream",
  960. provider: "amazon-bedrock",
  961. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  962. reasoning: false,
  963. input: ["text", "image"],
  964. cost: {
  965. input: 0.5,
  966. output: 1.5,
  967. cacheRead: 0,
  968. cacheWrite: 0,
  969. },
  970. contextWindow: 256000,
  971. maxTokens: 8192,
  972. } satisfies Model<"bedrock-converse-stream">,
  973. "mistral.pixtral-large-2502-v1:0": {
  974. id: "mistral.pixtral-large-2502-v1:0",
  975. name: "Pixtral Large (25.02)",
  976. api: "bedrock-converse-stream",
  977. provider: "amazon-bedrock",
  978. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  979. reasoning: false,
  980. input: ["text", "image"],
  981. cost: {
  982. input: 2,
  983. output: 6,
  984. cacheRead: 0,
  985. cacheWrite: 0,
  986. },
  987. contextWindow: 128000,
  988. maxTokens: 8192,
  989. } satisfies Model<"bedrock-converse-stream">,
  990. "mistral.voxtral-mini-3b-2507": {
  991. id: "mistral.voxtral-mini-3b-2507",
  992. name: "Voxtral Mini 3B 2507",
  993. api: "bedrock-converse-stream",
  994. provider: "amazon-bedrock",
  995. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  996. reasoning: false,
  997. input: ["text"],
  998. cost: {
  999. input: 0.04,
  1000. output: 0.04,
  1001. cacheRead: 0,
  1002. cacheWrite: 0,
  1003. },
  1004. contextWindow: 128000,
  1005. maxTokens: 4096,
  1006. } satisfies Model<"bedrock-converse-stream">,
  1007. "mistral.voxtral-small-24b-2507": {
  1008. id: "mistral.voxtral-small-24b-2507",
  1009. name: "Voxtral Small 24B 2507",
  1010. api: "bedrock-converse-stream",
  1011. provider: "amazon-bedrock",
  1012. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1013. reasoning: false,
  1014. input: ["text"],
  1015. cost: {
  1016. input: 0.15,
  1017. output: 0.35,
  1018. cacheRead: 0,
  1019. cacheWrite: 0,
  1020. },
  1021. contextWindow: 32000,
  1022. maxTokens: 8192,
  1023. } satisfies Model<"bedrock-converse-stream">,
  1024. "moonshot.kimi-k2-thinking": {
  1025. id: "moonshot.kimi-k2-thinking",
  1026. name: "Kimi K2 Thinking",
  1027. api: "bedrock-converse-stream",
  1028. provider: "amazon-bedrock",
  1029. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1030. reasoning: true,
  1031. input: ["text"],
  1032. cost: {
  1033. input: 0.6,
  1034. output: 2.5,
  1035. cacheRead: 0,
  1036. cacheWrite: 0,
  1037. },
  1038. contextWindow: 262143,
  1039. maxTokens: 16000,
  1040. } satisfies Model<"bedrock-converse-stream">,
  1041. "moonshotai.kimi-k2.5": {
  1042. id: "moonshotai.kimi-k2.5",
  1043. name: "Kimi K2.5",
  1044. api: "bedrock-converse-stream",
  1045. provider: "amazon-bedrock",
  1046. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1047. reasoning: true,
  1048. input: ["text", "image"],
  1049. cost: {
  1050. input: 0.6,
  1051. output: 3,
  1052. cacheRead: 0,
  1053. cacheWrite: 0,
  1054. },
  1055. contextWindow: 262143,
  1056. maxTokens: 16000,
  1057. } satisfies Model<"bedrock-converse-stream">,
  1058. "nvidia.nemotron-nano-12b-v2": {
  1059. id: "nvidia.nemotron-nano-12b-v2",
  1060. name: "NVIDIA Nemotron Nano 12B v2 VL BF16",
  1061. api: "bedrock-converse-stream",
  1062. provider: "amazon-bedrock",
  1063. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1064. reasoning: false,
  1065. input: ["text", "image"],
  1066. cost: {
  1067. input: 0.2,
  1068. output: 0.6,
  1069. cacheRead: 0,
  1070. cacheWrite: 0,
  1071. },
  1072. contextWindow: 128000,
  1073. maxTokens: 4096,
  1074. } satisfies Model<"bedrock-converse-stream">,
  1075. "nvidia.nemotron-nano-3-30b": {
  1076. id: "nvidia.nemotron-nano-3-30b",
  1077. name: "NVIDIA Nemotron Nano 3 30B",
  1078. api: "bedrock-converse-stream",
  1079. provider: "amazon-bedrock",
  1080. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1081. reasoning: true,
  1082. input: ["text"],
  1083. cost: {
  1084. input: 0.06,
  1085. output: 0.24,
  1086. cacheRead: 0,
  1087. cacheWrite: 0,
  1088. },
  1089. contextWindow: 128000,
  1090. maxTokens: 4096,
  1091. } satisfies Model<"bedrock-converse-stream">,
  1092. "nvidia.nemotron-nano-9b-v2": {
  1093. id: "nvidia.nemotron-nano-9b-v2",
  1094. name: "NVIDIA Nemotron Nano 9B v2",
  1095. api: "bedrock-converse-stream",
  1096. provider: "amazon-bedrock",
  1097. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1098. reasoning: false,
  1099. input: ["text"],
  1100. cost: {
  1101. input: 0.06,
  1102. output: 0.23,
  1103. cacheRead: 0,
  1104. cacheWrite: 0,
  1105. },
  1106. contextWindow: 128000,
  1107. maxTokens: 4096,
  1108. } satisfies Model<"bedrock-converse-stream">,
  1109. "nvidia.nemotron-super-3-120b": {
  1110. id: "nvidia.nemotron-super-3-120b",
  1111. name: "NVIDIA Nemotron 3 Super 120B A12B",
  1112. api: "bedrock-converse-stream",
  1113. provider: "amazon-bedrock",
  1114. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1115. reasoning: true,
  1116. input: ["text"],
  1117. cost: {
  1118. input: 0.15,
  1119. output: 0.65,
  1120. cacheRead: 0,
  1121. cacheWrite: 0,
  1122. },
  1123. contextWindow: 262144,
  1124. maxTokens: 131072,
  1125. } satisfies Model<"bedrock-converse-stream">,
  1126. "openai.gpt-5.4": {
  1127. id: "openai.gpt-5.4",
  1128. name: "GPT-5.4",
  1129. api: "bedrock-converse-stream",
  1130. provider: "amazon-bedrock",
  1131. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1132. reasoning: true,
  1133. thinkingLevelMap: {"xhigh":"xhigh"},
  1134. input: ["text", "image"],
  1135. cost: {
  1136. input: 2.75,
  1137. output: 16.5,
  1138. cacheRead: 0.275,
  1139. cacheWrite: 0,
  1140. },
  1141. contextWindow: 272000,
  1142. maxTokens: 128000,
  1143. } satisfies Model<"bedrock-converse-stream">,
  1144. "openai.gpt-5.5": {
  1145. id: "openai.gpt-5.5",
  1146. name: "GPT-5.5",
  1147. api: "bedrock-converse-stream",
  1148. provider: "amazon-bedrock",
  1149. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1150. reasoning: true,
  1151. thinkingLevelMap: {"xhigh":"xhigh"},
  1152. input: ["text", "image"],
  1153. cost: {
  1154. input: 5.5,
  1155. output: 33,
  1156. cacheRead: 0.55,
  1157. cacheWrite: 0,
  1158. },
  1159. contextWindow: 272000,
  1160. maxTokens: 128000,
  1161. } satisfies Model<"bedrock-converse-stream">,
  1162. "openai.gpt-oss-120b": {
  1163. id: "openai.gpt-oss-120b",
  1164. name: "gpt-oss-120b",
  1165. api: "bedrock-converse-stream",
  1166. provider: "amazon-bedrock",
  1167. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1168. reasoning: true,
  1169. input: ["text"],
  1170. cost: {
  1171. input: 0.15,
  1172. output: 0.6,
  1173. cacheRead: 0,
  1174. cacheWrite: 0,
  1175. },
  1176. contextWindow: 128000,
  1177. maxTokens: 16384,
  1178. } satisfies Model<"bedrock-converse-stream">,
  1179. "openai.gpt-oss-120b-1:0": {
  1180. id: "openai.gpt-oss-120b-1:0",
  1181. name: "gpt-oss-120b",
  1182. api: "bedrock-converse-stream",
  1183. provider: "amazon-bedrock",
  1184. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1185. reasoning: true,
  1186. input: ["text"],
  1187. cost: {
  1188. input: 0.15,
  1189. output: 0.6,
  1190. cacheRead: 0,
  1191. cacheWrite: 0,
  1192. },
  1193. contextWindow: 128000,
  1194. maxTokens: 16384,
  1195. } satisfies Model<"bedrock-converse-stream">,
  1196. "openai.gpt-oss-20b": {
  1197. id: "openai.gpt-oss-20b",
  1198. name: "gpt-oss-20b",
  1199. api: "bedrock-converse-stream",
  1200. provider: "amazon-bedrock",
  1201. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1202. reasoning: true,
  1203. input: ["text"],
  1204. cost: {
  1205. input: 0.07,
  1206. output: 0.3,
  1207. cacheRead: 0,
  1208. cacheWrite: 0,
  1209. },
  1210. contextWindow: 128000,
  1211. maxTokens: 16384,
  1212. } satisfies Model<"bedrock-converse-stream">,
  1213. "openai.gpt-oss-20b-1:0": {
  1214. id: "openai.gpt-oss-20b-1:0",
  1215. name: "gpt-oss-20b",
  1216. api: "bedrock-converse-stream",
  1217. provider: "amazon-bedrock",
  1218. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1219. reasoning: true,
  1220. input: ["text"],
  1221. cost: {
  1222. input: 0.07,
  1223. output: 0.3,
  1224. cacheRead: 0,
  1225. cacheWrite: 0,
  1226. },
  1227. contextWindow: 128000,
  1228. maxTokens: 16384,
  1229. } satisfies Model<"bedrock-converse-stream">,
  1230. "openai.gpt-oss-safeguard-120b": {
  1231. id: "openai.gpt-oss-safeguard-120b",
  1232. name: "GPT OSS Safeguard 120B",
  1233. api: "bedrock-converse-stream",
  1234. provider: "amazon-bedrock",
  1235. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1236. reasoning: false,
  1237. input: ["text"],
  1238. cost: {
  1239. input: 0.15,
  1240. output: 0.6,
  1241. cacheRead: 0,
  1242. cacheWrite: 0,
  1243. },
  1244. contextWindow: 128000,
  1245. maxTokens: 16384,
  1246. } satisfies Model<"bedrock-converse-stream">,
  1247. "openai.gpt-oss-safeguard-20b": {
  1248. id: "openai.gpt-oss-safeguard-20b",
  1249. name: "GPT OSS Safeguard 20B",
  1250. api: "bedrock-converse-stream",
  1251. provider: "amazon-bedrock",
  1252. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1253. reasoning: false,
  1254. input: ["text"],
  1255. cost: {
  1256. input: 0.07,
  1257. output: 0.2,
  1258. cacheRead: 0,
  1259. cacheWrite: 0,
  1260. },
  1261. contextWindow: 128000,
  1262. maxTokens: 16384,
  1263. } satisfies Model<"bedrock-converse-stream">,
  1264. "qwen.qwen3-235b-a22b-2507-v1:0": {
  1265. id: "qwen.qwen3-235b-a22b-2507-v1:0",
  1266. name: "Qwen3 235B A22B 2507",
  1267. api: "bedrock-converse-stream",
  1268. provider: "amazon-bedrock",
  1269. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1270. reasoning: false,
  1271. input: ["text"],
  1272. cost: {
  1273. input: 0.22,
  1274. output: 0.88,
  1275. cacheRead: 0,
  1276. cacheWrite: 0,
  1277. },
  1278. contextWindow: 262144,
  1279. maxTokens: 131072,
  1280. } satisfies Model<"bedrock-converse-stream">,
  1281. "qwen.qwen3-32b-v1:0": {
  1282. id: "qwen.qwen3-32b-v1:0",
  1283. name: "Qwen3 32B (dense)",
  1284. api: "bedrock-converse-stream",
  1285. provider: "amazon-bedrock",
  1286. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1287. reasoning: true,
  1288. input: ["text"],
  1289. cost: {
  1290. input: 0.15,
  1291. output: 0.6,
  1292. cacheRead: 0,
  1293. cacheWrite: 0,
  1294. },
  1295. contextWindow: 16384,
  1296. maxTokens: 16384,
  1297. } satisfies Model<"bedrock-converse-stream">,
  1298. "qwen.qwen3-coder-30b-a3b-v1:0": {
  1299. id: "qwen.qwen3-coder-30b-a3b-v1:0",
  1300. name: "Qwen3 Coder 30B A3B Instruct",
  1301. api: "bedrock-converse-stream",
  1302. provider: "amazon-bedrock",
  1303. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1304. reasoning: false,
  1305. input: ["text"],
  1306. cost: {
  1307. input: 0.15,
  1308. output: 0.6,
  1309. cacheRead: 0,
  1310. cacheWrite: 0,
  1311. },
  1312. contextWindow: 262144,
  1313. maxTokens: 131072,
  1314. } satisfies Model<"bedrock-converse-stream">,
  1315. "qwen.qwen3-coder-480b-a35b-v1:0": {
  1316. id: "qwen.qwen3-coder-480b-a35b-v1:0",
  1317. name: "Qwen3 Coder 480B A35B Instruct",
  1318. api: "bedrock-converse-stream",
  1319. provider: "amazon-bedrock",
  1320. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1321. reasoning: false,
  1322. input: ["text"],
  1323. cost: {
  1324. input: 0.22,
  1325. output: 1.8,
  1326. cacheRead: 0,
  1327. cacheWrite: 0,
  1328. },
  1329. contextWindow: 131072,
  1330. maxTokens: 65536,
  1331. } satisfies Model<"bedrock-converse-stream">,
  1332. "qwen.qwen3-coder-next": {
  1333. id: "qwen.qwen3-coder-next",
  1334. name: "Qwen3 Coder Next",
  1335. api: "bedrock-converse-stream",
  1336. provider: "amazon-bedrock",
  1337. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1338. reasoning: true,
  1339. input: ["text"],
  1340. cost: {
  1341. input: 0.22,
  1342. output: 1.8,
  1343. cacheRead: 0,
  1344. cacheWrite: 0,
  1345. },
  1346. contextWindow: 131072,
  1347. maxTokens: 65536,
  1348. } satisfies Model<"bedrock-converse-stream">,
  1349. "qwen.qwen3-next-80b-a3b": {
  1350. id: "qwen.qwen3-next-80b-a3b",
  1351. name: "Qwen/Qwen3-Next-80B-A3B-Instruct",
  1352. api: "bedrock-converse-stream",
  1353. provider: "amazon-bedrock",
  1354. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1355. reasoning: false,
  1356. input: ["text"],
  1357. cost: {
  1358. input: 0.14,
  1359. output: 1.4,
  1360. cacheRead: 0,
  1361. cacheWrite: 0,
  1362. },
  1363. contextWindow: 262000,
  1364. maxTokens: 262000,
  1365. } satisfies Model<"bedrock-converse-stream">,
  1366. "qwen.qwen3-vl-235b-a22b": {
  1367. id: "qwen.qwen3-vl-235b-a22b",
  1368. name: "Qwen/Qwen3-VL-235B-A22B-Instruct",
  1369. api: "bedrock-converse-stream",
  1370. provider: "amazon-bedrock",
  1371. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1372. reasoning: false,
  1373. input: ["text", "image"],
  1374. cost: {
  1375. input: 0.3,
  1376. output: 1.5,
  1377. cacheRead: 0,
  1378. cacheWrite: 0,
  1379. },
  1380. contextWindow: 262000,
  1381. maxTokens: 262000,
  1382. } satisfies Model<"bedrock-converse-stream">,
  1383. "us.anthropic.claude-fable-5": {
  1384. id: "us.anthropic.claude-fable-5",
  1385. name: "Claude Fable 5 (US)",
  1386. api: "bedrock-converse-stream",
  1387. provider: "amazon-bedrock",
  1388. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1389. reasoning: true,
  1390. thinkingLevelMap: {"xhigh":"xhigh"},
  1391. input: ["text", "image"],
  1392. cost: {
  1393. input: 10,
  1394. output: 50,
  1395. cacheRead: 1,
  1396. cacheWrite: 12.5,
  1397. },
  1398. contextWindow: 1000000,
  1399. maxTokens: 128000,
  1400. } satisfies Model<"bedrock-converse-stream">,
  1401. "us.anthropic.claude-haiku-4-5-20251001-v1:0": {
  1402. id: "us.anthropic.claude-haiku-4-5-20251001-v1:0",
  1403. name: "Claude Haiku 4.5 (US)",
  1404. api: "bedrock-converse-stream",
  1405. provider: "amazon-bedrock",
  1406. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1407. reasoning: true,
  1408. input: ["text", "image"],
  1409. cost: {
  1410. input: 1,
  1411. output: 5,
  1412. cacheRead: 0.1,
  1413. cacheWrite: 1.25,
  1414. },
  1415. contextWindow: 200000,
  1416. maxTokens: 64000,
  1417. } satisfies Model<"bedrock-converse-stream">,
  1418. "us.anthropic.claude-opus-4-1-20250805-v1:0": {
  1419. id: "us.anthropic.claude-opus-4-1-20250805-v1:0",
  1420. name: "Claude Opus 4.1 (US)",
  1421. api: "bedrock-converse-stream",
  1422. provider: "amazon-bedrock",
  1423. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1424. reasoning: true,
  1425. input: ["text", "image"],
  1426. cost: {
  1427. input: 15,
  1428. output: 75,
  1429. cacheRead: 1.5,
  1430. cacheWrite: 18.75,
  1431. },
  1432. contextWindow: 200000,
  1433. maxTokens: 32000,
  1434. } satisfies Model<"bedrock-converse-stream">,
  1435. "us.anthropic.claude-opus-4-5-20251101-v1:0": {
  1436. id: "us.anthropic.claude-opus-4-5-20251101-v1:0",
  1437. name: "Claude Opus 4.5 (US)",
  1438. api: "bedrock-converse-stream",
  1439. provider: "amazon-bedrock",
  1440. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1441. reasoning: true,
  1442. input: ["text", "image"],
  1443. cost: {
  1444. input: 5,
  1445. output: 25,
  1446. cacheRead: 0.5,
  1447. cacheWrite: 6.25,
  1448. },
  1449. contextWindow: 200000,
  1450. maxTokens: 64000,
  1451. } satisfies Model<"bedrock-converse-stream">,
  1452. "us.anthropic.claude-opus-4-6-v1": {
  1453. id: "us.anthropic.claude-opus-4-6-v1",
  1454. name: "Claude Opus 4.6 (US)",
  1455. api: "bedrock-converse-stream",
  1456. provider: "amazon-bedrock",
  1457. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1458. reasoning: true,
  1459. thinkingLevelMap: {"xhigh":"max"},
  1460. input: ["text", "image"],
  1461. cost: {
  1462. input: 5,
  1463. output: 25,
  1464. cacheRead: 0.5,
  1465. cacheWrite: 6.25,
  1466. },
  1467. contextWindow: 1000000,
  1468. maxTokens: 128000,
  1469. } satisfies Model<"bedrock-converse-stream">,
  1470. "us.anthropic.claude-opus-4-7": {
  1471. id: "us.anthropic.claude-opus-4-7",
  1472. name: "Claude Opus 4.7 (US)",
  1473. api: "bedrock-converse-stream",
  1474. provider: "amazon-bedrock",
  1475. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1476. reasoning: true,
  1477. thinkingLevelMap: {"xhigh":"xhigh"},
  1478. input: ["text", "image"],
  1479. cost: {
  1480. input: 5,
  1481. output: 25,
  1482. cacheRead: 0.5,
  1483. cacheWrite: 6.25,
  1484. },
  1485. contextWindow: 1000000,
  1486. maxTokens: 128000,
  1487. } satisfies Model<"bedrock-converse-stream">,
  1488. "us.anthropic.claude-opus-4-8": {
  1489. id: "us.anthropic.claude-opus-4-8",
  1490. name: "Claude Opus 4.8 (US)",
  1491. api: "bedrock-converse-stream",
  1492. provider: "amazon-bedrock",
  1493. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1494. reasoning: true,
  1495. thinkingLevelMap: {"xhigh":"xhigh"},
  1496. input: ["text", "image"],
  1497. cost: {
  1498. input: 5,
  1499. output: 25,
  1500. cacheRead: 0.5,
  1501. cacheWrite: 6.25,
  1502. },
  1503. contextWindow: 1000000,
  1504. maxTokens: 128000,
  1505. } satisfies Model<"bedrock-converse-stream">,
  1506. "us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
  1507. id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
  1508. name: "Claude Sonnet 4.5 (US)",
  1509. api: "bedrock-converse-stream",
  1510. provider: "amazon-bedrock",
  1511. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1512. reasoning: true,
  1513. input: ["text", "image"],
  1514. cost: {
  1515. input: 3,
  1516. output: 15,
  1517. cacheRead: 0.3,
  1518. cacheWrite: 3.75,
  1519. },
  1520. contextWindow: 200000,
  1521. maxTokens: 64000,
  1522. } satisfies Model<"bedrock-converse-stream">,
  1523. "us.anthropic.claude-sonnet-4-6": {
  1524. id: "us.anthropic.claude-sonnet-4-6",
  1525. name: "Claude Sonnet 4.6 (US)",
  1526. api: "bedrock-converse-stream",
  1527. provider: "amazon-bedrock",
  1528. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1529. reasoning: true,
  1530. input: ["text", "image"],
  1531. cost: {
  1532. input: 3,
  1533. output: 15,
  1534. cacheRead: 0.3,
  1535. cacheWrite: 3.75,
  1536. },
  1537. contextWindow: 1000000,
  1538. maxTokens: 64000,
  1539. } satisfies Model<"bedrock-converse-stream">,
  1540. "us.deepseek.r1-v1:0": {
  1541. id: "us.deepseek.r1-v1:0",
  1542. name: "DeepSeek-R1 (US)",
  1543. api: "bedrock-converse-stream",
  1544. provider: "amazon-bedrock",
  1545. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1546. reasoning: true,
  1547. input: ["text"],
  1548. cost: {
  1549. input: 1.35,
  1550. output: 5.4,
  1551. cacheRead: 0,
  1552. cacheWrite: 0,
  1553. },
  1554. contextWindow: 128000,
  1555. maxTokens: 32768,
  1556. } satisfies Model<"bedrock-converse-stream">,
  1557. "us.meta.llama4-maverick-17b-instruct-v1:0": {
  1558. id: "us.meta.llama4-maverick-17b-instruct-v1:0",
  1559. name: "Llama 4 Maverick 17B Instruct (US)",
  1560. api: "bedrock-converse-stream",
  1561. provider: "amazon-bedrock",
  1562. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1563. reasoning: false,
  1564. input: ["text", "image"],
  1565. cost: {
  1566. input: 0.24,
  1567. output: 0.97,
  1568. cacheRead: 0,
  1569. cacheWrite: 0,
  1570. },
  1571. contextWindow: 1000000,
  1572. maxTokens: 16384,
  1573. } satisfies Model<"bedrock-converse-stream">,
  1574. "us.meta.llama4-scout-17b-instruct-v1:0": {
  1575. id: "us.meta.llama4-scout-17b-instruct-v1:0",
  1576. name: "Llama 4 Scout 17B Instruct (US)",
  1577. api: "bedrock-converse-stream",
  1578. provider: "amazon-bedrock",
  1579. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1580. reasoning: false,
  1581. input: ["text", "image"],
  1582. cost: {
  1583. input: 0.17,
  1584. output: 0.66,
  1585. cacheRead: 0,
  1586. cacheWrite: 0,
  1587. },
  1588. contextWindow: 3500000,
  1589. maxTokens: 16384,
  1590. } satisfies Model<"bedrock-converse-stream">,
  1591. "writer.palmyra-x4-v1:0": {
  1592. id: "writer.palmyra-x4-v1:0",
  1593. name: "Palmyra X4",
  1594. api: "bedrock-converse-stream",
  1595. provider: "amazon-bedrock",
  1596. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1597. reasoning: true,
  1598. input: ["text"],
  1599. cost: {
  1600. input: 2.5,
  1601. output: 10,
  1602. cacheRead: 0,
  1603. cacheWrite: 0,
  1604. },
  1605. contextWindow: 122880,
  1606. maxTokens: 8192,
  1607. } satisfies Model<"bedrock-converse-stream">,
  1608. "writer.palmyra-x5-v1:0": {
  1609. id: "writer.palmyra-x5-v1:0",
  1610. name: "Palmyra X5",
  1611. api: "bedrock-converse-stream",
  1612. provider: "amazon-bedrock",
  1613. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1614. reasoning: true,
  1615. input: ["text"],
  1616. cost: {
  1617. input: 0.6,
  1618. output: 6,
  1619. cacheRead: 0,
  1620. cacheWrite: 0,
  1621. },
  1622. contextWindow: 1040000,
  1623. maxTokens: 8192,
  1624. } satisfies Model<"bedrock-converse-stream">,
  1625. "zai.glm-4.7": {
  1626. id: "zai.glm-4.7",
  1627. name: "GLM-4.7",
  1628. api: "bedrock-converse-stream",
  1629. provider: "amazon-bedrock",
  1630. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1631. reasoning: true,
  1632. input: ["text"],
  1633. cost: {
  1634. input: 0.6,
  1635. output: 2.2,
  1636. cacheRead: 0,
  1637. cacheWrite: 0,
  1638. },
  1639. contextWindow: 204800,
  1640. maxTokens: 131072,
  1641. } satisfies Model<"bedrock-converse-stream">,
  1642. "zai.glm-4.7-flash": {
  1643. id: "zai.glm-4.7-flash",
  1644. name: "GLM-4.7-Flash",
  1645. api: "bedrock-converse-stream",
  1646. provider: "amazon-bedrock",
  1647. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1648. reasoning: true,
  1649. input: ["text"],
  1650. cost: {
  1651. input: 0.07,
  1652. output: 0.4,
  1653. cacheRead: 0,
  1654. cacheWrite: 0,
  1655. },
  1656. contextWindow: 200000,
  1657. maxTokens: 131072,
  1658. } satisfies Model<"bedrock-converse-stream">,
  1659. "zai.glm-5": {
  1660. id: "zai.glm-5",
  1661. name: "GLM-5",
  1662. api: "bedrock-converse-stream",
  1663. provider: "amazon-bedrock",
  1664. baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
  1665. reasoning: true,
  1666. input: ["text"],
  1667. cost: {
  1668. input: 1,
  1669. output: 3.2,
  1670. cacheRead: 0,
  1671. cacheWrite: 0,
  1672. },
  1673. contextWindow: 202752,
  1674. maxTokens: 101376,
  1675. } satisfies Model<"bedrock-converse-stream">,
  1676. },
  1677. "ant-ling": {
  1678. "Ling-2.6-1T": {
  1679. id: "Ling-2.6-1T",
  1680. name: "Ling 2.6 1T",
  1681. api: "openai-completions",
  1682. provider: "ant-ling",
  1683. baseUrl: "https://api.ant-ling.com/v1",
  1684. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsLongCacheRetention":false},
  1685. reasoning: false,
  1686. input: ["text"],
  1687. cost: {
  1688. input: 0.06,
  1689. output: 0.25,
  1690. cacheRead: 0,
  1691. cacheWrite: 0,
  1692. },
  1693. contextWindow: 262144,
  1694. maxTokens: 65536,
  1695. } satisfies Model<"openai-completions">,
  1696. "Ling-2.6-flash": {
  1697. id: "Ling-2.6-flash",
  1698. name: "Ling 2.6 Flash",
  1699. api: "openai-completions",
  1700. provider: "ant-ling",
  1701. baseUrl: "https://api.ant-ling.com/v1",
  1702. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsLongCacheRetention":false},
  1703. reasoning: false,
  1704. input: ["text"],
  1705. cost: {
  1706. input: 0.01,
  1707. output: 0.02,
  1708. cacheRead: 0,
  1709. cacheWrite: 0,
  1710. },
  1711. contextWindow: 262144,
  1712. maxTokens: 65536,
  1713. } satisfies Model<"openai-completions">,
  1714. "Ring-2.6-1T": {
  1715. id: "Ring-2.6-1T",
  1716. name: "Ring 2.6 1T",
  1717. api: "openai-completions",
  1718. provider: "ant-ling",
  1719. baseUrl: "https://api.ant-ling.com/v1",
  1720. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsLongCacheRetention":false,"thinkingFormat":"ant-ling"},
  1721. reasoning: true,
  1722. thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"xhigh"},
  1723. input: ["text"],
  1724. cost: {
  1725. input: 0.06,
  1726. output: 0.25,
  1727. cacheRead: 0,
  1728. cacheWrite: 0,
  1729. },
  1730. contextWindow: 262144,
  1731. maxTokens: 65536,
  1732. } satisfies Model<"openai-completions">,
  1733. },
  1734. "anthropic": {
  1735. "claude-3-5-haiku-20241022": {
  1736. id: "claude-3-5-haiku-20241022",
  1737. name: "Claude Haiku 3.5",
  1738. api: "anthropic-messages",
  1739. provider: "anthropic",
  1740. baseUrl: "https://api.anthropic.com",
  1741. reasoning: false,
  1742. input: ["text", "image"],
  1743. cost: {
  1744. input: 0.8,
  1745. output: 4,
  1746. cacheRead: 0.08,
  1747. cacheWrite: 1,
  1748. },
  1749. contextWindow: 200000,
  1750. maxTokens: 8192,
  1751. } satisfies Model<"anthropic-messages">,
  1752. "claude-3-5-haiku-latest": {
  1753. id: "claude-3-5-haiku-latest",
  1754. name: "Claude Haiku 3.5 (latest)",
  1755. api: "anthropic-messages",
  1756. provider: "anthropic",
  1757. baseUrl: "https://api.anthropic.com",
  1758. reasoning: false,
  1759. input: ["text", "image"],
  1760. cost: {
  1761. input: 0.8,
  1762. output: 4,
  1763. cacheRead: 0.08,
  1764. cacheWrite: 1,
  1765. },
  1766. contextWindow: 200000,
  1767. maxTokens: 8192,
  1768. } satisfies Model<"anthropic-messages">,
  1769. "claude-3-5-sonnet-20240620": {
  1770. id: "claude-3-5-sonnet-20240620",
  1771. name: "Claude Sonnet 3.5",
  1772. api: "anthropic-messages",
  1773. provider: "anthropic",
  1774. baseUrl: "https://api.anthropic.com",
  1775. reasoning: false,
  1776. input: ["text", "image"],
  1777. cost: {
  1778. input: 3,
  1779. output: 15,
  1780. cacheRead: 0.3,
  1781. cacheWrite: 3.75,
  1782. },
  1783. contextWindow: 200000,
  1784. maxTokens: 8192,
  1785. } satisfies Model<"anthropic-messages">,
  1786. "claude-3-5-sonnet-20241022": {
  1787. id: "claude-3-5-sonnet-20241022",
  1788. name: "Claude Sonnet 3.5 v2",
  1789. api: "anthropic-messages",
  1790. provider: "anthropic",
  1791. baseUrl: "https://api.anthropic.com",
  1792. reasoning: false,
  1793. input: ["text", "image"],
  1794. cost: {
  1795. input: 3,
  1796. output: 15,
  1797. cacheRead: 0.3,
  1798. cacheWrite: 3.75,
  1799. },
  1800. contextWindow: 200000,
  1801. maxTokens: 8192,
  1802. } satisfies Model<"anthropic-messages">,
  1803. "claude-3-7-sonnet-20250219": {
  1804. id: "claude-3-7-sonnet-20250219",
  1805. name: "Claude Sonnet 3.7",
  1806. api: "anthropic-messages",
  1807. provider: "anthropic",
  1808. baseUrl: "https://api.anthropic.com",
  1809. reasoning: true,
  1810. input: ["text", "image"],
  1811. cost: {
  1812. input: 3,
  1813. output: 15,
  1814. cacheRead: 0.3,
  1815. cacheWrite: 3.75,
  1816. },
  1817. contextWindow: 200000,
  1818. maxTokens: 64000,
  1819. } satisfies Model<"anthropic-messages">,
  1820. "claude-3-haiku-20240307": {
  1821. id: "claude-3-haiku-20240307",
  1822. name: "Claude Haiku 3",
  1823. api: "anthropic-messages",
  1824. provider: "anthropic",
  1825. baseUrl: "https://api.anthropic.com",
  1826. reasoning: false,
  1827. input: ["text", "image"],
  1828. cost: {
  1829. input: 0.25,
  1830. output: 1.25,
  1831. cacheRead: 0.03,
  1832. cacheWrite: 0.3,
  1833. },
  1834. contextWindow: 200000,
  1835. maxTokens: 4096,
  1836. } satisfies Model<"anthropic-messages">,
  1837. "claude-3-opus-20240229": {
  1838. id: "claude-3-opus-20240229",
  1839. name: "Claude Opus 3",
  1840. api: "anthropic-messages",
  1841. provider: "anthropic",
  1842. baseUrl: "https://api.anthropic.com",
  1843. reasoning: false,
  1844. input: ["text", "image"],
  1845. cost: {
  1846. input: 15,
  1847. output: 75,
  1848. cacheRead: 1.5,
  1849. cacheWrite: 18.75,
  1850. },
  1851. contextWindow: 200000,
  1852. maxTokens: 4096,
  1853. } satisfies Model<"anthropic-messages">,
  1854. "claude-3-sonnet-20240229": {
  1855. id: "claude-3-sonnet-20240229",
  1856. name: "Claude Sonnet 3",
  1857. api: "anthropic-messages",
  1858. provider: "anthropic",
  1859. baseUrl: "https://api.anthropic.com",
  1860. reasoning: false,
  1861. input: ["text", "image"],
  1862. cost: {
  1863. input: 3,
  1864. output: 15,
  1865. cacheRead: 0.3,
  1866. cacheWrite: 0.3,
  1867. },
  1868. contextWindow: 200000,
  1869. maxTokens: 4096,
  1870. } satisfies Model<"anthropic-messages">,
  1871. "claude-fable-5": {
  1872. id: "claude-fable-5",
  1873. name: "Claude Fable 5",
  1874. api: "anthropic-messages",
  1875. provider: "anthropic",
  1876. baseUrl: "https://api.anthropic.com",
  1877. compat: {"forceAdaptiveThinking":true},
  1878. reasoning: true,
  1879. thinkingLevelMap: {"xhigh":"xhigh"},
  1880. input: ["text", "image"],
  1881. cost: {
  1882. input: 10,
  1883. output: 50,
  1884. cacheRead: 1,
  1885. cacheWrite: 12.5,
  1886. },
  1887. contextWindow: 1000000,
  1888. maxTokens: 128000,
  1889. } satisfies Model<"anthropic-messages">,
  1890. "claude-haiku-4-5": {
  1891. id: "claude-haiku-4-5",
  1892. name: "Claude Haiku 4.5 (latest)",
  1893. api: "anthropic-messages",
  1894. provider: "anthropic",
  1895. baseUrl: "https://api.anthropic.com",
  1896. reasoning: true,
  1897. input: ["text", "image"],
  1898. cost: {
  1899. input: 1,
  1900. output: 5,
  1901. cacheRead: 0.1,
  1902. cacheWrite: 1.25,
  1903. },
  1904. contextWindow: 200000,
  1905. maxTokens: 64000,
  1906. } satisfies Model<"anthropic-messages">,
  1907. "claude-haiku-4-5-20251001": {
  1908. id: "claude-haiku-4-5-20251001",
  1909. name: "Claude Haiku 4.5",
  1910. api: "anthropic-messages",
  1911. provider: "anthropic",
  1912. baseUrl: "https://api.anthropic.com",
  1913. reasoning: true,
  1914. input: ["text", "image"],
  1915. cost: {
  1916. input: 1,
  1917. output: 5,
  1918. cacheRead: 0.1,
  1919. cacheWrite: 1.25,
  1920. },
  1921. contextWindow: 200000,
  1922. maxTokens: 64000,
  1923. } satisfies Model<"anthropic-messages">,
  1924. "claude-opus-4-0": {
  1925. id: "claude-opus-4-0",
  1926. name: "Claude Opus 4 (latest)",
  1927. api: "anthropic-messages",
  1928. provider: "anthropic",
  1929. baseUrl: "https://api.anthropic.com",
  1930. reasoning: true,
  1931. input: ["text", "image"],
  1932. cost: {
  1933. input: 15,
  1934. output: 75,
  1935. cacheRead: 1.5,
  1936. cacheWrite: 18.75,
  1937. },
  1938. contextWindow: 200000,
  1939. maxTokens: 32000,
  1940. } satisfies Model<"anthropic-messages">,
  1941. "claude-opus-4-1": {
  1942. id: "claude-opus-4-1",
  1943. name: "Claude Opus 4.1 (latest)",
  1944. api: "anthropic-messages",
  1945. provider: "anthropic",
  1946. baseUrl: "https://api.anthropic.com",
  1947. reasoning: true,
  1948. input: ["text", "image"],
  1949. cost: {
  1950. input: 15,
  1951. output: 75,
  1952. cacheRead: 1.5,
  1953. cacheWrite: 18.75,
  1954. },
  1955. contextWindow: 200000,
  1956. maxTokens: 32000,
  1957. } satisfies Model<"anthropic-messages">,
  1958. "claude-opus-4-1-20250805": {
  1959. id: "claude-opus-4-1-20250805",
  1960. name: "Claude Opus 4.1",
  1961. api: "anthropic-messages",
  1962. provider: "anthropic",
  1963. baseUrl: "https://api.anthropic.com",
  1964. reasoning: true,
  1965. input: ["text", "image"],
  1966. cost: {
  1967. input: 15,
  1968. output: 75,
  1969. cacheRead: 1.5,
  1970. cacheWrite: 18.75,
  1971. },
  1972. contextWindow: 200000,
  1973. maxTokens: 32000,
  1974. } satisfies Model<"anthropic-messages">,
  1975. "claude-opus-4-20250514": {
  1976. id: "claude-opus-4-20250514",
  1977. name: "Claude Opus 4",
  1978. api: "anthropic-messages",
  1979. provider: "anthropic",
  1980. baseUrl: "https://api.anthropic.com",
  1981. reasoning: true,
  1982. input: ["text", "image"],
  1983. cost: {
  1984. input: 15,
  1985. output: 75,
  1986. cacheRead: 1.5,
  1987. cacheWrite: 18.75,
  1988. },
  1989. contextWindow: 200000,
  1990. maxTokens: 32000,
  1991. } satisfies Model<"anthropic-messages">,
  1992. "claude-opus-4-5": {
  1993. id: "claude-opus-4-5",
  1994. name: "Claude Opus 4.5 (latest)",
  1995. api: "anthropic-messages",
  1996. provider: "anthropic",
  1997. baseUrl: "https://api.anthropic.com",
  1998. reasoning: true,
  1999. input: ["text", "image"],
  2000. cost: {
  2001. input: 5,
  2002. output: 25,
  2003. cacheRead: 0.5,
  2004. cacheWrite: 6.25,
  2005. },
  2006. contextWindow: 200000,
  2007. maxTokens: 64000,
  2008. } satisfies Model<"anthropic-messages">,
  2009. "claude-opus-4-5-20251101": {
  2010. id: "claude-opus-4-5-20251101",
  2011. name: "Claude Opus 4.5",
  2012. api: "anthropic-messages",
  2013. provider: "anthropic",
  2014. baseUrl: "https://api.anthropic.com",
  2015. reasoning: true,
  2016. input: ["text", "image"],
  2017. cost: {
  2018. input: 5,
  2019. output: 25,
  2020. cacheRead: 0.5,
  2021. cacheWrite: 6.25,
  2022. },
  2023. contextWindow: 200000,
  2024. maxTokens: 64000,
  2025. } satisfies Model<"anthropic-messages">,
  2026. "claude-opus-4-6": {
  2027. id: "claude-opus-4-6",
  2028. name: "Claude Opus 4.6",
  2029. api: "anthropic-messages",
  2030. provider: "anthropic",
  2031. baseUrl: "https://api.anthropic.com",
  2032. compat: {"forceAdaptiveThinking":true},
  2033. reasoning: true,
  2034. thinkingLevelMap: {"xhigh":"max"},
  2035. input: ["text", "image"],
  2036. cost: {
  2037. input: 5,
  2038. output: 25,
  2039. cacheRead: 0.5,
  2040. cacheWrite: 6.25,
  2041. },
  2042. contextWindow: 1000000,
  2043. maxTokens: 128000,
  2044. } satisfies Model<"anthropic-messages">,
  2045. "claude-opus-4-7": {
  2046. id: "claude-opus-4-7",
  2047. name: "Claude Opus 4.7",
  2048. api: "anthropic-messages",
  2049. provider: "anthropic",
  2050. baseUrl: "https://api.anthropic.com",
  2051. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  2052. reasoning: true,
  2053. thinkingLevelMap: {"xhigh":"xhigh"},
  2054. input: ["text", "image"],
  2055. cost: {
  2056. input: 5,
  2057. output: 25,
  2058. cacheRead: 0.5,
  2059. cacheWrite: 6.25,
  2060. },
  2061. contextWindow: 1000000,
  2062. maxTokens: 128000,
  2063. } satisfies Model<"anthropic-messages">,
  2064. "claude-opus-4-8": {
  2065. id: "claude-opus-4-8",
  2066. name: "Claude Opus 4.8",
  2067. api: "anthropic-messages",
  2068. provider: "anthropic",
  2069. baseUrl: "https://api.anthropic.com",
  2070. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  2071. reasoning: true,
  2072. thinkingLevelMap: {"xhigh":"xhigh"},
  2073. input: ["text", "image"],
  2074. cost: {
  2075. input: 5,
  2076. output: 25,
  2077. cacheRead: 0.5,
  2078. cacheWrite: 6.25,
  2079. },
  2080. contextWindow: 1000000,
  2081. maxTokens: 128000,
  2082. } satisfies Model<"anthropic-messages">,
  2083. "claude-sonnet-4-0": {
  2084. id: "claude-sonnet-4-0",
  2085. name: "Claude Sonnet 4 (latest)",
  2086. api: "anthropic-messages",
  2087. provider: "anthropic",
  2088. baseUrl: "https://api.anthropic.com",
  2089. reasoning: true,
  2090. input: ["text", "image"],
  2091. cost: {
  2092. input: 3,
  2093. output: 15,
  2094. cacheRead: 0.3,
  2095. cacheWrite: 3.75,
  2096. },
  2097. contextWindow: 200000,
  2098. maxTokens: 64000,
  2099. } satisfies Model<"anthropic-messages">,
  2100. "claude-sonnet-4-20250514": {
  2101. id: "claude-sonnet-4-20250514",
  2102. name: "Claude Sonnet 4",
  2103. api: "anthropic-messages",
  2104. provider: "anthropic",
  2105. baseUrl: "https://api.anthropic.com",
  2106. reasoning: true,
  2107. input: ["text", "image"],
  2108. cost: {
  2109. input: 3,
  2110. output: 15,
  2111. cacheRead: 0.3,
  2112. cacheWrite: 3.75,
  2113. },
  2114. contextWindow: 200000,
  2115. maxTokens: 64000,
  2116. } satisfies Model<"anthropic-messages">,
  2117. "claude-sonnet-4-5": {
  2118. id: "claude-sonnet-4-5",
  2119. name: "Claude Sonnet 4.5 (latest)",
  2120. api: "anthropic-messages",
  2121. provider: "anthropic",
  2122. baseUrl: "https://api.anthropic.com",
  2123. reasoning: true,
  2124. input: ["text", "image"],
  2125. cost: {
  2126. input: 3,
  2127. output: 15,
  2128. cacheRead: 0.3,
  2129. cacheWrite: 3.75,
  2130. },
  2131. contextWindow: 200000,
  2132. maxTokens: 64000,
  2133. } satisfies Model<"anthropic-messages">,
  2134. "claude-sonnet-4-5-20250929": {
  2135. id: "claude-sonnet-4-5-20250929",
  2136. name: "Claude Sonnet 4.5",
  2137. api: "anthropic-messages",
  2138. provider: "anthropic",
  2139. baseUrl: "https://api.anthropic.com",
  2140. reasoning: true,
  2141. input: ["text", "image"],
  2142. cost: {
  2143. input: 3,
  2144. output: 15,
  2145. cacheRead: 0.3,
  2146. cacheWrite: 3.75,
  2147. },
  2148. contextWindow: 200000,
  2149. maxTokens: 64000,
  2150. } satisfies Model<"anthropic-messages">,
  2151. "claude-sonnet-4-6": {
  2152. id: "claude-sonnet-4-6",
  2153. name: "Claude Sonnet 4.6",
  2154. api: "anthropic-messages",
  2155. provider: "anthropic",
  2156. baseUrl: "https://api.anthropic.com",
  2157. compat: {"forceAdaptiveThinking":true},
  2158. reasoning: true,
  2159. input: ["text", "image"],
  2160. cost: {
  2161. input: 3,
  2162. output: 15,
  2163. cacheRead: 0.3,
  2164. cacheWrite: 3.75,
  2165. },
  2166. contextWindow: 1000000,
  2167. maxTokens: 64000,
  2168. } satisfies Model<"anthropic-messages">,
  2169. },
  2170. "azure-openai-responses": {
  2171. "gpt-4": {
  2172. id: "gpt-4",
  2173. name: "GPT-4",
  2174. api: "azure-openai-responses",
  2175. provider: "azure-openai-responses",
  2176. baseUrl: "",
  2177. reasoning: false,
  2178. input: ["text"],
  2179. cost: {
  2180. input: 30,
  2181. output: 60,
  2182. cacheRead: 0,
  2183. cacheWrite: 0,
  2184. },
  2185. contextWindow: 8192,
  2186. maxTokens: 8192,
  2187. } satisfies Model<"azure-openai-responses">,
  2188. "gpt-4-turbo": {
  2189. id: "gpt-4-turbo",
  2190. name: "GPT-4 Turbo",
  2191. api: "azure-openai-responses",
  2192. provider: "azure-openai-responses",
  2193. baseUrl: "",
  2194. reasoning: false,
  2195. input: ["text", "image"],
  2196. cost: {
  2197. input: 10,
  2198. output: 30,
  2199. cacheRead: 0,
  2200. cacheWrite: 0,
  2201. },
  2202. contextWindow: 128000,
  2203. maxTokens: 4096,
  2204. } satisfies Model<"azure-openai-responses">,
  2205. "gpt-4.1": {
  2206. id: "gpt-4.1",
  2207. name: "GPT-4.1",
  2208. api: "azure-openai-responses",
  2209. provider: "azure-openai-responses",
  2210. baseUrl: "",
  2211. reasoning: false,
  2212. input: ["text", "image"],
  2213. cost: {
  2214. input: 2,
  2215. output: 8,
  2216. cacheRead: 0.5,
  2217. cacheWrite: 0,
  2218. },
  2219. contextWindow: 1047576,
  2220. maxTokens: 32768,
  2221. } satisfies Model<"azure-openai-responses">,
  2222. "gpt-4.1-mini": {
  2223. id: "gpt-4.1-mini",
  2224. name: "GPT-4.1 mini",
  2225. api: "azure-openai-responses",
  2226. provider: "azure-openai-responses",
  2227. baseUrl: "",
  2228. reasoning: false,
  2229. input: ["text", "image"],
  2230. cost: {
  2231. input: 0.4,
  2232. output: 1.6,
  2233. cacheRead: 0.1,
  2234. cacheWrite: 0,
  2235. },
  2236. contextWindow: 1047576,
  2237. maxTokens: 32768,
  2238. } satisfies Model<"azure-openai-responses">,
  2239. "gpt-4.1-nano": {
  2240. id: "gpt-4.1-nano",
  2241. name: "GPT-4.1 nano",
  2242. api: "azure-openai-responses",
  2243. provider: "azure-openai-responses",
  2244. baseUrl: "",
  2245. reasoning: false,
  2246. input: ["text", "image"],
  2247. cost: {
  2248. input: 0.1,
  2249. output: 0.4,
  2250. cacheRead: 0.025,
  2251. cacheWrite: 0,
  2252. },
  2253. contextWindow: 1047576,
  2254. maxTokens: 32768,
  2255. } satisfies Model<"azure-openai-responses">,
  2256. "gpt-4o": {
  2257. id: "gpt-4o",
  2258. name: "GPT-4o",
  2259. api: "azure-openai-responses",
  2260. provider: "azure-openai-responses",
  2261. baseUrl: "",
  2262. reasoning: false,
  2263. input: ["text", "image"],
  2264. cost: {
  2265. input: 2.5,
  2266. output: 10,
  2267. cacheRead: 1.25,
  2268. cacheWrite: 0,
  2269. },
  2270. contextWindow: 128000,
  2271. maxTokens: 16384,
  2272. } satisfies Model<"azure-openai-responses">,
  2273. "gpt-4o-2024-05-13": {
  2274. id: "gpt-4o-2024-05-13",
  2275. name: "GPT-4o (2024-05-13)",
  2276. api: "azure-openai-responses",
  2277. provider: "azure-openai-responses",
  2278. baseUrl: "",
  2279. reasoning: false,
  2280. input: ["text", "image"],
  2281. cost: {
  2282. input: 5,
  2283. output: 15,
  2284. cacheRead: 0,
  2285. cacheWrite: 0,
  2286. },
  2287. contextWindow: 128000,
  2288. maxTokens: 4096,
  2289. } satisfies Model<"azure-openai-responses">,
  2290. "gpt-4o-2024-08-06": {
  2291. id: "gpt-4o-2024-08-06",
  2292. name: "GPT-4o (2024-08-06)",
  2293. api: "azure-openai-responses",
  2294. provider: "azure-openai-responses",
  2295. baseUrl: "",
  2296. reasoning: false,
  2297. input: ["text", "image"],
  2298. cost: {
  2299. input: 2.5,
  2300. output: 10,
  2301. cacheRead: 1.25,
  2302. cacheWrite: 0,
  2303. },
  2304. contextWindow: 128000,
  2305. maxTokens: 16384,
  2306. } satisfies Model<"azure-openai-responses">,
  2307. "gpt-4o-2024-11-20": {
  2308. id: "gpt-4o-2024-11-20",
  2309. name: "GPT-4o (2024-11-20)",
  2310. api: "azure-openai-responses",
  2311. provider: "azure-openai-responses",
  2312. baseUrl: "",
  2313. reasoning: false,
  2314. input: ["text", "image"],
  2315. cost: {
  2316. input: 2.5,
  2317. output: 10,
  2318. cacheRead: 1.25,
  2319. cacheWrite: 0,
  2320. },
  2321. contextWindow: 128000,
  2322. maxTokens: 16384,
  2323. } satisfies Model<"azure-openai-responses">,
  2324. "gpt-4o-mini": {
  2325. id: "gpt-4o-mini",
  2326. name: "GPT-4o mini",
  2327. api: "azure-openai-responses",
  2328. provider: "azure-openai-responses",
  2329. baseUrl: "",
  2330. reasoning: false,
  2331. input: ["text", "image"],
  2332. cost: {
  2333. input: 0.15,
  2334. output: 0.6,
  2335. cacheRead: 0.075,
  2336. cacheWrite: 0,
  2337. },
  2338. contextWindow: 128000,
  2339. maxTokens: 16384,
  2340. } satisfies Model<"azure-openai-responses">,
  2341. "gpt-5": {
  2342. id: "gpt-5",
  2343. name: "GPT-5",
  2344. api: "azure-openai-responses",
  2345. provider: "azure-openai-responses",
  2346. baseUrl: "",
  2347. reasoning: true,
  2348. thinkingLevelMap: {"off":null},
  2349. input: ["text", "image"],
  2350. cost: {
  2351. input: 1.25,
  2352. output: 10,
  2353. cacheRead: 0.125,
  2354. cacheWrite: 0,
  2355. },
  2356. contextWindow: 400000,
  2357. maxTokens: 128000,
  2358. } satisfies Model<"azure-openai-responses">,
  2359. "gpt-5-chat-latest": {
  2360. id: "gpt-5-chat-latest",
  2361. name: "GPT-5 Chat Latest",
  2362. api: "azure-openai-responses",
  2363. provider: "azure-openai-responses",
  2364. baseUrl: "",
  2365. reasoning: false,
  2366. thinkingLevelMap: {"off":null},
  2367. input: ["text", "image"],
  2368. cost: {
  2369. input: 1.25,
  2370. output: 10,
  2371. cacheRead: 0.125,
  2372. cacheWrite: 0,
  2373. },
  2374. contextWindow: 128000,
  2375. maxTokens: 16384,
  2376. } satisfies Model<"azure-openai-responses">,
  2377. "gpt-5-codex": {
  2378. id: "gpt-5-codex",
  2379. name: "GPT-5-Codex",
  2380. api: "azure-openai-responses",
  2381. provider: "azure-openai-responses",
  2382. baseUrl: "",
  2383. reasoning: true,
  2384. thinkingLevelMap: {"off":null},
  2385. input: ["text", "image"],
  2386. cost: {
  2387. input: 1.25,
  2388. output: 10,
  2389. cacheRead: 0.125,
  2390. cacheWrite: 0,
  2391. },
  2392. contextWindow: 400000,
  2393. maxTokens: 128000,
  2394. } satisfies Model<"azure-openai-responses">,
  2395. "gpt-5-mini": {
  2396. id: "gpt-5-mini",
  2397. name: "GPT-5 Mini",
  2398. api: "azure-openai-responses",
  2399. provider: "azure-openai-responses",
  2400. baseUrl: "",
  2401. reasoning: true,
  2402. thinkingLevelMap: {"off":null},
  2403. input: ["text", "image"],
  2404. cost: {
  2405. input: 0.25,
  2406. output: 2,
  2407. cacheRead: 0.025,
  2408. cacheWrite: 0,
  2409. },
  2410. contextWindow: 400000,
  2411. maxTokens: 128000,
  2412. } satisfies Model<"azure-openai-responses">,
  2413. "gpt-5-nano": {
  2414. id: "gpt-5-nano",
  2415. name: "GPT-5 Nano",
  2416. api: "azure-openai-responses",
  2417. provider: "azure-openai-responses",
  2418. baseUrl: "",
  2419. reasoning: true,
  2420. thinkingLevelMap: {"off":null},
  2421. input: ["text", "image"],
  2422. cost: {
  2423. input: 0.05,
  2424. output: 0.4,
  2425. cacheRead: 0.005,
  2426. cacheWrite: 0,
  2427. },
  2428. contextWindow: 400000,
  2429. maxTokens: 128000,
  2430. } satisfies Model<"azure-openai-responses">,
  2431. "gpt-5-pro": {
  2432. id: "gpt-5-pro",
  2433. name: "GPT-5 Pro",
  2434. api: "azure-openai-responses",
  2435. provider: "azure-openai-responses",
  2436. baseUrl: "",
  2437. reasoning: true,
  2438. thinkingLevelMap: {"off":null},
  2439. input: ["text", "image"],
  2440. cost: {
  2441. input: 15,
  2442. output: 120,
  2443. cacheRead: 0,
  2444. cacheWrite: 0,
  2445. },
  2446. contextWindow: 400000,
  2447. maxTokens: 128000,
  2448. } satisfies Model<"azure-openai-responses">,
  2449. "gpt-5.1": {
  2450. id: "gpt-5.1",
  2451. name: "GPT-5.1",
  2452. api: "azure-openai-responses",
  2453. provider: "azure-openai-responses",
  2454. baseUrl: "",
  2455. reasoning: true,
  2456. thinkingLevelMap: {"off":null},
  2457. input: ["text", "image"],
  2458. cost: {
  2459. input: 1.25,
  2460. output: 10,
  2461. cacheRead: 0.125,
  2462. cacheWrite: 0,
  2463. },
  2464. contextWindow: 400000,
  2465. maxTokens: 128000,
  2466. } satisfies Model<"azure-openai-responses">,
  2467. "gpt-5.1-chat-latest": {
  2468. id: "gpt-5.1-chat-latest",
  2469. name: "GPT-5.1 Chat",
  2470. api: "azure-openai-responses",
  2471. provider: "azure-openai-responses",
  2472. baseUrl: "",
  2473. reasoning: true,
  2474. thinkingLevelMap: {"off":null},
  2475. input: ["text", "image"],
  2476. cost: {
  2477. input: 1.25,
  2478. output: 10,
  2479. cacheRead: 0.125,
  2480. cacheWrite: 0,
  2481. },
  2482. contextWindow: 128000,
  2483. maxTokens: 16384,
  2484. } satisfies Model<"azure-openai-responses">,
  2485. "gpt-5.1-codex": {
  2486. id: "gpt-5.1-codex",
  2487. name: "GPT-5.1 Codex",
  2488. api: "azure-openai-responses",
  2489. provider: "azure-openai-responses",
  2490. baseUrl: "",
  2491. reasoning: true,
  2492. thinkingLevelMap: {"off":null},
  2493. input: ["text", "image"],
  2494. cost: {
  2495. input: 1.25,
  2496. output: 10,
  2497. cacheRead: 0.125,
  2498. cacheWrite: 0,
  2499. },
  2500. contextWindow: 400000,
  2501. maxTokens: 128000,
  2502. } satisfies Model<"azure-openai-responses">,
  2503. "gpt-5.1-codex-max": {
  2504. id: "gpt-5.1-codex-max",
  2505. name: "GPT-5.1 Codex Max",
  2506. api: "azure-openai-responses",
  2507. provider: "azure-openai-responses",
  2508. baseUrl: "",
  2509. reasoning: true,
  2510. thinkingLevelMap: {"off":null},
  2511. input: ["text", "image"],
  2512. cost: {
  2513. input: 1.25,
  2514. output: 10,
  2515. cacheRead: 0.125,
  2516. cacheWrite: 0,
  2517. },
  2518. contextWindow: 400000,
  2519. maxTokens: 128000,
  2520. } satisfies Model<"azure-openai-responses">,
  2521. "gpt-5.1-codex-mini": {
  2522. id: "gpt-5.1-codex-mini",
  2523. name: "GPT-5.1 Codex mini",
  2524. api: "azure-openai-responses",
  2525. provider: "azure-openai-responses",
  2526. baseUrl: "",
  2527. reasoning: true,
  2528. thinkingLevelMap: {"off":null},
  2529. input: ["text", "image"],
  2530. cost: {
  2531. input: 0.25,
  2532. output: 2,
  2533. cacheRead: 0.025,
  2534. cacheWrite: 0,
  2535. },
  2536. contextWindow: 400000,
  2537. maxTokens: 128000,
  2538. } satisfies Model<"azure-openai-responses">,
  2539. "gpt-5.2": {
  2540. id: "gpt-5.2",
  2541. name: "GPT-5.2",
  2542. api: "azure-openai-responses",
  2543. provider: "azure-openai-responses",
  2544. baseUrl: "",
  2545. reasoning: true,
  2546. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2547. input: ["text", "image"],
  2548. cost: {
  2549. input: 1.75,
  2550. output: 14,
  2551. cacheRead: 0.175,
  2552. cacheWrite: 0,
  2553. },
  2554. contextWindow: 400000,
  2555. maxTokens: 128000,
  2556. } satisfies Model<"azure-openai-responses">,
  2557. "gpt-5.2-chat-latest": {
  2558. id: "gpt-5.2-chat-latest",
  2559. name: "GPT-5.2 Chat",
  2560. api: "azure-openai-responses",
  2561. provider: "azure-openai-responses",
  2562. baseUrl: "",
  2563. reasoning: true,
  2564. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2565. input: ["text", "image"],
  2566. cost: {
  2567. input: 1.75,
  2568. output: 14,
  2569. cacheRead: 0.175,
  2570. cacheWrite: 0,
  2571. },
  2572. contextWindow: 128000,
  2573. maxTokens: 16384,
  2574. } satisfies Model<"azure-openai-responses">,
  2575. "gpt-5.2-codex": {
  2576. id: "gpt-5.2-codex",
  2577. name: "GPT-5.2 Codex",
  2578. api: "azure-openai-responses",
  2579. provider: "azure-openai-responses",
  2580. baseUrl: "",
  2581. reasoning: true,
  2582. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2583. input: ["text", "image"],
  2584. cost: {
  2585. input: 1.75,
  2586. output: 14,
  2587. cacheRead: 0.175,
  2588. cacheWrite: 0,
  2589. },
  2590. contextWindow: 400000,
  2591. maxTokens: 128000,
  2592. } satisfies Model<"azure-openai-responses">,
  2593. "gpt-5.2-pro": {
  2594. id: "gpt-5.2-pro",
  2595. name: "GPT-5.2 Pro",
  2596. api: "azure-openai-responses",
  2597. provider: "azure-openai-responses",
  2598. baseUrl: "",
  2599. reasoning: true,
  2600. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2601. input: ["text", "image"],
  2602. cost: {
  2603. input: 21,
  2604. output: 168,
  2605. cacheRead: 0,
  2606. cacheWrite: 0,
  2607. },
  2608. contextWindow: 400000,
  2609. maxTokens: 128000,
  2610. } satisfies Model<"azure-openai-responses">,
  2611. "gpt-5.3-chat-latest": {
  2612. id: "gpt-5.3-chat-latest",
  2613. name: "GPT-5.3 Chat (latest)",
  2614. api: "azure-openai-responses",
  2615. provider: "azure-openai-responses",
  2616. baseUrl: "",
  2617. reasoning: false,
  2618. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2619. input: ["text", "image"],
  2620. cost: {
  2621. input: 1.75,
  2622. output: 14,
  2623. cacheRead: 0.175,
  2624. cacheWrite: 0,
  2625. },
  2626. contextWindow: 128000,
  2627. maxTokens: 16384,
  2628. } satisfies Model<"azure-openai-responses">,
  2629. "gpt-5.3-codex": {
  2630. id: "gpt-5.3-codex",
  2631. name: "GPT-5.3 Codex",
  2632. api: "azure-openai-responses",
  2633. provider: "azure-openai-responses",
  2634. baseUrl: "",
  2635. reasoning: true,
  2636. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2637. input: ["text", "image"],
  2638. cost: {
  2639. input: 1.75,
  2640. output: 14,
  2641. cacheRead: 0.175,
  2642. cacheWrite: 0,
  2643. },
  2644. contextWindow: 400000,
  2645. maxTokens: 128000,
  2646. } satisfies Model<"azure-openai-responses">,
  2647. "gpt-5.3-codex-spark": {
  2648. id: "gpt-5.3-codex-spark",
  2649. name: "GPT-5.3 Codex Spark",
  2650. api: "azure-openai-responses",
  2651. provider: "azure-openai-responses",
  2652. baseUrl: "",
  2653. reasoning: true,
  2654. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2655. input: ["text", "image"],
  2656. cost: {
  2657. input: 1.75,
  2658. output: 14,
  2659. cacheRead: 0.175,
  2660. cacheWrite: 0,
  2661. },
  2662. contextWindow: 128000,
  2663. maxTokens: 32000,
  2664. } satisfies Model<"azure-openai-responses">,
  2665. "gpt-5.4": {
  2666. id: "gpt-5.4",
  2667. name: "GPT-5.4",
  2668. api: "azure-openai-responses",
  2669. provider: "azure-openai-responses",
  2670. baseUrl: "",
  2671. reasoning: true,
  2672. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2673. input: ["text", "image"],
  2674. cost: {
  2675. input: 2.5,
  2676. output: 15,
  2677. cacheRead: 0.25,
  2678. cacheWrite: 0,
  2679. },
  2680. contextWindow: 1050000,
  2681. maxTokens: 128000,
  2682. } satisfies Model<"azure-openai-responses">,
  2683. "gpt-5.4-mini": {
  2684. id: "gpt-5.4-mini",
  2685. name: "GPT-5.4 mini",
  2686. api: "azure-openai-responses",
  2687. provider: "azure-openai-responses",
  2688. baseUrl: "",
  2689. reasoning: true,
  2690. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2691. input: ["text", "image"],
  2692. cost: {
  2693. input: 0.75,
  2694. output: 4.5,
  2695. cacheRead: 0.075,
  2696. cacheWrite: 0,
  2697. },
  2698. contextWindow: 400000,
  2699. maxTokens: 128000,
  2700. } satisfies Model<"azure-openai-responses">,
  2701. "gpt-5.4-nano": {
  2702. id: "gpt-5.4-nano",
  2703. name: "GPT-5.4 nano",
  2704. api: "azure-openai-responses",
  2705. provider: "azure-openai-responses",
  2706. baseUrl: "",
  2707. reasoning: true,
  2708. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2709. input: ["text", "image"],
  2710. cost: {
  2711. input: 0.2,
  2712. output: 1.25,
  2713. cacheRead: 0.02,
  2714. cacheWrite: 0,
  2715. },
  2716. contextWindow: 400000,
  2717. maxTokens: 128000,
  2718. } satisfies Model<"azure-openai-responses">,
  2719. "gpt-5.4-pro": {
  2720. id: "gpt-5.4-pro",
  2721. name: "GPT-5.4 Pro",
  2722. api: "azure-openai-responses",
  2723. provider: "azure-openai-responses",
  2724. baseUrl: "",
  2725. reasoning: true,
  2726. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2727. input: ["text", "image"],
  2728. cost: {
  2729. input: 30,
  2730. output: 180,
  2731. cacheRead: 0,
  2732. cacheWrite: 0,
  2733. },
  2734. contextWindow: 1050000,
  2735. maxTokens: 128000,
  2736. } satisfies Model<"azure-openai-responses">,
  2737. "gpt-5.5": {
  2738. id: "gpt-5.5",
  2739. name: "GPT-5.5",
  2740. api: "azure-openai-responses",
  2741. provider: "azure-openai-responses",
  2742. baseUrl: "",
  2743. reasoning: true,
  2744. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  2745. input: ["text", "image"],
  2746. cost: {
  2747. input: 5,
  2748. output: 30,
  2749. cacheRead: 0.5,
  2750. cacheWrite: 0,
  2751. },
  2752. contextWindow: 1050000,
  2753. maxTokens: 128000,
  2754. } satisfies Model<"azure-openai-responses">,
  2755. "gpt-5.5-pro": {
  2756. id: "gpt-5.5-pro",
  2757. name: "GPT-5.5 Pro",
  2758. api: "azure-openai-responses",
  2759. provider: "azure-openai-responses",
  2760. baseUrl: "",
  2761. reasoning: true,
  2762. thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"low":null},
  2763. input: ["text", "image"],
  2764. cost: {
  2765. input: 30,
  2766. output: 180,
  2767. cacheRead: 0,
  2768. cacheWrite: 0,
  2769. },
  2770. contextWindow: 1050000,
  2771. maxTokens: 128000,
  2772. } satisfies Model<"azure-openai-responses">,
  2773. "o1": {
  2774. id: "o1",
  2775. name: "o1",
  2776. api: "azure-openai-responses",
  2777. provider: "azure-openai-responses",
  2778. baseUrl: "",
  2779. reasoning: true,
  2780. input: ["text", "image"],
  2781. cost: {
  2782. input: 15,
  2783. output: 60,
  2784. cacheRead: 7.5,
  2785. cacheWrite: 0,
  2786. },
  2787. contextWindow: 200000,
  2788. maxTokens: 100000,
  2789. } satisfies Model<"azure-openai-responses">,
  2790. "o1-pro": {
  2791. id: "o1-pro",
  2792. name: "o1-pro",
  2793. api: "azure-openai-responses",
  2794. provider: "azure-openai-responses",
  2795. baseUrl: "",
  2796. reasoning: true,
  2797. input: ["text", "image"],
  2798. cost: {
  2799. input: 150,
  2800. output: 600,
  2801. cacheRead: 0,
  2802. cacheWrite: 0,
  2803. },
  2804. contextWindow: 200000,
  2805. maxTokens: 100000,
  2806. } satisfies Model<"azure-openai-responses">,
  2807. "o3": {
  2808. id: "o3",
  2809. name: "o3",
  2810. api: "azure-openai-responses",
  2811. provider: "azure-openai-responses",
  2812. baseUrl: "",
  2813. reasoning: true,
  2814. input: ["text", "image"],
  2815. cost: {
  2816. input: 2,
  2817. output: 8,
  2818. cacheRead: 0.5,
  2819. cacheWrite: 0,
  2820. },
  2821. contextWindow: 200000,
  2822. maxTokens: 100000,
  2823. } satisfies Model<"azure-openai-responses">,
  2824. "o3-deep-research": {
  2825. id: "o3-deep-research",
  2826. name: "o3-deep-research",
  2827. api: "azure-openai-responses",
  2828. provider: "azure-openai-responses",
  2829. baseUrl: "",
  2830. reasoning: true,
  2831. input: ["text", "image"],
  2832. cost: {
  2833. input: 10,
  2834. output: 40,
  2835. cacheRead: 2.5,
  2836. cacheWrite: 0,
  2837. },
  2838. contextWindow: 200000,
  2839. maxTokens: 100000,
  2840. } satisfies Model<"azure-openai-responses">,
  2841. "o3-mini": {
  2842. id: "o3-mini",
  2843. name: "o3-mini",
  2844. api: "azure-openai-responses",
  2845. provider: "azure-openai-responses",
  2846. baseUrl: "",
  2847. reasoning: true,
  2848. input: ["text"],
  2849. cost: {
  2850. input: 1.1,
  2851. output: 4.4,
  2852. cacheRead: 0.55,
  2853. cacheWrite: 0,
  2854. },
  2855. contextWindow: 200000,
  2856. maxTokens: 100000,
  2857. } satisfies Model<"azure-openai-responses">,
  2858. "o3-pro": {
  2859. id: "o3-pro",
  2860. name: "o3-pro",
  2861. api: "azure-openai-responses",
  2862. provider: "azure-openai-responses",
  2863. baseUrl: "",
  2864. reasoning: true,
  2865. input: ["text", "image"],
  2866. cost: {
  2867. input: 20,
  2868. output: 80,
  2869. cacheRead: 0,
  2870. cacheWrite: 0,
  2871. },
  2872. contextWindow: 200000,
  2873. maxTokens: 100000,
  2874. } satisfies Model<"azure-openai-responses">,
  2875. "o4-mini": {
  2876. id: "o4-mini",
  2877. name: "o4-mini",
  2878. api: "azure-openai-responses",
  2879. provider: "azure-openai-responses",
  2880. baseUrl: "",
  2881. reasoning: true,
  2882. input: ["text", "image"],
  2883. cost: {
  2884. input: 1.1,
  2885. output: 4.4,
  2886. cacheRead: 0.275,
  2887. cacheWrite: 0,
  2888. },
  2889. contextWindow: 200000,
  2890. maxTokens: 100000,
  2891. } satisfies Model<"azure-openai-responses">,
  2892. "o4-mini-deep-research": {
  2893. id: "o4-mini-deep-research",
  2894. name: "o4-mini-deep-research",
  2895. api: "azure-openai-responses",
  2896. provider: "azure-openai-responses",
  2897. baseUrl: "",
  2898. reasoning: true,
  2899. input: ["text", "image"],
  2900. cost: {
  2901. input: 2,
  2902. output: 8,
  2903. cacheRead: 0.5,
  2904. cacheWrite: 0,
  2905. },
  2906. contextWindow: 200000,
  2907. maxTokens: 100000,
  2908. } satisfies Model<"azure-openai-responses">,
  2909. },
  2910. "cerebras": {
  2911. "gpt-oss-120b": {
  2912. id: "gpt-oss-120b",
  2913. name: "GPT OSS 120B",
  2914. api: "openai-completions",
  2915. provider: "cerebras",
  2916. baseUrl: "https://api.cerebras.ai/v1",
  2917. reasoning: true,
  2918. input: ["text"],
  2919. cost: {
  2920. input: 0.25,
  2921. output: 0.69,
  2922. cacheRead: 0,
  2923. cacheWrite: 0,
  2924. },
  2925. contextWindow: 131072,
  2926. maxTokens: 32768,
  2927. } satisfies Model<"openai-completions">,
  2928. "llama3.1-8b": {
  2929. id: "llama3.1-8b",
  2930. name: "Llama 3.1 8B",
  2931. api: "openai-completions",
  2932. provider: "cerebras",
  2933. baseUrl: "https://api.cerebras.ai/v1",
  2934. reasoning: false,
  2935. input: ["text"],
  2936. cost: {
  2937. input: 0.1,
  2938. output: 0.1,
  2939. cacheRead: 0,
  2940. cacheWrite: 0,
  2941. },
  2942. contextWindow: 32000,
  2943. maxTokens: 8000,
  2944. } satisfies Model<"openai-completions">,
  2945. "zai-glm-4.7": {
  2946. id: "zai-glm-4.7",
  2947. name: "Z.AI GLM-4.7",
  2948. api: "openai-completions",
  2949. provider: "cerebras",
  2950. baseUrl: "https://api.cerebras.ai/v1",
  2951. reasoning: false,
  2952. input: ["text"],
  2953. cost: {
  2954. input: 2.25,
  2955. output: 2.75,
  2956. cacheRead: 0,
  2957. cacheWrite: 0,
  2958. },
  2959. contextWindow: 131072,
  2960. maxTokens: 40000,
  2961. } satisfies Model<"openai-completions">,
  2962. },
  2963. "cloudflare-ai-gateway": {
  2964. "claude-3-5-haiku": {
  2965. id: "claude-3-5-haiku",
  2966. name: "Claude Haiku 3.5 (latest)",
  2967. api: "anthropic-messages",
  2968. provider: "cloudflare-ai-gateway",
  2969. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  2970. reasoning: false,
  2971. input: ["text", "image"],
  2972. cost: {
  2973. input: 0.8,
  2974. output: 4,
  2975. cacheRead: 0.08,
  2976. cacheWrite: 1,
  2977. },
  2978. contextWindow: 200000,
  2979. maxTokens: 8192,
  2980. } satisfies Model<"anthropic-messages">,
  2981. "claude-3-haiku": {
  2982. id: "claude-3-haiku",
  2983. name: "Claude Haiku 3",
  2984. api: "anthropic-messages",
  2985. provider: "cloudflare-ai-gateway",
  2986. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  2987. reasoning: false,
  2988. input: ["text", "image"],
  2989. cost: {
  2990. input: 0.25,
  2991. output: 1.25,
  2992. cacheRead: 0.03,
  2993. cacheWrite: 0.3,
  2994. },
  2995. contextWindow: 200000,
  2996. maxTokens: 4096,
  2997. } satisfies Model<"anthropic-messages">,
  2998. "claude-3-opus": {
  2999. id: "claude-3-opus",
  3000. name: "Claude Opus 3",
  3001. api: "anthropic-messages",
  3002. provider: "cloudflare-ai-gateway",
  3003. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3004. reasoning: false,
  3005. input: ["text", "image"],
  3006. cost: {
  3007. input: 15,
  3008. output: 75,
  3009. cacheRead: 1.5,
  3010. cacheWrite: 18.75,
  3011. },
  3012. contextWindow: 200000,
  3013. maxTokens: 4096,
  3014. } satisfies Model<"anthropic-messages">,
  3015. "claude-3-sonnet": {
  3016. id: "claude-3-sonnet",
  3017. name: "Claude Sonnet 3",
  3018. api: "anthropic-messages",
  3019. provider: "cloudflare-ai-gateway",
  3020. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3021. reasoning: false,
  3022. input: ["text", "image"],
  3023. cost: {
  3024. input: 3,
  3025. output: 15,
  3026. cacheRead: 0.3,
  3027. cacheWrite: 0.3,
  3028. },
  3029. contextWindow: 200000,
  3030. maxTokens: 4096,
  3031. } satisfies Model<"anthropic-messages">,
  3032. "claude-3.5-haiku": {
  3033. id: "claude-3.5-haiku",
  3034. name: "Claude Haiku 3.5 (latest)",
  3035. api: "anthropic-messages",
  3036. provider: "cloudflare-ai-gateway",
  3037. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3038. reasoning: false,
  3039. input: ["text", "image"],
  3040. cost: {
  3041. input: 0.8,
  3042. output: 4,
  3043. cacheRead: 0.08,
  3044. cacheWrite: 1,
  3045. },
  3046. contextWindow: 200000,
  3047. maxTokens: 8192,
  3048. } satisfies Model<"anthropic-messages">,
  3049. "claude-3.5-sonnet": {
  3050. id: "claude-3.5-sonnet",
  3051. name: "Claude Sonnet 3.5 v2",
  3052. api: "anthropic-messages",
  3053. provider: "cloudflare-ai-gateway",
  3054. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3055. reasoning: false,
  3056. input: ["text", "image"],
  3057. cost: {
  3058. input: 3,
  3059. output: 15,
  3060. cacheRead: 0.3,
  3061. cacheWrite: 3.75,
  3062. },
  3063. contextWindow: 200000,
  3064. maxTokens: 8192,
  3065. } satisfies Model<"anthropic-messages">,
  3066. "claude-fable-5": {
  3067. id: "claude-fable-5",
  3068. name: "Claude Fable 5",
  3069. api: "anthropic-messages",
  3070. provider: "cloudflare-ai-gateway",
  3071. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3072. compat: {"forceAdaptiveThinking":true},
  3073. reasoning: true,
  3074. thinkingLevelMap: {"xhigh":"xhigh"},
  3075. input: ["text", "image"],
  3076. cost: {
  3077. input: 10,
  3078. output: 50,
  3079. cacheRead: 1,
  3080. cacheWrite: 12.5,
  3081. },
  3082. contextWindow: 1000000,
  3083. maxTokens: 128000,
  3084. } satisfies Model<"anthropic-messages">,
  3085. "claude-haiku-4-5": {
  3086. id: "claude-haiku-4-5",
  3087. name: "Claude Haiku 4.5 (latest)",
  3088. api: "anthropic-messages",
  3089. provider: "cloudflare-ai-gateway",
  3090. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3091. reasoning: true,
  3092. input: ["text", "image"],
  3093. cost: {
  3094. input: 1,
  3095. output: 5,
  3096. cacheRead: 0.1,
  3097. cacheWrite: 1.25,
  3098. },
  3099. contextWindow: 200000,
  3100. maxTokens: 64000,
  3101. } satisfies Model<"anthropic-messages">,
  3102. "claude-opus-4": {
  3103. id: "claude-opus-4",
  3104. name: "Claude Opus 4 (latest)",
  3105. api: "anthropic-messages",
  3106. provider: "cloudflare-ai-gateway",
  3107. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3108. reasoning: true,
  3109. input: ["text", "image"],
  3110. cost: {
  3111. input: 15,
  3112. output: 75,
  3113. cacheRead: 1.5,
  3114. cacheWrite: 18.75,
  3115. },
  3116. contextWindow: 200000,
  3117. maxTokens: 32000,
  3118. } satisfies Model<"anthropic-messages">,
  3119. "claude-opus-4-1": {
  3120. id: "claude-opus-4-1",
  3121. name: "Claude Opus 4.1 (latest)",
  3122. api: "anthropic-messages",
  3123. provider: "cloudflare-ai-gateway",
  3124. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3125. reasoning: true,
  3126. input: ["text", "image"],
  3127. cost: {
  3128. input: 15,
  3129. output: 75,
  3130. cacheRead: 1.5,
  3131. cacheWrite: 18.75,
  3132. },
  3133. contextWindow: 200000,
  3134. maxTokens: 32000,
  3135. } satisfies Model<"anthropic-messages">,
  3136. "claude-opus-4-5": {
  3137. id: "claude-opus-4-5",
  3138. name: "Claude Opus 4.5 (latest)",
  3139. api: "anthropic-messages",
  3140. provider: "cloudflare-ai-gateway",
  3141. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3142. reasoning: true,
  3143. input: ["text", "image"],
  3144. cost: {
  3145. input: 5,
  3146. output: 25,
  3147. cacheRead: 0.5,
  3148. cacheWrite: 6.25,
  3149. },
  3150. contextWindow: 200000,
  3151. maxTokens: 64000,
  3152. } satisfies Model<"anthropic-messages">,
  3153. "claude-opus-4-6": {
  3154. id: "claude-opus-4-6",
  3155. name: "Claude Opus 4.6 (latest)",
  3156. api: "anthropic-messages",
  3157. provider: "cloudflare-ai-gateway",
  3158. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3159. compat: {"forceAdaptiveThinking":true},
  3160. reasoning: true,
  3161. thinkingLevelMap: {"xhigh":"max"},
  3162. input: ["text", "image"],
  3163. cost: {
  3164. input: 5,
  3165. output: 25,
  3166. cacheRead: 0.5,
  3167. cacheWrite: 6.25,
  3168. },
  3169. contextWindow: 1000000,
  3170. maxTokens: 128000,
  3171. } satisfies Model<"anthropic-messages">,
  3172. "claude-opus-4-7": {
  3173. id: "claude-opus-4-7",
  3174. name: "Claude Opus 4.7",
  3175. api: "anthropic-messages",
  3176. provider: "cloudflare-ai-gateway",
  3177. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3178. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  3179. reasoning: true,
  3180. thinkingLevelMap: {"xhigh":"xhigh"},
  3181. input: ["text", "image"],
  3182. cost: {
  3183. input: 5,
  3184. output: 25,
  3185. cacheRead: 0.5,
  3186. cacheWrite: 6.25,
  3187. },
  3188. contextWindow: 1000000,
  3189. maxTokens: 128000,
  3190. } satisfies Model<"anthropic-messages">,
  3191. "claude-opus-4-8": {
  3192. id: "claude-opus-4-8",
  3193. name: "Claude Opus 4.8",
  3194. api: "anthropic-messages",
  3195. provider: "cloudflare-ai-gateway",
  3196. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3197. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  3198. reasoning: true,
  3199. thinkingLevelMap: {"xhigh":"xhigh"},
  3200. input: ["text", "image"],
  3201. cost: {
  3202. input: 5,
  3203. output: 25,
  3204. cacheRead: 0.5,
  3205. cacheWrite: 6.25,
  3206. },
  3207. contextWindow: 1000000,
  3208. maxTokens: 128000,
  3209. } satisfies Model<"anthropic-messages">,
  3210. "claude-sonnet-4": {
  3211. id: "claude-sonnet-4",
  3212. name: "Claude Sonnet 4 (latest)",
  3213. api: "anthropic-messages",
  3214. provider: "cloudflare-ai-gateway",
  3215. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3216. reasoning: true,
  3217. input: ["text", "image"],
  3218. cost: {
  3219. input: 3,
  3220. output: 15,
  3221. cacheRead: 0.3,
  3222. cacheWrite: 3.75,
  3223. },
  3224. contextWindow: 200000,
  3225. maxTokens: 64000,
  3226. } satisfies Model<"anthropic-messages">,
  3227. "claude-sonnet-4-5": {
  3228. id: "claude-sonnet-4-5",
  3229. name: "Claude Sonnet 4.5 (latest)",
  3230. api: "anthropic-messages",
  3231. provider: "cloudflare-ai-gateway",
  3232. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3233. reasoning: true,
  3234. input: ["text", "image"],
  3235. cost: {
  3236. input: 3,
  3237. output: 15,
  3238. cacheRead: 0.3,
  3239. cacheWrite: 3.75,
  3240. },
  3241. contextWindow: 200000,
  3242. maxTokens: 64000,
  3243. } satisfies Model<"anthropic-messages">,
  3244. "claude-sonnet-4-6": {
  3245. id: "claude-sonnet-4-6",
  3246. name: "Claude Sonnet 4.6",
  3247. api: "anthropic-messages",
  3248. provider: "cloudflare-ai-gateway",
  3249. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/anthropic",
  3250. compat: {"forceAdaptiveThinking":true},
  3251. reasoning: true,
  3252. input: ["text", "image"],
  3253. cost: {
  3254. input: 3,
  3255. output: 15,
  3256. cacheRead: 0.3,
  3257. cacheWrite: 3.75,
  3258. },
  3259. contextWindow: 1000000,
  3260. maxTokens: 64000,
  3261. } satisfies Model<"anthropic-messages">,
  3262. "gpt-4": {
  3263. id: "gpt-4",
  3264. name: "GPT-4",
  3265. api: "openai-responses",
  3266. provider: "cloudflare-ai-gateway",
  3267. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3268. reasoning: false,
  3269. input: ["text"],
  3270. cost: {
  3271. input: 30,
  3272. output: 60,
  3273. cacheRead: 0,
  3274. cacheWrite: 0,
  3275. },
  3276. contextWindow: 8192,
  3277. maxTokens: 8192,
  3278. } satisfies Model<"openai-responses">,
  3279. "gpt-4-turbo": {
  3280. id: "gpt-4-turbo",
  3281. name: "GPT-4 Turbo",
  3282. api: "openai-responses",
  3283. provider: "cloudflare-ai-gateway",
  3284. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3285. reasoning: false,
  3286. input: ["text", "image"],
  3287. cost: {
  3288. input: 10,
  3289. output: 30,
  3290. cacheRead: 0,
  3291. cacheWrite: 0,
  3292. },
  3293. contextWindow: 128000,
  3294. maxTokens: 4096,
  3295. } satisfies Model<"openai-responses">,
  3296. "gpt-4o": {
  3297. id: "gpt-4o",
  3298. name: "GPT-4o",
  3299. api: "openai-responses",
  3300. provider: "cloudflare-ai-gateway",
  3301. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3302. reasoning: false,
  3303. input: ["text", "image"],
  3304. cost: {
  3305. input: 2.5,
  3306. output: 10,
  3307. cacheRead: 1.25,
  3308. cacheWrite: 0,
  3309. },
  3310. contextWindow: 128000,
  3311. maxTokens: 16384,
  3312. } satisfies Model<"openai-responses">,
  3313. "gpt-4o-mini": {
  3314. id: "gpt-4o-mini",
  3315. name: "GPT-4o mini",
  3316. api: "openai-responses",
  3317. provider: "cloudflare-ai-gateway",
  3318. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3319. reasoning: false,
  3320. input: ["text", "image"],
  3321. cost: {
  3322. input: 0.15,
  3323. output: 0.6,
  3324. cacheRead: 0.08,
  3325. cacheWrite: 0,
  3326. },
  3327. contextWindow: 128000,
  3328. maxTokens: 16384,
  3329. } satisfies Model<"openai-responses">,
  3330. "gpt-5.1": {
  3331. id: "gpt-5.1",
  3332. name: "GPT-5.1",
  3333. api: "openai-responses",
  3334. provider: "cloudflare-ai-gateway",
  3335. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3336. reasoning: true,
  3337. thinkingLevelMap: {"off":null},
  3338. input: ["text", "image"],
  3339. cost: {
  3340. input: 1.25,
  3341. output: 10,
  3342. cacheRead: 0.13,
  3343. cacheWrite: 0,
  3344. },
  3345. contextWindow: 400000,
  3346. maxTokens: 128000,
  3347. } satisfies Model<"openai-responses">,
  3348. "gpt-5.1-codex": {
  3349. id: "gpt-5.1-codex",
  3350. name: "GPT-5.1 Codex",
  3351. api: "openai-responses",
  3352. provider: "cloudflare-ai-gateway",
  3353. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3354. reasoning: true,
  3355. thinkingLevelMap: {"off":null},
  3356. input: ["text", "image"],
  3357. cost: {
  3358. input: 1.25,
  3359. output: 10,
  3360. cacheRead: 0.125,
  3361. cacheWrite: 0,
  3362. },
  3363. contextWindow: 400000,
  3364. maxTokens: 128000,
  3365. } satisfies Model<"openai-responses">,
  3366. "gpt-5.2": {
  3367. id: "gpt-5.2",
  3368. name: "GPT-5.2",
  3369. api: "openai-responses",
  3370. provider: "cloudflare-ai-gateway",
  3371. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3372. reasoning: true,
  3373. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  3374. input: ["text", "image"],
  3375. cost: {
  3376. input: 1.75,
  3377. output: 14,
  3378. cacheRead: 0.175,
  3379. cacheWrite: 0,
  3380. },
  3381. contextWindow: 400000,
  3382. maxTokens: 128000,
  3383. } satisfies Model<"openai-responses">,
  3384. "gpt-5.2-codex": {
  3385. id: "gpt-5.2-codex",
  3386. name: "GPT-5.2 Codex",
  3387. api: "openai-responses",
  3388. provider: "cloudflare-ai-gateway",
  3389. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3390. reasoning: true,
  3391. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  3392. input: ["text", "image"],
  3393. cost: {
  3394. input: 1.75,
  3395. output: 14,
  3396. cacheRead: 0.175,
  3397. cacheWrite: 0,
  3398. },
  3399. contextWindow: 400000,
  3400. maxTokens: 128000,
  3401. } satisfies Model<"openai-responses">,
  3402. "gpt-5.3-codex": {
  3403. id: "gpt-5.3-codex",
  3404. name: "GPT-5.3 Codex",
  3405. api: "openai-responses",
  3406. provider: "cloudflare-ai-gateway",
  3407. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3408. reasoning: true,
  3409. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  3410. input: ["text", "image"],
  3411. cost: {
  3412. input: 1.75,
  3413. output: 14,
  3414. cacheRead: 0.175,
  3415. cacheWrite: 0,
  3416. },
  3417. contextWindow: 400000,
  3418. maxTokens: 128000,
  3419. } satisfies Model<"openai-responses">,
  3420. "gpt-5.4": {
  3421. id: "gpt-5.4",
  3422. name: "GPT-5.4",
  3423. api: "openai-responses",
  3424. provider: "cloudflare-ai-gateway",
  3425. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3426. reasoning: true,
  3427. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  3428. input: ["text", "image"],
  3429. cost: {
  3430. input: 2.5,
  3431. output: 15,
  3432. cacheRead: 0.25,
  3433. cacheWrite: 0,
  3434. },
  3435. contextWindow: 1050000,
  3436. maxTokens: 128000,
  3437. } satisfies Model<"openai-responses">,
  3438. "gpt-5.5": {
  3439. id: "gpt-5.5",
  3440. name: "GPT-5.5",
  3441. api: "openai-responses",
  3442. provider: "cloudflare-ai-gateway",
  3443. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3444. reasoning: true,
  3445. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  3446. input: ["text", "image"],
  3447. cost: {
  3448. input: 5,
  3449. output: 30,
  3450. cacheRead: 0.5,
  3451. cacheWrite: 0,
  3452. },
  3453. contextWindow: 1050000,
  3454. maxTokens: 128000,
  3455. } satisfies Model<"openai-responses">,
  3456. "o1": {
  3457. id: "o1",
  3458. name: "o1",
  3459. api: "openai-responses",
  3460. provider: "cloudflare-ai-gateway",
  3461. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3462. reasoning: true,
  3463. input: ["text", "image"],
  3464. cost: {
  3465. input: 15,
  3466. output: 60,
  3467. cacheRead: 7.5,
  3468. cacheWrite: 0,
  3469. },
  3470. contextWindow: 200000,
  3471. maxTokens: 100000,
  3472. } satisfies Model<"openai-responses">,
  3473. "o3": {
  3474. id: "o3",
  3475. name: "o3",
  3476. api: "openai-responses",
  3477. provider: "cloudflare-ai-gateway",
  3478. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3479. reasoning: true,
  3480. input: ["text", "image"],
  3481. cost: {
  3482. input: 2,
  3483. output: 8,
  3484. cacheRead: 0.5,
  3485. cacheWrite: 0,
  3486. },
  3487. contextWindow: 200000,
  3488. maxTokens: 100000,
  3489. } satisfies Model<"openai-responses">,
  3490. "o3-mini": {
  3491. id: "o3-mini",
  3492. name: "o3-mini",
  3493. api: "openai-responses",
  3494. provider: "cloudflare-ai-gateway",
  3495. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3496. reasoning: true,
  3497. input: ["text"],
  3498. cost: {
  3499. input: 1.1,
  3500. output: 4.4,
  3501. cacheRead: 0.55,
  3502. cacheWrite: 0,
  3503. },
  3504. contextWindow: 200000,
  3505. maxTokens: 100000,
  3506. } satisfies Model<"openai-responses">,
  3507. "o3-pro": {
  3508. id: "o3-pro",
  3509. name: "o3-pro",
  3510. api: "openai-responses",
  3511. provider: "cloudflare-ai-gateway",
  3512. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3513. reasoning: true,
  3514. input: ["text", "image"],
  3515. cost: {
  3516. input: 20,
  3517. output: 80,
  3518. cacheRead: 0,
  3519. cacheWrite: 0,
  3520. },
  3521. contextWindow: 200000,
  3522. maxTokens: 100000,
  3523. } satisfies Model<"openai-responses">,
  3524. "o4-mini": {
  3525. id: "o4-mini",
  3526. name: "o4-mini",
  3527. api: "openai-responses",
  3528. provider: "cloudflare-ai-gateway",
  3529. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/openai",
  3530. reasoning: true,
  3531. input: ["text", "image"],
  3532. cost: {
  3533. input: 1.1,
  3534. output: 4.4,
  3535. cacheRead: 0.28,
  3536. cacheWrite: 0,
  3537. },
  3538. contextWindow: 200000,
  3539. maxTokens: 100000,
  3540. } satisfies Model<"openai-responses">,
  3541. "workers-ai/@cf/moonshotai/kimi-k2.5": {
  3542. id: "workers-ai/@cf/moonshotai/kimi-k2.5",
  3543. name: "Kimi K2.5",
  3544. api: "openai-completions",
  3545. provider: "cloudflare-ai-gateway",
  3546. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",
  3547. compat: {"sendSessionAffinityHeaders":true},
  3548. reasoning: true,
  3549. input: ["text", "image"],
  3550. cost: {
  3551. input: 0.6,
  3552. output: 3,
  3553. cacheRead: 0.1,
  3554. cacheWrite: 0,
  3555. },
  3556. contextWindow: 256000,
  3557. maxTokens: 256000,
  3558. } satisfies Model<"openai-completions">,
  3559. "workers-ai/@cf/moonshotai/kimi-k2.6": {
  3560. id: "workers-ai/@cf/moonshotai/kimi-k2.6",
  3561. name: "Kimi K2.6",
  3562. api: "openai-completions",
  3563. provider: "cloudflare-ai-gateway",
  3564. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",
  3565. compat: {"sendSessionAffinityHeaders":true},
  3566. reasoning: true,
  3567. input: ["text", "image"],
  3568. cost: {
  3569. input: 0.95,
  3570. output: 4,
  3571. cacheRead: 0.16,
  3572. cacheWrite: 0,
  3573. },
  3574. contextWindow: 256000,
  3575. maxTokens: 256000,
  3576. } satisfies Model<"openai-completions">,
  3577. "workers-ai/@cf/nvidia/nemotron-3-120b-a12b": {
  3578. id: "workers-ai/@cf/nvidia/nemotron-3-120b-a12b",
  3579. name: "Nemotron 3 Super 120B",
  3580. api: "openai-completions",
  3581. provider: "cloudflare-ai-gateway",
  3582. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",
  3583. compat: {"sendSessionAffinityHeaders":true},
  3584. reasoning: true,
  3585. input: ["text"],
  3586. cost: {
  3587. input: 0.5,
  3588. output: 1.5,
  3589. cacheRead: 0,
  3590. cacheWrite: 0,
  3591. },
  3592. contextWindow: 256000,
  3593. maxTokens: 256000,
  3594. } satisfies Model<"openai-completions">,
  3595. "workers-ai/@cf/zai-org/glm-4.7-flash": {
  3596. id: "workers-ai/@cf/zai-org/glm-4.7-flash",
  3597. name: "GLM-4.7-Flash",
  3598. api: "openai-completions",
  3599. provider: "cloudflare-ai-gateway",
  3600. baseUrl: "https://gateway.ai.cloudflare.com/v1/{CLOUDFLARE_ACCOUNT_ID}/{CLOUDFLARE_GATEWAY_ID}/compat",
  3601. compat: {"sendSessionAffinityHeaders":true},
  3602. reasoning: true,
  3603. input: ["text"],
  3604. cost: {
  3605. input: 0.06,
  3606. output: 0.4,
  3607. cacheRead: 0,
  3608. cacheWrite: 0,
  3609. },
  3610. contextWindow: 131072,
  3611. maxTokens: 131072,
  3612. } satisfies Model<"openai-completions">,
  3613. },
  3614. "cloudflare-workers-ai": {
  3615. "@cf/google/gemma-4-26b-a4b-it": {
  3616. id: "@cf/google/gemma-4-26b-a4b-it",
  3617. name: "Gemma 4 26B A4B IT",
  3618. api: "openai-completions",
  3619. provider: "cloudflare-workers-ai",
  3620. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3621. compat: {"sendSessionAffinityHeaders":true},
  3622. reasoning: true,
  3623. input: ["text", "image"],
  3624. cost: {
  3625. input: 0.1,
  3626. output: 0.3,
  3627. cacheRead: 0,
  3628. cacheWrite: 0,
  3629. },
  3630. contextWindow: 256000,
  3631. maxTokens: 16384,
  3632. } satisfies Model<"openai-completions">,
  3633. "@cf/ibm-granite/granite-4.0-h-micro": {
  3634. id: "@cf/ibm-granite/granite-4.0-h-micro",
  3635. name: "Granite 4.0 H Micro",
  3636. api: "openai-completions",
  3637. provider: "cloudflare-workers-ai",
  3638. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3639. compat: {"sendSessionAffinityHeaders":true},
  3640. reasoning: false,
  3641. input: ["text"],
  3642. cost: {
  3643. input: 0.017,
  3644. output: 0.112,
  3645. cacheRead: 0,
  3646. cacheWrite: 0,
  3647. },
  3648. contextWindow: 131000,
  3649. maxTokens: 131000,
  3650. } satisfies Model<"openai-completions">,
  3651. "@cf/meta/llama-3.3-70b-instruct-fp8-fast": {
  3652. id: "@cf/meta/llama-3.3-70b-instruct-fp8-fast",
  3653. name: "Llama 3.3 70B Instruct fp8 Fast",
  3654. api: "openai-completions",
  3655. provider: "cloudflare-workers-ai",
  3656. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3657. compat: {"sendSessionAffinityHeaders":true},
  3658. reasoning: false,
  3659. input: ["text"],
  3660. cost: {
  3661. input: 0.293,
  3662. output: 2.253,
  3663. cacheRead: 0,
  3664. cacheWrite: 0,
  3665. },
  3666. contextWindow: 24000,
  3667. maxTokens: 24000,
  3668. } satisfies Model<"openai-completions">,
  3669. "@cf/meta/llama-4-scout-17b-16e-instruct": {
  3670. id: "@cf/meta/llama-4-scout-17b-16e-instruct",
  3671. name: "Llama 4 Scout 17B 16E Instruct",
  3672. api: "openai-completions",
  3673. provider: "cloudflare-workers-ai",
  3674. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3675. compat: {"sendSessionAffinityHeaders":true},
  3676. reasoning: false,
  3677. input: ["text", "image"],
  3678. cost: {
  3679. input: 0.27,
  3680. output: 0.85,
  3681. cacheRead: 0,
  3682. cacheWrite: 0,
  3683. },
  3684. contextWindow: 131000,
  3685. maxTokens: 16384,
  3686. } satisfies Model<"openai-completions">,
  3687. "@cf/mistralai/mistral-small-3.1-24b-instruct": {
  3688. id: "@cf/mistralai/mistral-small-3.1-24b-instruct",
  3689. name: "Mistral Small 3.1 24B Instruct",
  3690. api: "openai-completions",
  3691. provider: "cloudflare-workers-ai",
  3692. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3693. compat: {"sendSessionAffinityHeaders":true},
  3694. reasoning: false,
  3695. input: ["text"],
  3696. cost: {
  3697. input: 0.351,
  3698. output: 0.555,
  3699. cacheRead: 0,
  3700. cacheWrite: 0,
  3701. },
  3702. contextWindow: 128000,
  3703. maxTokens: 128000,
  3704. } satisfies Model<"openai-completions">,
  3705. "@cf/moonshotai/kimi-k2.6": {
  3706. id: "@cf/moonshotai/kimi-k2.6",
  3707. name: "Kimi K2.6",
  3708. api: "openai-completions",
  3709. provider: "cloudflare-workers-ai",
  3710. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3711. compat: {"sendSessionAffinityHeaders":true},
  3712. reasoning: true,
  3713. input: ["text", "image"],
  3714. cost: {
  3715. input: 0.95,
  3716. output: 4,
  3717. cacheRead: 0.16,
  3718. cacheWrite: 0,
  3719. },
  3720. contextWindow: 262144,
  3721. maxTokens: 256000,
  3722. } satisfies Model<"openai-completions">,
  3723. "@cf/nvidia/nemotron-3-120b-a12b": {
  3724. id: "@cf/nvidia/nemotron-3-120b-a12b",
  3725. name: "Nemotron 3 Super 120B",
  3726. api: "openai-completions",
  3727. provider: "cloudflare-workers-ai",
  3728. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3729. compat: {"sendSessionAffinityHeaders":true},
  3730. reasoning: true,
  3731. input: ["text"],
  3732. cost: {
  3733. input: 0.5,
  3734. output: 1.5,
  3735. cacheRead: 0,
  3736. cacheWrite: 0,
  3737. },
  3738. contextWindow: 256000,
  3739. maxTokens: 256000,
  3740. } satisfies Model<"openai-completions">,
  3741. "@cf/openai/gpt-oss-120b": {
  3742. id: "@cf/openai/gpt-oss-120b",
  3743. name: "GPT OSS 120B",
  3744. api: "openai-completions",
  3745. provider: "cloudflare-workers-ai",
  3746. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3747. compat: {"sendSessionAffinityHeaders":true},
  3748. reasoning: true,
  3749. input: ["text"],
  3750. cost: {
  3751. input: 0.35,
  3752. output: 0.75,
  3753. cacheRead: 0,
  3754. cacheWrite: 0,
  3755. },
  3756. contextWindow: 128000,
  3757. maxTokens: 16384,
  3758. } satisfies Model<"openai-completions">,
  3759. "@cf/openai/gpt-oss-20b": {
  3760. id: "@cf/openai/gpt-oss-20b",
  3761. name: "GPT OSS 20B",
  3762. api: "openai-completions",
  3763. provider: "cloudflare-workers-ai",
  3764. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3765. compat: {"sendSessionAffinityHeaders":true},
  3766. reasoning: true,
  3767. input: ["text"],
  3768. cost: {
  3769. input: 0.2,
  3770. output: 0.3,
  3771. cacheRead: 0,
  3772. cacheWrite: 0,
  3773. },
  3774. contextWindow: 128000,
  3775. maxTokens: 16384,
  3776. } satisfies Model<"openai-completions">,
  3777. "@cf/qwen/qwen3-30b-a3b-fp8": {
  3778. id: "@cf/qwen/qwen3-30b-a3b-fp8",
  3779. name: "Qwen3 30B A3b fp8",
  3780. api: "openai-completions",
  3781. provider: "cloudflare-workers-ai",
  3782. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3783. compat: {"sendSessionAffinityHeaders":true},
  3784. reasoning: true,
  3785. input: ["text"],
  3786. cost: {
  3787. input: 0.0509,
  3788. output: 0.335,
  3789. cacheRead: 0,
  3790. cacheWrite: 0,
  3791. },
  3792. contextWindow: 32768,
  3793. maxTokens: 32768,
  3794. } satisfies Model<"openai-completions">,
  3795. "@cf/zai-org/glm-4.7-flash": {
  3796. id: "@cf/zai-org/glm-4.7-flash",
  3797. name: "GLM-4.7-Flash",
  3798. api: "openai-completions",
  3799. provider: "cloudflare-workers-ai",
  3800. baseUrl: "https://api.cloudflare.com/client/v4/accounts/{CLOUDFLARE_ACCOUNT_ID}/ai/v1",
  3801. compat: {"sendSessionAffinityHeaders":true},
  3802. reasoning: true,
  3803. input: ["text"],
  3804. cost: {
  3805. input: 0.0605,
  3806. output: 0.4,
  3807. cacheRead: 0,
  3808. cacheWrite: 0,
  3809. },
  3810. contextWindow: 131072,
  3811. maxTokens: 131072,
  3812. } satisfies Model<"openai-completions">,
  3813. },
  3814. "deepseek": {
  3815. "deepseek-v4-flash": {
  3816. id: "deepseek-v4-flash",
  3817. name: "DeepSeek V4 Flash",
  3818. api: "openai-completions",
  3819. provider: "deepseek",
  3820. baseUrl: "https://api.deepseek.com",
  3821. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  3822. reasoning: true,
  3823. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
  3824. input: ["text"],
  3825. cost: {
  3826. input: 0.14,
  3827. output: 0.28,
  3828. cacheRead: 0.0028,
  3829. cacheWrite: 0,
  3830. },
  3831. contextWindow: 1000000,
  3832. maxTokens: 384000,
  3833. } satisfies Model<"openai-completions">,
  3834. "deepseek-v4-pro": {
  3835. id: "deepseek-v4-pro",
  3836. name: "DeepSeek V4 Pro",
  3837. api: "openai-completions",
  3838. provider: "deepseek",
  3839. baseUrl: "https://api.deepseek.com",
  3840. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  3841. reasoning: true,
  3842. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
  3843. input: ["text"],
  3844. cost: {
  3845. input: 0.435,
  3846. output: 0.87,
  3847. cacheRead: 0.003625,
  3848. cacheWrite: 0,
  3849. },
  3850. contextWindow: 1000000,
  3851. maxTokens: 384000,
  3852. } satisfies Model<"openai-completions">,
  3853. },
  3854. "fireworks": {
  3855. "accounts/fireworks/models/deepseek-v4-flash": {
  3856. id: "accounts/fireworks/models/deepseek-v4-flash",
  3857. name: "DeepSeek V4 Flash",
  3858. api: "anthropic-messages",
  3859. provider: "fireworks",
  3860. baseUrl: "https://api.fireworks.ai/inference",
  3861. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  3862. reasoning: true,
  3863. input: ["text"],
  3864. cost: {
  3865. input: 0.14,
  3866. output: 0.28,
  3867. cacheRead: 0.03,
  3868. cacheWrite: 0,
  3869. },
  3870. contextWindow: 1000000,
  3871. maxTokens: 384000,
  3872. } satisfies Model<"anthropic-messages">,
  3873. "accounts/fireworks/models/deepseek-v4-pro": {
  3874. id: "accounts/fireworks/models/deepseek-v4-pro",
  3875. name: "DeepSeek V4 Pro",
  3876. api: "anthropic-messages",
  3877. provider: "fireworks",
  3878. baseUrl: "https://api.fireworks.ai/inference",
  3879. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  3880. reasoning: true,
  3881. input: ["text"],
  3882. cost: {
  3883. input: 1.74,
  3884. output: 3.48,
  3885. cacheRead: 0.145,
  3886. cacheWrite: 0,
  3887. },
  3888. contextWindow: 1000000,
  3889. maxTokens: 384000,
  3890. } satisfies Model<"anthropic-messages">,
  3891. "accounts/fireworks/models/glm-5p1": {
  3892. id: "accounts/fireworks/models/glm-5p1",
  3893. name: "GLM 5.1",
  3894. api: "anthropic-messages",
  3895. provider: "fireworks",
  3896. baseUrl: "https://api.fireworks.ai/inference",
  3897. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  3898. reasoning: true,
  3899. input: ["text"],
  3900. cost: {
  3901. input: 1.4,
  3902. output: 4.4,
  3903. cacheRead: 0.26,
  3904. cacheWrite: 0,
  3905. },
  3906. contextWindow: 202800,
  3907. maxTokens: 131072,
  3908. } satisfies Model<"anthropic-messages">,
  3909. "accounts/fireworks/models/gpt-oss-120b": {
  3910. id: "accounts/fireworks/models/gpt-oss-120b",
  3911. name: "GPT OSS 120B",
  3912. api: "anthropic-messages",
  3913. provider: "fireworks",
  3914. baseUrl: "https://api.fireworks.ai/inference",
  3915. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  3916. reasoning: true,
  3917. input: ["text"],
  3918. cost: {
  3919. input: 0.15,
  3920. output: 0.6,
  3921. cacheRead: 0.015,
  3922. cacheWrite: 0,
  3923. },
  3924. contextWindow: 131072,
  3925. maxTokens: 32768,
  3926. } satisfies Model<"anthropic-messages">,
  3927. "accounts/fireworks/models/gpt-oss-20b": {
  3928. id: "accounts/fireworks/models/gpt-oss-20b",
  3929. name: "GPT OSS 20B",
  3930. api: "anthropic-messages",
  3931. provider: "fireworks",
  3932. baseUrl: "https://api.fireworks.ai/inference",
  3933. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  3934. reasoning: true,
  3935. input: ["text"],
  3936. cost: {
  3937. input: 0.07,
  3938. output: 0.3,
  3939. cacheRead: 0.035,
  3940. cacheWrite: 0,
  3941. },
  3942. contextWindow: 131072,
  3943. maxTokens: 32768,
  3944. } satisfies Model<"anthropic-messages">,
  3945. "accounts/fireworks/models/kimi-k2p5": {
  3946. id: "accounts/fireworks/models/kimi-k2p5",
  3947. name: "Kimi K2.5",
  3948. api: "anthropic-messages",
  3949. provider: "fireworks",
  3950. baseUrl: "https://api.fireworks.ai/inference",
  3951. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  3952. reasoning: true,
  3953. input: ["text", "image"],
  3954. cost: {
  3955. input: 0.6,
  3956. output: 3,
  3957. cacheRead: 0.1,
  3958. cacheWrite: 0,
  3959. },
  3960. contextWindow: 256000,
  3961. maxTokens: 256000,
  3962. } satisfies Model<"anthropic-messages">,
  3963. "accounts/fireworks/models/kimi-k2p6": {
  3964. id: "accounts/fireworks/models/kimi-k2p6",
  3965. name: "Kimi K2.6",
  3966. api: "anthropic-messages",
  3967. provider: "fireworks",
  3968. baseUrl: "https://api.fireworks.ai/inference",
  3969. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  3970. reasoning: true,
  3971. input: ["text", "image"],
  3972. cost: {
  3973. input: 0.95,
  3974. output: 4,
  3975. cacheRead: 0.16,
  3976. cacheWrite: 0,
  3977. },
  3978. contextWindow: 262000,
  3979. maxTokens: 262000,
  3980. } satisfies Model<"anthropic-messages">,
  3981. "accounts/fireworks/models/minimax-m2p5": {
  3982. id: "accounts/fireworks/models/minimax-m2p5",
  3983. name: "MiniMax-M2.5",
  3984. api: "anthropic-messages",
  3985. provider: "fireworks",
  3986. baseUrl: "https://api.fireworks.ai/inference",
  3987. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  3988. reasoning: true,
  3989. input: ["text"],
  3990. cost: {
  3991. input: 0.3,
  3992. output: 1.2,
  3993. cacheRead: 0.03,
  3994. cacheWrite: 0,
  3995. },
  3996. contextWindow: 196608,
  3997. maxTokens: 196608,
  3998. } satisfies Model<"anthropic-messages">,
  3999. "accounts/fireworks/models/minimax-m2p7": {
  4000. id: "accounts/fireworks/models/minimax-m2p7",
  4001. name: "MiniMax-M2.7",
  4002. api: "anthropic-messages",
  4003. provider: "fireworks",
  4004. baseUrl: "https://api.fireworks.ai/inference",
  4005. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  4006. reasoning: true,
  4007. input: ["text"],
  4008. cost: {
  4009. input: 0.3,
  4010. output: 1.2,
  4011. cacheRead: 0.06,
  4012. cacheWrite: 0,
  4013. },
  4014. contextWindow: 196608,
  4015. maxTokens: 196608,
  4016. } satisfies Model<"anthropic-messages">,
  4017. "accounts/fireworks/models/qwen3p6-plus": {
  4018. id: "accounts/fireworks/models/qwen3p6-plus",
  4019. name: "Qwen 3.6 Plus",
  4020. api: "anthropic-messages",
  4021. provider: "fireworks",
  4022. baseUrl: "https://api.fireworks.ai/inference",
  4023. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  4024. reasoning: true,
  4025. input: ["text", "image"],
  4026. cost: {
  4027. input: 0.5,
  4028. output: 3,
  4029. cacheRead: 0.1,
  4030. cacheWrite: 0,
  4031. },
  4032. contextWindow: 262144,
  4033. maxTokens: 65536,
  4034. } satisfies Model<"anthropic-messages">,
  4035. "accounts/fireworks/routers/glm-5p1-fast": {
  4036. id: "accounts/fireworks/routers/glm-5p1-fast",
  4037. name: "GLM 5.1 Fast",
  4038. api: "anthropic-messages",
  4039. provider: "fireworks",
  4040. baseUrl: "https://api.fireworks.ai/inference",
  4041. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  4042. reasoning: true,
  4043. input: ["text"],
  4044. cost: {
  4045. input: 2.8,
  4046. output: 8.8,
  4047. cacheRead: 0.52,
  4048. cacheWrite: 0,
  4049. },
  4050. contextWindow: 202800,
  4051. maxTokens: 131072,
  4052. } satisfies Model<"anthropic-messages">,
  4053. "accounts/fireworks/routers/kimi-k2p6-fast": {
  4054. id: "accounts/fireworks/routers/kimi-k2p6-fast",
  4055. name: "Kimi K2.6 Fast",
  4056. api: "anthropic-messages",
  4057. provider: "fireworks",
  4058. baseUrl: "https://api.fireworks.ai/inference",
  4059. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  4060. reasoning: true,
  4061. input: ["text", "image"],
  4062. cost: {
  4063. input: 2,
  4064. output: 8,
  4065. cacheRead: 0.3,
  4066. cacheWrite: 0,
  4067. },
  4068. contextWindow: 262000,
  4069. maxTokens: 262000,
  4070. } satisfies Model<"anthropic-messages">,
  4071. "accounts/fireworks/routers/kimi-k2p6-turbo": {
  4072. id: "accounts/fireworks/routers/kimi-k2p6-turbo",
  4073. name: "Kimi K2.6 Turbo",
  4074. api: "anthropic-messages",
  4075. provider: "fireworks",
  4076. baseUrl: "https://api.fireworks.ai/inference",
  4077. compat: {"sendSessionAffinityHeaders":true,"supportsEagerToolInputStreaming":false,"supportsCacheControlOnTools":false,"supportsLongCacheRetention":false},
  4078. reasoning: true,
  4079. input: ["text", "image"],
  4080. cost: {
  4081. input: 2,
  4082. output: 8,
  4083. cacheRead: 0.3,
  4084. cacheWrite: 0,
  4085. },
  4086. contextWindow: 262000,
  4087. maxTokens: 262000,
  4088. } satisfies Model<"anthropic-messages">,
  4089. },
  4090. "github-copilot": {
  4091. "claude-haiku-4.5": {
  4092. id: "claude-haiku-4.5",
  4093. name: "Claude Haiku 4.5 (latest)",
  4094. api: "anthropic-messages",
  4095. provider: "github-copilot",
  4096. baseUrl: "https://api.individual.githubcopilot.com",
  4097. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4098. compat: {"supportsEagerToolInputStreaming":false},
  4099. reasoning: true,
  4100. input: ["text", "image"],
  4101. cost: {
  4102. input: 1,
  4103. output: 5,
  4104. cacheRead: 0.1,
  4105. cacheWrite: 1.25,
  4106. },
  4107. contextWindow: 200000,
  4108. maxTokens: 64000,
  4109. } satisfies Model<"anthropic-messages">,
  4110. "claude-opus-4.5": {
  4111. id: "claude-opus-4.5",
  4112. name: "Claude Opus 4.5 (latest)",
  4113. api: "anthropic-messages",
  4114. provider: "github-copilot",
  4115. baseUrl: "https://api.individual.githubcopilot.com",
  4116. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4117. reasoning: true,
  4118. input: ["text", "image"],
  4119. cost: {
  4120. input: 5,
  4121. output: 25,
  4122. cacheRead: 0.5,
  4123. cacheWrite: 6.25,
  4124. },
  4125. contextWindow: 200000,
  4126. maxTokens: 32000,
  4127. } satisfies Model<"anthropic-messages">,
  4128. "claude-opus-4.6": {
  4129. id: "claude-opus-4.6",
  4130. name: "Claude Opus 4.6",
  4131. api: "anthropic-messages",
  4132. provider: "github-copilot",
  4133. baseUrl: "https://api.individual.githubcopilot.com",
  4134. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4135. compat: {"forceAdaptiveThinking":true},
  4136. reasoning: true,
  4137. thinkingLevelMap: {"xhigh":"max"},
  4138. input: ["text", "image"],
  4139. cost: {
  4140. input: 5,
  4141. output: 25,
  4142. cacheRead: 0.5,
  4143. cacheWrite: 6.25,
  4144. },
  4145. contextWindow: 1000000,
  4146. maxTokens: 32000,
  4147. } satisfies Model<"anthropic-messages">,
  4148. "claude-opus-4.7": {
  4149. id: "claude-opus-4.7",
  4150. name: "Claude Opus 4.7",
  4151. api: "anthropic-messages",
  4152. provider: "github-copilot",
  4153. baseUrl: "https://api.individual.githubcopilot.com",
  4154. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4155. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  4156. reasoning: true,
  4157. thinkingLevelMap: {"xhigh":"xhigh"},
  4158. input: ["text", "image"],
  4159. cost: {
  4160. input: 5,
  4161. output: 25,
  4162. cacheRead: 0.5,
  4163. cacheWrite: 6.25,
  4164. },
  4165. contextWindow: 200000,
  4166. maxTokens: 32000,
  4167. } satisfies Model<"anthropic-messages">,
  4168. "claude-opus-4.8": {
  4169. id: "claude-opus-4.8",
  4170. name: "Claude Opus 4.8",
  4171. api: "anthropic-messages",
  4172. provider: "github-copilot",
  4173. baseUrl: "https://api.individual.githubcopilot.com",
  4174. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4175. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  4176. reasoning: true,
  4177. thinkingLevelMap: {"xhigh":"xhigh"},
  4178. input: ["text", "image"],
  4179. cost: {
  4180. input: 5,
  4181. output: 25,
  4182. cacheRead: 0.5,
  4183. cacheWrite: 6.25,
  4184. },
  4185. contextWindow: 200000,
  4186. maxTokens: 64000,
  4187. } satisfies Model<"anthropic-messages">,
  4188. "claude-sonnet-4": {
  4189. id: "claude-sonnet-4",
  4190. name: "Claude Sonnet 4 (latest)",
  4191. api: "anthropic-messages",
  4192. provider: "github-copilot",
  4193. baseUrl: "https://api.individual.githubcopilot.com",
  4194. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4195. compat: {"supportsEagerToolInputStreaming":false},
  4196. reasoning: true,
  4197. input: ["text", "image"],
  4198. cost: {
  4199. input: 3,
  4200. output: 15,
  4201. cacheRead: 0.3,
  4202. cacheWrite: 3.75,
  4203. },
  4204. contextWindow: 216000,
  4205. maxTokens: 16000,
  4206. } satisfies Model<"anthropic-messages">,
  4207. "claude-sonnet-4.5": {
  4208. id: "claude-sonnet-4.5",
  4209. name: "Claude Sonnet 4.5 (latest)",
  4210. api: "anthropic-messages",
  4211. provider: "github-copilot",
  4212. baseUrl: "https://api.individual.githubcopilot.com",
  4213. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4214. compat: {"supportsEagerToolInputStreaming":false},
  4215. reasoning: true,
  4216. input: ["text", "image"],
  4217. cost: {
  4218. input: 3,
  4219. output: 15,
  4220. cacheRead: 0.3,
  4221. cacheWrite: 3.75,
  4222. },
  4223. contextWindow: 200000,
  4224. maxTokens: 32000,
  4225. } satisfies Model<"anthropic-messages">,
  4226. "claude-sonnet-4.6": {
  4227. id: "claude-sonnet-4.6",
  4228. name: "Claude Sonnet 4.6",
  4229. api: "anthropic-messages",
  4230. provider: "github-copilot",
  4231. baseUrl: "https://api.individual.githubcopilot.com",
  4232. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4233. compat: {"forceAdaptiveThinking":true},
  4234. reasoning: true,
  4235. input: ["text", "image"],
  4236. cost: {
  4237. input: 3,
  4238. output: 15,
  4239. cacheRead: 0.3,
  4240. cacheWrite: 3.75,
  4241. },
  4242. contextWindow: 1000000,
  4243. maxTokens: 32000,
  4244. } satisfies Model<"anthropic-messages">,
  4245. "gemini-2.5-pro": {
  4246. id: "gemini-2.5-pro",
  4247. name: "Gemini 2.5 Pro",
  4248. api: "openai-completions",
  4249. provider: "github-copilot",
  4250. baseUrl: "https://api.individual.githubcopilot.com",
  4251. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4252. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false},
  4253. reasoning: true,
  4254. input: ["text", "image"],
  4255. cost: {
  4256. input: 1.25,
  4257. output: 10,
  4258. cacheRead: 0.125,
  4259. cacheWrite: 0,
  4260. },
  4261. contextWindow: 128000,
  4262. maxTokens: 64000,
  4263. } satisfies Model<"openai-completions">,
  4264. "gemini-3-flash-preview": {
  4265. id: "gemini-3-flash-preview",
  4266. name: "Gemini 3 Flash Preview",
  4267. api: "openai-completions",
  4268. provider: "github-copilot",
  4269. baseUrl: "https://api.individual.githubcopilot.com",
  4270. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4271. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false},
  4272. reasoning: true,
  4273. input: ["text", "image"],
  4274. cost: {
  4275. input: 0.5,
  4276. output: 3,
  4277. cacheRead: 0.05,
  4278. cacheWrite: 0,
  4279. },
  4280. contextWindow: 128000,
  4281. maxTokens: 64000,
  4282. } satisfies Model<"openai-completions">,
  4283. "gemini-3.1-pro-preview": {
  4284. id: "gemini-3.1-pro-preview",
  4285. name: "Gemini 3.1 Pro Preview",
  4286. api: "openai-completions",
  4287. provider: "github-copilot",
  4288. baseUrl: "https://api.individual.githubcopilot.com",
  4289. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4290. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false},
  4291. reasoning: true,
  4292. input: ["text", "image"],
  4293. cost: {
  4294. input: 2,
  4295. output: 12,
  4296. cacheRead: 0.2,
  4297. cacheWrite: 0,
  4298. },
  4299. contextWindow: 200000,
  4300. maxTokens: 64000,
  4301. } satisfies Model<"openai-completions">,
  4302. "gemini-3.5-flash": {
  4303. id: "gemini-3.5-flash",
  4304. name: "Gemini 3.5 Flash",
  4305. api: "openai-completions",
  4306. provider: "github-copilot",
  4307. baseUrl: "https://api.individual.githubcopilot.com",
  4308. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4309. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false},
  4310. reasoning: true,
  4311. input: ["text", "image"],
  4312. cost: {
  4313. input: 1.5,
  4314. output: 9,
  4315. cacheRead: 0.15,
  4316. cacheWrite: 0,
  4317. },
  4318. contextWindow: 200000,
  4319. maxTokens: 64000,
  4320. } satisfies Model<"openai-completions">,
  4321. "gpt-4.1": {
  4322. id: "gpt-4.1",
  4323. name: "GPT-4.1",
  4324. api: "openai-completions",
  4325. provider: "github-copilot",
  4326. baseUrl: "https://api.individual.githubcopilot.com",
  4327. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4328. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false},
  4329. reasoning: false,
  4330. input: ["text", "image"],
  4331. cost: {
  4332. input: 2,
  4333. output: 8,
  4334. cacheRead: 0.5,
  4335. cacheWrite: 0,
  4336. },
  4337. contextWindow: 128000,
  4338. maxTokens: 16384,
  4339. } satisfies Model<"openai-completions">,
  4340. "gpt-5-mini": {
  4341. id: "gpt-5-mini",
  4342. name: "GPT-5 Mini",
  4343. api: "openai-responses",
  4344. provider: "github-copilot",
  4345. baseUrl: "https://api.individual.githubcopilot.com",
  4346. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4347. reasoning: true,
  4348. thinkingLevelMap: {"off":null,"minimal":"low"},
  4349. input: ["text", "image"],
  4350. cost: {
  4351. input: 0.25,
  4352. output: 2,
  4353. cacheRead: 0.025,
  4354. cacheWrite: 0,
  4355. },
  4356. contextWindow: 264000,
  4357. maxTokens: 64000,
  4358. } satisfies Model<"openai-responses">,
  4359. "gpt-5.2": {
  4360. id: "gpt-5.2",
  4361. name: "GPT-5.2",
  4362. api: "openai-responses",
  4363. provider: "github-copilot",
  4364. baseUrl: "https://api.individual.githubcopilot.com",
  4365. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4366. reasoning: true,
  4367. thinkingLevelMap: {"off":null,"minimal":"low","xhigh":"xhigh"},
  4368. input: ["text", "image"],
  4369. cost: {
  4370. input: 1.75,
  4371. output: 14,
  4372. cacheRead: 0.175,
  4373. cacheWrite: 0,
  4374. },
  4375. contextWindow: 400000,
  4376. maxTokens: 128000,
  4377. } satisfies Model<"openai-responses">,
  4378. "gpt-5.2-codex": {
  4379. id: "gpt-5.2-codex",
  4380. name: "GPT-5.2 Codex",
  4381. api: "openai-responses",
  4382. provider: "github-copilot",
  4383. baseUrl: "https://api.individual.githubcopilot.com",
  4384. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4385. reasoning: true,
  4386. thinkingLevelMap: {"off":null,"minimal":"low","xhigh":"xhigh"},
  4387. input: ["text", "image"],
  4388. cost: {
  4389. input: 1.75,
  4390. output: 14,
  4391. cacheRead: 0.175,
  4392. cacheWrite: 0,
  4393. },
  4394. contextWindow: 400000,
  4395. maxTokens: 128000,
  4396. } satisfies Model<"openai-responses">,
  4397. "gpt-5.3-codex": {
  4398. id: "gpt-5.3-codex",
  4399. name: "GPT-5.3 Codex",
  4400. api: "openai-responses",
  4401. provider: "github-copilot",
  4402. baseUrl: "https://api.individual.githubcopilot.com",
  4403. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4404. reasoning: true,
  4405. thinkingLevelMap: {"off":null,"minimal":"low","xhigh":"xhigh"},
  4406. input: ["text", "image"],
  4407. cost: {
  4408. input: 1.75,
  4409. output: 14,
  4410. cacheRead: 0.175,
  4411. cacheWrite: 0,
  4412. },
  4413. contextWindow: 400000,
  4414. maxTokens: 128000,
  4415. } satisfies Model<"openai-responses">,
  4416. "gpt-5.4": {
  4417. id: "gpt-5.4",
  4418. name: "GPT-5.4",
  4419. api: "openai-responses",
  4420. provider: "github-copilot",
  4421. baseUrl: "https://api.individual.githubcopilot.com",
  4422. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4423. reasoning: true,
  4424. thinkingLevelMap: {"off":null,"minimal":"low","xhigh":"xhigh"},
  4425. input: ["text", "image"],
  4426. cost: {
  4427. input: 2.5,
  4428. output: 15,
  4429. cacheRead: 0.25,
  4430. cacheWrite: 0,
  4431. },
  4432. contextWindow: 400000,
  4433. maxTokens: 128000,
  4434. } satisfies Model<"openai-responses">,
  4435. "gpt-5.4-mini": {
  4436. id: "gpt-5.4-mini",
  4437. name: "GPT-5.4 mini",
  4438. api: "openai-responses",
  4439. provider: "github-copilot",
  4440. baseUrl: "https://api.individual.githubcopilot.com",
  4441. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4442. reasoning: true,
  4443. thinkingLevelMap: {"off":null,"minimal":"low","xhigh":"xhigh"},
  4444. input: ["text", "image"],
  4445. cost: {
  4446. input: 0.75,
  4447. output: 4.5,
  4448. cacheRead: 0.075,
  4449. cacheWrite: 0,
  4450. },
  4451. contextWindow: 400000,
  4452. maxTokens: 128000,
  4453. } satisfies Model<"openai-responses">,
  4454. "gpt-5.4-nano": {
  4455. id: "gpt-5.4-nano",
  4456. name: "GPT-5.4 nano",
  4457. api: "openai-responses",
  4458. provider: "github-copilot",
  4459. baseUrl: "https://api.individual.githubcopilot.com",
  4460. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4461. reasoning: true,
  4462. thinkingLevelMap: {"off":null,"minimal":"low","xhigh":"xhigh"},
  4463. input: ["text", "image"],
  4464. cost: {
  4465. input: 0.2,
  4466. output: 1.25,
  4467. cacheRead: 0.02,
  4468. cacheWrite: 0,
  4469. },
  4470. contextWindow: 400000,
  4471. maxTokens: 128000,
  4472. } satisfies Model<"openai-responses">,
  4473. "gpt-5.5": {
  4474. id: "gpt-5.5",
  4475. name: "GPT-5.5",
  4476. api: "openai-responses",
  4477. provider: "github-copilot",
  4478. baseUrl: "https://api.individual.githubcopilot.com",
  4479. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4480. reasoning: true,
  4481. thinkingLevelMap: {"off":null,"minimal":"low","xhigh":"xhigh"},
  4482. input: ["text", "image"],
  4483. cost: {
  4484. input: 5,
  4485. output: 30,
  4486. cacheRead: 0.5,
  4487. cacheWrite: 0,
  4488. },
  4489. contextWindow: 400000,
  4490. maxTokens: 128000,
  4491. } satisfies Model<"openai-responses">,
  4492. "raptor-mini": {
  4493. id: "raptor-mini",
  4494. name: "Raptor mini",
  4495. api: "openai-completions",
  4496. provider: "github-copilot",
  4497. baseUrl: "https://api.individual.githubcopilot.com",
  4498. headers: {"User-Agent":"GitHubCopilotChat/0.35.0","Editor-Version":"vscode/1.107.0","Editor-Plugin-Version":"copilot-chat/0.35.0","Copilot-Integration-Id":"vscode-chat"},
  4499. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false},
  4500. reasoning: true,
  4501. input: ["text", "image"],
  4502. cost: {
  4503. input: 0.25,
  4504. output: 2,
  4505. cacheRead: 0.025,
  4506. cacheWrite: 0,
  4507. },
  4508. contextWindow: 400000,
  4509. maxTokens: 128000,
  4510. } satisfies Model<"openai-completions">,
  4511. },
  4512. "google": {
  4513. "gemini-2.0-flash": {
  4514. id: "gemini-2.0-flash",
  4515. name: "Gemini 2.0 Flash",
  4516. api: "google-generative-ai",
  4517. provider: "google",
  4518. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4519. reasoning: false,
  4520. input: ["text", "image"],
  4521. cost: {
  4522. input: 0.1,
  4523. output: 0.4,
  4524. cacheRead: 0.025,
  4525. cacheWrite: 0,
  4526. },
  4527. contextWindow: 1048576,
  4528. maxTokens: 8192,
  4529. } satisfies Model<"google-generative-ai">,
  4530. "gemini-2.0-flash-lite": {
  4531. id: "gemini-2.0-flash-lite",
  4532. name: "Gemini 2.0 Flash-Lite",
  4533. api: "google-generative-ai",
  4534. provider: "google",
  4535. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4536. reasoning: false,
  4537. input: ["text", "image"],
  4538. cost: {
  4539. input: 0.075,
  4540. output: 0.3,
  4541. cacheRead: 0,
  4542. cacheWrite: 0,
  4543. },
  4544. contextWindow: 1048576,
  4545. maxTokens: 8192,
  4546. } satisfies Model<"google-generative-ai">,
  4547. "gemini-2.5-flash": {
  4548. id: "gemini-2.5-flash",
  4549. name: "Gemini 2.5 Flash",
  4550. api: "google-generative-ai",
  4551. provider: "google",
  4552. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4553. reasoning: true,
  4554. input: ["text", "image"],
  4555. cost: {
  4556. input: 0.3,
  4557. output: 2.5,
  4558. cacheRead: 0.03,
  4559. cacheWrite: 0,
  4560. },
  4561. contextWindow: 1048576,
  4562. maxTokens: 65536,
  4563. } satisfies Model<"google-generative-ai">,
  4564. "gemini-2.5-flash-lite": {
  4565. id: "gemini-2.5-flash-lite",
  4566. name: "Gemini 2.5 Flash-Lite",
  4567. api: "google-generative-ai",
  4568. provider: "google",
  4569. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4570. reasoning: true,
  4571. input: ["text", "image"],
  4572. cost: {
  4573. input: 0.1,
  4574. output: 0.4,
  4575. cacheRead: 0.01,
  4576. cacheWrite: 0,
  4577. },
  4578. contextWindow: 1048576,
  4579. maxTokens: 65536,
  4580. } satisfies Model<"google-generative-ai">,
  4581. "gemini-2.5-pro": {
  4582. id: "gemini-2.5-pro",
  4583. name: "Gemini 2.5 Pro",
  4584. api: "google-generative-ai",
  4585. provider: "google",
  4586. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4587. reasoning: true,
  4588. input: ["text", "image"],
  4589. cost: {
  4590. input: 1.25,
  4591. output: 10,
  4592. cacheRead: 0.125,
  4593. cacheWrite: 0,
  4594. },
  4595. contextWindow: 1048576,
  4596. maxTokens: 65536,
  4597. } satisfies Model<"google-generative-ai">,
  4598. "gemini-3-flash-preview": {
  4599. id: "gemini-3-flash-preview",
  4600. name: "Gemini 3 Flash Preview",
  4601. api: "google-generative-ai",
  4602. provider: "google",
  4603. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4604. reasoning: true,
  4605. thinkingLevelMap: {"off":null},
  4606. input: ["text", "image"],
  4607. cost: {
  4608. input: 0.5,
  4609. output: 3,
  4610. cacheRead: 0.05,
  4611. cacheWrite: 0,
  4612. },
  4613. contextWindow: 1048576,
  4614. maxTokens: 65536,
  4615. } satisfies Model<"google-generative-ai">,
  4616. "gemini-3-pro-preview": {
  4617. id: "gemini-3-pro-preview",
  4618. name: "Gemini 3 Pro Preview",
  4619. api: "google-generative-ai",
  4620. provider: "google",
  4621. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4622. reasoning: true,
  4623. thinkingLevelMap: {"off":null,"minimal":null,"low":"LOW","medium":null,"high":"HIGH"},
  4624. input: ["text", "image"],
  4625. cost: {
  4626. input: 2,
  4627. output: 12,
  4628. cacheRead: 0.2,
  4629. cacheWrite: 0,
  4630. },
  4631. contextWindow: 1048576,
  4632. maxTokens: 65536,
  4633. } satisfies Model<"google-generative-ai">,
  4634. "gemini-3.1-flash-lite": {
  4635. id: "gemini-3.1-flash-lite",
  4636. name: "Gemini 3.1 Flash Lite",
  4637. api: "google-generative-ai",
  4638. provider: "google",
  4639. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4640. reasoning: true,
  4641. thinkingLevelMap: {"off":null},
  4642. input: ["text", "image"],
  4643. cost: {
  4644. input: 0.25,
  4645. output: 1.5,
  4646. cacheRead: 0.025,
  4647. cacheWrite: 0,
  4648. },
  4649. contextWindow: 1048576,
  4650. maxTokens: 65536,
  4651. } satisfies Model<"google-generative-ai">,
  4652. "gemini-3.1-flash-lite-preview": {
  4653. id: "gemini-3.1-flash-lite-preview",
  4654. name: "Gemini 3.1 Flash Lite Preview",
  4655. api: "google-generative-ai",
  4656. provider: "google",
  4657. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4658. reasoning: true,
  4659. thinkingLevelMap: {"off":null},
  4660. input: ["text", "image"],
  4661. cost: {
  4662. input: 0.25,
  4663. output: 1.5,
  4664. cacheRead: 0.025,
  4665. cacheWrite: 0,
  4666. },
  4667. contextWindow: 1048576,
  4668. maxTokens: 65536,
  4669. } satisfies Model<"google-generative-ai">,
  4670. "gemini-3.1-pro-preview": {
  4671. id: "gemini-3.1-pro-preview",
  4672. name: "Gemini 3.1 Pro Preview",
  4673. api: "google-generative-ai",
  4674. provider: "google",
  4675. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4676. reasoning: true,
  4677. thinkingLevelMap: {"off":null,"minimal":null,"low":"LOW","medium":null,"high":"HIGH"},
  4678. input: ["text", "image"],
  4679. cost: {
  4680. input: 2,
  4681. output: 12,
  4682. cacheRead: 0.2,
  4683. cacheWrite: 0,
  4684. },
  4685. contextWindow: 1048576,
  4686. maxTokens: 65536,
  4687. } satisfies Model<"google-generative-ai">,
  4688. "gemini-3.1-pro-preview-customtools": {
  4689. id: "gemini-3.1-pro-preview-customtools",
  4690. name: "Gemini 3.1 Pro Preview Custom Tools",
  4691. api: "google-generative-ai",
  4692. provider: "google",
  4693. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4694. reasoning: true,
  4695. thinkingLevelMap: {"off":null,"minimal":null,"low":"LOW","medium":null,"high":"HIGH"},
  4696. input: ["text", "image"],
  4697. cost: {
  4698. input: 2,
  4699. output: 12,
  4700. cacheRead: 0.2,
  4701. cacheWrite: 0,
  4702. },
  4703. contextWindow: 1048576,
  4704. maxTokens: 65536,
  4705. } satisfies Model<"google-generative-ai">,
  4706. "gemini-3.5-flash": {
  4707. id: "gemini-3.5-flash",
  4708. name: "Gemini 3.5 Flash",
  4709. api: "google-generative-ai",
  4710. provider: "google",
  4711. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4712. reasoning: true,
  4713. thinkingLevelMap: {"off":null},
  4714. input: ["text", "image"],
  4715. cost: {
  4716. input: 1.5,
  4717. output: 9,
  4718. cacheRead: 0.15,
  4719. cacheWrite: 0,
  4720. },
  4721. contextWindow: 1048576,
  4722. maxTokens: 65536,
  4723. } satisfies Model<"google-generative-ai">,
  4724. "gemini-flash-latest": {
  4725. id: "gemini-flash-latest",
  4726. name: "Gemini Flash Latest",
  4727. api: "google-generative-ai",
  4728. provider: "google",
  4729. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4730. reasoning: true,
  4731. input: ["text", "image"],
  4732. cost: {
  4733. input: 0.3,
  4734. output: 2.5,
  4735. cacheRead: 0.075,
  4736. cacheWrite: 0,
  4737. },
  4738. contextWindow: 1048576,
  4739. maxTokens: 65536,
  4740. } satisfies Model<"google-generative-ai">,
  4741. "gemini-flash-lite-latest": {
  4742. id: "gemini-flash-lite-latest",
  4743. name: "Gemini Flash-Lite Latest",
  4744. api: "google-generative-ai",
  4745. provider: "google",
  4746. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4747. reasoning: true,
  4748. input: ["text", "image"],
  4749. cost: {
  4750. input: 0.1,
  4751. output: 0.4,
  4752. cacheRead: 0.025,
  4753. cacheWrite: 0,
  4754. },
  4755. contextWindow: 1048576,
  4756. maxTokens: 65536,
  4757. } satisfies Model<"google-generative-ai">,
  4758. "gemma-4-26b-a4b-it": {
  4759. id: "gemma-4-26b-a4b-it",
  4760. name: "Gemma 4 26B A4B IT",
  4761. api: "google-generative-ai",
  4762. provider: "google",
  4763. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4764. reasoning: true,
  4765. thinkingLevelMap: {"off":null,"minimal":"MINIMAL","low":null,"medium":null,"high":"HIGH"},
  4766. input: ["text", "image"],
  4767. cost: {
  4768. input: 0,
  4769. output: 0,
  4770. cacheRead: 0,
  4771. cacheWrite: 0,
  4772. },
  4773. contextWindow: 262144,
  4774. maxTokens: 32768,
  4775. } satisfies Model<"google-generative-ai">,
  4776. "gemma-4-31b-it": {
  4777. id: "gemma-4-31b-it",
  4778. name: "Gemma 4 31B IT",
  4779. api: "google-generative-ai",
  4780. provider: "google",
  4781. baseUrl: "https://generativelanguage.googleapis.com/v1beta",
  4782. reasoning: true,
  4783. thinkingLevelMap: {"off":null,"minimal":"MINIMAL","low":null,"medium":null,"high":"HIGH"},
  4784. input: ["text", "image"],
  4785. cost: {
  4786. input: 0,
  4787. output: 0,
  4788. cacheRead: 0,
  4789. cacheWrite: 0,
  4790. },
  4791. contextWindow: 262144,
  4792. maxTokens: 32768,
  4793. } satisfies Model<"google-generative-ai">,
  4794. },
  4795. "google-vertex": {
  4796. "gemini-1.5-flash": {
  4797. id: "gemini-1.5-flash",
  4798. name: "Gemini 1.5 Flash (Vertex)",
  4799. api: "google-vertex",
  4800. provider: "google-vertex",
  4801. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4802. reasoning: false,
  4803. input: ["text", "image"],
  4804. cost: {
  4805. input: 0.075,
  4806. output: 0.3,
  4807. cacheRead: 0.01875,
  4808. cacheWrite: 0,
  4809. },
  4810. contextWindow: 1000000,
  4811. maxTokens: 8192,
  4812. } satisfies Model<"google-vertex">,
  4813. "gemini-1.5-flash-8b": {
  4814. id: "gemini-1.5-flash-8b",
  4815. name: "Gemini 1.5 Flash-8B (Vertex)",
  4816. api: "google-vertex",
  4817. provider: "google-vertex",
  4818. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4819. reasoning: false,
  4820. input: ["text", "image"],
  4821. cost: {
  4822. input: 0.0375,
  4823. output: 0.15,
  4824. cacheRead: 0.01,
  4825. cacheWrite: 0,
  4826. },
  4827. contextWindow: 1000000,
  4828. maxTokens: 8192,
  4829. } satisfies Model<"google-vertex">,
  4830. "gemini-1.5-pro": {
  4831. id: "gemini-1.5-pro",
  4832. name: "Gemini 1.5 Pro (Vertex)",
  4833. api: "google-vertex",
  4834. provider: "google-vertex",
  4835. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4836. reasoning: false,
  4837. input: ["text", "image"],
  4838. cost: {
  4839. input: 1.25,
  4840. output: 5,
  4841. cacheRead: 0.3125,
  4842. cacheWrite: 0,
  4843. },
  4844. contextWindow: 1000000,
  4845. maxTokens: 8192,
  4846. } satisfies Model<"google-vertex">,
  4847. "gemini-2.0-flash": {
  4848. id: "gemini-2.0-flash",
  4849. name: "Gemini 2.0 Flash (Vertex)",
  4850. api: "google-vertex",
  4851. provider: "google-vertex",
  4852. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4853. reasoning: false,
  4854. input: ["text", "image"],
  4855. cost: {
  4856. input: 0.15,
  4857. output: 0.6,
  4858. cacheRead: 0.0375,
  4859. cacheWrite: 0,
  4860. },
  4861. contextWindow: 1048576,
  4862. maxTokens: 8192,
  4863. } satisfies Model<"google-vertex">,
  4864. "gemini-2.0-flash-lite": {
  4865. id: "gemini-2.0-flash-lite",
  4866. name: "Gemini 2.0 Flash Lite (Vertex)",
  4867. api: "google-vertex",
  4868. provider: "google-vertex",
  4869. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4870. reasoning: true,
  4871. input: ["text", "image"],
  4872. cost: {
  4873. input: 0.075,
  4874. output: 0.3,
  4875. cacheRead: 0.01875,
  4876. cacheWrite: 0,
  4877. },
  4878. contextWindow: 1048576,
  4879. maxTokens: 65536,
  4880. } satisfies Model<"google-vertex">,
  4881. "gemini-2.5-flash": {
  4882. id: "gemini-2.5-flash",
  4883. name: "Gemini 2.5 Flash (Vertex)",
  4884. api: "google-vertex",
  4885. provider: "google-vertex",
  4886. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4887. reasoning: true,
  4888. input: ["text", "image"],
  4889. cost: {
  4890. input: 0.3,
  4891. output: 2.5,
  4892. cacheRead: 0.03,
  4893. cacheWrite: 0,
  4894. },
  4895. contextWindow: 1048576,
  4896. maxTokens: 65536,
  4897. } satisfies Model<"google-vertex">,
  4898. "gemini-2.5-flash-lite": {
  4899. id: "gemini-2.5-flash-lite",
  4900. name: "Gemini 2.5 Flash Lite (Vertex)",
  4901. api: "google-vertex",
  4902. provider: "google-vertex",
  4903. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4904. reasoning: true,
  4905. input: ["text", "image"],
  4906. cost: {
  4907. input: 0.1,
  4908. output: 0.4,
  4909. cacheRead: 0.01,
  4910. cacheWrite: 0,
  4911. },
  4912. contextWindow: 1048576,
  4913. maxTokens: 65536,
  4914. } satisfies Model<"google-vertex">,
  4915. "gemini-2.5-flash-lite-preview-09-2025": {
  4916. id: "gemini-2.5-flash-lite-preview-09-2025",
  4917. name: "Gemini 2.5 Flash Lite Preview 09-25 (Vertex)",
  4918. api: "google-vertex",
  4919. provider: "google-vertex",
  4920. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4921. reasoning: true,
  4922. input: ["text", "image"],
  4923. cost: {
  4924. input: 0.1,
  4925. output: 0.4,
  4926. cacheRead: 0.01,
  4927. cacheWrite: 0,
  4928. },
  4929. contextWindow: 1048576,
  4930. maxTokens: 65536,
  4931. } satisfies Model<"google-vertex">,
  4932. "gemini-2.5-pro": {
  4933. id: "gemini-2.5-pro",
  4934. name: "Gemini 2.5 Pro (Vertex)",
  4935. api: "google-vertex",
  4936. provider: "google-vertex",
  4937. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4938. reasoning: true,
  4939. input: ["text", "image"],
  4940. cost: {
  4941. input: 1.25,
  4942. output: 10,
  4943. cacheRead: 0.125,
  4944. cacheWrite: 0,
  4945. },
  4946. contextWindow: 1048576,
  4947. maxTokens: 65536,
  4948. } satisfies Model<"google-vertex">,
  4949. "gemini-3-flash-preview": {
  4950. id: "gemini-3-flash-preview",
  4951. name: "Gemini 3 Flash Preview (Vertex)",
  4952. api: "google-vertex",
  4953. provider: "google-vertex",
  4954. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4955. reasoning: true,
  4956. thinkingLevelMap: {"off":null},
  4957. input: ["text", "image"],
  4958. cost: {
  4959. input: 0.5,
  4960. output: 3,
  4961. cacheRead: 0.05,
  4962. cacheWrite: 0,
  4963. },
  4964. contextWindow: 1048576,
  4965. maxTokens: 65536,
  4966. } satisfies Model<"google-vertex">,
  4967. "gemini-3-pro-preview": {
  4968. id: "gemini-3-pro-preview",
  4969. name: "Gemini 3 Pro Preview (Vertex)",
  4970. api: "google-vertex",
  4971. provider: "google-vertex",
  4972. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4973. reasoning: true,
  4974. thinkingLevelMap: {"off":null,"minimal":null,"low":"LOW","medium":null,"high":"HIGH"},
  4975. input: ["text", "image"],
  4976. cost: {
  4977. input: 2,
  4978. output: 12,
  4979. cacheRead: 0.2,
  4980. cacheWrite: 0,
  4981. },
  4982. contextWindow: 1000000,
  4983. maxTokens: 64000,
  4984. } satisfies Model<"google-vertex">,
  4985. "gemini-3.1-pro-preview": {
  4986. id: "gemini-3.1-pro-preview",
  4987. name: "Gemini 3.1 Pro Preview (Vertex)",
  4988. api: "google-vertex",
  4989. provider: "google-vertex",
  4990. baseUrl: "https://{location}-aiplatform.googleapis.com",
  4991. reasoning: true,
  4992. thinkingLevelMap: {"off":null,"minimal":null,"low":"LOW","medium":null,"high":"HIGH"},
  4993. input: ["text", "image"],
  4994. cost: {
  4995. input: 2,
  4996. output: 12,
  4997. cacheRead: 0.2,
  4998. cacheWrite: 0,
  4999. },
  5000. contextWindow: 1048576,
  5001. maxTokens: 65536,
  5002. } satisfies Model<"google-vertex">,
  5003. "gemini-3.1-pro-preview-customtools": {
  5004. id: "gemini-3.1-pro-preview-customtools",
  5005. name: "Gemini 3.1 Pro Preview Custom Tools (Vertex)",
  5006. api: "google-vertex",
  5007. provider: "google-vertex",
  5008. baseUrl: "https://{location}-aiplatform.googleapis.com",
  5009. reasoning: true,
  5010. thinkingLevelMap: {"off":null,"minimal":null,"low":"LOW","medium":null,"high":"HIGH"},
  5011. input: ["text", "image"],
  5012. cost: {
  5013. input: 2,
  5014. output: 12,
  5015. cacheRead: 0.2,
  5016. cacheWrite: 0,
  5017. },
  5018. contextWindow: 1048576,
  5019. maxTokens: 65536,
  5020. } satisfies Model<"google-vertex">,
  5021. },
  5022. "groq": {
  5023. "deepseek-r1-distill-llama-70b": {
  5024. id: "deepseek-r1-distill-llama-70b",
  5025. name: "DeepSeek R1 Distill Llama 70B",
  5026. api: "openai-completions",
  5027. provider: "groq",
  5028. baseUrl: "https://api.groq.com/openai/v1",
  5029. reasoning: true,
  5030. input: ["text"],
  5031. cost: {
  5032. input: 0.75,
  5033. output: 0.99,
  5034. cacheRead: 0,
  5035. cacheWrite: 0,
  5036. },
  5037. contextWindow: 131072,
  5038. maxTokens: 8192,
  5039. } satisfies Model<"openai-completions">,
  5040. "gemma2-9b-it": {
  5041. id: "gemma2-9b-it",
  5042. name: "Gemma 2 9B",
  5043. api: "openai-completions",
  5044. provider: "groq",
  5045. baseUrl: "https://api.groq.com/openai/v1",
  5046. reasoning: false,
  5047. input: ["text"],
  5048. cost: {
  5049. input: 0.2,
  5050. output: 0.2,
  5051. cacheRead: 0,
  5052. cacheWrite: 0,
  5053. },
  5054. contextWindow: 8192,
  5055. maxTokens: 8192,
  5056. } satisfies Model<"openai-completions">,
  5057. "groq/compound": {
  5058. id: "groq/compound",
  5059. name: "Compound",
  5060. api: "openai-completions",
  5061. provider: "groq",
  5062. baseUrl: "https://api.groq.com/openai/v1",
  5063. reasoning: true,
  5064. input: ["text"],
  5065. cost: {
  5066. input: 0,
  5067. output: 0,
  5068. cacheRead: 0,
  5069. cacheWrite: 0,
  5070. },
  5071. contextWindow: 131072,
  5072. maxTokens: 8192,
  5073. } satisfies Model<"openai-completions">,
  5074. "groq/compound-mini": {
  5075. id: "groq/compound-mini",
  5076. name: "Compound Mini",
  5077. api: "openai-completions",
  5078. provider: "groq",
  5079. baseUrl: "https://api.groq.com/openai/v1",
  5080. reasoning: true,
  5081. input: ["text"],
  5082. cost: {
  5083. input: 0,
  5084. output: 0,
  5085. cacheRead: 0,
  5086. cacheWrite: 0,
  5087. },
  5088. contextWindow: 131072,
  5089. maxTokens: 8192,
  5090. } satisfies Model<"openai-completions">,
  5091. "llama-3.1-8b-instant": {
  5092. id: "llama-3.1-8b-instant",
  5093. name: "Llama 3.1 8B Instant",
  5094. api: "openai-completions",
  5095. provider: "groq",
  5096. baseUrl: "https://api.groq.com/openai/v1",
  5097. reasoning: false,
  5098. input: ["text"],
  5099. cost: {
  5100. input: 0.05,
  5101. output: 0.08,
  5102. cacheRead: 0,
  5103. cacheWrite: 0,
  5104. },
  5105. contextWindow: 131072,
  5106. maxTokens: 131072,
  5107. } satisfies Model<"openai-completions">,
  5108. "llama-3.3-70b-versatile": {
  5109. id: "llama-3.3-70b-versatile",
  5110. name: "Llama 3.3 70B Versatile",
  5111. api: "openai-completions",
  5112. provider: "groq",
  5113. baseUrl: "https://api.groq.com/openai/v1",
  5114. reasoning: false,
  5115. input: ["text"],
  5116. cost: {
  5117. input: 0.59,
  5118. output: 0.79,
  5119. cacheRead: 0,
  5120. cacheWrite: 0,
  5121. },
  5122. contextWindow: 131072,
  5123. maxTokens: 32768,
  5124. } satisfies Model<"openai-completions">,
  5125. "llama3-70b-8192": {
  5126. id: "llama3-70b-8192",
  5127. name: "Llama 3 70B",
  5128. api: "openai-completions",
  5129. provider: "groq",
  5130. baseUrl: "https://api.groq.com/openai/v1",
  5131. reasoning: false,
  5132. input: ["text"],
  5133. cost: {
  5134. input: 0.59,
  5135. output: 0.79,
  5136. cacheRead: 0,
  5137. cacheWrite: 0,
  5138. },
  5139. contextWindow: 8192,
  5140. maxTokens: 8192,
  5141. } satisfies Model<"openai-completions">,
  5142. "llama3-8b-8192": {
  5143. id: "llama3-8b-8192",
  5144. name: "Llama 3 8B",
  5145. api: "openai-completions",
  5146. provider: "groq",
  5147. baseUrl: "https://api.groq.com/openai/v1",
  5148. reasoning: false,
  5149. input: ["text"],
  5150. cost: {
  5151. input: 0.05,
  5152. output: 0.08,
  5153. cacheRead: 0,
  5154. cacheWrite: 0,
  5155. },
  5156. contextWindow: 8192,
  5157. maxTokens: 8192,
  5158. } satisfies Model<"openai-completions">,
  5159. "meta-llama/llama-4-maverick-17b-128e-instruct": {
  5160. id: "meta-llama/llama-4-maverick-17b-128e-instruct",
  5161. name: "Llama 4 Maverick 17B",
  5162. api: "openai-completions",
  5163. provider: "groq",
  5164. baseUrl: "https://api.groq.com/openai/v1",
  5165. reasoning: false,
  5166. input: ["text", "image"],
  5167. cost: {
  5168. input: 0.2,
  5169. output: 0.6,
  5170. cacheRead: 0,
  5171. cacheWrite: 0,
  5172. },
  5173. contextWindow: 131072,
  5174. maxTokens: 8192,
  5175. } satisfies Model<"openai-completions">,
  5176. "meta-llama/llama-4-scout-17b-16e-instruct": {
  5177. id: "meta-llama/llama-4-scout-17b-16e-instruct",
  5178. name: "Llama 4 Scout 17B",
  5179. api: "openai-completions",
  5180. provider: "groq",
  5181. baseUrl: "https://api.groq.com/openai/v1",
  5182. reasoning: false,
  5183. input: ["text", "image"],
  5184. cost: {
  5185. input: 0.11,
  5186. output: 0.34,
  5187. cacheRead: 0,
  5188. cacheWrite: 0,
  5189. },
  5190. contextWindow: 131072,
  5191. maxTokens: 8192,
  5192. } satisfies Model<"openai-completions">,
  5193. "mistral-saba-24b": {
  5194. id: "mistral-saba-24b",
  5195. name: "Mistral Saba 24B",
  5196. api: "openai-completions",
  5197. provider: "groq",
  5198. baseUrl: "https://api.groq.com/openai/v1",
  5199. reasoning: false,
  5200. input: ["text"],
  5201. cost: {
  5202. input: 0.79,
  5203. output: 0.79,
  5204. cacheRead: 0,
  5205. cacheWrite: 0,
  5206. },
  5207. contextWindow: 32768,
  5208. maxTokens: 32768,
  5209. } satisfies Model<"openai-completions">,
  5210. "moonshotai/kimi-k2-instruct": {
  5211. id: "moonshotai/kimi-k2-instruct",
  5212. name: "Kimi K2 Instruct",
  5213. api: "openai-completions",
  5214. provider: "groq",
  5215. baseUrl: "https://api.groq.com/openai/v1",
  5216. reasoning: false,
  5217. input: ["text"],
  5218. cost: {
  5219. input: 1,
  5220. output: 3,
  5221. cacheRead: 0,
  5222. cacheWrite: 0,
  5223. },
  5224. contextWindow: 131072,
  5225. maxTokens: 16384,
  5226. } satisfies Model<"openai-completions">,
  5227. "moonshotai/kimi-k2-instruct-0905": {
  5228. id: "moonshotai/kimi-k2-instruct-0905",
  5229. name: "Kimi K2 Instruct 0905",
  5230. api: "openai-completions",
  5231. provider: "groq",
  5232. baseUrl: "https://api.groq.com/openai/v1",
  5233. reasoning: false,
  5234. input: ["text"],
  5235. cost: {
  5236. input: 1,
  5237. output: 3,
  5238. cacheRead: 0.5,
  5239. cacheWrite: 0,
  5240. },
  5241. contextWindow: 262144,
  5242. maxTokens: 16384,
  5243. } satisfies Model<"openai-completions">,
  5244. "openai/gpt-oss-120b": {
  5245. id: "openai/gpt-oss-120b",
  5246. name: "GPT OSS 120B",
  5247. api: "openai-completions",
  5248. provider: "groq",
  5249. baseUrl: "https://api.groq.com/openai/v1",
  5250. reasoning: true,
  5251. input: ["text"],
  5252. cost: {
  5253. input: 0.15,
  5254. output: 0.6,
  5255. cacheRead: 0.075,
  5256. cacheWrite: 0,
  5257. },
  5258. contextWindow: 131072,
  5259. maxTokens: 65536,
  5260. } satisfies Model<"openai-completions">,
  5261. "openai/gpt-oss-20b": {
  5262. id: "openai/gpt-oss-20b",
  5263. name: "GPT OSS 20B",
  5264. api: "openai-completions",
  5265. provider: "groq",
  5266. baseUrl: "https://api.groq.com/openai/v1",
  5267. reasoning: true,
  5268. input: ["text"],
  5269. cost: {
  5270. input: 0.075,
  5271. output: 0.3,
  5272. cacheRead: 0.0375,
  5273. cacheWrite: 0,
  5274. },
  5275. contextWindow: 131072,
  5276. maxTokens: 65536,
  5277. } satisfies Model<"openai-completions">,
  5278. "openai/gpt-oss-safeguard-20b": {
  5279. id: "openai/gpt-oss-safeguard-20b",
  5280. name: "Safety GPT OSS 20B",
  5281. api: "openai-completions",
  5282. provider: "groq",
  5283. baseUrl: "https://api.groq.com/openai/v1",
  5284. reasoning: true,
  5285. input: ["text"],
  5286. cost: {
  5287. input: 0.075,
  5288. output: 0.3,
  5289. cacheRead: 0.037,
  5290. cacheWrite: 0,
  5291. },
  5292. contextWindow: 131072,
  5293. maxTokens: 65536,
  5294. } satisfies Model<"openai-completions">,
  5295. "qwen-qwq-32b": {
  5296. id: "qwen-qwq-32b",
  5297. name: "Qwen QwQ 32B",
  5298. api: "openai-completions",
  5299. provider: "groq",
  5300. baseUrl: "https://api.groq.com/openai/v1",
  5301. reasoning: true,
  5302. input: ["text"],
  5303. cost: {
  5304. input: 0.29,
  5305. output: 0.39,
  5306. cacheRead: 0,
  5307. cacheWrite: 0,
  5308. },
  5309. contextWindow: 131072,
  5310. maxTokens: 16384,
  5311. } satisfies Model<"openai-completions">,
  5312. "qwen/qwen3-32b": {
  5313. id: "qwen/qwen3-32b",
  5314. name: "Qwen3 32B",
  5315. api: "openai-completions",
  5316. provider: "groq",
  5317. baseUrl: "https://api.groq.com/openai/v1",
  5318. reasoning: true,
  5319. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"default"},
  5320. input: ["text"],
  5321. cost: {
  5322. input: 0.29,
  5323. output: 0.59,
  5324. cacheRead: 0,
  5325. cacheWrite: 0,
  5326. },
  5327. contextWindow: 131072,
  5328. maxTokens: 40960,
  5329. } satisfies Model<"openai-completions">,
  5330. },
  5331. "huggingface": {
  5332. "MiniMaxAI/MiniMax-M2.1": {
  5333. id: "MiniMaxAI/MiniMax-M2.1",
  5334. name: "MiniMax-M2.1",
  5335. api: "openai-completions",
  5336. provider: "huggingface",
  5337. baseUrl: "https://router.huggingface.co/v1",
  5338. compat: {"supportsDeveloperRole":false},
  5339. reasoning: true,
  5340. input: ["text"],
  5341. cost: {
  5342. input: 0.3,
  5343. output: 1.2,
  5344. cacheRead: 0,
  5345. cacheWrite: 0,
  5346. },
  5347. contextWindow: 204800,
  5348. maxTokens: 131072,
  5349. } satisfies Model<"openai-completions">,
  5350. "MiniMaxAI/MiniMax-M2.5": {
  5351. id: "MiniMaxAI/MiniMax-M2.5",
  5352. name: "MiniMax-M2.5",
  5353. api: "openai-completions",
  5354. provider: "huggingface",
  5355. baseUrl: "https://router.huggingface.co/v1",
  5356. compat: {"supportsDeveloperRole":false},
  5357. reasoning: true,
  5358. input: ["text"],
  5359. cost: {
  5360. input: 0.3,
  5361. output: 1.2,
  5362. cacheRead: 0.03,
  5363. cacheWrite: 0,
  5364. },
  5365. contextWindow: 204800,
  5366. maxTokens: 131072,
  5367. } satisfies Model<"openai-completions">,
  5368. "MiniMaxAI/MiniMax-M2.7": {
  5369. id: "MiniMaxAI/MiniMax-M2.7",
  5370. name: "MiniMax-M2.7",
  5371. api: "openai-completions",
  5372. provider: "huggingface",
  5373. baseUrl: "https://router.huggingface.co/v1",
  5374. compat: {"supportsDeveloperRole":false},
  5375. reasoning: true,
  5376. input: ["text"],
  5377. cost: {
  5378. input: 0.3,
  5379. output: 1.2,
  5380. cacheRead: 0.06,
  5381. cacheWrite: 0,
  5382. },
  5383. contextWindow: 204800,
  5384. maxTokens: 131072,
  5385. } satisfies Model<"openai-completions">,
  5386. "Qwen/Qwen3-235B-A22B-Thinking-2507": {
  5387. id: "Qwen/Qwen3-235B-A22B-Thinking-2507",
  5388. name: "Qwen3-235B-A22B-Thinking-2507",
  5389. api: "openai-completions",
  5390. provider: "huggingface",
  5391. baseUrl: "https://router.huggingface.co/v1",
  5392. compat: {"supportsDeveloperRole":false},
  5393. reasoning: true,
  5394. input: ["text"],
  5395. cost: {
  5396. input: 0.3,
  5397. output: 3,
  5398. cacheRead: 0,
  5399. cacheWrite: 0,
  5400. },
  5401. contextWindow: 262144,
  5402. maxTokens: 131072,
  5403. } satisfies Model<"openai-completions">,
  5404. "Qwen/Qwen3-Coder-480B-A35B-Instruct": {
  5405. id: "Qwen/Qwen3-Coder-480B-A35B-Instruct",
  5406. name: "Qwen3-Coder-480B-A35B-Instruct",
  5407. api: "openai-completions",
  5408. provider: "huggingface",
  5409. baseUrl: "https://router.huggingface.co/v1",
  5410. compat: {"supportsDeveloperRole":false},
  5411. reasoning: false,
  5412. input: ["text"],
  5413. cost: {
  5414. input: 2,
  5415. output: 2,
  5416. cacheRead: 0,
  5417. cacheWrite: 0,
  5418. },
  5419. contextWindow: 262144,
  5420. maxTokens: 66536,
  5421. } satisfies Model<"openai-completions">,
  5422. "Qwen/Qwen3-Coder-Next": {
  5423. id: "Qwen/Qwen3-Coder-Next",
  5424. name: "Qwen3-Coder-Next",
  5425. api: "openai-completions",
  5426. provider: "huggingface",
  5427. baseUrl: "https://router.huggingface.co/v1",
  5428. compat: {"supportsDeveloperRole":false},
  5429. reasoning: false,
  5430. input: ["text"],
  5431. cost: {
  5432. input: 0.2,
  5433. output: 1.5,
  5434. cacheRead: 0,
  5435. cacheWrite: 0,
  5436. },
  5437. contextWindow: 262144,
  5438. maxTokens: 65536,
  5439. } satisfies Model<"openai-completions">,
  5440. "Qwen/Qwen3-Next-80B-A3B-Instruct": {
  5441. id: "Qwen/Qwen3-Next-80B-A3B-Instruct",
  5442. name: "Qwen3-Next-80B-A3B-Instruct",
  5443. api: "openai-completions",
  5444. provider: "huggingface",
  5445. baseUrl: "https://router.huggingface.co/v1",
  5446. compat: {"supportsDeveloperRole":false},
  5447. reasoning: false,
  5448. input: ["text"],
  5449. cost: {
  5450. input: 0.25,
  5451. output: 1,
  5452. cacheRead: 0,
  5453. cacheWrite: 0,
  5454. },
  5455. contextWindow: 262144,
  5456. maxTokens: 66536,
  5457. } satisfies Model<"openai-completions">,
  5458. "Qwen/Qwen3-Next-80B-A3B-Thinking": {
  5459. id: "Qwen/Qwen3-Next-80B-A3B-Thinking",
  5460. name: "Qwen3-Next-80B-A3B-Thinking",
  5461. api: "openai-completions",
  5462. provider: "huggingface",
  5463. baseUrl: "https://router.huggingface.co/v1",
  5464. compat: {"supportsDeveloperRole":false},
  5465. reasoning: false,
  5466. input: ["text"],
  5467. cost: {
  5468. input: 0.3,
  5469. output: 2,
  5470. cacheRead: 0,
  5471. cacheWrite: 0,
  5472. },
  5473. contextWindow: 262144,
  5474. maxTokens: 131072,
  5475. } satisfies Model<"openai-completions">,
  5476. "Qwen/Qwen3.5-397B-A17B": {
  5477. id: "Qwen/Qwen3.5-397B-A17B",
  5478. name: "Qwen3.5-397B-A17B",
  5479. api: "openai-completions",
  5480. provider: "huggingface",
  5481. baseUrl: "https://router.huggingface.co/v1",
  5482. compat: {"supportsDeveloperRole":false},
  5483. reasoning: true,
  5484. input: ["text", "image"],
  5485. cost: {
  5486. input: 0.6,
  5487. output: 3.6,
  5488. cacheRead: 0,
  5489. cacheWrite: 0,
  5490. },
  5491. contextWindow: 262144,
  5492. maxTokens: 32768,
  5493. } satisfies Model<"openai-completions">,
  5494. "XiaomiMiMo/MiMo-V2-Flash": {
  5495. id: "XiaomiMiMo/MiMo-V2-Flash",
  5496. name: "MiMo-V2-Flash",
  5497. api: "openai-completions",
  5498. provider: "huggingface",
  5499. baseUrl: "https://router.huggingface.co/v1",
  5500. compat: {"supportsDeveloperRole":false},
  5501. reasoning: true,
  5502. input: ["text"],
  5503. cost: {
  5504. input: 0.1,
  5505. output: 0.3,
  5506. cacheRead: 0,
  5507. cacheWrite: 0,
  5508. },
  5509. contextWindow: 262144,
  5510. maxTokens: 4096,
  5511. } satisfies Model<"openai-completions">,
  5512. "deepseek-ai/DeepSeek-R1-0528": {
  5513. id: "deepseek-ai/DeepSeek-R1-0528",
  5514. name: "DeepSeek-R1-0528",
  5515. api: "openai-completions",
  5516. provider: "huggingface",
  5517. baseUrl: "https://router.huggingface.co/v1",
  5518. compat: {"supportsDeveloperRole":false},
  5519. reasoning: true,
  5520. input: ["text"],
  5521. cost: {
  5522. input: 3,
  5523. output: 5,
  5524. cacheRead: 0,
  5525. cacheWrite: 0,
  5526. },
  5527. contextWindow: 163840,
  5528. maxTokens: 163840,
  5529. } satisfies Model<"openai-completions">,
  5530. "deepseek-ai/DeepSeek-V3.2": {
  5531. id: "deepseek-ai/DeepSeek-V3.2",
  5532. name: "DeepSeek-V3.2",
  5533. api: "openai-completions",
  5534. provider: "huggingface",
  5535. baseUrl: "https://router.huggingface.co/v1",
  5536. compat: {"supportsDeveloperRole":false},
  5537. reasoning: true,
  5538. input: ["text"],
  5539. cost: {
  5540. input: 0.28,
  5541. output: 0.4,
  5542. cacheRead: 0,
  5543. cacheWrite: 0,
  5544. },
  5545. contextWindow: 163840,
  5546. maxTokens: 65536,
  5547. } satisfies Model<"openai-completions">,
  5548. "deepseek-ai/DeepSeek-V4-Pro": {
  5549. id: "deepseek-ai/DeepSeek-V4-Pro",
  5550. name: "DeepSeek V4 Pro",
  5551. api: "openai-completions",
  5552. provider: "huggingface",
  5553. baseUrl: "https://router.huggingface.co/v1",
  5554. compat: {"supportsDeveloperRole":false},
  5555. reasoning: true,
  5556. input: ["text"],
  5557. cost: {
  5558. input: 0.435,
  5559. output: 0.87,
  5560. cacheRead: 0.003625,
  5561. cacheWrite: 0,
  5562. },
  5563. contextWindow: 1048576,
  5564. maxTokens: 393216,
  5565. } satisfies Model<"openai-completions">,
  5566. "moonshotai/Kimi-K2-Instruct": {
  5567. id: "moonshotai/Kimi-K2-Instruct",
  5568. name: "Kimi-K2-Instruct",
  5569. api: "openai-completions",
  5570. provider: "huggingface",
  5571. baseUrl: "https://router.huggingface.co/v1",
  5572. compat: {"supportsDeveloperRole":false},
  5573. reasoning: false,
  5574. input: ["text"],
  5575. cost: {
  5576. input: 1,
  5577. output: 3,
  5578. cacheRead: 0,
  5579. cacheWrite: 0,
  5580. },
  5581. contextWindow: 131072,
  5582. maxTokens: 16384,
  5583. } satisfies Model<"openai-completions">,
  5584. "moonshotai/Kimi-K2-Instruct-0905": {
  5585. id: "moonshotai/Kimi-K2-Instruct-0905",
  5586. name: "Kimi-K2-Instruct-0905",
  5587. api: "openai-completions",
  5588. provider: "huggingface",
  5589. baseUrl: "https://router.huggingface.co/v1",
  5590. compat: {"supportsDeveloperRole":false},
  5591. reasoning: false,
  5592. input: ["text"],
  5593. cost: {
  5594. input: 1,
  5595. output: 3,
  5596. cacheRead: 0,
  5597. cacheWrite: 0,
  5598. },
  5599. contextWindow: 262144,
  5600. maxTokens: 16384,
  5601. } satisfies Model<"openai-completions">,
  5602. "moonshotai/Kimi-K2-Thinking": {
  5603. id: "moonshotai/Kimi-K2-Thinking",
  5604. name: "Kimi-K2-Thinking",
  5605. api: "openai-completions",
  5606. provider: "huggingface",
  5607. baseUrl: "https://router.huggingface.co/v1",
  5608. compat: {"supportsDeveloperRole":false},
  5609. reasoning: true,
  5610. input: ["text"],
  5611. cost: {
  5612. input: 0.6,
  5613. output: 2.5,
  5614. cacheRead: 0.15,
  5615. cacheWrite: 0,
  5616. },
  5617. contextWindow: 262144,
  5618. maxTokens: 262144,
  5619. } satisfies Model<"openai-completions">,
  5620. "moonshotai/Kimi-K2.5": {
  5621. id: "moonshotai/Kimi-K2.5",
  5622. name: "Kimi-K2.5",
  5623. api: "openai-completions",
  5624. provider: "huggingface",
  5625. baseUrl: "https://router.huggingface.co/v1",
  5626. compat: {"supportsDeveloperRole":false},
  5627. reasoning: true,
  5628. input: ["text", "image"],
  5629. cost: {
  5630. input: 0.6,
  5631. output: 3,
  5632. cacheRead: 0.1,
  5633. cacheWrite: 0,
  5634. },
  5635. contextWindow: 262144,
  5636. maxTokens: 262144,
  5637. } satisfies Model<"openai-completions">,
  5638. "moonshotai/Kimi-K2.6": {
  5639. id: "moonshotai/Kimi-K2.6",
  5640. name: "Kimi-K2.6",
  5641. api: "openai-completions",
  5642. provider: "huggingface",
  5643. baseUrl: "https://router.huggingface.co/v1",
  5644. compat: {"supportsDeveloperRole":false},
  5645. reasoning: true,
  5646. input: ["text", "image"],
  5647. cost: {
  5648. input: 0.95,
  5649. output: 4,
  5650. cacheRead: 0.16,
  5651. cacheWrite: 0,
  5652. },
  5653. contextWindow: 262144,
  5654. maxTokens: 262144,
  5655. } satisfies Model<"openai-completions">,
  5656. "zai-org/GLM-4.7": {
  5657. id: "zai-org/GLM-4.7",
  5658. name: "GLM-4.7",
  5659. api: "openai-completions",
  5660. provider: "huggingface",
  5661. baseUrl: "https://router.huggingface.co/v1",
  5662. compat: {"supportsDeveloperRole":false},
  5663. reasoning: true,
  5664. input: ["text"],
  5665. cost: {
  5666. input: 0.6,
  5667. output: 2.2,
  5668. cacheRead: 0.11,
  5669. cacheWrite: 0,
  5670. },
  5671. contextWindow: 204800,
  5672. maxTokens: 131072,
  5673. } satisfies Model<"openai-completions">,
  5674. "zai-org/GLM-4.7-Flash": {
  5675. id: "zai-org/GLM-4.7-Flash",
  5676. name: "GLM-4.7-Flash",
  5677. api: "openai-completions",
  5678. provider: "huggingface",
  5679. baseUrl: "https://router.huggingface.co/v1",
  5680. compat: {"supportsDeveloperRole":false},
  5681. reasoning: true,
  5682. input: ["text"],
  5683. cost: {
  5684. input: 0,
  5685. output: 0,
  5686. cacheRead: 0,
  5687. cacheWrite: 0,
  5688. },
  5689. contextWindow: 200000,
  5690. maxTokens: 128000,
  5691. } satisfies Model<"openai-completions">,
  5692. "zai-org/GLM-5": {
  5693. id: "zai-org/GLM-5",
  5694. name: "GLM-5",
  5695. api: "openai-completions",
  5696. provider: "huggingface",
  5697. baseUrl: "https://router.huggingface.co/v1",
  5698. compat: {"supportsDeveloperRole":false},
  5699. reasoning: true,
  5700. input: ["text"],
  5701. cost: {
  5702. input: 1,
  5703. output: 3.2,
  5704. cacheRead: 0.2,
  5705. cacheWrite: 0,
  5706. },
  5707. contextWindow: 202752,
  5708. maxTokens: 131072,
  5709. } satisfies Model<"openai-completions">,
  5710. "zai-org/GLM-5.1": {
  5711. id: "zai-org/GLM-5.1",
  5712. name: "GLM-5.1",
  5713. api: "openai-completions",
  5714. provider: "huggingface",
  5715. baseUrl: "https://router.huggingface.co/v1",
  5716. compat: {"supportsDeveloperRole":false},
  5717. reasoning: true,
  5718. input: ["text"],
  5719. cost: {
  5720. input: 1,
  5721. output: 3.2,
  5722. cacheRead: 0.2,
  5723. cacheWrite: 0,
  5724. },
  5725. contextWindow: 202752,
  5726. maxTokens: 131072,
  5727. } satisfies Model<"openai-completions">,
  5728. },
  5729. "kimi-coding": {
  5730. "kimi-for-coding": {
  5731. id: "kimi-for-coding",
  5732. name: "Kimi For Coding",
  5733. api: "anthropic-messages",
  5734. provider: "kimi-coding",
  5735. baseUrl: "https://api.kimi.com/coding",
  5736. headers: {"User-Agent":"KimiCLI/1.5"},
  5737. reasoning: true,
  5738. input: ["text", "image"],
  5739. cost: {
  5740. input: 0,
  5741. output: 0,
  5742. cacheRead: 0,
  5743. cacheWrite: 0,
  5744. },
  5745. contextWindow: 262144,
  5746. maxTokens: 32768,
  5747. } satisfies Model<"anthropic-messages">,
  5748. "kimi-k2-thinking": {
  5749. id: "kimi-k2-thinking",
  5750. name: "Kimi K2 Thinking",
  5751. api: "anthropic-messages",
  5752. provider: "kimi-coding",
  5753. baseUrl: "https://api.kimi.com/coding",
  5754. headers: {"User-Agent":"KimiCLI/1.5"},
  5755. reasoning: true,
  5756. input: ["text"],
  5757. cost: {
  5758. input: 0,
  5759. output: 0,
  5760. cacheRead: 0,
  5761. cacheWrite: 0,
  5762. },
  5763. contextWindow: 262144,
  5764. maxTokens: 32768,
  5765. } satisfies Model<"anthropic-messages">,
  5766. },
  5767. "minimax": {
  5768. "MiniMax-M2.7": {
  5769. id: "MiniMax-M2.7",
  5770. name: "MiniMax-M2.7",
  5771. api: "anthropic-messages",
  5772. provider: "minimax",
  5773. baseUrl: "https://api.minimax.io/anthropic",
  5774. reasoning: true,
  5775. input: ["text"],
  5776. cost: {
  5777. input: 0.3,
  5778. output: 1.2,
  5779. cacheRead: 0.06,
  5780. cacheWrite: 0.375,
  5781. },
  5782. contextWindow: 204800,
  5783. maxTokens: 131072,
  5784. } satisfies Model<"anthropic-messages">,
  5785. "MiniMax-M2.7-highspeed": {
  5786. id: "MiniMax-M2.7-highspeed",
  5787. name: "MiniMax-M2.7-highspeed",
  5788. api: "anthropic-messages",
  5789. provider: "minimax",
  5790. baseUrl: "https://api.minimax.io/anthropic",
  5791. reasoning: true,
  5792. input: ["text"],
  5793. cost: {
  5794. input: 0.6,
  5795. output: 2.4,
  5796. cacheRead: 0.06,
  5797. cacheWrite: 0.375,
  5798. },
  5799. contextWindow: 204800,
  5800. maxTokens: 131072,
  5801. } satisfies Model<"anthropic-messages">,
  5802. "MiniMax-M3": {
  5803. id: "MiniMax-M3",
  5804. name: "MiniMax-M3",
  5805. api: "anthropic-messages",
  5806. provider: "minimax",
  5807. baseUrl: "https://api.minimax.io/anthropic",
  5808. reasoning: true,
  5809. input: ["text", "image"],
  5810. cost: {
  5811. input: 0.6,
  5812. output: 2.4,
  5813. cacheRead: 0.12,
  5814. cacheWrite: 0,
  5815. },
  5816. contextWindow: 512000,
  5817. maxTokens: 128000,
  5818. } satisfies Model<"anthropic-messages">,
  5819. },
  5820. "minimax-cn": {
  5821. "MiniMax-M2.7": {
  5822. id: "MiniMax-M2.7",
  5823. name: "MiniMax-M2.7",
  5824. api: "anthropic-messages",
  5825. provider: "minimax-cn",
  5826. baseUrl: "https://api.minimaxi.com/anthropic",
  5827. reasoning: true,
  5828. input: ["text"],
  5829. cost: {
  5830. input: 0.3,
  5831. output: 1.2,
  5832. cacheRead: 0.06,
  5833. cacheWrite: 0.375,
  5834. },
  5835. contextWindow: 204800,
  5836. maxTokens: 131072,
  5837. } satisfies Model<"anthropic-messages">,
  5838. "MiniMax-M2.7-highspeed": {
  5839. id: "MiniMax-M2.7-highspeed",
  5840. name: "MiniMax-M2.7-highspeed",
  5841. api: "anthropic-messages",
  5842. provider: "minimax-cn",
  5843. baseUrl: "https://api.minimaxi.com/anthropic",
  5844. reasoning: true,
  5845. input: ["text"],
  5846. cost: {
  5847. input: 0.6,
  5848. output: 2.4,
  5849. cacheRead: 0.06,
  5850. cacheWrite: 0.375,
  5851. },
  5852. contextWindow: 204800,
  5853. maxTokens: 131072,
  5854. } satisfies Model<"anthropic-messages">,
  5855. "MiniMax-M3": {
  5856. id: "MiniMax-M3",
  5857. name: "MiniMax-M3",
  5858. api: "anthropic-messages",
  5859. provider: "minimax-cn",
  5860. baseUrl: "https://api.minimaxi.com/anthropic",
  5861. reasoning: true,
  5862. input: ["text", "image"],
  5863. cost: {
  5864. input: 0.6,
  5865. output: 2.4,
  5866. cacheRead: 0.12,
  5867. cacheWrite: 0,
  5868. },
  5869. contextWindow: 512000,
  5870. maxTokens: 128000,
  5871. } satisfies Model<"anthropic-messages">,
  5872. },
  5873. "mistral": {
  5874. "codestral-latest": {
  5875. id: "codestral-latest",
  5876. name: "Codestral (latest)",
  5877. api: "mistral-conversations",
  5878. provider: "mistral",
  5879. baseUrl: "https://api.mistral.ai",
  5880. reasoning: false,
  5881. input: ["text"],
  5882. cost: {
  5883. input: 0.3,
  5884. output: 0.9,
  5885. cacheRead: 0,
  5886. cacheWrite: 0,
  5887. },
  5888. contextWindow: 256000,
  5889. maxTokens: 4096,
  5890. } satisfies Model<"mistral-conversations">,
  5891. "devstral-2512": {
  5892. id: "devstral-2512",
  5893. name: "Devstral 2",
  5894. api: "mistral-conversations",
  5895. provider: "mistral",
  5896. baseUrl: "https://api.mistral.ai",
  5897. reasoning: false,
  5898. input: ["text"],
  5899. cost: {
  5900. input: 0.4,
  5901. output: 2,
  5902. cacheRead: 0,
  5903. cacheWrite: 0,
  5904. },
  5905. contextWindow: 262144,
  5906. maxTokens: 262144,
  5907. } satisfies Model<"mistral-conversations">,
  5908. "devstral-latest": {
  5909. id: "devstral-latest",
  5910. name: "Devstral 2",
  5911. api: "mistral-conversations",
  5912. provider: "mistral",
  5913. baseUrl: "https://api.mistral.ai",
  5914. reasoning: false,
  5915. input: ["text"],
  5916. cost: {
  5917. input: 0.4,
  5918. output: 2,
  5919. cacheRead: 0,
  5920. cacheWrite: 0,
  5921. },
  5922. contextWindow: 262144,
  5923. maxTokens: 262144,
  5924. } satisfies Model<"mistral-conversations">,
  5925. "devstral-medium-2507": {
  5926. id: "devstral-medium-2507",
  5927. name: "Devstral Medium",
  5928. api: "mistral-conversations",
  5929. provider: "mistral",
  5930. baseUrl: "https://api.mistral.ai",
  5931. reasoning: false,
  5932. input: ["text"],
  5933. cost: {
  5934. input: 0.4,
  5935. output: 2,
  5936. cacheRead: 0,
  5937. cacheWrite: 0,
  5938. },
  5939. contextWindow: 128000,
  5940. maxTokens: 128000,
  5941. } satisfies Model<"mistral-conversations">,
  5942. "devstral-medium-latest": {
  5943. id: "devstral-medium-latest",
  5944. name: "Devstral 2 (latest)",
  5945. api: "mistral-conversations",
  5946. provider: "mistral",
  5947. baseUrl: "https://api.mistral.ai",
  5948. reasoning: false,
  5949. input: ["text"],
  5950. cost: {
  5951. input: 0.4,
  5952. output: 2,
  5953. cacheRead: 0,
  5954. cacheWrite: 0,
  5955. },
  5956. contextWindow: 262144,
  5957. maxTokens: 262144,
  5958. } satisfies Model<"mistral-conversations">,
  5959. "devstral-small-2505": {
  5960. id: "devstral-small-2505",
  5961. name: "Devstral Small 2505",
  5962. api: "mistral-conversations",
  5963. provider: "mistral",
  5964. baseUrl: "https://api.mistral.ai",
  5965. reasoning: false,
  5966. input: ["text"],
  5967. cost: {
  5968. input: 0.1,
  5969. output: 0.3,
  5970. cacheRead: 0,
  5971. cacheWrite: 0,
  5972. },
  5973. contextWindow: 128000,
  5974. maxTokens: 128000,
  5975. } satisfies Model<"mistral-conversations">,
  5976. "devstral-small-2507": {
  5977. id: "devstral-small-2507",
  5978. name: "Devstral Small",
  5979. api: "mistral-conversations",
  5980. provider: "mistral",
  5981. baseUrl: "https://api.mistral.ai",
  5982. reasoning: false,
  5983. input: ["text"],
  5984. cost: {
  5985. input: 0.1,
  5986. output: 0.3,
  5987. cacheRead: 0,
  5988. cacheWrite: 0,
  5989. },
  5990. contextWindow: 128000,
  5991. maxTokens: 128000,
  5992. } satisfies Model<"mistral-conversations">,
  5993. "labs-devstral-small-2512": {
  5994. id: "labs-devstral-small-2512",
  5995. name: "Devstral Small 2",
  5996. api: "mistral-conversations",
  5997. provider: "mistral",
  5998. baseUrl: "https://api.mistral.ai",
  5999. reasoning: false,
  6000. input: ["text", "image"],
  6001. cost: {
  6002. input: 0,
  6003. output: 0,
  6004. cacheRead: 0,
  6005. cacheWrite: 0,
  6006. },
  6007. contextWindow: 256000,
  6008. maxTokens: 256000,
  6009. } satisfies Model<"mistral-conversations">,
  6010. "magistral-medium-latest": {
  6011. id: "magistral-medium-latest",
  6012. name: "Magistral Medium (latest)",
  6013. api: "mistral-conversations",
  6014. provider: "mistral",
  6015. baseUrl: "https://api.mistral.ai",
  6016. reasoning: true,
  6017. input: ["text"],
  6018. cost: {
  6019. input: 2,
  6020. output: 5,
  6021. cacheRead: 0,
  6022. cacheWrite: 0,
  6023. },
  6024. contextWindow: 128000,
  6025. maxTokens: 16384,
  6026. } satisfies Model<"mistral-conversations">,
  6027. "magistral-small": {
  6028. id: "magistral-small",
  6029. name: "Magistral Small",
  6030. api: "mistral-conversations",
  6031. provider: "mistral",
  6032. baseUrl: "https://api.mistral.ai",
  6033. reasoning: true,
  6034. input: ["text"],
  6035. cost: {
  6036. input: 0.5,
  6037. output: 1.5,
  6038. cacheRead: 0,
  6039. cacheWrite: 0,
  6040. },
  6041. contextWindow: 128000,
  6042. maxTokens: 128000,
  6043. } satisfies Model<"mistral-conversations">,
  6044. "ministral-3b-latest": {
  6045. id: "ministral-3b-latest",
  6046. name: "Ministral 3B (latest)",
  6047. api: "mistral-conversations",
  6048. provider: "mistral",
  6049. baseUrl: "https://api.mistral.ai",
  6050. reasoning: false,
  6051. input: ["text"],
  6052. cost: {
  6053. input: 0.04,
  6054. output: 0.04,
  6055. cacheRead: 0,
  6056. cacheWrite: 0,
  6057. },
  6058. contextWindow: 128000,
  6059. maxTokens: 128000,
  6060. } satisfies Model<"mistral-conversations">,
  6061. "ministral-8b-latest": {
  6062. id: "ministral-8b-latest",
  6063. name: "Ministral 8B (latest)",
  6064. api: "mistral-conversations",
  6065. provider: "mistral",
  6066. baseUrl: "https://api.mistral.ai",
  6067. reasoning: false,
  6068. input: ["text"],
  6069. cost: {
  6070. input: 0.1,
  6071. output: 0.1,
  6072. cacheRead: 0,
  6073. cacheWrite: 0,
  6074. },
  6075. contextWindow: 128000,
  6076. maxTokens: 128000,
  6077. } satisfies Model<"mistral-conversations">,
  6078. "mistral-large-2411": {
  6079. id: "mistral-large-2411",
  6080. name: "Mistral Large 2.1",
  6081. api: "mistral-conversations",
  6082. provider: "mistral",
  6083. baseUrl: "https://api.mistral.ai",
  6084. reasoning: false,
  6085. input: ["text"],
  6086. cost: {
  6087. input: 2,
  6088. output: 6,
  6089. cacheRead: 0,
  6090. cacheWrite: 0,
  6091. },
  6092. contextWindow: 131072,
  6093. maxTokens: 16384,
  6094. } satisfies Model<"mistral-conversations">,
  6095. "mistral-large-2512": {
  6096. id: "mistral-large-2512",
  6097. name: "Mistral Large 3",
  6098. api: "mistral-conversations",
  6099. provider: "mistral",
  6100. baseUrl: "https://api.mistral.ai",
  6101. reasoning: false,
  6102. input: ["text", "image"],
  6103. cost: {
  6104. input: 0.5,
  6105. output: 1.5,
  6106. cacheRead: 0,
  6107. cacheWrite: 0,
  6108. },
  6109. contextWindow: 262144,
  6110. maxTokens: 262144,
  6111. } satisfies Model<"mistral-conversations">,
  6112. "mistral-large-latest": {
  6113. id: "mistral-large-latest",
  6114. name: "Mistral Large (latest)",
  6115. api: "mistral-conversations",
  6116. provider: "mistral",
  6117. baseUrl: "https://api.mistral.ai",
  6118. reasoning: false,
  6119. input: ["text", "image"],
  6120. cost: {
  6121. input: 0.5,
  6122. output: 1.5,
  6123. cacheRead: 0,
  6124. cacheWrite: 0,
  6125. },
  6126. contextWindow: 262144,
  6127. maxTokens: 262144,
  6128. } satisfies Model<"mistral-conversations">,
  6129. "mistral-medium-2505": {
  6130. id: "mistral-medium-2505",
  6131. name: "Mistral Medium 3",
  6132. api: "mistral-conversations",
  6133. provider: "mistral",
  6134. baseUrl: "https://api.mistral.ai",
  6135. reasoning: false,
  6136. input: ["text", "image"],
  6137. cost: {
  6138. input: 0.4,
  6139. output: 2,
  6140. cacheRead: 0,
  6141. cacheWrite: 0,
  6142. },
  6143. contextWindow: 131072,
  6144. maxTokens: 131072,
  6145. } satisfies Model<"mistral-conversations">,
  6146. "mistral-medium-2508": {
  6147. id: "mistral-medium-2508",
  6148. name: "Mistral Medium 3.1",
  6149. api: "mistral-conversations",
  6150. provider: "mistral",
  6151. baseUrl: "https://api.mistral.ai",
  6152. reasoning: false,
  6153. input: ["text", "image"],
  6154. cost: {
  6155. input: 0.4,
  6156. output: 2,
  6157. cacheRead: 0,
  6158. cacheWrite: 0,
  6159. },
  6160. contextWindow: 262144,
  6161. maxTokens: 262144,
  6162. } satisfies Model<"mistral-conversations">,
  6163. "mistral-medium-2604": {
  6164. id: "mistral-medium-2604",
  6165. name: "Mistral Medium 3.5",
  6166. api: "mistral-conversations",
  6167. provider: "mistral",
  6168. baseUrl: "https://api.mistral.ai",
  6169. reasoning: true,
  6170. input: ["text", "image"],
  6171. cost: {
  6172. input: 1.5,
  6173. output: 7.5,
  6174. cacheRead: 0,
  6175. cacheWrite: 0,
  6176. },
  6177. contextWindow: 262144,
  6178. maxTokens: 262144,
  6179. } satisfies Model<"mistral-conversations">,
  6180. "mistral-medium-3.5": {
  6181. id: "mistral-medium-3.5",
  6182. name: "Mistral Medium 3.5",
  6183. api: "mistral-conversations",
  6184. provider: "mistral",
  6185. baseUrl: "https://api.mistral.ai",
  6186. reasoning: true,
  6187. input: ["text", "image"],
  6188. cost: {
  6189. input: 1.5,
  6190. output: 7.5,
  6191. cacheRead: 0,
  6192. cacheWrite: 0,
  6193. },
  6194. contextWindow: 262144,
  6195. maxTokens: 262144,
  6196. } satisfies Model<"mistral-conversations">,
  6197. "mistral-medium-latest": {
  6198. id: "mistral-medium-latest",
  6199. name: "Mistral Medium (latest)",
  6200. api: "mistral-conversations",
  6201. provider: "mistral",
  6202. baseUrl: "https://api.mistral.ai",
  6203. reasoning: false,
  6204. input: ["text", "image"],
  6205. cost: {
  6206. input: 0.4,
  6207. output: 2,
  6208. cacheRead: 0,
  6209. cacheWrite: 0,
  6210. },
  6211. contextWindow: 262144,
  6212. maxTokens: 262144,
  6213. } satisfies Model<"mistral-conversations">,
  6214. "mistral-nemo": {
  6215. id: "mistral-nemo",
  6216. name: "Mistral Nemo",
  6217. api: "mistral-conversations",
  6218. provider: "mistral",
  6219. baseUrl: "https://api.mistral.ai",
  6220. reasoning: false,
  6221. input: ["text"],
  6222. cost: {
  6223. input: 0.15,
  6224. output: 0.15,
  6225. cacheRead: 0,
  6226. cacheWrite: 0,
  6227. },
  6228. contextWindow: 128000,
  6229. maxTokens: 128000,
  6230. } satisfies Model<"mistral-conversations">,
  6231. "mistral-small-2506": {
  6232. id: "mistral-small-2506",
  6233. name: "Mistral Small 3.2",
  6234. api: "mistral-conversations",
  6235. provider: "mistral",
  6236. baseUrl: "https://api.mistral.ai",
  6237. reasoning: false,
  6238. input: ["text", "image"],
  6239. cost: {
  6240. input: 0.1,
  6241. output: 0.3,
  6242. cacheRead: 0,
  6243. cacheWrite: 0,
  6244. },
  6245. contextWindow: 128000,
  6246. maxTokens: 16384,
  6247. } satisfies Model<"mistral-conversations">,
  6248. "mistral-small-2603": {
  6249. id: "mistral-small-2603",
  6250. name: "Mistral Small 4",
  6251. api: "mistral-conversations",
  6252. provider: "mistral",
  6253. baseUrl: "https://api.mistral.ai",
  6254. reasoning: true,
  6255. input: ["text", "image"],
  6256. cost: {
  6257. input: 0.15,
  6258. output: 0.6,
  6259. cacheRead: 0,
  6260. cacheWrite: 0,
  6261. },
  6262. contextWindow: 256000,
  6263. maxTokens: 256000,
  6264. } satisfies Model<"mistral-conversations">,
  6265. "mistral-small-latest": {
  6266. id: "mistral-small-latest",
  6267. name: "Mistral Small (latest)",
  6268. api: "mistral-conversations",
  6269. provider: "mistral",
  6270. baseUrl: "https://api.mistral.ai",
  6271. reasoning: true,
  6272. input: ["text", "image"],
  6273. cost: {
  6274. input: 0.15,
  6275. output: 0.6,
  6276. cacheRead: 0,
  6277. cacheWrite: 0,
  6278. },
  6279. contextWindow: 256000,
  6280. maxTokens: 256000,
  6281. } satisfies Model<"mistral-conversations">,
  6282. "open-mistral-7b": {
  6283. id: "open-mistral-7b",
  6284. name: "Mistral 7B",
  6285. api: "mistral-conversations",
  6286. provider: "mistral",
  6287. baseUrl: "https://api.mistral.ai",
  6288. reasoning: false,
  6289. input: ["text"],
  6290. cost: {
  6291. input: 0.25,
  6292. output: 0.25,
  6293. cacheRead: 0,
  6294. cacheWrite: 0,
  6295. },
  6296. contextWindow: 8000,
  6297. maxTokens: 8000,
  6298. } satisfies Model<"mistral-conversations">,
  6299. "open-mistral-nemo": {
  6300. id: "open-mistral-nemo",
  6301. name: "Open Mistral Nemo",
  6302. api: "mistral-conversations",
  6303. provider: "mistral",
  6304. baseUrl: "https://api.mistral.ai",
  6305. reasoning: false,
  6306. input: ["text"],
  6307. cost: {
  6308. input: 0.15,
  6309. output: 0.15,
  6310. cacheRead: 0,
  6311. cacheWrite: 0,
  6312. },
  6313. contextWindow: 128000,
  6314. maxTokens: 128000,
  6315. } satisfies Model<"mistral-conversations">,
  6316. "open-mixtral-8x22b": {
  6317. id: "open-mixtral-8x22b",
  6318. name: "Mixtral 8x22B",
  6319. api: "mistral-conversations",
  6320. provider: "mistral",
  6321. baseUrl: "https://api.mistral.ai",
  6322. reasoning: false,
  6323. input: ["text"],
  6324. cost: {
  6325. input: 2,
  6326. output: 6,
  6327. cacheRead: 0,
  6328. cacheWrite: 0,
  6329. },
  6330. contextWindow: 64000,
  6331. maxTokens: 64000,
  6332. } satisfies Model<"mistral-conversations">,
  6333. "open-mixtral-8x7b": {
  6334. id: "open-mixtral-8x7b",
  6335. name: "Mixtral 8x7B",
  6336. api: "mistral-conversations",
  6337. provider: "mistral",
  6338. baseUrl: "https://api.mistral.ai",
  6339. reasoning: false,
  6340. input: ["text"],
  6341. cost: {
  6342. input: 0.7,
  6343. output: 0.7,
  6344. cacheRead: 0,
  6345. cacheWrite: 0,
  6346. },
  6347. contextWindow: 32000,
  6348. maxTokens: 32000,
  6349. } satisfies Model<"mistral-conversations">,
  6350. "pixtral-12b": {
  6351. id: "pixtral-12b",
  6352. name: "Pixtral 12B",
  6353. api: "mistral-conversations",
  6354. provider: "mistral",
  6355. baseUrl: "https://api.mistral.ai",
  6356. reasoning: false,
  6357. input: ["text", "image"],
  6358. cost: {
  6359. input: 0.15,
  6360. output: 0.15,
  6361. cacheRead: 0,
  6362. cacheWrite: 0,
  6363. },
  6364. contextWindow: 128000,
  6365. maxTokens: 128000,
  6366. } satisfies Model<"mistral-conversations">,
  6367. "pixtral-large-latest": {
  6368. id: "pixtral-large-latest",
  6369. name: "Pixtral Large (latest)",
  6370. api: "mistral-conversations",
  6371. provider: "mistral",
  6372. baseUrl: "https://api.mistral.ai",
  6373. reasoning: false,
  6374. input: ["text", "image"],
  6375. cost: {
  6376. input: 2,
  6377. output: 6,
  6378. cacheRead: 0,
  6379. cacheWrite: 0,
  6380. },
  6381. contextWindow: 128000,
  6382. maxTokens: 128000,
  6383. } satisfies Model<"mistral-conversations">,
  6384. },
  6385. "moonshotai": {
  6386. "kimi-k2-0711-preview": {
  6387. id: "kimi-k2-0711-preview",
  6388. name: "Kimi K2 0711",
  6389. api: "openai-completions",
  6390. provider: "moonshotai",
  6391. baseUrl: "https://api.moonshot.ai/v1",
  6392. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6393. reasoning: false,
  6394. input: ["text"],
  6395. cost: {
  6396. input: 0.6,
  6397. output: 2.5,
  6398. cacheRead: 0.15,
  6399. cacheWrite: 0,
  6400. },
  6401. contextWindow: 131072,
  6402. maxTokens: 16384,
  6403. } satisfies Model<"openai-completions">,
  6404. "kimi-k2-0905-preview": {
  6405. id: "kimi-k2-0905-preview",
  6406. name: "Kimi K2 0905",
  6407. api: "openai-completions",
  6408. provider: "moonshotai",
  6409. baseUrl: "https://api.moonshot.ai/v1",
  6410. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6411. reasoning: false,
  6412. input: ["text"],
  6413. cost: {
  6414. input: 0.6,
  6415. output: 2.5,
  6416. cacheRead: 0.15,
  6417. cacheWrite: 0,
  6418. },
  6419. contextWindow: 262144,
  6420. maxTokens: 262144,
  6421. } satisfies Model<"openai-completions">,
  6422. "kimi-k2-thinking": {
  6423. id: "kimi-k2-thinking",
  6424. name: "Kimi K2 Thinking",
  6425. api: "openai-completions",
  6426. provider: "moonshotai",
  6427. baseUrl: "https://api.moonshot.ai/v1",
  6428. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6429. reasoning: true,
  6430. input: ["text"],
  6431. cost: {
  6432. input: 0.6,
  6433. output: 2.5,
  6434. cacheRead: 0.15,
  6435. cacheWrite: 0,
  6436. },
  6437. contextWindow: 262144,
  6438. maxTokens: 262144,
  6439. } satisfies Model<"openai-completions">,
  6440. "kimi-k2-thinking-turbo": {
  6441. id: "kimi-k2-thinking-turbo",
  6442. name: "Kimi K2 Thinking Turbo",
  6443. api: "openai-completions",
  6444. provider: "moonshotai",
  6445. baseUrl: "https://api.moonshot.ai/v1",
  6446. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6447. reasoning: true,
  6448. input: ["text"],
  6449. cost: {
  6450. input: 1.15,
  6451. output: 8,
  6452. cacheRead: 0.15,
  6453. cacheWrite: 0,
  6454. },
  6455. contextWindow: 262144,
  6456. maxTokens: 262144,
  6457. } satisfies Model<"openai-completions">,
  6458. "kimi-k2-turbo-preview": {
  6459. id: "kimi-k2-turbo-preview",
  6460. name: "Kimi K2 Turbo",
  6461. api: "openai-completions",
  6462. provider: "moonshotai",
  6463. baseUrl: "https://api.moonshot.ai/v1",
  6464. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6465. reasoning: false,
  6466. input: ["text"],
  6467. cost: {
  6468. input: 2.4,
  6469. output: 10,
  6470. cacheRead: 0.6,
  6471. cacheWrite: 0,
  6472. },
  6473. contextWindow: 262144,
  6474. maxTokens: 262144,
  6475. } satisfies Model<"openai-completions">,
  6476. "kimi-k2.5": {
  6477. id: "kimi-k2.5",
  6478. name: "Kimi K2.5",
  6479. api: "openai-completions",
  6480. provider: "moonshotai",
  6481. baseUrl: "https://api.moonshot.ai/v1",
  6482. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6483. reasoning: true,
  6484. input: ["text", "image"],
  6485. cost: {
  6486. input: 0.6,
  6487. output: 3,
  6488. cacheRead: 0.1,
  6489. cacheWrite: 0,
  6490. },
  6491. contextWindow: 262144,
  6492. maxTokens: 262144,
  6493. } satisfies Model<"openai-completions">,
  6494. "kimi-k2.6": {
  6495. id: "kimi-k2.6",
  6496. name: "Kimi K2.6",
  6497. api: "openai-completions",
  6498. provider: "moonshotai",
  6499. baseUrl: "https://api.moonshot.ai/v1",
  6500. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6501. reasoning: true,
  6502. input: ["text", "image"],
  6503. cost: {
  6504. input: 0.95,
  6505. output: 4,
  6506. cacheRead: 0.16,
  6507. cacheWrite: 0,
  6508. },
  6509. contextWindow: 262144,
  6510. maxTokens: 262144,
  6511. } satisfies Model<"openai-completions">,
  6512. },
  6513. "moonshotai-cn": {
  6514. "kimi-k2-0711-preview": {
  6515. id: "kimi-k2-0711-preview",
  6516. name: "Kimi K2 0711",
  6517. api: "openai-completions",
  6518. provider: "moonshotai-cn",
  6519. baseUrl: "https://api.moonshot.cn/v1",
  6520. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6521. reasoning: false,
  6522. input: ["text"],
  6523. cost: {
  6524. input: 0.6,
  6525. output: 2.5,
  6526. cacheRead: 0.15,
  6527. cacheWrite: 0,
  6528. },
  6529. contextWindow: 131072,
  6530. maxTokens: 16384,
  6531. } satisfies Model<"openai-completions">,
  6532. "kimi-k2-0905-preview": {
  6533. id: "kimi-k2-0905-preview",
  6534. name: "Kimi K2 0905",
  6535. api: "openai-completions",
  6536. provider: "moonshotai-cn",
  6537. baseUrl: "https://api.moonshot.cn/v1",
  6538. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6539. reasoning: false,
  6540. input: ["text"],
  6541. cost: {
  6542. input: 0.6,
  6543. output: 2.5,
  6544. cacheRead: 0.15,
  6545. cacheWrite: 0,
  6546. },
  6547. contextWindow: 262144,
  6548. maxTokens: 262144,
  6549. } satisfies Model<"openai-completions">,
  6550. "kimi-k2-thinking": {
  6551. id: "kimi-k2-thinking",
  6552. name: "Kimi K2 Thinking",
  6553. api: "openai-completions",
  6554. provider: "moonshotai-cn",
  6555. baseUrl: "https://api.moonshot.cn/v1",
  6556. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6557. reasoning: true,
  6558. input: ["text"],
  6559. cost: {
  6560. input: 0.6,
  6561. output: 2.5,
  6562. cacheRead: 0.15,
  6563. cacheWrite: 0,
  6564. },
  6565. contextWindow: 262144,
  6566. maxTokens: 262144,
  6567. } satisfies Model<"openai-completions">,
  6568. "kimi-k2-thinking-turbo": {
  6569. id: "kimi-k2-thinking-turbo",
  6570. name: "Kimi K2 Thinking Turbo",
  6571. api: "openai-completions",
  6572. provider: "moonshotai-cn",
  6573. baseUrl: "https://api.moonshot.cn/v1",
  6574. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6575. reasoning: true,
  6576. input: ["text"],
  6577. cost: {
  6578. input: 1.15,
  6579. output: 8,
  6580. cacheRead: 0.15,
  6581. cacheWrite: 0,
  6582. },
  6583. contextWindow: 262144,
  6584. maxTokens: 262144,
  6585. } satisfies Model<"openai-completions">,
  6586. "kimi-k2-turbo-preview": {
  6587. id: "kimi-k2-turbo-preview",
  6588. name: "Kimi K2 Turbo",
  6589. api: "openai-completions",
  6590. provider: "moonshotai-cn",
  6591. baseUrl: "https://api.moonshot.cn/v1",
  6592. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6593. reasoning: false,
  6594. input: ["text"],
  6595. cost: {
  6596. input: 2.4,
  6597. output: 10,
  6598. cacheRead: 0.6,
  6599. cacheWrite: 0,
  6600. },
  6601. contextWindow: 262144,
  6602. maxTokens: 262144,
  6603. } satisfies Model<"openai-completions">,
  6604. "kimi-k2.5": {
  6605. id: "kimi-k2.5",
  6606. name: "Kimi K2.5",
  6607. api: "openai-completions",
  6608. provider: "moonshotai-cn",
  6609. baseUrl: "https://api.moonshot.cn/v1",
  6610. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6611. reasoning: true,
  6612. input: ["text", "image"],
  6613. cost: {
  6614. input: 0.6,
  6615. output: 3,
  6616. cacheRead: 0.1,
  6617. cacheWrite: 0,
  6618. },
  6619. contextWindow: 262144,
  6620. maxTokens: 262144,
  6621. } satisfies Model<"openai-completions">,
  6622. "kimi-k2.6": {
  6623. id: "kimi-k2.6",
  6624. name: "Kimi K2.6",
  6625. api: "openai-completions",
  6626. provider: "moonshotai-cn",
  6627. baseUrl: "https://api.moonshot.cn/v1",
  6628. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"thinkingFormat":"deepseek"},
  6629. reasoning: true,
  6630. input: ["text", "image"],
  6631. cost: {
  6632. input: 0.95,
  6633. output: 4,
  6634. cacheRead: 0.16,
  6635. cacheWrite: 0,
  6636. },
  6637. contextWindow: 262144,
  6638. maxTokens: 262144,
  6639. } satisfies Model<"openai-completions">,
  6640. },
  6641. "nvidia": {
  6642. "meta/llama-3.1-70b-instruct": {
  6643. id: "meta/llama-3.1-70b-instruct",
  6644. name: "Llama 3.1 70b Instruct",
  6645. api: "openai-completions",
  6646. provider: "nvidia",
  6647. baseUrl: "https://integrate.api.nvidia.com/v1",
  6648. headers: {"NVCF-POLL-SECONDS":"3600"},
  6649. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6650. reasoning: false,
  6651. input: ["text"],
  6652. cost: {
  6653. input: 0,
  6654. output: 0,
  6655. cacheRead: 0,
  6656. cacheWrite: 0,
  6657. },
  6658. contextWindow: 128000,
  6659. maxTokens: 4096,
  6660. } satisfies Model<"openai-completions">,
  6661. "meta/llama-3.1-8b-instruct": {
  6662. id: "meta/llama-3.1-8b-instruct",
  6663. name: "Llama 3.1 8B Instruct",
  6664. api: "openai-completions",
  6665. provider: "nvidia",
  6666. baseUrl: "https://integrate.api.nvidia.com/v1",
  6667. headers: {"NVCF-POLL-SECONDS":"3600"},
  6668. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6669. reasoning: false,
  6670. input: ["text"],
  6671. cost: {
  6672. input: 0,
  6673. output: 0,
  6674. cacheRead: 0,
  6675. cacheWrite: 0,
  6676. },
  6677. contextWindow: 16000,
  6678. maxTokens: 4096,
  6679. } satisfies Model<"openai-completions">,
  6680. "meta/llama-3.2-11b-vision-instruct": {
  6681. id: "meta/llama-3.2-11b-vision-instruct",
  6682. name: "Llama 3.2 11b Vision Instruct",
  6683. api: "openai-completions",
  6684. provider: "nvidia",
  6685. baseUrl: "https://integrate.api.nvidia.com/v1",
  6686. headers: {"NVCF-POLL-SECONDS":"3600"},
  6687. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6688. reasoning: false,
  6689. input: ["text", "image"],
  6690. cost: {
  6691. input: 0,
  6692. output: 0,
  6693. cacheRead: 0,
  6694. cacheWrite: 0,
  6695. },
  6696. contextWindow: 128000,
  6697. maxTokens: 4096,
  6698. } satisfies Model<"openai-completions">,
  6699. "meta/llama-3.2-90b-vision-instruct": {
  6700. id: "meta/llama-3.2-90b-vision-instruct",
  6701. name: "Llama-3.2-90B-Vision-Instruct",
  6702. api: "openai-completions",
  6703. provider: "nvidia",
  6704. baseUrl: "https://integrate.api.nvidia.com/v1",
  6705. headers: {"NVCF-POLL-SECONDS":"3600"},
  6706. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6707. reasoning: false,
  6708. input: ["text", "image"],
  6709. cost: {
  6710. input: 0,
  6711. output: 0,
  6712. cacheRead: 0,
  6713. cacheWrite: 0,
  6714. },
  6715. contextWindow: 128000,
  6716. maxTokens: 8192,
  6717. } satisfies Model<"openai-completions">,
  6718. "meta/llama-3.3-70b-instruct": {
  6719. id: "meta/llama-3.3-70b-instruct",
  6720. name: "Llama 3.3 70b Instruct",
  6721. api: "openai-completions",
  6722. provider: "nvidia",
  6723. baseUrl: "https://integrate.api.nvidia.com/v1",
  6724. headers: {"NVCF-POLL-SECONDS":"3600"},
  6725. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6726. reasoning: false,
  6727. input: ["text"],
  6728. cost: {
  6729. input: 0,
  6730. output: 0,
  6731. cacheRead: 0,
  6732. cacheWrite: 0,
  6733. },
  6734. contextWindow: 128000,
  6735. maxTokens: 4096,
  6736. } satisfies Model<"openai-completions">,
  6737. "mistralai/mistral-large-3-675b-instruct-2512": {
  6738. id: "mistralai/mistral-large-3-675b-instruct-2512",
  6739. name: "Mistral Large 3 675B Instruct 2512",
  6740. api: "openai-completions",
  6741. provider: "nvidia",
  6742. baseUrl: "https://integrate.api.nvidia.com/v1",
  6743. headers: {"NVCF-POLL-SECONDS":"3600"},
  6744. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6745. reasoning: false,
  6746. input: ["text", "image"],
  6747. cost: {
  6748. input: 0,
  6749. output: 0,
  6750. cacheRead: 0,
  6751. cacheWrite: 0,
  6752. },
  6753. contextWindow: 262144,
  6754. maxTokens: 262144,
  6755. } satisfies Model<"openai-completions">,
  6756. "mistralai/mistral-small-4-119b-2603": {
  6757. id: "mistralai/mistral-small-4-119b-2603",
  6758. name: "mistral-small-4-119b-2603",
  6759. api: "openai-completions",
  6760. provider: "nvidia",
  6761. baseUrl: "https://integrate.api.nvidia.com/v1",
  6762. headers: {"NVCF-POLL-SECONDS":"3600"},
  6763. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6764. reasoning: false,
  6765. input: ["text"],
  6766. cost: {
  6767. input: 0,
  6768. output: 0,
  6769. cacheRead: 0,
  6770. cacheWrite: 0,
  6771. },
  6772. contextWindow: 128000,
  6773. maxTokens: 8192,
  6774. } satisfies Model<"openai-completions">,
  6775. "moonshotai/kimi-k2.6": {
  6776. id: "moonshotai/kimi-k2.6",
  6777. name: "Kimi K2.6",
  6778. api: "openai-completions",
  6779. provider: "nvidia",
  6780. baseUrl: "https://integrate.api.nvidia.com/v1",
  6781. headers: {"NVCF-POLL-SECONDS":"3600"},
  6782. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6783. reasoning: true,
  6784. input: ["text", "image"],
  6785. cost: {
  6786. input: 0,
  6787. output: 0,
  6788. cacheRead: 0,
  6789. cacheWrite: 0,
  6790. },
  6791. contextWindow: 262144,
  6792. maxTokens: 262144,
  6793. } satisfies Model<"openai-completions">,
  6794. "nvidia/llama-3.3-nemotron-super-49b-v1": {
  6795. id: "nvidia/llama-3.3-nemotron-super-49b-v1",
  6796. name: "Llama 3.3 Nemotron Super 49B v1",
  6797. api: "openai-completions",
  6798. provider: "nvidia",
  6799. baseUrl: "https://integrate.api.nvidia.com/v1",
  6800. headers: {"NVCF-POLL-SECONDS":"3600"},
  6801. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6802. reasoning: true,
  6803. input: ["text"],
  6804. cost: {
  6805. input: 0,
  6806. output: 0,
  6807. cacheRead: 0,
  6808. cacheWrite: 0,
  6809. },
  6810. contextWindow: 131072,
  6811. maxTokens: 131072,
  6812. } satisfies Model<"openai-completions">,
  6813. "nvidia/llama-3.3-nemotron-super-49b-v1.5": {
  6814. id: "nvidia/llama-3.3-nemotron-super-49b-v1.5",
  6815. name: "Llama 3.3 Nemotron Super 49B v1.5",
  6816. api: "openai-completions",
  6817. provider: "nvidia",
  6818. baseUrl: "https://integrate.api.nvidia.com/v1",
  6819. headers: {"NVCF-POLL-SECONDS":"3600"},
  6820. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6821. reasoning: true,
  6822. input: ["text"],
  6823. cost: {
  6824. input: 0,
  6825. output: 0,
  6826. cacheRead: 0,
  6827. cacheWrite: 0,
  6828. },
  6829. contextWindow: 131072,
  6830. maxTokens: 131072,
  6831. } satisfies Model<"openai-completions">,
  6832. "nvidia/nemotron-3-nano-30b-a3b": {
  6833. id: "nvidia/nemotron-3-nano-30b-a3b",
  6834. name: "nemotron-3-nano-30b-a3b",
  6835. api: "openai-completions",
  6836. provider: "nvidia",
  6837. baseUrl: "https://integrate.api.nvidia.com/v1",
  6838. headers: {"NVCF-POLL-SECONDS":"3600"},
  6839. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6840. reasoning: true,
  6841. input: ["text"],
  6842. cost: {
  6843. input: 0,
  6844. output: 0,
  6845. cacheRead: 0,
  6846. cacheWrite: 0,
  6847. },
  6848. contextWindow: 131072,
  6849. maxTokens: 131072,
  6850. } satisfies Model<"openai-completions">,
  6851. "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning": {
  6852. id: "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
  6853. name: "Nemotron 3 Nano Omni",
  6854. api: "openai-completions",
  6855. provider: "nvidia",
  6856. baseUrl: "https://integrate.api.nvidia.com/v1",
  6857. headers: {"NVCF-POLL-SECONDS":"3600"},
  6858. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6859. reasoning: true,
  6860. input: ["text", "image"],
  6861. cost: {
  6862. input: 0,
  6863. output: 0,
  6864. cacheRead: 0,
  6865. cacheWrite: 0,
  6866. },
  6867. contextWindow: 256000,
  6868. maxTokens: 65536,
  6869. } satisfies Model<"openai-completions">,
  6870. "nvidia/nemotron-3-super-120b-a12b": {
  6871. id: "nvidia/nemotron-3-super-120b-a12b",
  6872. name: "Nemotron 3 Super",
  6873. api: "openai-completions",
  6874. provider: "nvidia",
  6875. baseUrl: "https://integrate.api.nvidia.com/v1",
  6876. headers: {"NVCF-POLL-SECONDS":"3600"},
  6877. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6878. reasoning: true,
  6879. input: ["text"],
  6880. cost: {
  6881. input: 0.2,
  6882. output: 0.8,
  6883. cacheRead: 0,
  6884. cacheWrite: 0,
  6885. },
  6886. contextWindow: 262144,
  6887. maxTokens: 262144,
  6888. } satisfies Model<"openai-completions">,
  6889. "nvidia/nemotron-3-ultra-550b-a55b": {
  6890. id: "nvidia/nemotron-3-ultra-550b-a55b",
  6891. name: "Nemotron 3 Ultra 550B A55B",
  6892. api: "openai-completions",
  6893. provider: "nvidia",
  6894. baseUrl: "https://integrate.api.nvidia.com/v1",
  6895. headers: {"NVCF-POLL-SECONDS":"3600"},
  6896. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6897. reasoning: true,
  6898. input: ["text"],
  6899. cost: {
  6900. input: 0.5,
  6901. output: 2.5,
  6902. cacheRead: 0.15,
  6903. cacheWrite: 0,
  6904. },
  6905. contextWindow: 1000000,
  6906. maxTokens: 65536,
  6907. } satisfies Model<"openai-completions">,
  6908. "nvidia/nvidia-nemotron-nano-9b-v2": {
  6909. id: "nvidia/nvidia-nemotron-nano-9b-v2",
  6910. name: "nvidia-nemotron-nano-9b-v2",
  6911. api: "openai-completions",
  6912. provider: "nvidia",
  6913. baseUrl: "https://integrate.api.nvidia.com/v1",
  6914. headers: {"NVCF-POLL-SECONDS":"3600"},
  6915. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6916. reasoning: true,
  6917. input: ["text"],
  6918. cost: {
  6919. input: 0,
  6920. output: 0,
  6921. cacheRead: 0,
  6922. cacheWrite: 0,
  6923. },
  6924. contextWindow: 131072,
  6925. maxTokens: 131072,
  6926. } satisfies Model<"openai-completions">,
  6927. "openai/gpt-oss-20b": {
  6928. id: "openai/gpt-oss-20b",
  6929. name: "GPT OSS 20B",
  6930. api: "openai-completions",
  6931. provider: "nvidia",
  6932. baseUrl: "https://integrate.api.nvidia.com/v1",
  6933. headers: {"NVCF-POLL-SECONDS":"3600"},
  6934. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6935. reasoning: true,
  6936. input: ["text"],
  6937. cost: {
  6938. input: 0,
  6939. output: 0,
  6940. cacheRead: 0,
  6941. cacheWrite: 0,
  6942. },
  6943. contextWindow: 131072,
  6944. maxTokens: 32768,
  6945. } satisfies Model<"openai-completions">,
  6946. "qwen/qwen3-coder-480b-a35b-instruct": {
  6947. id: "qwen/qwen3-coder-480b-a35b-instruct",
  6948. name: "Qwen3 Coder 480B A35B Instruct",
  6949. api: "openai-completions",
  6950. provider: "nvidia",
  6951. baseUrl: "https://integrate.api.nvidia.com/v1",
  6952. headers: {"NVCF-POLL-SECONDS":"3600"},
  6953. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6954. reasoning: false,
  6955. input: ["text"],
  6956. cost: {
  6957. input: 0,
  6958. output: 0,
  6959. cacheRead: 0,
  6960. cacheWrite: 0,
  6961. },
  6962. contextWindow: 262144,
  6963. maxTokens: 66536,
  6964. } satisfies Model<"openai-completions">,
  6965. "qwen/qwen3.5-122b-a10b": {
  6966. id: "qwen/qwen3.5-122b-a10b",
  6967. name: "Qwen3.5 122B-A10B",
  6968. api: "openai-completions",
  6969. provider: "nvidia",
  6970. baseUrl: "https://integrate.api.nvidia.com/v1",
  6971. headers: {"NVCF-POLL-SECONDS":"3600"},
  6972. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6973. reasoning: true,
  6974. input: ["text", "image"],
  6975. cost: {
  6976. input: 0,
  6977. output: 0,
  6978. cacheRead: 0,
  6979. cacheWrite: 0,
  6980. },
  6981. contextWindow: 262144,
  6982. maxTokens: 65536,
  6983. } satisfies Model<"openai-completions">,
  6984. "stepfun-ai/step-3.5-flash": {
  6985. id: "stepfun-ai/step-3.5-flash",
  6986. name: "Step 3.5 Flash",
  6987. api: "openai-completions",
  6988. provider: "nvidia",
  6989. baseUrl: "https://integrate.api.nvidia.com/v1",
  6990. headers: {"NVCF-POLL-SECONDS":"3600"},
  6991. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  6992. reasoning: true,
  6993. input: ["text"],
  6994. cost: {
  6995. input: 0,
  6996. output: 0,
  6997. cacheRead: 0,
  6998. cacheWrite: 0,
  6999. },
  7000. contextWindow: 256000,
  7001. maxTokens: 16384,
  7002. } satisfies Model<"openai-completions">,
  7003. "stepfun-ai/step-3.7-flash": {
  7004. id: "stepfun-ai/step-3.7-flash",
  7005. name: "Step 3.7 Flash",
  7006. api: "openai-completions",
  7007. provider: "nvidia",
  7008. baseUrl: "https://integrate.api.nvidia.com/v1",
  7009. headers: {"NVCF-POLL-SECONDS":"3600"},
  7010. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  7011. reasoning: true,
  7012. input: ["text", "image"],
  7013. cost: {
  7014. input: 0,
  7015. output: 0,
  7016. cacheRead: 0,
  7017. cacheWrite: 0,
  7018. },
  7019. contextWindow: 256000,
  7020. maxTokens: 16384,
  7021. } satisfies Model<"openai-completions">,
  7022. "z-ai/glm-5.1": {
  7023. id: "z-ai/glm-5.1",
  7024. name: "GLM-5.1",
  7025. api: "openai-completions",
  7026. provider: "nvidia",
  7027. baseUrl: "https://integrate.api.nvidia.com/v1",
  7028. headers: {"NVCF-POLL-SECONDS":"3600"},
  7029. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  7030. reasoning: true,
  7031. input: ["text"],
  7032. cost: {
  7033. input: 0,
  7034. output: 0,
  7035. cacheRead: 0,
  7036. cacheWrite: 0,
  7037. },
  7038. contextWindow: 131072,
  7039. maxTokens: 131072,
  7040. } satisfies Model<"openai-completions">,
  7041. },
  7042. "openai": {
  7043. "gpt-4": {
  7044. id: "gpt-4",
  7045. name: "GPT-4",
  7046. api: "openai-responses",
  7047. provider: "openai",
  7048. baseUrl: "https://api.openai.com/v1",
  7049. reasoning: false,
  7050. input: ["text"],
  7051. cost: {
  7052. input: 30,
  7053. output: 60,
  7054. cacheRead: 0,
  7055. cacheWrite: 0,
  7056. },
  7057. contextWindow: 8192,
  7058. maxTokens: 8192,
  7059. } satisfies Model<"openai-responses">,
  7060. "gpt-4-turbo": {
  7061. id: "gpt-4-turbo",
  7062. name: "GPT-4 Turbo",
  7063. api: "openai-responses",
  7064. provider: "openai",
  7065. baseUrl: "https://api.openai.com/v1",
  7066. reasoning: false,
  7067. input: ["text", "image"],
  7068. cost: {
  7069. input: 10,
  7070. output: 30,
  7071. cacheRead: 0,
  7072. cacheWrite: 0,
  7073. },
  7074. contextWindow: 128000,
  7075. maxTokens: 4096,
  7076. } satisfies Model<"openai-responses">,
  7077. "gpt-4.1": {
  7078. id: "gpt-4.1",
  7079. name: "GPT-4.1",
  7080. api: "openai-responses",
  7081. provider: "openai",
  7082. baseUrl: "https://api.openai.com/v1",
  7083. reasoning: false,
  7084. input: ["text", "image"],
  7085. cost: {
  7086. input: 2,
  7087. output: 8,
  7088. cacheRead: 0.5,
  7089. cacheWrite: 0,
  7090. },
  7091. contextWindow: 1047576,
  7092. maxTokens: 32768,
  7093. } satisfies Model<"openai-responses">,
  7094. "gpt-4.1-mini": {
  7095. id: "gpt-4.1-mini",
  7096. name: "GPT-4.1 mini",
  7097. api: "openai-responses",
  7098. provider: "openai",
  7099. baseUrl: "https://api.openai.com/v1",
  7100. reasoning: false,
  7101. input: ["text", "image"],
  7102. cost: {
  7103. input: 0.4,
  7104. output: 1.6,
  7105. cacheRead: 0.1,
  7106. cacheWrite: 0,
  7107. },
  7108. contextWindow: 1047576,
  7109. maxTokens: 32768,
  7110. } satisfies Model<"openai-responses">,
  7111. "gpt-4.1-nano": {
  7112. id: "gpt-4.1-nano",
  7113. name: "GPT-4.1 nano",
  7114. api: "openai-responses",
  7115. provider: "openai",
  7116. baseUrl: "https://api.openai.com/v1",
  7117. reasoning: false,
  7118. input: ["text", "image"],
  7119. cost: {
  7120. input: 0.1,
  7121. output: 0.4,
  7122. cacheRead: 0.025,
  7123. cacheWrite: 0,
  7124. },
  7125. contextWindow: 1047576,
  7126. maxTokens: 32768,
  7127. } satisfies Model<"openai-responses">,
  7128. "gpt-4o": {
  7129. id: "gpt-4o",
  7130. name: "GPT-4o",
  7131. api: "openai-responses",
  7132. provider: "openai",
  7133. baseUrl: "https://api.openai.com/v1",
  7134. reasoning: false,
  7135. input: ["text", "image"],
  7136. cost: {
  7137. input: 2.5,
  7138. output: 10,
  7139. cacheRead: 1.25,
  7140. cacheWrite: 0,
  7141. },
  7142. contextWindow: 128000,
  7143. maxTokens: 16384,
  7144. } satisfies Model<"openai-responses">,
  7145. "gpt-4o-2024-05-13": {
  7146. id: "gpt-4o-2024-05-13",
  7147. name: "GPT-4o (2024-05-13)",
  7148. api: "openai-responses",
  7149. provider: "openai",
  7150. baseUrl: "https://api.openai.com/v1",
  7151. reasoning: false,
  7152. input: ["text", "image"],
  7153. cost: {
  7154. input: 5,
  7155. output: 15,
  7156. cacheRead: 0,
  7157. cacheWrite: 0,
  7158. },
  7159. contextWindow: 128000,
  7160. maxTokens: 4096,
  7161. } satisfies Model<"openai-responses">,
  7162. "gpt-4o-2024-08-06": {
  7163. id: "gpt-4o-2024-08-06",
  7164. name: "GPT-4o (2024-08-06)",
  7165. api: "openai-responses",
  7166. provider: "openai",
  7167. baseUrl: "https://api.openai.com/v1",
  7168. reasoning: false,
  7169. input: ["text", "image"],
  7170. cost: {
  7171. input: 2.5,
  7172. output: 10,
  7173. cacheRead: 1.25,
  7174. cacheWrite: 0,
  7175. },
  7176. contextWindow: 128000,
  7177. maxTokens: 16384,
  7178. } satisfies Model<"openai-responses">,
  7179. "gpt-4o-2024-11-20": {
  7180. id: "gpt-4o-2024-11-20",
  7181. name: "GPT-4o (2024-11-20)",
  7182. api: "openai-responses",
  7183. provider: "openai",
  7184. baseUrl: "https://api.openai.com/v1",
  7185. reasoning: false,
  7186. input: ["text", "image"],
  7187. cost: {
  7188. input: 2.5,
  7189. output: 10,
  7190. cacheRead: 1.25,
  7191. cacheWrite: 0,
  7192. },
  7193. contextWindow: 128000,
  7194. maxTokens: 16384,
  7195. } satisfies Model<"openai-responses">,
  7196. "gpt-4o-mini": {
  7197. id: "gpt-4o-mini",
  7198. name: "GPT-4o mini",
  7199. api: "openai-responses",
  7200. provider: "openai",
  7201. baseUrl: "https://api.openai.com/v1",
  7202. reasoning: false,
  7203. input: ["text", "image"],
  7204. cost: {
  7205. input: 0.15,
  7206. output: 0.6,
  7207. cacheRead: 0.075,
  7208. cacheWrite: 0,
  7209. },
  7210. contextWindow: 128000,
  7211. maxTokens: 16384,
  7212. } satisfies Model<"openai-responses">,
  7213. "gpt-5": {
  7214. id: "gpt-5",
  7215. name: "GPT-5",
  7216. api: "openai-responses",
  7217. provider: "openai",
  7218. baseUrl: "https://api.openai.com/v1",
  7219. reasoning: true,
  7220. thinkingLevelMap: {"off":null},
  7221. input: ["text", "image"],
  7222. cost: {
  7223. input: 1.25,
  7224. output: 10,
  7225. cacheRead: 0.125,
  7226. cacheWrite: 0,
  7227. },
  7228. contextWindow: 400000,
  7229. maxTokens: 128000,
  7230. } satisfies Model<"openai-responses">,
  7231. "gpt-5-chat-latest": {
  7232. id: "gpt-5-chat-latest",
  7233. name: "GPT-5 Chat Latest",
  7234. api: "openai-responses",
  7235. provider: "openai",
  7236. baseUrl: "https://api.openai.com/v1",
  7237. reasoning: false,
  7238. thinkingLevelMap: {"off":null},
  7239. input: ["text", "image"],
  7240. cost: {
  7241. input: 1.25,
  7242. output: 10,
  7243. cacheRead: 0.125,
  7244. cacheWrite: 0,
  7245. },
  7246. contextWindow: 128000,
  7247. maxTokens: 16384,
  7248. } satisfies Model<"openai-responses">,
  7249. "gpt-5-codex": {
  7250. id: "gpt-5-codex",
  7251. name: "GPT-5-Codex",
  7252. api: "openai-responses",
  7253. provider: "openai",
  7254. baseUrl: "https://api.openai.com/v1",
  7255. reasoning: true,
  7256. thinkingLevelMap: {"off":null},
  7257. input: ["text", "image"],
  7258. cost: {
  7259. input: 1.25,
  7260. output: 10,
  7261. cacheRead: 0.125,
  7262. cacheWrite: 0,
  7263. },
  7264. contextWindow: 400000,
  7265. maxTokens: 128000,
  7266. } satisfies Model<"openai-responses">,
  7267. "gpt-5-mini": {
  7268. id: "gpt-5-mini",
  7269. name: "GPT-5 Mini",
  7270. api: "openai-responses",
  7271. provider: "openai",
  7272. baseUrl: "https://api.openai.com/v1",
  7273. reasoning: true,
  7274. thinkingLevelMap: {"off":null},
  7275. input: ["text", "image"],
  7276. cost: {
  7277. input: 0.25,
  7278. output: 2,
  7279. cacheRead: 0.025,
  7280. cacheWrite: 0,
  7281. },
  7282. contextWindow: 400000,
  7283. maxTokens: 128000,
  7284. } satisfies Model<"openai-responses">,
  7285. "gpt-5-nano": {
  7286. id: "gpt-5-nano",
  7287. name: "GPT-5 Nano",
  7288. api: "openai-responses",
  7289. provider: "openai",
  7290. baseUrl: "https://api.openai.com/v1",
  7291. reasoning: true,
  7292. thinkingLevelMap: {"off":null},
  7293. input: ["text", "image"],
  7294. cost: {
  7295. input: 0.05,
  7296. output: 0.4,
  7297. cacheRead: 0.005,
  7298. cacheWrite: 0,
  7299. },
  7300. contextWindow: 400000,
  7301. maxTokens: 128000,
  7302. } satisfies Model<"openai-responses">,
  7303. "gpt-5-pro": {
  7304. id: "gpt-5-pro",
  7305. name: "GPT-5 Pro",
  7306. api: "openai-responses",
  7307. provider: "openai",
  7308. baseUrl: "https://api.openai.com/v1",
  7309. reasoning: true,
  7310. thinkingLevelMap: {"off":null},
  7311. input: ["text", "image"],
  7312. cost: {
  7313. input: 15,
  7314. output: 120,
  7315. cacheRead: 0,
  7316. cacheWrite: 0,
  7317. },
  7318. contextWindow: 400000,
  7319. maxTokens: 128000,
  7320. } satisfies Model<"openai-responses">,
  7321. "gpt-5.1": {
  7322. id: "gpt-5.1",
  7323. name: "GPT-5.1",
  7324. api: "openai-responses",
  7325. provider: "openai",
  7326. baseUrl: "https://api.openai.com/v1",
  7327. reasoning: true,
  7328. thinkingLevelMap: {"off":"none"},
  7329. input: ["text", "image"],
  7330. cost: {
  7331. input: 1.25,
  7332. output: 10,
  7333. cacheRead: 0.125,
  7334. cacheWrite: 0,
  7335. },
  7336. contextWindow: 400000,
  7337. maxTokens: 128000,
  7338. } satisfies Model<"openai-responses">,
  7339. "gpt-5.1-chat-latest": {
  7340. id: "gpt-5.1-chat-latest",
  7341. name: "GPT-5.1 Chat",
  7342. api: "openai-responses",
  7343. provider: "openai",
  7344. baseUrl: "https://api.openai.com/v1",
  7345. reasoning: true,
  7346. thinkingLevelMap: {"off":null},
  7347. input: ["text", "image"],
  7348. cost: {
  7349. input: 1.25,
  7350. output: 10,
  7351. cacheRead: 0.125,
  7352. cacheWrite: 0,
  7353. },
  7354. contextWindow: 128000,
  7355. maxTokens: 16384,
  7356. } satisfies Model<"openai-responses">,
  7357. "gpt-5.1-codex": {
  7358. id: "gpt-5.1-codex",
  7359. name: "GPT-5.1 Codex",
  7360. api: "openai-responses",
  7361. provider: "openai",
  7362. baseUrl: "https://api.openai.com/v1",
  7363. reasoning: true,
  7364. thinkingLevelMap: {"off":null},
  7365. input: ["text", "image"],
  7366. cost: {
  7367. input: 1.25,
  7368. output: 10,
  7369. cacheRead: 0.125,
  7370. cacheWrite: 0,
  7371. },
  7372. contextWindow: 400000,
  7373. maxTokens: 128000,
  7374. } satisfies Model<"openai-responses">,
  7375. "gpt-5.1-codex-max": {
  7376. id: "gpt-5.1-codex-max",
  7377. name: "GPT-5.1 Codex Max",
  7378. api: "openai-responses",
  7379. provider: "openai",
  7380. baseUrl: "https://api.openai.com/v1",
  7381. reasoning: true,
  7382. thinkingLevelMap: {"off":null},
  7383. input: ["text", "image"],
  7384. cost: {
  7385. input: 1.25,
  7386. output: 10,
  7387. cacheRead: 0.125,
  7388. cacheWrite: 0,
  7389. },
  7390. contextWindow: 400000,
  7391. maxTokens: 128000,
  7392. } satisfies Model<"openai-responses">,
  7393. "gpt-5.1-codex-mini": {
  7394. id: "gpt-5.1-codex-mini",
  7395. name: "GPT-5.1 Codex mini",
  7396. api: "openai-responses",
  7397. provider: "openai",
  7398. baseUrl: "https://api.openai.com/v1",
  7399. reasoning: true,
  7400. thinkingLevelMap: {"off":null},
  7401. input: ["text", "image"],
  7402. cost: {
  7403. input: 0.25,
  7404. output: 2,
  7405. cacheRead: 0.025,
  7406. cacheWrite: 0,
  7407. },
  7408. contextWindow: 400000,
  7409. maxTokens: 128000,
  7410. } satisfies Model<"openai-responses">,
  7411. "gpt-5.2": {
  7412. id: "gpt-5.2",
  7413. name: "GPT-5.2",
  7414. api: "openai-responses",
  7415. provider: "openai",
  7416. baseUrl: "https://api.openai.com/v1",
  7417. reasoning: true,
  7418. thinkingLevelMap: {"off":"none","xhigh":"xhigh"},
  7419. input: ["text", "image"],
  7420. cost: {
  7421. input: 1.75,
  7422. output: 14,
  7423. cacheRead: 0.175,
  7424. cacheWrite: 0,
  7425. },
  7426. contextWindow: 400000,
  7427. maxTokens: 128000,
  7428. } satisfies Model<"openai-responses">,
  7429. "gpt-5.2-chat-latest": {
  7430. id: "gpt-5.2-chat-latest",
  7431. name: "GPT-5.2 Chat",
  7432. api: "openai-responses",
  7433. provider: "openai",
  7434. baseUrl: "https://api.openai.com/v1",
  7435. reasoning: true,
  7436. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  7437. input: ["text", "image"],
  7438. cost: {
  7439. input: 1.75,
  7440. output: 14,
  7441. cacheRead: 0.175,
  7442. cacheWrite: 0,
  7443. },
  7444. contextWindow: 128000,
  7445. maxTokens: 16384,
  7446. } satisfies Model<"openai-responses">,
  7447. "gpt-5.2-codex": {
  7448. id: "gpt-5.2-codex",
  7449. name: "GPT-5.2 Codex",
  7450. api: "openai-responses",
  7451. provider: "openai",
  7452. baseUrl: "https://api.openai.com/v1",
  7453. reasoning: true,
  7454. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  7455. input: ["text", "image"],
  7456. cost: {
  7457. input: 1.75,
  7458. output: 14,
  7459. cacheRead: 0.175,
  7460. cacheWrite: 0,
  7461. },
  7462. contextWindow: 400000,
  7463. maxTokens: 128000,
  7464. } satisfies Model<"openai-responses">,
  7465. "gpt-5.2-pro": {
  7466. id: "gpt-5.2-pro",
  7467. name: "GPT-5.2 Pro",
  7468. api: "openai-responses",
  7469. provider: "openai",
  7470. baseUrl: "https://api.openai.com/v1",
  7471. reasoning: true,
  7472. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  7473. input: ["text", "image"],
  7474. cost: {
  7475. input: 21,
  7476. output: 168,
  7477. cacheRead: 0,
  7478. cacheWrite: 0,
  7479. },
  7480. contextWindow: 400000,
  7481. maxTokens: 128000,
  7482. } satisfies Model<"openai-responses">,
  7483. "gpt-5.3-chat-latest": {
  7484. id: "gpt-5.3-chat-latest",
  7485. name: "GPT-5.3 Chat (latest)",
  7486. api: "openai-responses",
  7487. provider: "openai",
  7488. baseUrl: "https://api.openai.com/v1",
  7489. reasoning: false,
  7490. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  7491. input: ["text", "image"],
  7492. cost: {
  7493. input: 1.75,
  7494. output: 14,
  7495. cacheRead: 0.175,
  7496. cacheWrite: 0,
  7497. },
  7498. contextWindow: 128000,
  7499. maxTokens: 16384,
  7500. } satisfies Model<"openai-responses">,
  7501. "gpt-5.3-codex": {
  7502. id: "gpt-5.3-codex",
  7503. name: "GPT-5.3 Codex",
  7504. api: "openai-responses",
  7505. provider: "openai",
  7506. baseUrl: "https://api.openai.com/v1",
  7507. reasoning: true,
  7508. thinkingLevelMap: {"off":"none","xhigh":"xhigh"},
  7509. input: ["text", "image"],
  7510. cost: {
  7511. input: 1.75,
  7512. output: 14,
  7513. cacheRead: 0.175,
  7514. cacheWrite: 0,
  7515. },
  7516. contextWindow: 400000,
  7517. maxTokens: 128000,
  7518. } satisfies Model<"openai-responses">,
  7519. "gpt-5.3-codex-spark": {
  7520. id: "gpt-5.3-codex-spark",
  7521. name: "GPT-5.3 Codex Spark",
  7522. api: "openai-responses",
  7523. provider: "openai",
  7524. baseUrl: "https://api.openai.com/v1",
  7525. reasoning: true,
  7526. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  7527. input: ["text", "image"],
  7528. cost: {
  7529. input: 1.75,
  7530. output: 14,
  7531. cacheRead: 0.175,
  7532. cacheWrite: 0,
  7533. },
  7534. contextWindow: 128000,
  7535. maxTokens: 32000,
  7536. } satisfies Model<"openai-responses">,
  7537. "gpt-5.4": {
  7538. id: "gpt-5.4",
  7539. name: "GPT-5.4",
  7540. api: "openai-responses",
  7541. provider: "openai",
  7542. baseUrl: "https://api.openai.com/v1",
  7543. reasoning: true,
  7544. thinkingLevelMap: {"off":"none","xhigh":"xhigh"},
  7545. input: ["text", "image"],
  7546. cost: {
  7547. input: 2.5,
  7548. output: 15,
  7549. cacheRead: 0.25,
  7550. cacheWrite: 0,
  7551. },
  7552. contextWindow: 272000,
  7553. maxTokens: 128000,
  7554. } satisfies Model<"openai-responses">,
  7555. "gpt-5.4-mini": {
  7556. id: "gpt-5.4-mini",
  7557. name: "GPT-5.4 mini",
  7558. api: "openai-responses",
  7559. provider: "openai",
  7560. baseUrl: "https://api.openai.com/v1",
  7561. reasoning: true,
  7562. thinkingLevelMap: {"off":"none","xhigh":"xhigh"},
  7563. input: ["text", "image"],
  7564. cost: {
  7565. input: 0.75,
  7566. output: 4.5,
  7567. cacheRead: 0.075,
  7568. cacheWrite: 0,
  7569. },
  7570. contextWindow: 400000,
  7571. maxTokens: 128000,
  7572. } satisfies Model<"openai-responses">,
  7573. "gpt-5.4-nano": {
  7574. id: "gpt-5.4-nano",
  7575. name: "GPT-5.4 nano",
  7576. api: "openai-responses",
  7577. provider: "openai",
  7578. baseUrl: "https://api.openai.com/v1",
  7579. reasoning: true,
  7580. thinkingLevelMap: {"off":"none","xhigh":"xhigh"},
  7581. input: ["text", "image"],
  7582. cost: {
  7583. input: 0.2,
  7584. output: 1.25,
  7585. cacheRead: 0.02,
  7586. cacheWrite: 0,
  7587. },
  7588. contextWindow: 400000,
  7589. maxTokens: 128000,
  7590. } satisfies Model<"openai-responses">,
  7591. "gpt-5.4-pro": {
  7592. id: "gpt-5.4-pro",
  7593. name: "GPT-5.4 Pro",
  7594. api: "openai-responses",
  7595. provider: "openai",
  7596. baseUrl: "https://api.openai.com/v1",
  7597. reasoning: true,
  7598. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  7599. input: ["text", "image"],
  7600. cost: {
  7601. input: 30,
  7602. output: 180,
  7603. cacheRead: 0,
  7604. cacheWrite: 0,
  7605. },
  7606. contextWindow: 1050000,
  7607. maxTokens: 128000,
  7608. } satisfies Model<"openai-responses">,
  7609. "gpt-5.5": {
  7610. id: "gpt-5.5",
  7611. name: "GPT-5.5",
  7612. api: "openai-responses",
  7613. provider: "openai",
  7614. baseUrl: "https://api.openai.com/v1",
  7615. reasoning: true,
  7616. thinkingLevelMap: {"off":"none","xhigh":"xhigh","minimal":null},
  7617. input: ["text", "image"],
  7618. cost: {
  7619. input: 5,
  7620. output: 30,
  7621. cacheRead: 0.5,
  7622. cacheWrite: 0,
  7623. },
  7624. contextWindow: 272000,
  7625. maxTokens: 128000,
  7626. } satisfies Model<"openai-responses">,
  7627. "gpt-5.5-pro": {
  7628. id: "gpt-5.5-pro",
  7629. name: "GPT-5.5 Pro",
  7630. api: "openai-responses",
  7631. provider: "openai",
  7632. baseUrl: "https://api.openai.com/v1",
  7633. reasoning: true,
  7634. thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"low":null},
  7635. input: ["text", "image"],
  7636. cost: {
  7637. input: 30,
  7638. output: 180,
  7639. cacheRead: 0,
  7640. cacheWrite: 0,
  7641. },
  7642. contextWindow: 1050000,
  7643. maxTokens: 128000,
  7644. } satisfies Model<"openai-responses">,
  7645. "gpt-5.6-luna": {
  7646. id: "gpt-5.6-luna",
  7647. name: "GPT-5.6 Luna",
  7648. api: "openai-responses",
  7649. provider: "openai",
  7650. baseUrl: "https://api.openai.com/v1",
  7651. reasoning: true,
  7652. thinkingLevelMap: {"off":"none","xhigh":"xhigh","max":"max"},
  7653. input: ["text", "image"],
  7654. cost: {
  7655. input: 1,
  7656. output: 6,
  7657. cacheRead: 0.1,
  7658. cacheWrite: 1.25,
  7659. },
  7660. contextWindow: 272000,
  7661. maxTokens: 128000,
  7662. } satisfies Model<"openai-responses">,
  7663. "gpt-5.6-sol": {
  7664. id: "gpt-5.6-sol",
  7665. name: "GPT-5.6 Sol",
  7666. api: "openai-responses",
  7667. provider: "openai",
  7668. baseUrl: "https://api.openai.com/v1",
  7669. reasoning: true,
  7670. thinkingLevelMap: {"off":"none","xhigh":"xhigh","max":"max"},
  7671. input: ["text", "image"],
  7672. cost: {
  7673. input: 5,
  7674. output: 30,
  7675. cacheRead: 0.5,
  7676. cacheWrite: 6.25,
  7677. },
  7678. contextWindow: 272000,
  7679. maxTokens: 128000,
  7680. } satisfies Model<"openai-responses">,
  7681. "gpt-5.6-terra": {
  7682. id: "gpt-5.6-terra",
  7683. name: "GPT-5.6 Terra",
  7684. api: "openai-responses",
  7685. provider: "openai",
  7686. baseUrl: "https://api.openai.com/v1",
  7687. reasoning: true,
  7688. thinkingLevelMap: {"off":"none","xhigh":"xhigh","max":"max"},
  7689. input: ["text", "image"],
  7690. cost: {
  7691. input: 2.5,
  7692. output: 15,
  7693. cacheRead: 0.25,
  7694. cacheWrite: 3.125,
  7695. },
  7696. contextWindow: 272000,
  7697. maxTokens: 128000,
  7698. } satisfies Model<"openai-responses">,
  7699. "o1": {
  7700. id: "o1",
  7701. name: "o1",
  7702. api: "openai-responses",
  7703. provider: "openai",
  7704. baseUrl: "https://api.openai.com/v1",
  7705. reasoning: true,
  7706. input: ["text", "image"],
  7707. cost: {
  7708. input: 15,
  7709. output: 60,
  7710. cacheRead: 7.5,
  7711. cacheWrite: 0,
  7712. },
  7713. contextWindow: 200000,
  7714. maxTokens: 100000,
  7715. } satisfies Model<"openai-responses">,
  7716. "o1-pro": {
  7717. id: "o1-pro",
  7718. name: "o1-pro",
  7719. api: "openai-responses",
  7720. provider: "openai",
  7721. baseUrl: "https://api.openai.com/v1",
  7722. reasoning: true,
  7723. input: ["text", "image"],
  7724. cost: {
  7725. input: 150,
  7726. output: 600,
  7727. cacheRead: 0,
  7728. cacheWrite: 0,
  7729. },
  7730. contextWindow: 200000,
  7731. maxTokens: 100000,
  7732. } satisfies Model<"openai-responses">,
  7733. "o3": {
  7734. id: "o3",
  7735. name: "o3",
  7736. api: "openai-responses",
  7737. provider: "openai",
  7738. baseUrl: "https://api.openai.com/v1",
  7739. reasoning: true,
  7740. input: ["text", "image"],
  7741. cost: {
  7742. input: 2,
  7743. output: 8,
  7744. cacheRead: 0.5,
  7745. cacheWrite: 0,
  7746. },
  7747. contextWindow: 200000,
  7748. maxTokens: 100000,
  7749. } satisfies Model<"openai-responses">,
  7750. "o3-deep-research": {
  7751. id: "o3-deep-research",
  7752. name: "o3-deep-research",
  7753. api: "openai-responses",
  7754. provider: "openai",
  7755. baseUrl: "https://api.openai.com/v1",
  7756. reasoning: true,
  7757. input: ["text", "image"],
  7758. cost: {
  7759. input: 10,
  7760. output: 40,
  7761. cacheRead: 2.5,
  7762. cacheWrite: 0,
  7763. },
  7764. contextWindow: 200000,
  7765. maxTokens: 100000,
  7766. } satisfies Model<"openai-responses">,
  7767. "o3-mini": {
  7768. id: "o3-mini",
  7769. name: "o3-mini",
  7770. api: "openai-responses",
  7771. provider: "openai",
  7772. baseUrl: "https://api.openai.com/v1",
  7773. reasoning: true,
  7774. input: ["text"],
  7775. cost: {
  7776. input: 1.1,
  7777. output: 4.4,
  7778. cacheRead: 0.55,
  7779. cacheWrite: 0,
  7780. },
  7781. contextWindow: 200000,
  7782. maxTokens: 100000,
  7783. } satisfies Model<"openai-responses">,
  7784. "o3-pro": {
  7785. id: "o3-pro",
  7786. name: "o3-pro",
  7787. api: "openai-responses",
  7788. provider: "openai",
  7789. baseUrl: "https://api.openai.com/v1",
  7790. reasoning: true,
  7791. input: ["text", "image"],
  7792. cost: {
  7793. input: 20,
  7794. output: 80,
  7795. cacheRead: 0,
  7796. cacheWrite: 0,
  7797. },
  7798. contextWindow: 200000,
  7799. maxTokens: 100000,
  7800. } satisfies Model<"openai-responses">,
  7801. "o4-mini": {
  7802. id: "o4-mini",
  7803. name: "o4-mini",
  7804. api: "openai-responses",
  7805. provider: "openai",
  7806. baseUrl: "https://api.openai.com/v1",
  7807. reasoning: true,
  7808. input: ["text", "image"],
  7809. cost: {
  7810. input: 1.1,
  7811. output: 4.4,
  7812. cacheRead: 0.275,
  7813. cacheWrite: 0,
  7814. },
  7815. contextWindow: 200000,
  7816. maxTokens: 100000,
  7817. } satisfies Model<"openai-responses">,
  7818. "o4-mini-deep-research": {
  7819. id: "o4-mini-deep-research",
  7820. name: "o4-mini-deep-research",
  7821. api: "openai-responses",
  7822. provider: "openai",
  7823. baseUrl: "https://api.openai.com/v1",
  7824. reasoning: true,
  7825. input: ["text", "image"],
  7826. cost: {
  7827. input: 2,
  7828. output: 8,
  7829. cacheRead: 0.5,
  7830. cacheWrite: 0,
  7831. },
  7832. contextWindow: 200000,
  7833. maxTokens: 100000,
  7834. } satisfies Model<"openai-responses">,
  7835. },
  7836. "openai-codex": {
  7837. "gpt-5.3-codex-spark": {
  7838. id: "gpt-5.3-codex-spark",
  7839. name: "GPT-5.3 Codex Spark",
  7840. api: "openai-codex-responses",
  7841. provider: "openai-codex",
  7842. baseUrl: "https://chatgpt.com/backend-api",
  7843. reasoning: true,
  7844. thinkingLevelMap: {"xhigh":"xhigh","minimal":"low"},
  7845. input: ["text"],
  7846. cost: {
  7847. input: 1.75,
  7848. output: 14,
  7849. cacheRead: 0.175,
  7850. cacheWrite: 0,
  7851. },
  7852. contextWindow: 128000,
  7853. maxTokens: 128000,
  7854. } satisfies Model<"openai-codex-responses">,
  7855. "gpt-5.4": {
  7856. id: "gpt-5.4",
  7857. name: "GPT-5.4",
  7858. api: "openai-codex-responses",
  7859. provider: "openai-codex",
  7860. baseUrl: "https://chatgpt.com/backend-api",
  7861. reasoning: true,
  7862. thinkingLevelMap: {"xhigh":"xhigh","minimal":"low"},
  7863. input: ["text", "image"],
  7864. cost: {
  7865. input: 2.5,
  7866. output: 15,
  7867. cacheRead: 0.25,
  7868. cacheWrite: 0,
  7869. },
  7870. contextWindow: 272000,
  7871. maxTokens: 128000,
  7872. } satisfies Model<"openai-codex-responses">,
  7873. "gpt-5.4-mini": {
  7874. id: "gpt-5.4-mini",
  7875. name: "GPT-5.4 mini",
  7876. api: "openai-codex-responses",
  7877. provider: "openai-codex",
  7878. baseUrl: "https://chatgpt.com/backend-api",
  7879. reasoning: true,
  7880. thinkingLevelMap: {"xhigh":"xhigh","minimal":"low"},
  7881. input: ["text", "image"],
  7882. cost: {
  7883. input: 0.75,
  7884. output: 4.5,
  7885. cacheRead: 0.075,
  7886. cacheWrite: 0,
  7887. },
  7888. contextWindow: 272000,
  7889. maxTokens: 128000,
  7890. } satisfies Model<"openai-codex-responses">,
  7891. "gpt-5.5": {
  7892. id: "gpt-5.5",
  7893. name: "GPT-5.5",
  7894. api: "openai-codex-responses",
  7895. provider: "openai-codex",
  7896. baseUrl: "https://chatgpt.com/backend-api",
  7897. reasoning: true,
  7898. thinkingLevelMap: {"xhigh":"xhigh","minimal":"low"},
  7899. input: ["text", "image"],
  7900. cost: {
  7901. input: 5,
  7902. output: 30,
  7903. cacheRead: 0.5,
  7904. cacheWrite: 0,
  7905. },
  7906. contextWindow: 272000,
  7907. maxTokens: 128000,
  7908. } satisfies Model<"openai-codex-responses">,
  7909. "gpt-5.6-luna": {
  7910. id: "gpt-5.6-luna",
  7911. name: "GPT-5.6 Luna",
  7912. api: "openai-codex-responses",
  7913. provider: "openai-codex",
  7914. baseUrl: "https://chatgpt.com/backend-api",
  7915. reasoning: true,
  7916. thinkingLevelMap: {"xhigh":"xhigh","max":"max","minimal":"low"},
  7917. input: ["text", "image"],
  7918. cost: {
  7919. input: 1,
  7920. output: 6,
  7921. cacheRead: 0.1,
  7922. cacheWrite: 1.25,
  7923. },
  7924. contextWindow: 372000,
  7925. maxTokens: 128000,
  7926. } satisfies Model<"openai-codex-responses">,
  7927. "gpt-5.6-sol": {
  7928. id: "gpt-5.6-sol",
  7929. name: "GPT-5.6 Sol",
  7930. api: "openai-codex-responses",
  7931. provider: "openai-codex",
  7932. baseUrl: "https://chatgpt.com/backend-api",
  7933. reasoning: true,
  7934. thinkingLevelMap: {"xhigh":"xhigh","max":"max","minimal":"low"},
  7935. input: ["text", "image"],
  7936. cost: {
  7937. input: 5,
  7938. output: 30,
  7939. cacheRead: 0.5,
  7940. cacheWrite: 6.25,
  7941. },
  7942. contextWindow: 372000,
  7943. maxTokens: 128000,
  7944. } satisfies Model<"openai-codex-responses">,
  7945. "gpt-5.6-terra": {
  7946. id: "gpt-5.6-terra",
  7947. name: "GPT-5.6 Terra",
  7948. api: "openai-codex-responses",
  7949. provider: "openai-codex",
  7950. baseUrl: "https://chatgpt.com/backend-api",
  7951. reasoning: true,
  7952. thinkingLevelMap: {"xhigh":"xhigh","max":"max","minimal":"low"},
  7953. input: ["text", "image"],
  7954. cost: {
  7955. input: 2.5,
  7956. output: 15,
  7957. cacheRead: 0.25,
  7958. cacheWrite: 3.125,
  7959. },
  7960. contextWindow: 372000,
  7961. maxTokens: 128000,
  7962. } satisfies Model<"openai-codex-responses">,
  7963. },
  7964. "opencode": {
  7965. "big-pickle": {
  7966. id: "big-pickle",
  7967. name: "Big Pickle",
  7968. api: "openai-completions",
  7969. provider: "opencode",
  7970. baseUrl: "https://opencode.ai/zen/v1",
  7971. compat: {"maxTokensField":"max_tokens"},
  7972. reasoning: true,
  7973. input: ["text"],
  7974. cost: {
  7975. input: 0,
  7976. output: 0,
  7977. cacheRead: 0,
  7978. cacheWrite: 0,
  7979. },
  7980. contextWindow: 200000,
  7981. maxTokens: 32000,
  7982. } satisfies Model<"openai-completions">,
  7983. "claude-fable-5": {
  7984. id: "claude-fable-5",
  7985. name: "Claude Fable 5",
  7986. api: "anthropic-messages",
  7987. provider: "opencode",
  7988. baseUrl: "https://opencode.ai/zen",
  7989. compat: {"forceAdaptiveThinking":true},
  7990. reasoning: true,
  7991. thinkingLevelMap: {"xhigh":"xhigh"},
  7992. input: ["text", "image"],
  7993. cost: {
  7994. input: 10,
  7995. output: 50,
  7996. cacheRead: 1,
  7997. cacheWrite: 12.5,
  7998. },
  7999. contextWindow: 1000000,
  8000. maxTokens: 128000,
  8001. } satisfies Model<"anthropic-messages">,
  8002. "claude-haiku-4-5": {
  8003. id: "claude-haiku-4-5",
  8004. name: "Claude Haiku 4.5",
  8005. api: "anthropic-messages",
  8006. provider: "opencode",
  8007. baseUrl: "https://opencode.ai/zen",
  8008. reasoning: true,
  8009. input: ["text", "image"],
  8010. cost: {
  8011. input: 1,
  8012. output: 5,
  8013. cacheRead: 0.1,
  8014. cacheWrite: 1.25,
  8015. },
  8016. contextWindow: 200000,
  8017. maxTokens: 64000,
  8018. } satisfies Model<"anthropic-messages">,
  8019. "claude-opus-4-1": {
  8020. id: "claude-opus-4-1",
  8021. name: "Claude Opus 4.1",
  8022. api: "anthropic-messages",
  8023. provider: "opencode",
  8024. baseUrl: "https://opencode.ai/zen",
  8025. reasoning: true,
  8026. input: ["text", "image"],
  8027. cost: {
  8028. input: 15,
  8029. output: 75,
  8030. cacheRead: 1.5,
  8031. cacheWrite: 18.75,
  8032. },
  8033. contextWindow: 200000,
  8034. maxTokens: 32000,
  8035. } satisfies Model<"anthropic-messages">,
  8036. "claude-opus-4-5": {
  8037. id: "claude-opus-4-5",
  8038. name: "Claude Opus 4.5",
  8039. api: "anthropic-messages",
  8040. provider: "opencode",
  8041. baseUrl: "https://opencode.ai/zen",
  8042. reasoning: true,
  8043. input: ["text", "image"],
  8044. cost: {
  8045. input: 5,
  8046. output: 25,
  8047. cacheRead: 0.5,
  8048. cacheWrite: 6.25,
  8049. },
  8050. contextWindow: 200000,
  8051. maxTokens: 64000,
  8052. } satisfies Model<"anthropic-messages">,
  8053. "claude-opus-4-6": {
  8054. id: "claude-opus-4-6",
  8055. name: "Claude Opus 4.6",
  8056. api: "anthropic-messages",
  8057. provider: "opencode",
  8058. baseUrl: "https://opencode.ai/zen",
  8059. compat: {"forceAdaptiveThinking":true},
  8060. reasoning: true,
  8061. thinkingLevelMap: {"xhigh":"max"},
  8062. input: ["text", "image"],
  8063. cost: {
  8064. input: 5,
  8065. output: 25,
  8066. cacheRead: 0.5,
  8067. cacheWrite: 6.25,
  8068. },
  8069. contextWindow: 1000000,
  8070. maxTokens: 128000,
  8071. } satisfies Model<"anthropic-messages">,
  8072. "claude-opus-4-7": {
  8073. id: "claude-opus-4-7",
  8074. name: "Claude Opus 4.7",
  8075. api: "anthropic-messages",
  8076. provider: "opencode",
  8077. baseUrl: "https://opencode.ai/zen",
  8078. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  8079. reasoning: true,
  8080. thinkingLevelMap: {"xhigh":"xhigh"},
  8081. input: ["text", "image"],
  8082. cost: {
  8083. input: 5,
  8084. output: 25,
  8085. cacheRead: 0.5,
  8086. cacheWrite: 6.25,
  8087. },
  8088. contextWindow: 1000000,
  8089. maxTokens: 128000,
  8090. } satisfies Model<"anthropic-messages">,
  8091. "claude-opus-4-8": {
  8092. id: "claude-opus-4-8",
  8093. name: "Claude Opus 4.8",
  8094. api: "anthropic-messages",
  8095. provider: "opencode",
  8096. baseUrl: "https://opencode.ai/zen",
  8097. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  8098. reasoning: true,
  8099. thinkingLevelMap: {"xhigh":"xhigh"},
  8100. input: ["text", "image"],
  8101. cost: {
  8102. input: 5,
  8103. output: 25,
  8104. cacheRead: 0.5,
  8105. cacheWrite: 6.25,
  8106. },
  8107. contextWindow: 1000000,
  8108. maxTokens: 128000,
  8109. } satisfies Model<"anthropic-messages">,
  8110. "claude-sonnet-4": {
  8111. id: "claude-sonnet-4",
  8112. name: "Claude Sonnet 4",
  8113. api: "anthropic-messages",
  8114. provider: "opencode",
  8115. baseUrl: "https://opencode.ai/zen",
  8116. reasoning: true,
  8117. input: ["text", "image"],
  8118. cost: {
  8119. input: 3,
  8120. output: 15,
  8121. cacheRead: 0.3,
  8122. cacheWrite: 3.75,
  8123. },
  8124. contextWindow: 200000,
  8125. maxTokens: 64000,
  8126. } satisfies Model<"anthropic-messages">,
  8127. "claude-sonnet-4-5": {
  8128. id: "claude-sonnet-4-5",
  8129. name: "Claude Sonnet 4.5",
  8130. api: "anthropic-messages",
  8131. provider: "opencode",
  8132. baseUrl: "https://opencode.ai/zen",
  8133. reasoning: true,
  8134. input: ["text", "image"],
  8135. cost: {
  8136. input: 3,
  8137. output: 15,
  8138. cacheRead: 0.3,
  8139. cacheWrite: 3.75,
  8140. },
  8141. contextWindow: 200000,
  8142. maxTokens: 64000,
  8143. } satisfies Model<"anthropic-messages">,
  8144. "claude-sonnet-4-6": {
  8145. id: "claude-sonnet-4-6",
  8146. name: "Claude Sonnet 4.6",
  8147. api: "anthropic-messages",
  8148. provider: "opencode",
  8149. baseUrl: "https://opencode.ai/zen",
  8150. compat: {"forceAdaptiveThinking":true},
  8151. reasoning: true,
  8152. input: ["text", "image"],
  8153. cost: {
  8154. input: 3,
  8155. output: 15,
  8156. cacheRead: 0.3,
  8157. cacheWrite: 3.75,
  8158. },
  8159. contextWindow: 1000000,
  8160. maxTokens: 64000,
  8161. } satisfies Model<"anthropic-messages">,
  8162. "deepseek-v4-flash": {
  8163. id: "deepseek-v4-flash",
  8164. name: "DeepSeek V4 Flash",
  8165. api: "openai-completions",
  8166. provider: "opencode",
  8167. baseUrl: "https://opencode.ai/zen/v1",
  8168. compat: {"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  8169. reasoning: true,
  8170. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
  8171. input: ["text"],
  8172. cost: {
  8173. input: 0.14,
  8174. output: 0.28,
  8175. cacheRead: 0.03,
  8176. cacheWrite: 0,
  8177. },
  8178. contextWindow: 1000000,
  8179. maxTokens: 384000,
  8180. } satisfies Model<"openai-completions">,
  8181. "deepseek-v4-flash-free": {
  8182. id: "deepseek-v4-flash-free",
  8183. name: "DeepSeek V4 Flash Free",
  8184. api: "openai-completions",
  8185. provider: "opencode",
  8186. baseUrl: "https://opencode.ai/zen/v1",
  8187. compat: {"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  8188. reasoning: true,
  8189. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
  8190. input: ["text"],
  8191. cost: {
  8192. input: 0,
  8193. output: 0,
  8194. cacheRead: 0,
  8195. cacheWrite: 0,
  8196. },
  8197. contextWindow: 200000,
  8198. maxTokens: 128000,
  8199. } satisfies Model<"openai-completions">,
  8200. "gemini-3-flash": {
  8201. id: "gemini-3-flash",
  8202. name: "Gemini 3 Flash",
  8203. api: "google-generative-ai",
  8204. provider: "opencode",
  8205. baseUrl: "https://opencode.ai/zen/v1",
  8206. reasoning: true,
  8207. thinkingLevelMap: {"off":null},
  8208. input: ["text", "image"],
  8209. cost: {
  8210. input: 0.5,
  8211. output: 3,
  8212. cacheRead: 0.05,
  8213. cacheWrite: 0,
  8214. },
  8215. contextWindow: 1048576,
  8216. maxTokens: 65536,
  8217. } satisfies Model<"google-generative-ai">,
  8218. "gemini-3.1-pro": {
  8219. id: "gemini-3.1-pro",
  8220. name: "Gemini 3.1 Pro Preview",
  8221. api: "google-generative-ai",
  8222. provider: "opencode",
  8223. baseUrl: "https://opencode.ai/zen/v1",
  8224. reasoning: true,
  8225. thinkingLevelMap: {"off":null,"minimal":null,"low":"LOW","medium":null,"high":"HIGH"},
  8226. input: ["text", "image"],
  8227. cost: {
  8228. input: 2,
  8229. output: 12,
  8230. cacheRead: 0.2,
  8231. cacheWrite: 0,
  8232. },
  8233. contextWindow: 1048576,
  8234. maxTokens: 65536,
  8235. } satisfies Model<"google-generative-ai">,
  8236. "gemini-3.5-flash": {
  8237. id: "gemini-3.5-flash",
  8238. name: "Gemini 3.5 Flash",
  8239. api: "google-generative-ai",
  8240. provider: "opencode",
  8241. baseUrl: "https://opencode.ai/zen/v1",
  8242. reasoning: true,
  8243. thinkingLevelMap: {"off":null},
  8244. input: ["text", "image"],
  8245. cost: {
  8246. input: 1.5,
  8247. output: 9,
  8248. cacheRead: 0.15,
  8249. cacheWrite: 0,
  8250. },
  8251. contextWindow: 1048576,
  8252. maxTokens: 65536,
  8253. } satisfies Model<"google-generative-ai">,
  8254. "glm-5": {
  8255. id: "glm-5",
  8256. name: "GLM-5",
  8257. api: "openai-completions",
  8258. provider: "opencode",
  8259. baseUrl: "https://opencode.ai/zen/v1",
  8260. compat: {"maxTokensField":"max_tokens"},
  8261. reasoning: true,
  8262. input: ["text"],
  8263. cost: {
  8264. input: 1,
  8265. output: 3.2,
  8266. cacheRead: 0.2,
  8267. cacheWrite: 0,
  8268. },
  8269. contextWindow: 204800,
  8270. maxTokens: 131072,
  8271. } satisfies Model<"openai-completions">,
  8272. "glm-5.1": {
  8273. id: "glm-5.1",
  8274. name: "GLM-5.1",
  8275. api: "openai-completions",
  8276. provider: "opencode",
  8277. baseUrl: "https://opencode.ai/zen/v1",
  8278. compat: {"maxTokensField":"max_tokens"},
  8279. reasoning: true,
  8280. input: ["text"],
  8281. cost: {
  8282. input: 1.4,
  8283. output: 4.4,
  8284. cacheRead: 0.26,
  8285. cacheWrite: 0,
  8286. },
  8287. contextWindow: 204800,
  8288. maxTokens: 131072,
  8289. } satisfies Model<"openai-completions">,
  8290. "gpt-5": {
  8291. id: "gpt-5",
  8292. name: "GPT-5",
  8293. api: "openai-responses",
  8294. provider: "opencode",
  8295. baseUrl: "https://opencode.ai/zen/v1",
  8296. reasoning: true,
  8297. thinkingLevelMap: {"off":null},
  8298. input: ["text", "image"],
  8299. cost: {
  8300. input: 1.07,
  8301. output: 8.5,
  8302. cacheRead: 0.107,
  8303. cacheWrite: 0,
  8304. },
  8305. contextWindow: 400000,
  8306. maxTokens: 128000,
  8307. } satisfies Model<"openai-responses">,
  8308. "gpt-5-codex": {
  8309. id: "gpt-5-codex",
  8310. name: "GPT-5 Codex",
  8311. api: "openai-responses",
  8312. provider: "opencode",
  8313. baseUrl: "https://opencode.ai/zen/v1",
  8314. reasoning: true,
  8315. thinkingLevelMap: {"off":null},
  8316. input: ["text", "image"],
  8317. cost: {
  8318. input: 1.07,
  8319. output: 8.5,
  8320. cacheRead: 0.107,
  8321. cacheWrite: 0,
  8322. },
  8323. contextWindow: 400000,
  8324. maxTokens: 128000,
  8325. } satisfies Model<"openai-responses">,
  8326. "gpt-5-nano": {
  8327. id: "gpt-5-nano",
  8328. name: "GPT-5 Nano",
  8329. api: "openai-responses",
  8330. provider: "opencode",
  8331. baseUrl: "https://opencode.ai/zen/v1",
  8332. reasoning: true,
  8333. thinkingLevelMap: {"off":null},
  8334. input: ["text", "image"],
  8335. cost: {
  8336. input: 0.05,
  8337. output: 0.4,
  8338. cacheRead: 0.005,
  8339. cacheWrite: 0,
  8340. },
  8341. contextWindow: 400000,
  8342. maxTokens: 128000,
  8343. } satisfies Model<"openai-responses">,
  8344. "gpt-5.1": {
  8345. id: "gpt-5.1",
  8346. name: "GPT-5.1",
  8347. api: "openai-responses",
  8348. provider: "opencode",
  8349. baseUrl: "https://opencode.ai/zen/v1",
  8350. reasoning: true,
  8351. thinkingLevelMap: {"off":null},
  8352. input: ["text", "image"],
  8353. cost: {
  8354. input: 1.07,
  8355. output: 8.5,
  8356. cacheRead: 0.107,
  8357. cacheWrite: 0,
  8358. },
  8359. contextWindow: 400000,
  8360. maxTokens: 128000,
  8361. } satisfies Model<"openai-responses">,
  8362. "gpt-5.1-codex": {
  8363. id: "gpt-5.1-codex",
  8364. name: "GPT-5.1 Codex",
  8365. api: "openai-responses",
  8366. provider: "opencode",
  8367. baseUrl: "https://opencode.ai/zen/v1",
  8368. reasoning: true,
  8369. thinkingLevelMap: {"off":null},
  8370. input: ["text", "image"],
  8371. cost: {
  8372. input: 1.07,
  8373. output: 8.5,
  8374. cacheRead: 0.107,
  8375. cacheWrite: 0,
  8376. },
  8377. contextWindow: 400000,
  8378. maxTokens: 128000,
  8379. } satisfies Model<"openai-responses">,
  8380. "gpt-5.1-codex-max": {
  8381. id: "gpt-5.1-codex-max",
  8382. name: "GPT-5.1 Codex Max",
  8383. api: "openai-responses",
  8384. provider: "opencode",
  8385. baseUrl: "https://opencode.ai/zen/v1",
  8386. reasoning: true,
  8387. thinkingLevelMap: {"off":null},
  8388. input: ["text", "image"],
  8389. cost: {
  8390. input: 1.25,
  8391. output: 10,
  8392. cacheRead: 0.125,
  8393. cacheWrite: 0,
  8394. },
  8395. contextWindow: 400000,
  8396. maxTokens: 128000,
  8397. } satisfies Model<"openai-responses">,
  8398. "gpt-5.1-codex-mini": {
  8399. id: "gpt-5.1-codex-mini",
  8400. name: "GPT-5.1 Codex Mini",
  8401. api: "openai-responses",
  8402. provider: "opencode",
  8403. baseUrl: "https://opencode.ai/zen/v1",
  8404. reasoning: true,
  8405. thinkingLevelMap: {"off":null},
  8406. input: ["text", "image"],
  8407. cost: {
  8408. input: 0.25,
  8409. output: 2,
  8410. cacheRead: 0.025,
  8411. cacheWrite: 0,
  8412. },
  8413. contextWindow: 400000,
  8414. maxTokens: 128000,
  8415. } satisfies Model<"openai-responses">,
  8416. "gpt-5.2": {
  8417. id: "gpt-5.2",
  8418. name: "GPT-5.2",
  8419. api: "openai-responses",
  8420. provider: "opencode",
  8421. baseUrl: "https://opencode.ai/zen/v1",
  8422. reasoning: true,
  8423. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  8424. input: ["text", "image"],
  8425. cost: {
  8426. input: 1.75,
  8427. output: 14,
  8428. cacheRead: 0.175,
  8429. cacheWrite: 0,
  8430. },
  8431. contextWindow: 400000,
  8432. maxTokens: 128000,
  8433. } satisfies Model<"openai-responses">,
  8434. "gpt-5.2-codex": {
  8435. id: "gpt-5.2-codex",
  8436. name: "GPT-5.2 Codex",
  8437. api: "openai-responses",
  8438. provider: "opencode",
  8439. baseUrl: "https://opencode.ai/zen/v1",
  8440. reasoning: true,
  8441. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  8442. input: ["text", "image"],
  8443. cost: {
  8444. input: 1.75,
  8445. output: 14,
  8446. cacheRead: 0.175,
  8447. cacheWrite: 0,
  8448. },
  8449. contextWindow: 400000,
  8450. maxTokens: 128000,
  8451. } satisfies Model<"openai-responses">,
  8452. "gpt-5.3-codex": {
  8453. id: "gpt-5.3-codex",
  8454. name: "GPT-5.3 Codex",
  8455. api: "openai-responses",
  8456. provider: "opencode",
  8457. baseUrl: "https://opencode.ai/zen/v1",
  8458. reasoning: true,
  8459. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  8460. input: ["text", "image"],
  8461. cost: {
  8462. input: 1.75,
  8463. output: 14,
  8464. cacheRead: 0.175,
  8465. cacheWrite: 0,
  8466. },
  8467. contextWindow: 400000,
  8468. maxTokens: 128000,
  8469. } satisfies Model<"openai-responses">,
  8470. "gpt-5.4": {
  8471. id: "gpt-5.4",
  8472. name: "GPT-5.4",
  8473. api: "openai-responses",
  8474. provider: "opencode",
  8475. baseUrl: "https://opencode.ai/zen/v1",
  8476. reasoning: true,
  8477. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  8478. input: ["text", "image"],
  8479. cost: {
  8480. input: 2.5,
  8481. output: 15,
  8482. cacheRead: 0.25,
  8483. cacheWrite: 0,
  8484. },
  8485. contextWindow: 272000,
  8486. maxTokens: 128000,
  8487. } satisfies Model<"openai-responses">,
  8488. "gpt-5.4-mini": {
  8489. id: "gpt-5.4-mini",
  8490. name: "GPT-5.4 Mini",
  8491. api: "openai-responses",
  8492. provider: "opencode",
  8493. baseUrl: "https://opencode.ai/zen/v1",
  8494. reasoning: true,
  8495. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  8496. input: ["text", "image"],
  8497. cost: {
  8498. input: 0.75,
  8499. output: 4.5,
  8500. cacheRead: 0.075,
  8501. cacheWrite: 0,
  8502. },
  8503. contextWindow: 400000,
  8504. maxTokens: 128000,
  8505. } satisfies Model<"openai-responses">,
  8506. "gpt-5.4-nano": {
  8507. id: "gpt-5.4-nano",
  8508. name: "GPT-5.4 Nano",
  8509. api: "openai-responses",
  8510. provider: "opencode",
  8511. baseUrl: "https://opencode.ai/zen/v1",
  8512. reasoning: true,
  8513. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  8514. input: ["text", "image"],
  8515. cost: {
  8516. input: 0.2,
  8517. output: 1.25,
  8518. cacheRead: 0.02,
  8519. cacheWrite: 0,
  8520. },
  8521. contextWindow: 400000,
  8522. maxTokens: 128000,
  8523. } satisfies Model<"openai-responses">,
  8524. "gpt-5.4-pro": {
  8525. id: "gpt-5.4-pro",
  8526. name: "GPT-5.4 Pro",
  8527. api: "openai-responses",
  8528. provider: "opencode",
  8529. baseUrl: "https://opencode.ai/zen/v1",
  8530. reasoning: true,
  8531. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  8532. input: ["text", "image"],
  8533. cost: {
  8534. input: 30,
  8535. output: 180,
  8536. cacheRead: 30,
  8537. cacheWrite: 0,
  8538. },
  8539. contextWindow: 1050000,
  8540. maxTokens: 128000,
  8541. } satisfies Model<"openai-responses">,
  8542. "gpt-5.5": {
  8543. id: "gpt-5.5",
  8544. name: "GPT-5.5",
  8545. api: "openai-responses",
  8546. provider: "opencode",
  8547. baseUrl: "https://opencode.ai/zen/v1",
  8548. reasoning: true,
  8549. thinkingLevelMap: {"off":null,"xhigh":"xhigh"},
  8550. input: ["text", "image"],
  8551. cost: {
  8552. input: 5,
  8553. output: 30,
  8554. cacheRead: 0.5,
  8555. cacheWrite: 0,
  8556. },
  8557. contextWindow: 1050000,
  8558. maxTokens: 128000,
  8559. } satisfies Model<"openai-responses">,
  8560. "gpt-5.5-pro": {
  8561. id: "gpt-5.5-pro",
  8562. name: "GPT-5.5 Pro",
  8563. api: "openai-responses",
  8564. provider: "opencode",
  8565. baseUrl: "https://opencode.ai/zen/v1",
  8566. reasoning: true,
  8567. thinkingLevelMap: {"off":null,"xhigh":"xhigh","minimal":null,"low":null},
  8568. input: ["text", "image"],
  8569. cost: {
  8570. input: 30,
  8571. output: 180,
  8572. cacheRead: 30,
  8573. cacheWrite: 0,
  8574. },
  8575. contextWindow: 1050000,
  8576. maxTokens: 128000,
  8577. } satisfies Model<"openai-responses">,
  8578. "grok-build-0.1": {
  8579. id: "grok-build-0.1",
  8580. name: "Grok Build 0.1",
  8581. api: "openai-completions",
  8582. provider: "opencode",
  8583. baseUrl: "https://opencode.ai/zen/v1",
  8584. compat: {"supportsReasoningEffort":false,"maxTokensField":"max_tokens"},
  8585. reasoning: true,
  8586. thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null},
  8587. input: ["text", "image"],
  8588. cost: {
  8589. input: 1,
  8590. output: 2,
  8591. cacheRead: 0.2,
  8592. cacheWrite: 0,
  8593. },
  8594. contextWindow: 256000,
  8595. maxTokens: 256000,
  8596. } satisfies Model<"openai-completions">,
  8597. "kimi-k2.5": {
  8598. id: "kimi-k2.5",
  8599. name: "Kimi K2.5",
  8600. api: "openai-completions",
  8601. provider: "opencode",
  8602. baseUrl: "https://opencode.ai/zen/v1",
  8603. compat: {"maxTokensField":"max_tokens"},
  8604. reasoning: true,
  8605. input: ["text", "image"],
  8606. cost: {
  8607. input: 0.6,
  8608. output: 3,
  8609. cacheRead: 0.08,
  8610. cacheWrite: 0,
  8611. },
  8612. contextWindow: 262144,
  8613. maxTokens: 65536,
  8614. } satisfies Model<"openai-completions">,
  8615. "kimi-k2.6": {
  8616. id: "kimi-k2.6",
  8617. name: "Kimi K2.6",
  8618. api: "openai-completions",
  8619. provider: "opencode",
  8620. baseUrl: "https://opencode.ai/zen/v1",
  8621. compat: {"thinkingFormat":"deepseek","supportsReasoningEffort":false,"maxTokensField":"max_tokens"},
  8622. reasoning: true,
  8623. input: ["text", "image"],
  8624. cost: {
  8625. input: 0.95,
  8626. output: 4,
  8627. cacheRead: 0.16,
  8628. cacheWrite: 0,
  8629. },
  8630. contextWindow: 262144,
  8631. maxTokens: 65536,
  8632. } satisfies Model<"openai-completions">,
  8633. "mimo-v2.5-free": {
  8634. id: "mimo-v2.5-free",
  8635. name: "MiMo V2.5 Free",
  8636. api: "openai-completions",
  8637. provider: "opencode",
  8638. baseUrl: "https://opencode.ai/zen/v1",
  8639. compat: {"maxTokensField":"max_tokens"},
  8640. reasoning: true,
  8641. input: ["text", "image"],
  8642. cost: {
  8643. input: 0,
  8644. output: 0,
  8645. cacheRead: 0,
  8646. cacheWrite: 0,
  8647. },
  8648. contextWindow: 200000,
  8649. maxTokens: 32000,
  8650. } satisfies Model<"openai-completions">,
  8651. "minimax-m2.5": {
  8652. id: "minimax-m2.5",
  8653. name: "MiniMax M2.5",
  8654. api: "openai-completions",
  8655. provider: "opencode",
  8656. baseUrl: "https://opencode.ai/zen/v1",
  8657. compat: {"maxTokensField":"max_tokens"},
  8658. reasoning: true,
  8659. input: ["text"],
  8660. cost: {
  8661. input: 0.3,
  8662. output: 1.2,
  8663. cacheRead: 0.06,
  8664. cacheWrite: 0,
  8665. },
  8666. contextWindow: 204800,
  8667. maxTokens: 131072,
  8668. } satisfies Model<"openai-completions">,
  8669. "minimax-m2.7": {
  8670. id: "minimax-m2.7",
  8671. name: "MiniMax M2.7",
  8672. api: "openai-completions",
  8673. provider: "opencode",
  8674. baseUrl: "https://opencode.ai/zen/v1",
  8675. compat: {"maxTokensField":"max_tokens"},
  8676. reasoning: true,
  8677. input: ["text"],
  8678. cost: {
  8679. input: 0.3,
  8680. output: 1.2,
  8681. cacheRead: 0.06,
  8682. cacheWrite: 0,
  8683. },
  8684. contextWindow: 204800,
  8685. maxTokens: 131072,
  8686. } satisfies Model<"openai-completions">,
  8687. "nemotron-3-ultra-free": {
  8688. id: "nemotron-3-ultra-free",
  8689. name: "Nemotron 3 Ultra Free",
  8690. api: "openai-completions",
  8691. provider: "opencode",
  8692. baseUrl: "https://opencode.ai/zen/v1",
  8693. compat: {"maxTokensField":"max_tokens"},
  8694. reasoning: true,
  8695. input: ["text"],
  8696. cost: {
  8697. input: 0,
  8698. output: 0,
  8699. cacheRead: 0,
  8700. cacheWrite: 0,
  8701. },
  8702. contextWindow: 1000000,
  8703. maxTokens: 128000,
  8704. } satisfies Model<"openai-completions">,
  8705. "north-mini-code-free": {
  8706. id: "north-mini-code-free",
  8707. name: "North Mini Code Free",
  8708. api: "openai-completions",
  8709. provider: "opencode",
  8710. baseUrl: "https://opencode.ai/zen/v1",
  8711. compat: {"maxTokensField":"max_tokens"},
  8712. reasoning: true,
  8713. input: ["text"],
  8714. cost: {
  8715. input: 0,
  8716. output: 0,
  8717. cacheRead: 0,
  8718. cacheWrite: 0,
  8719. },
  8720. contextWindow: 256000,
  8721. maxTokens: 64000,
  8722. } satisfies Model<"openai-completions">,
  8723. "qwen3.5-plus": {
  8724. id: "qwen3.5-plus",
  8725. name: "Qwen3.5 Plus",
  8726. api: "anthropic-messages",
  8727. provider: "opencode",
  8728. baseUrl: "https://opencode.ai/zen",
  8729. reasoning: true,
  8730. input: ["text", "image"],
  8731. cost: {
  8732. input: 0.2,
  8733. output: 1.2,
  8734. cacheRead: 0.02,
  8735. cacheWrite: 0.25,
  8736. },
  8737. contextWindow: 262144,
  8738. maxTokens: 65536,
  8739. } satisfies Model<"anthropic-messages">,
  8740. "qwen3.6-plus": {
  8741. id: "qwen3.6-plus",
  8742. name: "Qwen3.6 Plus",
  8743. api: "anthropic-messages",
  8744. provider: "opencode",
  8745. baseUrl: "https://opencode.ai/zen",
  8746. reasoning: true,
  8747. input: ["text", "image"],
  8748. cost: {
  8749. input: 0.5,
  8750. output: 3,
  8751. cacheRead: 0.05,
  8752. cacheWrite: 0.625,
  8753. },
  8754. contextWindow: 262144,
  8755. maxTokens: 65536,
  8756. } satisfies Model<"anthropic-messages">,
  8757. },
  8758. "opencode-go": {
  8759. "deepseek-v4-flash": {
  8760. id: "deepseek-v4-flash",
  8761. name: "DeepSeek V4 Flash",
  8762. api: "openai-completions",
  8763. provider: "opencode-go",
  8764. baseUrl: "https://opencode.ai/zen/go/v1",
  8765. compat: {"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  8766. reasoning: true,
  8767. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
  8768. input: ["text"],
  8769. cost: {
  8770. input: 0.14,
  8771. output: 0.28,
  8772. cacheRead: 0.0028,
  8773. cacheWrite: 0,
  8774. },
  8775. contextWindow: 1000000,
  8776. maxTokens: 384000,
  8777. } satisfies Model<"openai-completions">,
  8778. "deepseek-v4-pro": {
  8779. id: "deepseek-v4-pro",
  8780. name: "DeepSeek V4 Pro",
  8781. api: "openai-completions",
  8782. provider: "opencode-go",
  8783. baseUrl: "https://opencode.ai/zen/go/v1",
  8784. compat: {"maxTokensField":"max_tokens","requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  8785. reasoning: true,
  8786. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"max"},
  8787. input: ["text"],
  8788. cost: {
  8789. input: 1.74,
  8790. output: 3.48,
  8791. cacheRead: 0.0145,
  8792. cacheWrite: 0,
  8793. },
  8794. contextWindow: 1000000,
  8795. maxTokens: 384000,
  8796. } satisfies Model<"openai-completions">,
  8797. "glm-5": {
  8798. id: "glm-5",
  8799. name: "GLM-5",
  8800. api: "openai-completions",
  8801. provider: "opencode-go",
  8802. baseUrl: "https://opencode.ai/zen/go/v1",
  8803. compat: {"maxTokensField":"max_tokens"},
  8804. reasoning: true,
  8805. input: ["text"],
  8806. cost: {
  8807. input: 1,
  8808. output: 3.2,
  8809. cacheRead: 0.2,
  8810. cacheWrite: 0,
  8811. },
  8812. contextWindow: 202752,
  8813. maxTokens: 32768,
  8814. } satisfies Model<"openai-completions">,
  8815. "glm-5.1": {
  8816. id: "glm-5.1",
  8817. name: "GLM-5.1",
  8818. api: "openai-completions",
  8819. provider: "opencode-go",
  8820. baseUrl: "https://opencode.ai/zen/go/v1",
  8821. compat: {"maxTokensField":"max_tokens"},
  8822. reasoning: true,
  8823. input: ["text"],
  8824. cost: {
  8825. input: 1.4,
  8826. output: 4.4,
  8827. cacheRead: 0.26,
  8828. cacheWrite: 0,
  8829. },
  8830. contextWindow: 202752,
  8831. maxTokens: 32768,
  8832. } satisfies Model<"openai-completions">,
  8833. "kimi-k2.5": {
  8834. id: "kimi-k2.5",
  8835. name: "Kimi K2.5",
  8836. api: "openai-completions",
  8837. provider: "opencode-go",
  8838. baseUrl: "https://opencode.ai/zen/go/v1",
  8839. compat: {"maxTokensField":"max_tokens"},
  8840. reasoning: true,
  8841. input: ["text", "image"],
  8842. cost: {
  8843. input: 0.6,
  8844. output: 3,
  8845. cacheRead: 0.1,
  8846. cacheWrite: 0,
  8847. },
  8848. contextWindow: 262144,
  8849. maxTokens: 65536,
  8850. } satisfies Model<"openai-completions">,
  8851. "kimi-k2.6": {
  8852. id: "kimi-k2.6",
  8853. name: "Kimi K2.6",
  8854. api: "openai-completions",
  8855. provider: "opencode-go",
  8856. baseUrl: "https://opencode.ai/zen/go/v1",
  8857. compat: {"thinkingFormat":"deepseek","supportsReasoningEffort":false,"maxTokensField":"max_tokens"},
  8858. reasoning: true,
  8859. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  8860. input: ["text", "image"],
  8861. cost: {
  8862. input: 0.95,
  8863. output: 4,
  8864. cacheRead: 0.16,
  8865. cacheWrite: 0,
  8866. },
  8867. contextWindow: 262144,
  8868. maxTokens: 65536,
  8869. } satisfies Model<"openai-completions">,
  8870. "mimo-v2.5": {
  8871. id: "mimo-v2.5",
  8872. name: "MiMo V2.5",
  8873. api: "openai-completions",
  8874. provider: "opencode-go",
  8875. baseUrl: "https://opencode.ai/zen/go/v1",
  8876. compat: {"maxTokensField":"max_tokens"},
  8877. reasoning: true,
  8878. input: ["text", "image"],
  8879. cost: {
  8880. input: 0.14,
  8881. output: 0.28,
  8882. cacheRead: 0.0028,
  8883. cacheWrite: 0,
  8884. },
  8885. contextWindow: 1000000,
  8886. maxTokens: 128000,
  8887. } satisfies Model<"openai-completions">,
  8888. "mimo-v2.5-pro": {
  8889. id: "mimo-v2.5-pro",
  8890. name: "MiMo V2.5 Pro",
  8891. api: "openai-completions",
  8892. provider: "opencode-go",
  8893. baseUrl: "https://opencode.ai/zen/go/v1",
  8894. compat: {"maxTokensField":"max_tokens"},
  8895. reasoning: true,
  8896. input: ["text"],
  8897. cost: {
  8898. input: 1.74,
  8899. output: 3.48,
  8900. cacheRead: 0.0145,
  8901. cacheWrite: 0,
  8902. },
  8903. contextWindow: 1048576,
  8904. maxTokens: 128000,
  8905. } satisfies Model<"openai-completions">,
  8906. "minimax-m2.5": {
  8907. id: "minimax-m2.5",
  8908. name: "MiniMax M2.5",
  8909. api: "anthropic-messages",
  8910. provider: "opencode-go",
  8911. baseUrl: "https://opencode.ai/zen/go",
  8912. reasoning: true,
  8913. input: ["text"],
  8914. cost: {
  8915. input: 0.3,
  8916. output: 1.2,
  8917. cacheRead: 0.03,
  8918. cacheWrite: 0,
  8919. },
  8920. contextWindow: 204800,
  8921. maxTokens: 65536,
  8922. } satisfies Model<"anthropic-messages">,
  8923. "minimax-m2.7": {
  8924. id: "minimax-m2.7",
  8925. name: "MiniMax M2.7",
  8926. api: "openai-completions",
  8927. provider: "opencode-go",
  8928. baseUrl: "https://opencode.ai/zen/go/v1",
  8929. compat: {"maxTokensField":"max_tokens"},
  8930. reasoning: true,
  8931. input: ["text"],
  8932. cost: {
  8933. input: 0.3,
  8934. output: 1.2,
  8935. cacheRead: 0.06,
  8936. cacheWrite: 0,
  8937. },
  8938. contextWindow: 204800,
  8939. maxTokens: 131072,
  8940. } satisfies Model<"openai-completions">,
  8941. "minimax-m3": {
  8942. id: "minimax-m3",
  8943. name: "MiniMax M3",
  8944. api: "anthropic-messages",
  8945. provider: "opencode-go",
  8946. baseUrl: "https://opencode.ai/zen/go",
  8947. reasoning: true,
  8948. input: ["text", "image"],
  8949. cost: {
  8950. input: 0.3,
  8951. output: 1.2,
  8952. cacheRead: 0.06,
  8953. cacheWrite: 0,
  8954. },
  8955. contextWindow: 512000,
  8956. maxTokens: 131072,
  8957. } satisfies Model<"anthropic-messages">,
  8958. "qwen3.6-plus": {
  8959. id: "qwen3.6-plus",
  8960. name: "Qwen3.6 Plus",
  8961. api: "openai-completions",
  8962. provider: "opencode-go",
  8963. baseUrl: "https://opencode.ai/zen/go/v1",
  8964. compat: {"thinkingFormat":"qwen","maxTokensField":"max_tokens"},
  8965. reasoning: true,
  8966. input: ["text", "image"],
  8967. cost: {
  8968. input: 0.5,
  8969. output: 3,
  8970. cacheRead: 0.05,
  8971. cacheWrite: 0.625,
  8972. },
  8973. contextWindow: 1000000,
  8974. maxTokens: 65536,
  8975. } satisfies Model<"openai-completions">,
  8976. "qwen3.7-max": {
  8977. id: "qwen3.7-max",
  8978. name: "Qwen3.7 Max",
  8979. api: "anthropic-messages",
  8980. provider: "opencode-go",
  8981. baseUrl: "https://opencode.ai/zen/go",
  8982. reasoning: true,
  8983. input: ["text"],
  8984. cost: {
  8985. input: 2.5,
  8986. output: 7.5,
  8987. cacheRead: 0.5,
  8988. cacheWrite: 3.125,
  8989. },
  8990. contextWindow: 1000000,
  8991. maxTokens: 65536,
  8992. } satisfies Model<"anthropic-messages">,
  8993. "qwen3.7-plus": {
  8994. id: "qwen3.7-plus",
  8995. name: "Qwen3.7 Plus",
  8996. api: "anthropic-messages",
  8997. provider: "opencode-go",
  8998. baseUrl: "https://opencode.ai/zen/go",
  8999. reasoning: true,
  9000. input: ["text", "image"],
  9001. cost: {
  9002. input: 0.4,
  9003. output: 1.6,
  9004. cacheRead: 0.04,
  9005. cacheWrite: 0.5,
  9006. },
  9007. contextWindow: 1000000,
  9008. maxTokens: 65536,
  9009. } satisfies Model<"anthropic-messages">,
  9010. },
  9011. "openrouter": {
  9012. "ai21/jamba-large-1.7": {
  9013. id: "ai21/jamba-large-1.7",
  9014. name: "AI21: Jamba Large 1.7",
  9015. api: "openai-completions",
  9016. provider: "openrouter",
  9017. baseUrl: "https://openrouter.ai/api/v1",
  9018. reasoning: false,
  9019. input: ["text"],
  9020. cost: {
  9021. input: 2,
  9022. output: 8,
  9023. cacheRead: 0,
  9024. cacheWrite: 0,
  9025. },
  9026. contextWindow: 256000,
  9027. maxTokens: 4096,
  9028. } satisfies Model<"openai-completions">,
  9029. "amazon/nova-2-lite-v1": {
  9030. id: "amazon/nova-2-lite-v1",
  9031. name: "Amazon: Nova 2 Lite",
  9032. api: "openai-completions",
  9033. provider: "openrouter",
  9034. baseUrl: "https://openrouter.ai/api/v1",
  9035. reasoning: true,
  9036. input: ["text", "image"],
  9037. cost: {
  9038. input: 0.3,
  9039. output: 2.5,
  9040. cacheRead: 0,
  9041. cacheWrite: 0,
  9042. },
  9043. contextWindow: 1000000,
  9044. maxTokens: 65535,
  9045. } satisfies Model<"openai-completions">,
  9046. "amazon/nova-lite-v1": {
  9047. id: "amazon/nova-lite-v1",
  9048. name: "Amazon: Nova Lite 1.0",
  9049. api: "openai-completions",
  9050. provider: "openrouter",
  9051. baseUrl: "https://openrouter.ai/api/v1",
  9052. reasoning: false,
  9053. input: ["text", "image"],
  9054. cost: {
  9055. input: 0.06,
  9056. output: 0.24,
  9057. cacheRead: 0,
  9058. cacheWrite: 0,
  9059. },
  9060. contextWindow: 300000,
  9061. maxTokens: 5120,
  9062. } satisfies Model<"openai-completions">,
  9063. "amazon/nova-micro-v1": {
  9064. id: "amazon/nova-micro-v1",
  9065. name: "Amazon: Nova Micro 1.0",
  9066. api: "openai-completions",
  9067. provider: "openrouter",
  9068. baseUrl: "https://openrouter.ai/api/v1",
  9069. reasoning: false,
  9070. input: ["text"],
  9071. cost: {
  9072. input: 0.035,
  9073. output: 0.14,
  9074. cacheRead: 0,
  9075. cacheWrite: 0,
  9076. },
  9077. contextWindow: 128000,
  9078. maxTokens: 5120,
  9079. } satisfies Model<"openai-completions">,
  9080. "amazon/nova-premier-v1": {
  9081. id: "amazon/nova-premier-v1",
  9082. name: "Amazon: Nova Premier 1.0",
  9083. api: "openai-completions",
  9084. provider: "openrouter",
  9085. baseUrl: "https://openrouter.ai/api/v1",
  9086. reasoning: false,
  9087. input: ["text", "image"],
  9088. cost: {
  9089. input: 2.5,
  9090. output: 12.5,
  9091. cacheRead: 0.625,
  9092. cacheWrite: 0,
  9093. },
  9094. contextWindow: 1000000,
  9095. maxTokens: 32000,
  9096. } satisfies Model<"openai-completions">,
  9097. "amazon/nova-pro-v1": {
  9098. id: "amazon/nova-pro-v1",
  9099. name: "Amazon: Nova Pro 1.0",
  9100. api: "openai-completions",
  9101. provider: "openrouter",
  9102. baseUrl: "https://openrouter.ai/api/v1",
  9103. reasoning: false,
  9104. input: ["text", "image"],
  9105. cost: {
  9106. input: 0.7999999999999999,
  9107. output: 3.1999999999999997,
  9108. cacheRead: 0,
  9109. cacheWrite: 0,
  9110. },
  9111. contextWindow: 300000,
  9112. maxTokens: 5120,
  9113. } satisfies Model<"openai-completions">,
  9114. "anthropic/claude-3-haiku": {
  9115. id: "anthropic/claude-3-haiku",
  9116. name: "Anthropic: Claude 3 Haiku",
  9117. api: "openai-completions",
  9118. provider: "openrouter",
  9119. baseUrl: "https://openrouter.ai/api/v1",
  9120. reasoning: false,
  9121. input: ["text", "image"],
  9122. cost: {
  9123. input: 0.25,
  9124. output: 1.25,
  9125. cacheRead: 0.03,
  9126. cacheWrite: 0.3,
  9127. },
  9128. contextWindow: 200000,
  9129. maxTokens: 4096,
  9130. } satisfies Model<"openai-completions">,
  9131. "anthropic/claude-3.5-haiku": {
  9132. id: "anthropic/claude-3.5-haiku",
  9133. name: "Anthropic: Claude 3.5 Haiku",
  9134. api: "openai-completions",
  9135. provider: "openrouter",
  9136. baseUrl: "https://openrouter.ai/api/v1",
  9137. reasoning: false,
  9138. input: ["text", "image"],
  9139. cost: {
  9140. input: 0.7999999999999999,
  9141. output: 4,
  9142. cacheRead: 0.08,
  9143. cacheWrite: 1,
  9144. },
  9145. contextWindow: 200000,
  9146. maxTokens: 8192,
  9147. } satisfies Model<"openai-completions">,
  9148. "anthropic/claude-fable-5": {
  9149. id: "anthropic/claude-fable-5",
  9150. name: "Anthropic: Claude Fable 5",
  9151. api: "openai-completions",
  9152. provider: "openrouter",
  9153. baseUrl: "https://openrouter.ai/api/v1",
  9154. reasoning: true,
  9155. input: ["text", "image"],
  9156. cost: {
  9157. input: 10,
  9158. output: 50,
  9159. cacheRead: 1,
  9160. cacheWrite: 12.5,
  9161. },
  9162. contextWindow: 1000000,
  9163. maxTokens: 128000,
  9164. } satisfies Model<"openai-completions">,
  9165. "anthropic/claude-haiku-4.5": {
  9166. id: "anthropic/claude-haiku-4.5",
  9167. name: "Anthropic: Claude Haiku 4.5",
  9168. api: "openai-completions",
  9169. provider: "openrouter",
  9170. baseUrl: "https://openrouter.ai/api/v1",
  9171. reasoning: true,
  9172. input: ["text", "image"],
  9173. cost: {
  9174. input: 1,
  9175. output: 5,
  9176. cacheRead: 0.09999999999999999,
  9177. cacheWrite: 1.25,
  9178. },
  9179. contextWindow: 200000,
  9180. maxTokens: 64000,
  9181. } satisfies Model<"openai-completions">,
  9182. "anthropic/claude-opus-4": {
  9183. id: "anthropic/claude-opus-4",
  9184. name: "Anthropic: Claude Opus 4",
  9185. api: "openai-completions",
  9186. provider: "openrouter",
  9187. baseUrl: "https://openrouter.ai/api/v1",
  9188. reasoning: true,
  9189. input: ["text", "image"],
  9190. cost: {
  9191. input: 15,
  9192. output: 75,
  9193. cacheRead: 1.5,
  9194. cacheWrite: 18.75,
  9195. },
  9196. contextWindow: 200000,
  9197. maxTokens: 32000,
  9198. } satisfies Model<"openai-completions">,
  9199. "anthropic/claude-opus-4.1": {
  9200. id: "anthropic/claude-opus-4.1",
  9201. name: "Anthropic: Claude Opus 4.1",
  9202. api: "openai-completions",
  9203. provider: "openrouter",
  9204. baseUrl: "https://openrouter.ai/api/v1",
  9205. reasoning: true,
  9206. input: ["text", "image"],
  9207. cost: {
  9208. input: 15,
  9209. output: 75,
  9210. cacheRead: 1.5,
  9211. cacheWrite: 18.75,
  9212. },
  9213. contextWindow: 200000,
  9214. maxTokens: 32000,
  9215. } satisfies Model<"openai-completions">,
  9216. "anthropic/claude-opus-4.5": {
  9217. id: "anthropic/claude-opus-4.5",
  9218. name: "Anthropic: Claude Opus 4.5",
  9219. api: "openai-completions",
  9220. provider: "openrouter",
  9221. baseUrl: "https://openrouter.ai/api/v1",
  9222. reasoning: true,
  9223. input: ["text", "image"],
  9224. cost: {
  9225. input: 5,
  9226. output: 25,
  9227. cacheRead: 0.5,
  9228. cacheWrite: 6.25,
  9229. },
  9230. contextWindow: 200000,
  9231. maxTokens: 64000,
  9232. } satisfies Model<"openai-completions">,
  9233. "anthropic/claude-opus-4.6": {
  9234. id: "anthropic/claude-opus-4.6",
  9235. name: "Anthropic: Claude Opus 4.6",
  9236. api: "openai-completions",
  9237. provider: "openrouter",
  9238. baseUrl: "https://openrouter.ai/api/v1",
  9239. reasoning: true,
  9240. thinkingLevelMap: {"xhigh":"max"},
  9241. input: ["text", "image"],
  9242. cost: {
  9243. input: 5,
  9244. output: 25,
  9245. cacheRead: 0.5,
  9246. cacheWrite: 6.25,
  9247. },
  9248. contextWindow: 1000000,
  9249. maxTokens: 128000,
  9250. } satisfies Model<"openai-completions">,
  9251. "anthropic/claude-opus-4.6-fast": {
  9252. id: "anthropic/claude-opus-4.6-fast",
  9253. name: "Anthropic: Claude Opus 4.6 (Fast)",
  9254. api: "openai-completions",
  9255. provider: "openrouter",
  9256. baseUrl: "https://openrouter.ai/api/v1",
  9257. reasoning: true,
  9258. thinkingLevelMap: {"xhigh":"max"},
  9259. input: ["text", "image"],
  9260. cost: {
  9261. input: 30,
  9262. output: 150,
  9263. cacheRead: 3,
  9264. cacheWrite: 37.5,
  9265. },
  9266. contextWindow: 1000000,
  9267. maxTokens: 128000,
  9268. } satisfies Model<"openai-completions">,
  9269. "anthropic/claude-opus-4.7": {
  9270. id: "anthropic/claude-opus-4.7",
  9271. name: "Anthropic: Claude Opus 4.7",
  9272. api: "openai-completions",
  9273. provider: "openrouter",
  9274. baseUrl: "https://openrouter.ai/api/v1",
  9275. reasoning: true,
  9276. thinkingLevelMap: {"xhigh":"xhigh"},
  9277. input: ["text", "image"],
  9278. cost: {
  9279. input: 5,
  9280. output: 25,
  9281. cacheRead: 0.5,
  9282. cacheWrite: 6.25,
  9283. },
  9284. contextWindow: 1000000,
  9285. maxTokens: 128000,
  9286. } satisfies Model<"openai-completions">,
  9287. "anthropic/claude-opus-4.7-fast": {
  9288. id: "anthropic/claude-opus-4.7-fast",
  9289. name: "Anthropic: Claude Opus 4.7 (Fast)",
  9290. api: "openai-completions",
  9291. provider: "openrouter",
  9292. baseUrl: "https://openrouter.ai/api/v1",
  9293. reasoning: true,
  9294. thinkingLevelMap: {"xhigh":"xhigh"},
  9295. input: ["text", "image"],
  9296. cost: {
  9297. input: 30,
  9298. output: 150,
  9299. cacheRead: 3,
  9300. cacheWrite: 37.5,
  9301. },
  9302. contextWindow: 1000000,
  9303. maxTokens: 128000,
  9304. } satisfies Model<"openai-completions">,
  9305. "anthropic/claude-opus-4.8": {
  9306. id: "anthropic/claude-opus-4.8",
  9307. name: "Anthropic: Claude Opus 4.8",
  9308. api: "openai-completions",
  9309. provider: "openrouter",
  9310. baseUrl: "https://openrouter.ai/api/v1",
  9311. reasoning: true,
  9312. thinkingLevelMap: {"xhigh":"xhigh"},
  9313. input: ["text", "image"],
  9314. cost: {
  9315. input: 5,
  9316. output: 25,
  9317. cacheRead: 0.5,
  9318. cacheWrite: 6.25,
  9319. },
  9320. contextWindow: 1000000,
  9321. maxTokens: 128000,
  9322. } satisfies Model<"openai-completions">,
  9323. "anthropic/claude-opus-4.8-fast": {
  9324. id: "anthropic/claude-opus-4.8-fast",
  9325. name: "Anthropic: Claude Opus 4.8 (Fast)",
  9326. api: "openai-completions",
  9327. provider: "openrouter",
  9328. baseUrl: "https://openrouter.ai/api/v1",
  9329. reasoning: true,
  9330. thinkingLevelMap: {"xhigh":"xhigh"},
  9331. input: ["text", "image"],
  9332. cost: {
  9333. input: 10,
  9334. output: 50,
  9335. cacheRead: 1,
  9336. cacheWrite: 12.5,
  9337. },
  9338. contextWindow: 1000000,
  9339. maxTokens: 128000,
  9340. } satisfies Model<"openai-completions">,
  9341. "anthropic/claude-sonnet-4": {
  9342. id: "anthropic/claude-sonnet-4",
  9343. name: "Anthropic: Claude Sonnet 4",
  9344. api: "openai-completions",
  9345. provider: "openrouter",
  9346. baseUrl: "https://openrouter.ai/api/v1",
  9347. reasoning: true,
  9348. input: ["text", "image"],
  9349. cost: {
  9350. input: 3,
  9351. output: 15,
  9352. cacheRead: 0.3,
  9353. cacheWrite: 3.75,
  9354. },
  9355. contextWindow: 1000000,
  9356. maxTokens: 64000,
  9357. } satisfies Model<"openai-completions">,
  9358. "anthropic/claude-sonnet-4.5": {
  9359. id: "anthropic/claude-sonnet-4.5",
  9360. name: "Anthropic: Claude Sonnet 4.5",
  9361. api: "openai-completions",
  9362. provider: "openrouter",
  9363. baseUrl: "https://openrouter.ai/api/v1",
  9364. reasoning: true,
  9365. input: ["text", "image"],
  9366. cost: {
  9367. input: 3,
  9368. output: 15,
  9369. cacheRead: 0.3,
  9370. cacheWrite: 3.75,
  9371. },
  9372. contextWindow: 1000000,
  9373. maxTokens: 64000,
  9374. } satisfies Model<"openai-completions">,
  9375. "anthropic/claude-sonnet-4.6": {
  9376. id: "anthropic/claude-sonnet-4.6",
  9377. name: "Anthropic: Claude Sonnet 4.6",
  9378. api: "openai-completions",
  9379. provider: "openrouter",
  9380. baseUrl: "https://openrouter.ai/api/v1",
  9381. reasoning: true,
  9382. input: ["text", "image"],
  9383. cost: {
  9384. input: 3,
  9385. output: 15,
  9386. cacheRead: 0.3,
  9387. cacheWrite: 3.75,
  9388. },
  9389. contextWindow: 1000000,
  9390. maxTokens: 128000,
  9391. } satisfies Model<"openai-completions">,
  9392. "arcee-ai/trinity-large-thinking": {
  9393. id: "arcee-ai/trinity-large-thinking",
  9394. name: "Arcee AI: Trinity Large Thinking",
  9395. api: "openai-completions",
  9396. provider: "openrouter",
  9397. baseUrl: "https://openrouter.ai/api/v1",
  9398. reasoning: true,
  9399. input: ["text"],
  9400. cost: {
  9401. input: 0.22,
  9402. output: 0.85,
  9403. cacheRead: 0.06,
  9404. cacheWrite: 0,
  9405. },
  9406. contextWindow: 262144,
  9407. maxTokens: 262144,
  9408. } satisfies Model<"openai-completions">,
  9409. "arcee-ai/trinity-mini": {
  9410. id: "arcee-ai/trinity-mini",
  9411. name: "Arcee AI: Trinity Mini",
  9412. api: "openai-completions",
  9413. provider: "openrouter",
  9414. baseUrl: "https://openrouter.ai/api/v1",
  9415. reasoning: true,
  9416. input: ["text"],
  9417. cost: {
  9418. input: 0.045,
  9419. output: 0.15,
  9420. cacheRead: 0,
  9421. cacheWrite: 0,
  9422. },
  9423. contextWindow: 131072,
  9424. maxTokens: 131072,
  9425. } satisfies Model<"openai-completions">,
  9426. "arcee-ai/virtuoso-large": {
  9427. id: "arcee-ai/virtuoso-large",
  9428. name: "Arcee AI: Virtuoso Large",
  9429. api: "openai-completions",
  9430. provider: "openrouter",
  9431. baseUrl: "https://openrouter.ai/api/v1",
  9432. reasoning: false,
  9433. input: ["text"],
  9434. cost: {
  9435. input: 0.75,
  9436. output: 1.2,
  9437. cacheRead: 0,
  9438. cacheWrite: 0,
  9439. },
  9440. contextWindow: 131072,
  9441. maxTokens: 64000,
  9442. } satisfies Model<"openai-completions">,
  9443. "auto": {
  9444. id: "auto",
  9445. name: "Auto",
  9446. api: "openai-completions",
  9447. provider: "openrouter",
  9448. baseUrl: "https://openrouter.ai/api/v1",
  9449. reasoning: true,
  9450. input: ["text", "image"],
  9451. cost: {
  9452. input: 0,
  9453. output: 0,
  9454. cacheRead: 0,
  9455. cacheWrite: 0,
  9456. },
  9457. contextWindow: 2000000,
  9458. maxTokens: 30000,
  9459. } satisfies Model<"openai-completions">,
  9460. "bytedance-seed/seed-1.6": {
  9461. id: "bytedance-seed/seed-1.6",
  9462. name: "ByteDance Seed: Seed 1.6",
  9463. api: "openai-completions",
  9464. provider: "openrouter",
  9465. baseUrl: "https://openrouter.ai/api/v1",
  9466. reasoning: true,
  9467. input: ["text", "image"],
  9468. cost: {
  9469. input: 0.25,
  9470. output: 2,
  9471. cacheRead: 0,
  9472. cacheWrite: 0,
  9473. },
  9474. contextWindow: 262144,
  9475. maxTokens: 32768,
  9476. } satisfies Model<"openai-completions">,
  9477. "bytedance-seed/seed-1.6-flash": {
  9478. id: "bytedance-seed/seed-1.6-flash",
  9479. name: "ByteDance Seed: Seed 1.6 Flash",
  9480. api: "openai-completions",
  9481. provider: "openrouter",
  9482. baseUrl: "https://openrouter.ai/api/v1",
  9483. reasoning: true,
  9484. input: ["text", "image"],
  9485. cost: {
  9486. input: 0.075,
  9487. output: 0.3,
  9488. cacheRead: 0,
  9489. cacheWrite: 0,
  9490. },
  9491. contextWindow: 262144,
  9492. maxTokens: 32768,
  9493. } satisfies Model<"openai-completions">,
  9494. "bytedance-seed/seed-2.0-lite": {
  9495. id: "bytedance-seed/seed-2.0-lite",
  9496. name: "ByteDance Seed: Seed-2.0-Lite",
  9497. api: "openai-completions",
  9498. provider: "openrouter",
  9499. baseUrl: "https://openrouter.ai/api/v1",
  9500. reasoning: true,
  9501. input: ["text", "image"],
  9502. cost: {
  9503. input: 0.25,
  9504. output: 2,
  9505. cacheRead: 0,
  9506. cacheWrite: 0,
  9507. },
  9508. contextWindow: 262144,
  9509. maxTokens: 131072,
  9510. } satisfies Model<"openai-completions">,
  9511. "bytedance-seed/seed-2.0-mini": {
  9512. id: "bytedance-seed/seed-2.0-mini",
  9513. name: "ByteDance Seed: Seed-2.0-Mini",
  9514. api: "openai-completions",
  9515. provider: "openrouter",
  9516. baseUrl: "https://openrouter.ai/api/v1",
  9517. reasoning: true,
  9518. input: ["text", "image"],
  9519. cost: {
  9520. input: 0.09999999999999999,
  9521. output: 0.39999999999999997,
  9522. cacheRead: 0,
  9523. cacheWrite: 0,
  9524. },
  9525. contextWindow: 262144,
  9526. maxTokens: 131072,
  9527. } satisfies Model<"openai-completions">,
  9528. "cohere/command-r-08-2024": {
  9529. id: "cohere/command-r-08-2024",
  9530. name: "Cohere: Command R (08-2024)",
  9531. api: "openai-completions",
  9532. provider: "openrouter",
  9533. baseUrl: "https://openrouter.ai/api/v1",
  9534. reasoning: false,
  9535. input: ["text"],
  9536. cost: {
  9537. input: 0.15,
  9538. output: 0.6,
  9539. cacheRead: 0,
  9540. cacheWrite: 0,
  9541. },
  9542. contextWindow: 128000,
  9543. maxTokens: 4000,
  9544. } satisfies Model<"openai-completions">,
  9545. "cohere/command-r-plus-08-2024": {
  9546. id: "cohere/command-r-plus-08-2024",
  9547. name: "Cohere: Command R+ (08-2024)",
  9548. api: "openai-completions",
  9549. provider: "openrouter",
  9550. baseUrl: "https://openrouter.ai/api/v1",
  9551. reasoning: false,
  9552. input: ["text"],
  9553. cost: {
  9554. input: 2.5,
  9555. output: 10,
  9556. cacheRead: 0,
  9557. cacheWrite: 0,
  9558. },
  9559. contextWindow: 128000,
  9560. maxTokens: 4000,
  9561. } satisfies Model<"openai-completions">,
  9562. "deepseek/deepseek-chat": {
  9563. id: "deepseek/deepseek-chat",
  9564. name: "DeepSeek: DeepSeek V3",
  9565. api: "openai-completions",
  9566. provider: "openrouter",
  9567. baseUrl: "https://openrouter.ai/api/v1",
  9568. reasoning: false,
  9569. input: ["text"],
  9570. cost: {
  9571. input: 0.20020000000000002,
  9572. output: 0.8000999999999999,
  9573. cacheRead: 0,
  9574. cacheWrite: 0,
  9575. },
  9576. contextWindow: 131072,
  9577. maxTokens: 16000,
  9578. } satisfies Model<"openai-completions">,
  9579. "deepseek/deepseek-chat-v3-0324": {
  9580. id: "deepseek/deepseek-chat-v3-0324",
  9581. name: "DeepSeek: DeepSeek V3 0324",
  9582. api: "openai-completions",
  9583. provider: "openrouter",
  9584. baseUrl: "https://openrouter.ai/api/v1",
  9585. reasoning: false,
  9586. input: ["text"],
  9587. cost: {
  9588. input: 0.19999999999999998,
  9589. output: 0.77,
  9590. cacheRead: 0.135,
  9591. cacheWrite: 0,
  9592. },
  9593. contextWindow: 163840,
  9594. maxTokens: 16384,
  9595. } satisfies Model<"openai-completions">,
  9596. "deepseek/deepseek-chat-v3.1": {
  9597. id: "deepseek/deepseek-chat-v3.1",
  9598. name: "DeepSeek: DeepSeek V3.1",
  9599. api: "openai-completions",
  9600. provider: "openrouter",
  9601. baseUrl: "https://openrouter.ai/api/v1",
  9602. reasoning: true,
  9603. input: ["text"],
  9604. cost: {
  9605. input: 0.21,
  9606. output: 0.7899999999999999,
  9607. cacheRead: 0.13,
  9608. cacheWrite: 0,
  9609. },
  9610. contextWindow: 163840,
  9611. maxTokens: 32768,
  9612. } satisfies Model<"openai-completions">,
  9613. "deepseek/deepseek-r1": {
  9614. id: "deepseek/deepseek-r1",
  9615. name: "DeepSeek: R1",
  9616. api: "openai-completions",
  9617. provider: "openrouter",
  9618. baseUrl: "https://openrouter.ai/api/v1",
  9619. reasoning: true,
  9620. input: ["text"],
  9621. cost: {
  9622. input: 0.7,
  9623. output: 2.5,
  9624. cacheRead: 0,
  9625. cacheWrite: 0,
  9626. },
  9627. contextWindow: 163840,
  9628. maxTokens: 16000,
  9629. } satisfies Model<"openai-completions">,
  9630. "deepseek/deepseek-r1-0528": {
  9631. id: "deepseek/deepseek-r1-0528",
  9632. name: "DeepSeek: R1 0528",
  9633. api: "openai-completions",
  9634. provider: "openrouter",
  9635. baseUrl: "https://openrouter.ai/api/v1",
  9636. reasoning: true,
  9637. input: ["text"],
  9638. cost: {
  9639. input: 0.5,
  9640. output: 2.1500000000000004,
  9641. cacheRead: 0.35,
  9642. cacheWrite: 0,
  9643. },
  9644. contextWindow: 163840,
  9645. maxTokens: 32768,
  9646. } satisfies Model<"openai-completions">,
  9647. "deepseek/deepseek-v3.1-terminus": {
  9648. id: "deepseek/deepseek-v3.1-terminus",
  9649. name: "DeepSeek: DeepSeek V3.1 Terminus",
  9650. api: "openai-completions",
  9651. provider: "openrouter",
  9652. baseUrl: "https://openrouter.ai/api/v1",
  9653. reasoning: true,
  9654. input: ["text"],
  9655. cost: {
  9656. input: 0.27,
  9657. output: 0.95,
  9658. cacheRead: 0.13,
  9659. cacheWrite: 0,
  9660. },
  9661. contextWindow: 163840,
  9662. maxTokens: 32768,
  9663. } satisfies Model<"openai-completions">,
  9664. "deepseek/deepseek-v3.2": {
  9665. id: "deepseek/deepseek-v3.2",
  9666. name: "DeepSeek: DeepSeek V3.2",
  9667. api: "openai-completions",
  9668. provider: "openrouter",
  9669. baseUrl: "https://openrouter.ai/api/v1",
  9670. reasoning: true,
  9671. input: ["text"],
  9672. cost: {
  9673. input: 0.2288,
  9674. output: 0.3432,
  9675. cacheRead: 0,
  9676. cacheWrite: 0,
  9677. },
  9678. contextWindow: 131072,
  9679. maxTokens: 64000,
  9680. } satisfies Model<"openai-completions">,
  9681. "deepseek/deepseek-v3.2-exp": {
  9682. id: "deepseek/deepseek-v3.2-exp",
  9683. name: "DeepSeek: DeepSeek V3.2 Exp",
  9684. api: "openai-completions",
  9685. provider: "openrouter",
  9686. baseUrl: "https://openrouter.ai/api/v1",
  9687. reasoning: true,
  9688. input: ["text"],
  9689. cost: {
  9690. input: 0.27,
  9691. output: 0.41,
  9692. cacheRead: 0,
  9693. cacheWrite: 0,
  9694. },
  9695. contextWindow: 163840,
  9696. maxTokens: 65536,
  9697. } satisfies Model<"openai-completions">,
  9698. "deepseek/deepseek-v4-flash": {
  9699. id: "deepseek/deepseek-v4-flash",
  9700. name: "DeepSeek: DeepSeek V4 Flash",
  9701. api: "openai-completions",
  9702. provider: "openrouter",
  9703. baseUrl: "https://openrouter.ai/api/v1",
  9704. compat: {"requiresReasoningContentOnAssistantMessages":true},
  9705. reasoning: true,
  9706. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"xhigh"},
  9707. input: ["text"],
  9708. cost: {
  9709. input: 0.0983,
  9710. output: 0.1966,
  9711. cacheRead: 0.019700000000000002,
  9712. cacheWrite: 0,
  9713. },
  9714. contextWindow: 1048576,
  9715. maxTokens: 131072,
  9716. } satisfies Model<"openai-completions">,
  9717. "deepseek/deepseek-v4-pro": {
  9718. id: "deepseek/deepseek-v4-pro",
  9719. name: "DeepSeek: DeepSeek V4 Pro",
  9720. api: "openai-completions",
  9721. provider: "openrouter",
  9722. baseUrl: "https://openrouter.ai/api/v1",
  9723. compat: {"requiresReasoningContentOnAssistantMessages":true},
  9724. reasoning: true,
  9725. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":"xhigh"},
  9726. input: ["text"],
  9727. cost: {
  9728. input: 0.435,
  9729. output: 0.87,
  9730. cacheRead: 0.003625,
  9731. cacheWrite: 0,
  9732. },
  9733. contextWindow: 1048576,
  9734. maxTokens: 384000,
  9735. } satisfies Model<"openai-completions">,
  9736. "essentialai/rnj-1-instruct": {
  9737. id: "essentialai/rnj-1-instruct",
  9738. name: "EssentialAI: Rnj 1 Instruct",
  9739. api: "openai-completions",
  9740. provider: "openrouter",
  9741. baseUrl: "https://openrouter.ai/api/v1",
  9742. reasoning: false,
  9743. input: ["text"],
  9744. cost: {
  9745. input: 0.15,
  9746. output: 0.15,
  9747. cacheRead: 0,
  9748. cacheWrite: 0,
  9749. },
  9750. contextWindow: 32768,
  9751. maxTokens: 4096,
  9752. } satisfies Model<"openai-completions">,
  9753. "google/gemini-2.5-flash": {
  9754. id: "google/gemini-2.5-flash",
  9755. name: "Google: Gemini 2.5 Flash",
  9756. api: "openai-completions",
  9757. provider: "openrouter",
  9758. baseUrl: "https://openrouter.ai/api/v1",
  9759. reasoning: true,
  9760. input: ["text", "image"],
  9761. cost: {
  9762. input: 0.3,
  9763. output: 2.5,
  9764. cacheRead: 0.03,
  9765. cacheWrite: 0.08333333333333334,
  9766. },
  9767. contextWindow: 1048576,
  9768. maxTokens: 65535,
  9769. } satisfies Model<"openai-completions">,
  9770. "google/gemini-2.5-flash-lite": {
  9771. id: "google/gemini-2.5-flash-lite",
  9772. name: "Google: Gemini 2.5 Flash Lite",
  9773. api: "openai-completions",
  9774. provider: "openrouter",
  9775. baseUrl: "https://openrouter.ai/api/v1",
  9776. reasoning: true,
  9777. input: ["text", "image"],
  9778. cost: {
  9779. input: 0.09999999999999999,
  9780. output: 0.39999999999999997,
  9781. cacheRead: 0.01,
  9782. cacheWrite: 0.08333333333333334,
  9783. },
  9784. contextWindow: 1048576,
  9785. maxTokens: 65535,
  9786. } satisfies Model<"openai-completions">,
  9787. "google/gemini-2.5-flash-lite-preview-09-2025": {
  9788. id: "google/gemini-2.5-flash-lite-preview-09-2025",
  9789. name: "Google: Gemini 2.5 Flash Lite Preview 09-2025",
  9790. api: "openai-completions",
  9791. provider: "openrouter",
  9792. baseUrl: "https://openrouter.ai/api/v1",
  9793. reasoning: true,
  9794. input: ["text", "image"],
  9795. cost: {
  9796. input: 0.09999999999999999,
  9797. output: 0.39999999999999997,
  9798. cacheRead: 0.01,
  9799. cacheWrite: 0.08333333333333334,
  9800. },
  9801. contextWindow: 1048576,
  9802. maxTokens: 65535,
  9803. } satisfies Model<"openai-completions">,
  9804. "google/gemini-2.5-pro": {
  9805. id: "google/gemini-2.5-pro",
  9806. name: "Google: Gemini 2.5 Pro",
  9807. api: "openai-completions",
  9808. provider: "openrouter",
  9809. baseUrl: "https://openrouter.ai/api/v1",
  9810. reasoning: true,
  9811. input: ["text", "image"],
  9812. cost: {
  9813. input: 1.25,
  9814. output: 10,
  9815. cacheRead: 0.125,
  9816. cacheWrite: 0.375,
  9817. },
  9818. contextWindow: 1048576,
  9819. maxTokens: 65536,
  9820. } satisfies Model<"openai-completions">,
  9821. "google/gemini-2.5-pro-preview": {
  9822. id: "google/gemini-2.5-pro-preview",
  9823. name: "Google: Gemini 2.5 Pro Preview 06-05",
  9824. api: "openai-completions",
  9825. provider: "openrouter",
  9826. baseUrl: "https://openrouter.ai/api/v1",
  9827. reasoning: true,
  9828. input: ["text", "image"],
  9829. cost: {
  9830. input: 1.25,
  9831. output: 10,
  9832. cacheRead: 0.125,
  9833. cacheWrite: 0.375,
  9834. },
  9835. contextWindow: 1048576,
  9836. maxTokens: 65536,
  9837. } satisfies Model<"openai-completions">,
  9838. "google/gemini-2.5-pro-preview-05-06": {
  9839. id: "google/gemini-2.5-pro-preview-05-06",
  9840. name: "Google: Gemini 2.5 Pro Preview 05-06",
  9841. api: "openai-completions",
  9842. provider: "openrouter",
  9843. baseUrl: "https://openrouter.ai/api/v1",
  9844. reasoning: true,
  9845. input: ["text", "image"],
  9846. cost: {
  9847. input: 1.25,
  9848. output: 10,
  9849. cacheRead: 0.125,
  9850. cacheWrite: 0.375,
  9851. },
  9852. contextWindow: 1048576,
  9853. maxTokens: 65535,
  9854. } satisfies Model<"openai-completions">,
  9855. "google/gemini-3-flash-preview": {
  9856. id: "google/gemini-3-flash-preview",
  9857. name: "Google: Gemini 3 Flash Preview",
  9858. api: "openai-completions",
  9859. provider: "openrouter",
  9860. baseUrl: "https://openrouter.ai/api/v1",
  9861. reasoning: true,
  9862. input: ["text", "image"],
  9863. cost: {
  9864. input: 0.5,
  9865. output: 3,
  9866. cacheRead: 0.049999999999999996,
  9867. cacheWrite: 0.08333333333333334,
  9868. },
  9869. contextWindow: 1048576,
  9870. maxTokens: 65536,
  9871. } satisfies Model<"openai-completions">,
  9872. "google/gemini-3.1-flash-lite": {
  9873. id: "google/gemini-3.1-flash-lite",
  9874. name: "Google: Gemini 3.1 Flash Lite",
  9875. api: "openai-completions",
  9876. provider: "openrouter",
  9877. baseUrl: "https://openrouter.ai/api/v1",
  9878. reasoning: true,
  9879. input: ["text", "image"],
  9880. cost: {
  9881. input: 0.25,
  9882. output: 1.5,
  9883. cacheRead: 0.024999999999999998,
  9884. cacheWrite: 0.08333333333333334,
  9885. },
  9886. contextWindow: 1048576,
  9887. maxTokens: 65536,
  9888. } satisfies Model<"openai-completions">,
  9889. "google/gemini-3.1-flash-lite-preview": {
  9890. id: "google/gemini-3.1-flash-lite-preview",
  9891. name: "Google: Gemini 3.1 Flash Lite Preview",
  9892. api: "openai-completions",
  9893. provider: "openrouter",
  9894. baseUrl: "https://openrouter.ai/api/v1",
  9895. reasoning: true,
  9896. input: ["text", "image"],
  9897. cost: {
  9898. input: 0.25,
  9899. output: 1.5,
  9900. cacheRead: 0.024999999999999998,
  9901. cacheWrite: 0.08333333333333334,
  9902. },
  9903. contextWindow: 1048576,
  9904. maxTokens: 65536,
  9905. } satisfies Model<"openai-completions">,
  9906. "google/gemini-3.1-pro-preview": {
  9907. id: "google/gemini-3.1-pro-preview",
  9908. name: "Google: Gemini 3.1 Pro Preview",
  9909. api: "openai-completions",
  9910. provider: "openrouter",
  9911. baseUrl: "https://openrouter.ai/api/v1",
  9912. reasoning: true,
  9913. input: ["text", "image"],
  9914. cost: {
  9915. input: 2,
  9916. output: 12,
  9917. cacheRead: 0.19999999999999998,
  9918. cacheWrite: 0.375,
  9919. },
  9920. contextWindow: 1048576,
  9921. maxTokens: 65536,
  9922. } satisfies Model<"openai-completions">,
  9923. "google/gemini-3.1-pro-preview-customtools": {
  9924. id: "google/gemini-3.1-pro-preview-customtools",
  9925. name: "Google: Gemini 3.1 Pro Preview Custom Tools",
  9926. api: "openai-completions",
  9927. provider: "openrouter",
  9928. baseUrl: "https://openrouter.ai/api/v1",
  9929. reasoning: true,
  9930. input: ["text", "image"],
  9931. cost: {
  9932. input: 2,
  9933. output: 12,
  9934. cacheRead: 0.19999999999999998,
  9935. cacheWrite: 0.375,
  9936. },
  9937. contextWindow: 1048756,
  9938. maxTokens: 65536,
  9939. } satisfies Model<"openai-completions">,
  9940. "google/gemini-3.5-flash": {
  9941. id: "google/gemini-3.5-flash",
  9942. name: "Google: Gemini 3.5 Flash",
  9943. api: "openai-completions",
  9944. provider: "openrouter",
  9945. baseUrl: "https://openrouter.ai/api/v1",
  9946. reasoning: true,
  9947. input: ["text", "image"],
  9948. cost: {
  9949. input: 1.5,
  9950. output: 9,
  9951. cacheRead: 0.15,
  9952. cacheWrite: 0.08333333333333334,
  9953. },
  9954. contextWindow: 1048576,
  9955. maxTokens: 65536,
  9956. } satisfies Model<"openai-completions">,
  9957. "google/gemma-3-12b-it": {
  9958. id: "google/gemma-3-12b-it",
  9959. name: "Google: Gemma 3 12B",
  9960. api: "openai-completions",
  9961. provider: "openrouter",
  9962. baseUrl: "https://openrouter.ai/api/v1",
  9963. reasoning: false,
  9964. input: ["text", "image"],
  9965. cost: {
  9966. input: 0.049999999999999996,
  9967. output: 0.15,
  9968. cacheRead: 0,
  9969. cacheWrite: 0,
  9970. },
  9971. contextWindow: 131072,
  9972. maxTokens: 16384,
  9973. } satisfies Model<"openai-completions">,
  9974. "google/gemma-3-27b-it": {
  9975. id: "google/gemma-3-27b-it",
  9976. name: "Google: Gemma 3 27B",
  9977. api: "openai-completions",
  9978. provider: "openrouter",
  9979. baseUrl: "https://openrouter.ai/api/v1",
  9980. reasoning: false,
  9981. input: ["text", "image"],
  9982. cost: {
  9983. input: 0.08,
  9984. output: 0.16,
  9985. cacheRead: 0,
  9986. cacheWrite: 0,
  9987. },
  9988. contextWindow: 131072,
  9989. maxTokens: 16384,
  9990. } satisfies Model<"openai-completions">,
  9991. "google/gemma-4-26b-a4b-it": {
  9992. id: "google/gemma-4-26b-a4b-it",
  9993. name: "Google: Gemma 4 26B A4B ",
  9994. api: "openai-completions",
  9995. provider: "openrouter",
  9996. baseUrl: "https://openrouter.ai/api/v1",
  9997. reasoning: true,
  9998. input: ["text", "image"],
  9999. cost: {
  10000. input: 0.06,
  10001. output: 0.33,
  10002. cacheRead: 0,
  10003. cacheWrite: 0,
  10004. },
  10005. contextWindow: 262144,
  10006. maxTokens: 4096,
  10007. } satisfies Model<"openai-completions">,
  10008. "google/gemma-4-26b-a4b-it:free": {
  10009. id: "google/gemma-4-26b-a4b-it:free",
  10010. name: "Google: Gemma 4 26B A4B (free)",
  10011. api: "openai-completions",
  10012. provider: "openrouter",
  10013. baseUrl: "https://openrouter.ai/api/v1",
  10014. reasoning: true,
  10015. input: ["text", "image"],
  10016. cost: {
  10017. input: 0,
  10018. output: 0,
  10019. cacheRead: 0,
  10020. cacheWrite: 0,
  10021. },
  10022. contextWindow: 262144,
  10023. maxTokens: 32768,
  10024. } satisfies Model<"openai-completions">,
  10025. "google/gemma-4-31b-it": {
  10026. id: "google/gemma-4-31b-it",
  10027. name: "Google: Gemma 4 31B",
  10028. api: "openai-completions",
  10029. provider: "openrouter",
  10030. baseUrl: "https://openrouter.ai/api/v1",
  10031. reasoning: true,
  10032. input: ["text", "image"],
  10033. cost: {
  10034. input: 0.12,
  10035. output: 0.36,
  10036. cacheRead: 0.09,
  10037. cacheWrite: 0,
  10038. },
  10039. contextWindow: 262144,
  10040. maxTokens: 8192,
  10041. } satisfies Model<"openai-completions">,
  10042. "google/gemma-4-31b-it:free": {
  10043. id: "google/gemma-4-31b-it:free",
  10044. name: "Google: Gemma 4 31B (free)",
  10045. api: "openai-completions",
  10046. provider: "openrouter",
  10047. baseUrl: "https://openrouter.ai/api/v1",
  10048. reasoning: true,
  10049. input: ["text", "image"],
  10050. cost: {
  10051. input: 0,
  10052. output: 0,
  10053. cacheRead: 0,
  10054. cacheWrite: 0,
  10055. },
  10056. contextWindow: 262144,
  10057. maxTokens: 32768,
  10058. } satisfies Model<"openai-completions">,
  10059. "ibm-granite/granite-4.1-8b": {
  10060. id: "ibm-granite/granite-4.1-8b",
  10061. name: "IBM: Granite 4.1 8B",
  10062. api: "openai-completions",
  10063. provider: "openrouter",
  10064. baseUrl: "https://openrouter.ai/api/v1",
  10065. reasoning: false,
  10066. input: ["text"],
  10067. cost: {
  10068. input: 0.049999999999999996,
  10069. output: 0.09999999999999999,
  10070. cacheRead: 0.049999999999999996,
  10071. cacheWrite: 0,
  10072. },
  10073. contextWindow: 131072,
  10074. maxTokens: 131072,
  10075. } satisfies Model<"openai-completions">,
  10076. "inception/mercury-2": {
  10077. id: "inception/mercury-2",
  10078. name: "Inception: Mercury 2",
  10079. api: "openai-completions",
  10080. provider: "openrouter",
  10081. baseUrl: "https://openrouter.ai/api/v1",
  10082. reasoning: true,
  10083. thinkingLevelMap: {"off":null},
  10084. input: ["text"],
  10085. cost: {
  10086. input: 0.25,
  10087. output: 0.75,
  10088. cacheRead: 0.024999999999999998,
  10089. cacheWrite: 0,
  10090. },
  10091. contextWindow: 128000,
  10092. maxTokens: 50000,
  10093. } satisfies Model<"openai-completions">,
  10094. "inclusionai/ling-2.6-1t": {
  10095. id: "inclusionai/ling-2.6-1t",
  10096. name: "inclusionAI: Ling-2.6-1T",
  10097. api: "openai-completions",
  10098. provider: "openrouter",
  10099. baseUrl: "https://openrouter.ai/api/v1",
  10100. reasoning: false,
  10101. input: ["text"],
  10102. cost: {
  10103. input: 0.075,
  10104. output: 0.625,
  10105. cacheRead: 0.015,
  10106. cacheWrite: 0,
  10107. },
  10108. contextWindow: 262144,
  10109. maxTokens: 32768,
  10110. } satisfies Model<"openai-completions">,
  10111. "inclusionai/ling-2.6-flash": {
  10112. id: "inclusionai/ling-2.6-flash",
  10113. name: "inclusionAI: Ling-2.6-flash",
  10114. api: "openai-completions",
  10115. provider: "openrouter",
  10116. baseUrl: "https://openrouter.ai/api/v1",
  10117. reasoning: false,
  10118. input: ["text"],
  10119. cost: {
  10120. input: 0.01,
  10121. output: 0.03,
  10122. cacheRead: 0.002,
  10123. cacheWrite: 0,
  10124. },
  10125. contextWindow: 262144,
  10126. maxTokens: 32768,
  10127. } satisfies Model<"openai-completions">,
  10128. "inclusionai/ring-2.6-1t": {
  10129. id: "inclusionai/ring-2.6-1t",
  10130. name: "inclusionAI: Ring-2.6-1T",
  10131. api: "openai-completions",
  10132. provider: "openrouter",
  10133. baseUrl: "https://openrouter.ai/api/v1",
  10134. reasoning: true,
  10135. input: ["text"],
  10136. cost: {
  10137. input: 0.075,
  10138. output: 0.625,
  10139. cacheRead: 0.015,
  10140. cacheWrite: 0,
  10141. },
  10142. contextWindow: 262144,
  10143. maxTokens: 65536,
  10144. } satisfies Model<"openai-completions">,
  10145. "kwaipilot/kat-coder-pro-v2": {
  10146. id: "kwaipilot/kat-coder-pro-v2",
  10147. name: "Kwaipilot: KAT-Coder-Pro V2",
  10148. api: "openai-completions",
  10149. provider: "openrouter",
  10150. baseUrl: "https://openrouter.ai/api/v1",
  10151. reasoning: false,
  10152. input: ["text"],
  10153. cost: {
  10154. input: 0.3,
  10155. output: 1.2,
  10156. cacheRead: 0.06,
  10157. cacheWrite: 0,
  10158. },
  10159. contextWindow: 256000,
  10160. maxTokens: 80000,
  10161. } satisfies Model<"openai-completions">,
  10162. "meta-llama/llama-3.1-70b-instruct": {
  10163. id: "meta-llama/llama-3.1-70b-instruct",
  10164. name: "Meta: Llama 3.1 70B Instruct",
  10165. api: "openai-completions",
  10166. provider: "openrouter",
  10167. baseUrl: "https://openrouter.ai/api/v1",
  10168. reasoning: false,
  10169. input: ["text"],
  10170. cost: {
  10171. input: 0.39999999999999997,
  10172. output: 0.39999999999999997,
  10173. cacheRead: 0,
  10174. cacheWrite: 0,
  10175. },
  10176. contextWindow: 131072,
  10177. maxTokens: 16384,
  10178. } satisfies Model<"openai-completions">,
  10179. "meta-llama/llama-3.1-8b-instruct": {
  10180. id: "meta-llama/llama-3.1-8b-instruct",
  10181. name: "Meta: Llama 3.1 8B Instruct",
  10182. api: "openai-completions",
  10183. provider: "openrouter",
  10184. baseUrl: "https://openrouter.ai/api/v1",
  10185. reasoning: false,
  10186. input: ["text"],
  10187. cost: {
  10188. input: 0.02,
  10189. output: 0.03,
  10190. cacheRead: 0,
  10191. cacheWrite: 0,
  10192. },
  10193. contextWindow: 131072,
  10194. maxTokens: 16384,
  10195. } satisfies Model<"openai-completions">,
  10196. "meta-llama/llama-3.3-70b-instruct": {
  10197. id: "meta-llama/llama-3.3-70b-instruct",
  10198. name: "Meta: Llama 3.3 70B Instruct",
  10199. api: "openai-completions",
  10200. provider: "openrouter",
  10201. baseUrl: "https://openrouter.ai/api/v1",
  10202. reasoning: false,
  10203. input: ["text"],
  10204. cost: {
  10205. input: 0.09999999999999999,
  10206. output: 0.32,
  10207. cacheRead: 0,
  10208. cacheWrite: 0,
  10209. },
  10210. contextWindow: 131072,
  10211. maxTokens: 16384,
  10212. } satisfies Model<"openai-completions">,
  10213. "meta-llama/llama-3.3-70b-instruct:free": {
  10214. id: "meta-llama/llama-3.3-70b-instruct:free",
  10215. name: "Meta: Llama 3.3 70B Instruct (free)",
  10216. api: "openai-completions",
  10217. provider: "openrouter",
  10218. baseUrl: "https://openrouter.ai/api/v1",
  10219. reasoning: false,
  10220. input: ["text"],
  10221. cost: {
  10222. input: 0,
  10223. output: 0,
  10224. cacheRead: 0,
  10225. cacheWrite: 0,
  10226. },
  10227. contextWindow: 131072,
  10228. maxTokens: 4096,
  10229. } satisfies Model<"openai-completions">,
  10230. "meta-llama/llama-4-maverick": {
  10231. id: "meta-llama/llama-4-maverick",
  10232. name: "Meta: Llama 4 Maverick",
  10233. api: "openai-completions",
  10234. provider: "openrouter",
  10235. baseUrl: "https://openrouter.ai/api/v1",
  10236. reasoning: false,
  10237. input: ["text", "image"],
  10238. cost: {
  10239. input: 0.15,
  10240. output: 0.6,
  10241. cacheRead: 0,
  10242. cacheWrite: 0,
  10243. },
  10244. contextWindow: 1048576,
  10245. maxTokens: 16384,
  10246. } satisfies Model<"openai-completions">,
  10247. "meta-llama/llama-4-scout": {
  10248. id: "meta-llama/llama-4-scout",
  10249. name: "Meta: Llama 4 Scout",
  10250. api: "openai-completions",
  10251. provider: "openrouter",
  10252. baseUrl: "https://openrouter.ai/api/v1",
  10253. reasoning: false,
  10254. input: ["text", "image"],
  10255. cost: {
  10256. input: 0.09999999999999999,
  10257. output: 0.3,
  10258. cacheRead: 0,
  10259. cacheWrite: 0,
  10260. },
  10261. contextWindow: 10000000,
  10262. maxTokens: 16384,
  10263. } satisfies Model<"openai-completions">,
  10264. "minimax/minimax-m1": {
  10265. id: "minimax/minimax-m1",
  10266. name: "MiniMax: MiniMax M1",
  10267. api: "openai-completions",
  10268. provider: "openrouter",
  10269. baseUrl: "https://openrouter.ai/api/v1",
  10270. reasoning: true,
  10271. input: ["text"],
  10272. cost: {
  10273. input: 0.39999999999999997,
  10274. output: 2.2,
  10275. cacheRead: 0,
  10276. cacheWrite: 0,
  10277. },
  10278. contextWindow: 1000000,
  10279. maxTokens: 40000,
  10280. } satisfies Model<"openai-completions">,
  10281. "minimax/minimax-m2": {
  10282. id: "minimax/minimax-m2",
  10283. name: "MiniMax: MiniMax M2",
  10284. api: "openai-completions",
  10285. provider: "openrouter",
  10286. baseUrl: "https://openrouter.ai/api/v1",
  10287. reasoning: true,
  10288. input: ["text"],
  10289. cost: {
  10290. input: 0.255,
  10291. output: 1,
  10292. cacheRead: 0.03,
  10293. cacheWrite: 0,
  10294. },
  10295. contextWindow: 204800,
  10296. maxTokens: 196608,
  10297. } satisfies Model<"openai-completions">,
  10298. "minimax/minimax-m2.1": {
  10299. id: "minimax/minimax-m2.1",
  10300. name: "MiniMax: MiniMax M2.1",
  10301. api: "openai-completions",
  10302. provider: "openrouter",
  10303. baseUrl: "https://openrouter.ai/api/v1",
  10304. reasoning: true,
  10305. input: ["text"],
  10306. cost: {
  10307. input: 0.29,
  10308. output: 0.95,
  10309. cacheRead: 0.03,
  10310. cacheWrite: 0,
  10311. },
  10312. contextWindow: 204800,
  10313. maxTokens: 196608,
  10314. } satisfies Model<"openai-completions">,
  10315. "minimax/minimax-m2.5": {
  10316. id: "minimax/minimax-m2.5",
  10317. name: "MiniMax: MiniMax M2.5",
  10318. api: "openai-completions",
  10319. provider: "openrouter",
  10320. baseUrl: "https://openrouter.ai/api/v1",
  10321. reasoning: true,
  10322. input: ["text"],
  10323. cost: {
  10324. input: 0.15,
  10325. output: 0.8999999999999999,
  10326. cacheRead: 0.049999999999999996,
  10327. cacheWrite: 0,
  10328. },
  10329. contextWindow: 204800,
  10330. maxTokens: 196608,
  10331. } satisfies Model<"openai-completions">,
  10332. "minimax/minimax-m2.7": {
  10333. id: "minimax/minimax-m2.7",
  10334. name: "MiniMax: MiniMax M2.7",
  10335. api: "openai-completions",
  10336. provider: "openrouter",
  10337. baseUrl: "https://openrouter.ai/api/v1",
  10338. reasoning: true,
  10339. input: ["text"],
  10340. cost: {
  10341. input: 0.27,
  10342. output: 1.08,
  10343. cacheRead: 0.054,
  10344. cacheWrite: 0,
  10345. },
  10346. contextWindow: 204800,
  10347. maxTokens: 131072,
  10348. } satisfies Model<"openai-completions">,
  10349. "minimax/minimax-m3": {
  10350. id: "minimax/minimax-m3",
  10351. name: "MiniMax: MiniMax M3",
  10352. api: "openai-completions",
  10353. provider: "openrouter",
  10354. baseUrl: "https://openrouter.ai/api/v1",
  10355. reasoning: true,
  10356. input: ["text", "image"],
  10357. cost: {
  10358. input: 0.3,
  10359. output: 1.2,
  10360. cacheRead: 0.06,
  10361. cacheWrite: 0,
  10362. },
  10363. contextWindow: 1048576,
  10364. maxTokens: 512000,
  10365. } satisfies Model<"openai-completions">,
  10366. "mistralai/codestral-2508": {
  10367. id: "mistralai/codestral-2508",
  10368. name: "Mistral: Codestral 2508",
  10369. api: "openai-completions",
  10370. provider: "openrouter",
  10371. baseUrl: "https://openrouter.ai/api/v1",
  10372. reasoning: false,
  10373. input: ["text"],
  10374. cost: {
  10375. input: 0.3,
  10376. output: 0.8999999999999999,
  10377. cacheRead: 0.03,
  10378. cacheWrite: 0,
  10379. },
  10380. contextWindow: 256000,
  10381. maxTokens: 4096,
  10382. } satisfies Model<"openai-completions">,
  10383. "mistralai/devstral-2512": {
  10384. id: "mistralai/devstral-2512",
  10385. name: "Mistral: Devstral 2 2512",
  10386. api: "openai-completions",
  10387. provider: "openrouter",
  10388. baseUrl: "https://openrouter.ai/api/v1",
  10389. reasoning: false,
  10390. input: ["text"],
  10391. cost: {
  10392. input: 0.39999999999999997,
  10393. output: 2,
  10394. cacheRead: 0.04,
  10395. cacheWrite: 0,
  10396. },
  10397. contextWindow: 262144,
  10398. maxTokens: 4096,
  10399. } satisfies Model<"openai-completions">,
  10400. "mistralai/ministral-14b-2512": {
  10401. id: "mistralai/ministral-14b-2512",
  10402. name: "Mistral: Ministral 3 14B 2512",
  10403. api: "openai-completions",
  10404. provider: "openrouter",
  10405. baseUrl: "https://openrouter.ai/api/v1",
  10406. reasoning: false,
  10407. input: ["text", "image"],
  10408. cost: {
  10409. input: 0.19999999999999998,
  10410. output: 0.19999999999999998,
  10411. cacheRead: 0.02,
  10412. cacheWrite: 0,
  10413. },
  10414. contextWindow: 262144,
  10415. maxTokens: 4096,
  10416. } satisfies Model<"openai-completions">,
  10417. "mistralai/ministral-3b-2512": {
  10418. id: "mistralai/ministral-3b-2512",
  10419. name: "Mistral: Ministral 3 3B 2512",
  10420. api: "openai-completions",
  10421. provider: "openrouter",
  10422. baseUrl: "https://openrouter.ai/api/v1",
  10423. reasoning: false,
  10424. input: ["text", "image"],
  10425. cost: {
  10426. input: 0.09999999999999999,
  10427. output: 0.09999999999999999,
  10428. cacheRead: 0.01,
  10429. cacheWrite: 0,
  10430. },
  10431. contextWindow: 131072,
  10432. maxTokens: 4096,
  10433. } satisfies Model<"openai-completions">,
  10434. "mistralai/ministral-8b-2512": {
  10435. id: "mistralai/ministral-8b-2512",
  10436. name: "Mistral: Ministral 3 8B 2512",
  10437. api: "openai-completions",
  10438. provider: "openrouter",
  10439. baseUrl: "https://openrouter.ai/api/v1",
  10440. reasoning: false,
  10441. input: ["text", "image"],
  10442. cost: {
  10443. input: 0.15,
  10444. output: 0.15,
  10445. cacheRead: 0.015,
  10446. cacheWrite: 0,
  10447. },
  10448. contextWindow: 262144,
  10449. maxTokens: 4096,
  10450. } satisfies Model<"openai-completions">,
  10451. "mistralai/mistral-large": {
  10452. id: "mistralai/mistral-large",
  10453. name: "Mistral Large",
  10454. api: "openai-completions",
  10455. provider: "openrouter",
  10456. baseUrl: "https://openrouter.ai/api/v1",
  10457. reasoning: false,
  10458. input: ["text"],
  10459. cost: {
  10460. input: 2,
  10461. output: 6,
  10462. cacheRead: 0.19999999999999998,
  10463. cacheWrite: 0,
  10464. },
  10465. contextWindow: 128000,
  10466. maxTokens: 4096,
  10467. } satisfies Model<"openai-completions">,
  10468. "mistralai/mistral-large-2407": {
  10469. id: "mistralai/mistral-large-2407",
  10470. name: "Mistral Large 2407",
  10471. api: "openai-completions",
  10472. provider: "openrouter",
  10473. baseUrl: "https://openrouter.ai/api/v1",
  10474. reasoning: false,
  10475. input: ["text"],
  10476. cost: {
  10477. input: 2,
  10478. output: 6,
  10479. cacheRead: 0.19999999999999998,
  10480. cacheWrite: 0,
  10481. },
  10482. contextWindow: 131072,
  10483. maxTokens: 4096,
  10484. } satisfies Model<"openai-completions">,
  10485. "mistralai/mistral-large-2512": {
  10486. id: "mistralai/mistral-large-2512",
  10487. name: "Mistral: Mistral Large 3 2512",
  10488. api: "openai-completions",
  10489. provider: "openrouter",
  10490. baseUrl: "https://openrouter.ai/api/v1",
  10491. reasoning: false,
  10492. input: ["text", "image"],
  10493. cost: {
  10494. input: 0.5,
  10495. output: 1.5,
  10496. cacheRead: 0.049999999999999996,
  10497. cacheWrite: 0,
  10498. },
  10499. contextWindow: 262144,
  10500. maxTokens: 4096,
  10501. } satisfies Model<"openai-completions">,
  10502. "mistralai/mistral-medium-3": {
  10503. id: "mistralai/mistral-medium-3",
  10504. name: "Mistral: Mistral Medium 3",
  10505. api: "openai-completions",
  10506. provider: "openrouter",
  10507. baseUrl: "https://openrouter.ai/api/v1",
  10508. reasoning: false,
  10509. input: ["text", "image"],
  10510. cost: {
  10511. input: 0.39999999999999997,
  10512. output: 2,
  10513. cacheRead: 0.04,
  10514. cacheWrite: 0,
  10515. },
  10516. contextWindow: 131072,
  10517. maxTokens: 4096,
  10518. } satisfies Model<"openai-completions">,
  10519. "mistralai/mistral-medium-3-5": {
  10520. id: "mistralai/mistral-medium-3-5",
  10521. name: "Mistral: Mistral Medium 3.5",
  10522. api: "openai-completions",
  10523. provider: "openrouter",
  10524. baseUrl: "https://openrouter.ai/api/v1",
  10525. reasoning: true,
  10526. input: ["text", "image"],
  10527. cost: {
  10528. input: 1.5,
  10529. output: 7.5,
  10530. cacheRead: 0,
  10531. cacheWrite: 0,
  10532. },
  10533. contextWindow: 262144,
  10534. maxTokens: 4096,
  10535. } satisfies Model<"openai-completions">,
  10536. "mistralai/mistral-medium-3.1": {
  10537. id: "mistralai/mistral-medium-3.1",
  10538. name: "Mistral: Mistral Medium 3.1",
  10539. api: "openai-completions",
  10540. provider: "openrouter",
  10541. baseUrl: "https://openrouter.ai/api/v1",
  10542. reasoning: false,
  10543. input: ["text", "image"],
  10544. cost: {
  10545. input: 0.39999999999999997,
  10546. output: 2,
  10547. cacheRead: 0.04,
  10548. cacheWrite: 0,
  10549. },
  10550. contextWindow: 131072,
  10551. maxTokens: 4096,
  10552. } satisfies Model<"openai-completions">,
  10553. "mistralai/mistral-nemo": {
  10554. id: "mistralai/mistral-nemo",
  10555. name: "Mistral: Mistral Nemo",
  10556. api: "openai-completions",
  10557. provider: "openrouter",
  10558. baseUrl: "https://openrouter.ai/api/v1",
  10559. reasoning: false,
  10560. input: ["text"],
  10561. cost: {
  10562. input: 0.02,
  10563. output: 0.03,
  10564. cacheRead: 0,
  10565. cacheWrite: 0,
  10566. },
  10567. contextWindow: 131072,
  10568. maxTokens: 4096,
  10569. } satisfies Model<"openai-completions">,
  10570. "mistralai/mistral-saba": {
  10571. id: "mistralai/mistral-saba",
  10572. name: "Mistral: Saba",
  10573. api: "openai-completions",
  10574. provider: "openrouter",
  10575. baseUrl: "https://openrouter.ai/api/v1",
  10576. reasoning: false,
  10577. input: ["text"],
  10578. cost: {
  10579. input: 0.19999999999999998,
  10580. output: 0.6,
  10581. cacheRead: 0.02,
  10582. cacheWrite: 0,
  10583. },
  10584. contextWindow: 32768,
  10585. maxTokens: 4096,
  10586. } satisfies Model<"openai-completions">,
  10587. "mistralai/mistral-small-2603": {
  10588. id: "mistralai/mistral-small-2603",
  10589. name: "Mistral: Mistral Small 4",
  10590. api: "openai-completions",
  10591. provider: "openrouter",
  10592. baseUrl: "https://openrouter.ai/api/v1",
  10593. reasoning: true,
  10594. input: ["text", "image"],
  10595. cost: {
  10596. input: 0.15,
  10597. output: 0.6,
  10598. cacheRead: 0.015,
  10599. cacheWrite: 0,
  10600. },
  10601. contextWindow: 262144,
  10602. maxTokens: 4096,
  10603. } satisfies Model<"openai-completions">,
  10604. "mistralai/mistral-small-3.2-24b-instruct": {
  10605. id: "mistralai/mistral-small-3.2-24b-instruct",
  10606. name: "Mistral: Mistral Small 3.2 24B",
  10607. api: "openai-completions",
  10608. provider: "openrouter",
  10609. baseUrl: "https://openrouter.ai/api/v1",
  10610. reasoning: false,
  10611. input: ["text", "image"],
  10612. cost: {
  10613. input: 0.075,
  10614. output: 0.19999999999999998,
  10615. cacheRead: 0,
  10616. cacheWrite: 0,
  10617. },
  10618. contextWindow: 128000,
  10619. maxTokens: 16384,
  10620. } satisfies Model<"openai-completions">,
  10621. "mistralai/mixtral-8x22b-instruct": {
  10622. id: "mistralai/mixtral-8x22b-instruct",
  10623. name: "Mistral: Mixtral 8x22B Instruct",
  10624. api: "openai-completions",
  10625. provider: "openrouter",
  10626. baseUrl: "https://openrouter.ai/api/v1",
  10627. reasoning: false,
  10628. input: ["text"],
  10629. cost: {
  10630. input: 2,
  10631. output: 6,
  10632. cacheRead: 0.19999999999999998,
  10633. cacheWrite: 0,
  10634. },
  10635. contextWindow: 65536,
  10636. maxTokens: 4096,
  10637. } satisfies Model<"openai-completions">,
  10638. "mistralai/voxtral-small-24b-2507": {
  10639. id: "mistralai/voxtral-small-24b-2507",
  10640. name: "Mistral: Voxtral Small 24B 2507",
  10641. api: "openai-completions",
  10642. provider: "openrouter",
  10643. baseUrl: "https://openrouter.ai/api/v1",
  10644. reasoning: false,
  10645. input: ["text"],
  10646. cost: {
  10647. input: 0.09999999999999999,
  10648. output: 0.3,
  10649. cacheRead: 0.01,
  10650. cacheWrite: 0,
  10651. },
  10652. contextWindow: 32000,
  10653. maxTokens: 4096,
  10654. } satisfies Model<"openai-completions">,
  10655. "moonshotai/kimi-k2": {
  10656. id: "moonshotai/kimi-k2",
  10657. name: "MoonshotAI: Kimi K2 0711",
  10658. api: "openai-completions",
  10659. provider: "openrouter",
  10660. baseUrl: "https://openrouter.ai/api/v1",
  10661. reasoning: false,
  10662. input: ["text"],
  10663. cost: {
  10664. input: 0.5700000000000001,
  10665. output: 2.3,
  10666. cacheRead: 0,
  10667. cacheWrite: 0,
  10668. },
  10669. contextWindow: 131072,
  10670. maxTokens: 32768,
  10671. } satisfies Model<"openai-completions">,
  10672. "moonshotai/kimi-k2-0905": {
  10673. id: "moonshotai/kimi-k2-0905",
  10674. name: "MoonshotAI: Kimi K2 0905",
  10675. api: "openai-completions",
  10676. provider: "openrouter",
  10677. baseUrl: "https://openrouter.ai/api/v1",
  10678. reasoning: false,
  10679. input: ["text"],
  10680. cost: {
  10681. input: 0.6,
  10682. output: 2.5,
  10683. cacheRead: 0,
  10684. cacheWrite: 0,
  10685. },
  10686. contextWindow: 262144,
  10687. maxTokens: 262144,
  10688. } satisfies Model<"openai-completions">,
  10689. "moonshotai/kimi-k2-thinking": {
  10690. id: "moonshotai/kimi-k2-thinking",
  10691. name: "MoonshotAI: Kimi K2 Thinking",
  10692. api: "openai-completions",
  10693. provider: "openrouter",
  10694. baseUrl: "https://openrouter.ai/api/v1",
  10695. reasoning: true,
  10696. input: ["text"],
  10697. cost: {
  10698. input: 0.6,
  10699. output: 2.5,
  10700. cacheRead: 0,
  10701. cacheWrite: 0,
  10702. },
  10703. contextWindow: 262144,
  10704. maxTokens: 262144,
  10705. } satisfies Model<"openai-completions">,
  10706. "moonshotai/kimi-k2.5": {
  10707. id: "moonshotai/kimi-k2.5",
  10708. name: "MoonshotAI: Kimi K2.5",
  10709. api: "openai-completions",
  10710. provider: "openrouter",
  10711. baseUrl: "https://openrouter.ai/api/v1",
  10712. reasoning: true,
  10713. input: ["text", "image"],
  10714. cost: {
  10715. input: 0.41,
  10716. output: 2.06,
  10717. cacheRead: 0.07,
  10718. cacheWrite: 0,
  10719. },
  10720. contextWindow: 262144,
  10721. maxTokens: 4096,
  10722. } satisfies Model<"openai-completions">,
  10723. "moonshotai/kimi-k2.6": {
  10724. id: "moonshotai/kimi-k2.6",
  10725. name: "MoonshotAI: Kimi K2.6",
  10726. api: "openai-completions",
  10727. provider: "openrouter",
  10728. baseUrl: "https://openrouter.ai/api/v1",
  10729. compat: {"supportsDeveloperRole":false,"requiresReasoningContentOnAssistantMessages":true},
  10730. reasoning: true,
  10731. input: ["text", "image"],
  10732. cost: {
  10733. input: 0.6799999999999999,
  10734. output: 3.41,
  10735. cacheRead: 0.33999999999999997,
  10736. cacheWrite: 0,
  10737. },
  10738. contextWindow: 262144,
  10739. maxTokens: 262142,
  10740. } satisfies Model<"openai-completions">,
  10741. "moonshotai/kimi-k2.6:free": {
  10742. id: "moonshotai/kimi-k2.6:free",
  10743. name: "MoonshotAI: Kimi K2.6 (free)",
  10744. api: "openai-completions",
  10745. provider: "openrouter",
  10746. baseUrl: "https://openrouter.ai/api/v1",
  10747. compat: {"supportsDeveloperRole":false,"requiresReasoningContentOnAssistantMessages":true},
  10748. reasoning: true,
  10749. input: ["text", "image"],
  10750. cost: {
  10751. input: 0,
  10752. output: 0,
  10753. cacheRead: 0,
  10754. cacheWrite: 0,
  10755. },
  10756. contextWindow: 262144,
  10757. maxTokens: 4096,
  10758. } satisfies Model<"openai-completions">,
  10759. "nex-agi/nex-n2-pro:free": {
  10760. id: "nex-agi/nex-n2-pro:free",
  10761. name: "Nex AGI: Nex-N2-Pro (free)",
  10762. api: "openai-completions",
  10763. provider: "openrouter",
  10764. baseUrl: "https://openrouter.ai/api/v1",
  10765. reasoning: true,
  10766. input: ["text", "image"],
  10767. cost: {
  10768. input: 0,
  10769. output: 0,
  10770. cacheRead: 0,
  10771. cacheWrite: 0,
  10772. },
  10773. contextWindow: 262144,
  10774. maxTokens: 262144,
  10775. } satisfies Model<"openai-completions">,
  10776. "nvidia/llama-3.3-nemotron-super-49b-v1.5": {
  10777. id: "nvidia/llama-3.3-nemotron-super-49b-v1.5",
  10778. name: "NVIDIA: Llama 3.3 Nemotron Super 49B V1.5",
  10779. api: "openai-completions",
  10780. provider: "openrouter",
  10781. baseUrl: "https://openrouter.ai/api/v1",
  10782. reasoning: true,
  10783. input: ["text"],
  10784. cost: {
  10785. input: 0.39999999999999997,
  10786. output: 0.39999999999999997,
  10787. cacheRead: 0,
  10788. cacheWrite: 0,
  10789. },
  10790. contextWindow: 131072,
  10791. maxTokens: 16384,
  10792. } satisfies Model<"openai-completions">,
  10793. "nvidia/nemotron-3-nano-30b-a3b": {
  10794. id: "nvidia/nemotron-3-nano-30b-a3b",
  10795. name: "NVIDIA: Nemotron 3 Nano 30B A3B",
  10796. api: "openai-completions",
  10797. provider: "openrouter",
  10798. baseUrl: "https://openrouter.ai/api/v1",
  10799. reasoning: true,
  10800. input: ["text"],
  10801. cost: {
  10802. input: 0.049999999999999996,
  10803. output: 0.19999999999999998,
  10804. cacheRead: 0,
  10805. cacheWrite: 0,
  10806. },
  10807. contextWindow: 262144,
  10808. maxTokens: 228000,
  10809. } satisfies Model<"openai-completions">,
  10810. "nvidia/nemotron-3-nano-30b-a3b:free": {
  10811. id: "nvidia/nemotron-3-nano-30b-a3b:free",
  10812. name: "NVIDIA: Nemotron 3 Nano 30B A3B (free)",
  10813. api: "openai-completions",
  10814. provider: "openrouter",
  10815. baseUrl: "https://openrouter.ai/api/v1",
  10816. reasoning: true,
  10817. input: ["text"],
  10818. cost: {
  10819. input: 0,
  10820. output: 0,
  10821. cacheRead: 0,
  10822. cacheWrite: 0,
  10823. },
  10824. contextWindow: 256000,
  10825. maxTokens: 4096,
  10826. } satisfies Model<"openai-completions">,
  10827. "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free": {
  10828. id: "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",
  10829. name: "NVIDIA: Nemotron 3 Nano Omni (free)",
  10830. api: "openai-completions",
  10831. provider: "openrouter",
  10832. baseUrl: "https://openrouter.ai/api/v1",
  10833. reasoning: true,
  10834. input: ["text", "image"],
  10835. cost: {
  10836. input: 0,
  10837. output: 0,
  10838. cacheRead: 0,
  10839. cacheWrite: 0,
  10840. },
  10841. contextWindow: 256000,
  10842. maxTokens: 65536,
  10843. } satisfies Model<"openai-completions">,
  10844. "nvidia/nemotron-3-super-120b-a12b": {
  10845. id: "nvidia/nemotron-3-super-120b-a12b",
  10846. name: "NVIDIA: Nemotron 3 Super",
  10847. api: "openai-completions",
  10848. provider: "openrouter",
  10849. baseUrl: "https://openrouter.ai/api/v1",
  10850. reasoning: true,
  10851. input: ["text"],
  10852. cost: {
  10853. input: 0.09,
  10854. output: 0.44999999999999996,
  10855. cacheRead: 0,
  10856. cacheWrite: 0,
  10857. },
  10858. contextWindow: 1000000,
  10859. maxTokens: 4096,
  10860. } satisfies Model<"openai-completions">,
  10861. "nvidia/nemotron-3-super-120b-a12b:free": {
  10862. id: "nvidia/nemotron-3-super-120b-a12b:free",
  10863. name: "NVIDIA: Nemotron 3 Super (free)",
  10864. api: "openai-completions",
  10865. provider: "openrouter",
  10866. baseUrl: "https://openrouter.ai/api/v1",
  10867. reasoning: true,
  10868. input: ["text"],
  10869. cost: {
  10870. input: 0,
  10871. output: 0,
  10872. cacheRead: 0,
  10873. cacheWrite: 0,
  10874. },
  10875. contextWindow: 1000000,
  10876. maxTokens: 262144,
  10877. } satisfies Model<"openai-completions">,
  10878. "nvidia/nemotron-3-ultra-550b-a55b": {
  10879. id: "nvidia/nemotron-3-ultra-550b-a55b",
  10880. name: "NVIDIA: Nemotron 3 Ultra",
  10881. api: "openai-completions",
  10882. provider: "openrouter",
  10883. baseUrl: "https://openrouter.ai/api/v1",
  10884. reasoning: true,
  10885. input: ["text"],
  10886. cost: {
  10887. input: 0.5,
  10888. output: 2.5,
  10889. cacheRead: 0.15,
  10890. cacheWrite: 0,
  10891. },
  10892. contextWindow: 1000000,
  10893. maxTokens: 16384,
  10894. } satisfies Model<"openai-completions">,
  10895. "nvidia/nemotron-3-ultra-550b-a55b:free": {
  10896. id: "nvidia/nemotron-3-ultra-550b-a55b:free",
  10897. name: "NVIDIA: Nemotron 3 Ultra (free)",
  10898. api: "openai-completions",
  10899. provider: "openrouter",
  10900. baseUrl: "https://openrouter.ai/api/v1",
  10901. reasoning: true,
  10902. input: ["text"],
  10903. cost: {
  10904. input: 0,
  10905. output: 0,
  10906. cacheRead: 0,
  10907. cacheWrite: 0,
  10908. },
  10909. contextWindow: 1000000,
  10910. maxTokens: 65536,
  10911. } satisfies Model<"openai-completions">,
  10912. "nvidia/nemotron-nano-12b-v2-vl:free": {
  10913. id: "nvidia/nemotron-nano-12b-v2-vl:free",
  10914. name: "NVIDIA: Nemotron Nano 12B 2 VL (free)",
  10915. api: "openai-completions",
  10916. provider: "openrouter",
  10917. baseUrl: "https://openrouter.ai/api/v1",
  10918. reasoning: true,
  10919. input: ["text", "image"],
  10920. cost: {
  10921. input: 0,
  10922. output: 0,
  10923. cacheRead: 0,
  10924. cacheWrite: 0,
  10925. },
  10926. contextWindow: 128000,
  10927. maxTokens: 128000,
  10928. } satisfies Model<"openai-completions">,
  10929. "nvidia/nemotron-nano-9b-v2": {
  10930. id: "nvidia/nemotron-nano-9b-v2",
  10931. name: "NVIDIA: Nemotron Nano 9B V2",
  10932. api: "openai-completions",
  10933. provider: "openrouter",
  10934. baseUrl: "https://openrouter.ai/api/v1",
  10935. reasoning: true,
  10936. input: ["text"],
  10937. cost: {
  10938. input: 0.04,
  10939. output: 0.16,
  10940. cacheRead: 0,
  10941. cacheWrite: 0,
  10942. },
  10943. contextWindow: 131072,
  10944. maxTokens: 16384,
  10945. } satisfies Model<"openai-completions">,
  10946. "nvidia/nemotron-nano-9b-v2:free": {
  10947. id: "nvidia/nemotron-nano-9b-v2:free",
  10948. name: "NVIDIA: Nemotron Nano 9B V2 (free)",
  10949. api: "openai-completions",
  10950. provider: "openrouter",
  10951. baseUrl: "https://openrouter.ai/api/v1",
  10952. reasoning: true,
  10953. input: ["text"],
  10954. cost: {
  10955. input: 0,
  10956. output: 0,
  10957. cacheRead: 0,
  10958. cacheWrite: 0,
  10959. },
  10960. contextWindow: 128000,
  10961. maxTokens: 4096,
  10962. } satisfies Model<"openai-completions">,
  10963. "openai/gpt-3.5-turbo": {
  10964. id: "openai/gpt-3.5-turbo",
  10965. name: "OpenAI: GPT-3.5 Turbo",
  10966. api: "openai-completions",
  10967. provider: "openrouter",
  10968. baseUrl: "https://openrouter.ai/api/v1",
  10969. reasoning: false,
  10970. input: ["text"],
  10971. cost: {
  10972. input: 0.5,
  10973. output: 1.5,
  10974. cacheRead: 0,
  10975. cacheWrite: 0,
  10976. },
  10977. contextWindow: 16385,
  10978. maxTokens: 4096,
  10979. } satisfies Model<"openai-completions">,
  10980. "openai/gpt-3.5-turbo-0613": {
  10981. id: "openai/gpt-3.5-turbo-0613",
  10982. name: "OpenAI: GPT-3.5 Turbo (older v0613)",
  10983. api: "openai-completions",
  10984. provider: "openrouter",
  10985. baseUrl: "https://openrouter.ai/api/v1",
  10986. reasoning: false,
  10987. input: ["text"],
  10988. cost: {
  10989. input: 1,
  10990. output: 2,
  10991. cacheRead: 0,
  10992. cacheWrite: 0,
  10993. },
  10994. contextWindow: 4095,
  10995. maxTokens: 4096,
  10996. } satisfies Model<"openai-completions">,
  10997. "openai/gpt-3.5-turbo-16k": {
  10998. id: "openai/gpt-3.5-turbo-16k",
  10999. name: "OpenAI: GPT-3.5 Turbo 16k",
  11000. api: "openai-completions",
  11001. provider: "openrouter",
  11002. baseUrl: "https://openrouter.ai/api/v1",
  11003. reasoning: false,
  11004. input: ["text"],
  11005. cost: {
  11006. input: 3,
  11007. output: 4,
  11008. cacheRead: 0,
  11009. cacheWrite: 0,
  11010. },
  11011. contextWindow: 16385,
  11012. maxTokens: 4096,
  11013. } satisfies Model<"openai-completions">,
  11014. "openai/gpt-4": {
  11015. id: "openai/gpt-4",
  11016. name: "OpenAI: GPT-4",
  11017. api: "openai-completions",
  11018. provider: "openrouter",
  11019. baseUrl: "https://openrouter.ai/api/v1",
  11020. reasoning: false,
  11021. input: ["text"],
  11022. cost: {
  11023. input: 30,
  11024. output: 60,
  11025. cacheRead: 0,
  11026. cacheWrite: 0,
  11027. },
  11028. contextWindow: 8191,
  11029. maxTokens: 4096,
  11030. } satisfies Model<"openai-completions">,
  11031. "openai/gpt-4-turbo": {
  11032. id: "openai/gpt-4-turbo",
  11033. name: "OpenAI: GPT-4 Turbo",
  11034. api: "openai-completions",
  11035. provider: "openrouter",
  11036. baseUrl: "https://openrouter.ai/api/v1",
  11037. reasoning: false,
  11038. input: ["text", "image"],
  11039. cost: {
  11040. input: 10,
  11041. output: 30,
  11042. cacheRead: 0,
  11043. cacheWrite: 0,
  11044. },
  11045. contextWindow: 128000,
  11046. maxTokens: 4096,
  11047. } satisfies Model<"openai-completions">,
  11048. "openai/gpt-4-turbo-preview": {
  11049. id: "openai/gpt-4-turbo-preview",
  11050. name: "OpenAI: GPT-4 Turbo Preview",
  11051. api: "openai-completions",
  11052. provider: "openrouter",
  11053. baseUrl: "https://openrouter.ai/api/v1",
  11054. reasoning: false,
  11055. input: ["text"],
  11056. cost: {
  11057. input: 10,
  11058. output: 30,
  11059. cacheRead: 0,
  11060. cacheWrite: 0,
  11061. },
  11062. contextWindow: 128000,
  11063. maxTokens: 4096,
  11064. } satisfies Model<"openai-completions">,
  11065. "openai/gpt-4.1": {
  11066. id: "openai/gpt-4.1",
  11067. name: "OpenAI: GPT-4.1",
  11068. api: "openai-completions",
  11069. provider: "openrouter",
  11070. baseUrl: "https://openrouter.ai/api/v1",
  11071. reasoning: false,
  11072. input: ["text", "image"],
  11073. cost: {
  11074. input: 2,
  11075. output: 8,
  11076. cacheRead: 0.5,
  11077. cacheWrite: 0,
  11078. },
  11079. contextWindow: 1047576,
  11080. maxTokens: 4096,
  11081. } satisfies Model<"openai-completions">,
  11082. "openai/gpt-4.1-mini": {
  11083. id: "openai/gpt-4.1-mini",
  11084. name: "OpenAI: GPT-4.1 Mini",
  11085. api: "openai-completions",
  11086. provider: "openrouter",
  11087. baseUrl: "https://openrouter.ai/api/v1",
  11088. reasoning: false,
  11089. input: ["text", "image"],
  11090. cost: {
  11091. input: 0.39999999999999997,
  11092. output: 1.5999999999999999,
  11093. cacheRead: 0.09999999999999999,
  11094. cacheWrite: 0,
  11095. },
  11096. contextWindow: 1047576,
  11097. maxTokens: 32768,
  11098. } satisfies Model<"openai-completions">,
  11099. "openai/gpt-4.1-nano": {
  11100. id: "openai/gpt-4.1-nano",
  11101. name: "OpenAI: GPT-4.1 Nano",
  11102. api: "openai-completions",
  11103. provider: "openrouter",
  11104. baseUrl: "https://openrouter.ai/api/v1",
  11105. reasoning: false,
  11106. input: ["text", "image"],
  11107. cost: {
  11108. input: 0.09999999999999999,
  11109. output: 0.39999999999999997,
  11110. cacheRead: 0.024999999999999998,
  11111. cacheWrite: 0,
  11112. },
  11113. contextWindow: 1047576,
  11114. maxTokens: 32768,
  11115. } satisfies Model<"openai-completions">,
  11116. "openai/gpt-4o": {
  11117. id: "openai/gpt-4o",
  11118. name: "OpenAI: GPT-4o",
  11119. api: "openai-completions",
  11120. provider: "openrouter",
  11121. baseUrl: "https://openrouter.ai/api/v1",
  11122. reasoning: false,
  11123. input: ["text", "image"],
  11124. cost: {
  11125. input: 2.5,
  11126. output: 10,
  11127. cacheRead: 0,
  11128. cacheWrite: 0,
  11129. },
  11130. contextWindow: 128000,
  11131. maxTokens: 16384,
  11132. } satisfies Model<"openai-completions">,
  11133. "openai/gpt-4o-2024-05-13": {
  11134. id: "openai/gpt-4o-2024-05-13",
  11135. name: "OpenAI: GPT-4o (2024-05-13)",
  11136. api: "openai-completions",
  11137. provider: "openrouter",
  11138. baseUrl: "https://openrouter.ai/api/v1",
  11139. reasoning: false,
  11140. input: ["text", "image"],
  11141. cost: {
  11142. input: 5,
  11143. output: 15,
  11144. cacheRead: 0,
  11145. cacheWrite: 0,
  11146. },
  11147. contextWindow: 128000,
  11148. maxTokens: 4096,
  11149. } satisfies Model<"openai-completions">,
  11150. "openai/gpt-4o-2024-08-06": {
  11151. id: "openai/gpt-4o-2024-08-06",
  11152. name: "OpenAI: GPT-4o (2024-08-06)",
  11153. api: "openai-completions",
  11154. provider: "openrouter",
  11155. baseUrl: "https://openrouter.ai/api/v1",
  11156. reasoning: false,
  11157. input: ["text", "image"],
  11158. cost: {
  11159. input: 2.5,
  11160. output: 10,
  11161. cacheRead: 1.25,
  11162. cacheWrite: 0,
  11163. },
  11164. contextWindow: 128000,
  11165. maxTokens: 16384,
  11166. } satisfies Model<"openai-completions">,
  11167. "openai/gpt-4o-2024-11-20": {
  11168. id: "openai/gpt-4o-2024-11-20",
  11169. name: "OpenAI: GPT-4o (2024-11-20)",
  11170. api: "openai-completions",
  11171. provider: "openrouter",
  11172. baseUrl: "https://openrouter.ai/api/v1",
  11173. reasoning: false,
  11174. input: ["text", "image"],
  11175. cost: {
  11176. input: 2.5,
  11177. output: 10,
  11178. cacheRead: 1.25,
  11179. cacheWrite: 0,
  11180. },
  11181. contextWindow: 128000,
  11182. maxTokens: 16384,
  11183. } satisfies Model<"openai-completions">,
  11184. "openai/gpt-4o-mini": {
  11185. id: "openai/gpt-4o-mini",
  11186. name: "OpenAI: GPT-4o-mini",
  11187. api: "openai-completions",
  11188. provider: "openrouter",
  11189. baseUrl: "https://openrouter.ai/api/v1",
  11190. reasoning: false,
  11191. input: ["text", "image"],
  11192. cost: {
  11193. input: 0.15,
  11194. output: 0.6,
  11195. cacheRead: 0.075,
  11196. cacheWrite: 0,
  11197. },
  11198. contextWindow: 128000,
  11199. maxTokens: 16384,
  11200. } satisfies Model<"openai-completions">,
  11201. "openai/gpt-4o-mini-2024-07-18": {
  11202. id: "openai/gpt-4o-mini-2024-07-18",
  11203. name: "OpenAI: GPT-4o-mini (2024-07-18)",
  11204. api: "openai-completions",
  11205. provider: "openrouter",
  11206. baseUrl: "https://openrouter.ai/api/v1",
  11207. reasoning: false,
  11208. input: ["text", "image"],
  11209. cost: {
  11210. input: 0.15,
  11211. output: 0.6,
  11212. cacheRead: 0.075,
  11213. cacheWrite: 0,
  11214. },
  11215. contextWindow: 128000,
  11216. maxTokens: 16384,
  11217. } satisfies Model<"openai-completions">,
  11218. "openai/gpt-5": {
  11219. id: "openai/gpt-5",
  11220. name: "OpenAI: GPT-5",
  11221. api: "openai-completions",
  11222. provider: "openrouter",
  11223. baseUrl: "https://openrouter.ai/api/v1",
  11224. reasoning: true,
  11225. input: ["text", "image"],
  11226. cost: {
  11227. input: 1.25,
  11228. output: 10,
  11229. cacheRead: 0.125,
  11230. cacheWrite: 0,
  11231. },
  11232. contextWindow: 400000,
  11233. maxTokens: 128000,
  11234. } satisfies Model<"openai-completions">,
  11235. "openai/gpt-5-codex": {
  11236. id: "openai/gpt-5-codex",
  11237. name: "OpenAI: GPT-5 Codex",
  11238. api: "openai-completions",
  11239. provider: "openrouter",
  11240. baseUrl: "https://openrouter.ai/api/v1",
  11241. reasoning: true,
  11242. input: ["text", "image"],
  11243. cost: {
  11244. input: 1.25,
  11245. output: 10,
  11246. cacheRead: 0.125,
  11247. cacheWrite: 0,
  11248. },
  11249. contextWindow: 400000,
  11250. maxTokens: 128000,
  11251. } satisfies Model<"openai-completions">,
  11252. "openai/gpt-5-mini": {
  11253. id: "openai/gpt-5-mini",
  11254. name: "OpenAI: GPT-5 Mini",
  11255. api: "openai-completions",
  11256. provider: "openrouter",
  11257. baseUrl: "https://openrouter.ai/api/v1",
  11258. reasoning: true,
  11259. input: ["text", "image"],
  11260. cost: {
  11261. input: 0.25,
  11262. output: 2,
  11263. cacheRead: 0.024999999999999998,
  11264. cacheWrite: 0,
  11265. },
  11266. contextWindow: 400000,
  11267. maxTokens: 128000,
  11268. } satisfies Model<"openai-completions">,
  11269. "openai/gpt-5-nano": {
  11270. id: "openai/gpt-5-nano",
  11271. name: "OpenAI: GPT-5 Nano",
  11272. api: "openai-completions",
  11273. provider: "openrouter",
  11274. baseUrl: "https://openrouter.ai/api/v1",
  11275. reasoning: true,
  11276. input: ["text", "image"],
  11277. cost: {
  11278. input: 0.049999999999999996,
  11279. output: 0.39999999999999997,
  11280. cacheRead: 0.01,
  11281. cacheWrite: 0,
  11282. },
  11283. contextWindow: 400000,
  11284. maxTokens: 4096,
  11285. } satisfies Model<"openai-completions">,
  11286. "openai/gpt-5-pro": {
  11287. id: "openai/gpt-5-pro",
  11288. name: "OpenAI: GPT-5 Pro",
  11289. api: "openai-completions",
  11290. provider: "openrouter",
  11291. baseUrl: "https://openrouter.ai/api/v1",
  11292. reasoning: true,
  11293. input: ["text", "image"],
  11294. cost: {
  11295. input: 15,
  11296. output: 120,
  11297. cacheRead: 0,
  11298. cacheWrite: 0,
  11299. },
  11300. contextWindow: 400000,
  11301. maxTokens: 128000,
  11302. } satisfies Model<"openai-completions">,
  11303. "openai/gpt-5.1": {
  11304. id: "openai/gpt-5.1",
  11305. name: "OpenAI: GPT-5.1",
  11306. api: "openai-completions",
  11307. provider: "openrouter",
  11308. baseUrl: "https://openrouter.ai/api/v1",
  11309. reasoning: true,
  11310. input: ["text", "image"],
  11311. cost: {
  11312. input: 1.25,
  11313. output: 10,
  11314. cacheRead: 0.13,
  11315. cacheWrite: 0,
  11316. },
  11317. contextWindow: 400000,
  11318. maxTokens: 128000,
  11319. } satisfies Model<"openai-completions">,
  11320. "openai/gpt-5.1-chat": {
  11321. id: "openai/gpt-5.1-chat",
  11322. name: "OpenAI: GPT-5.1 Chat",
  11323. api: "openai-completions",
  11324. provider: "openrouter",
  11325. baseUrl: "https://openrouter.ai/api/v1",
  11326. reasoning: false,
  11327. input: ["text", "image"],
  11328. cost: {
  11329. input: 1.25,
  11330. output: 10,
  11331. cacheRead: 0.13,
  11332. cacheWrite: 0,
  11333. },
  11334. contextWindow: 128000,
  11335. maxTokens: 32000,
  11336. } satisfies Model<"openai-completions">,
  11337. "openai/gpt-5.1-codex": {
  11338. id: "openai/gpt-5.1-codex",
  11339. name: "OpenAI: GPT-5.1-Codex",
  11340. api: "openai-completions",
  11341. provider: "openrouter",
  11342. baseUrl: "https://openrouter.ai/api/v1",
  11343. reasoning: true,
  11344. input: ["text", "image"],
  11345. cost: {
  11346. input: 1.25,
  11347. output: 10,
  11348. cacheRead: 0.13,
  11349. cacheWrite: 0,
  11350. },
  11351. contextWindow: 400000,
  11352. maxTokens: 128000,
  11353. } satisfies Model<"openai-completions">,
  11354. "openai/gpt-5.1-codex-max": {
  11355. id: "openai/gpt-5.1-codex-max",
  11356. name: "OpenAI: GPT-5.1-Codex-Max",
  11357. api: "openai-completions",
  11358. provider: "openrouter",
  11359. baseUrl: "https://openrouter.ai/api/v1",
  11360. reasoning: true,
  11361. input: ["text", "image"],
  11362. cost: {
  11363. input: 1.25,
  11364. output: 10,
  11365. cacheRead: 0.125,
  11366. cacheWrite: 0,
  11367. },
  11368. contextWindow: 400000,
  11369. maxTokens: 128000,
  11370. } satisfies Model<"openai-completions">,
  11371. "openai/gpt-5.1-codex-mini": {
  11372. id: "openai/gpt-5.1-codex-mini",
  11373. name: "OpenAI: GPT-5.1-Codex-Mini",
  11374. api: "openai-completions",
  11375. provider: "openrouter",
  11376. baseUrl: "https://openrouter.ai/api/v1",
  11377. reasoning: true,
  11378. input: ["text", "image"],
  11379. cost: {
  11380. input: 0.25,
  11381. output: 2,
  11382. cacheRead: 0.024999999999999998,
  11383. cacheWrite: 0,
  11384. },
  11385. contextWindow: 400000,
  11386. maxTokens: 100000,
  11387. } satisfies Model<"openai-completions">,
  11388. "openai/gpt-5.2": {
  11389. id: "openai/gpt-5.2",
  11390. name: "OpenAI: GPT-5.2",
  11391. api: "openai-completions",
  11392. provider: "openrouter",
  11393. baseUrl: "https://openrouter.ai/api/v1",
  11394. reasoning: true,
  11395. thinkingLevelMap: {"xhigh":"xhigh"},
  11396. input: ["text", "image"],
  11397. cost: {
  11398. input: 1.75,
  11399. output: 14,
  11400. cacheRead: 0.175,
  11401. cacheWrite: 0,
  11402. },
  11403. contextWindow: 400000,
  11404. maxTokens: 128000,
  11405. } satisfies Model<"openai-completions">,
  11406. "openai/gpt-5.2-chat": {
  11407. id: "openai/gpt-5.2-chat",
  11408. name: "OpenAI: GPT-5.2 Chat",
  11409. api: "openai-completions",
  11410. provider: "openrouter",
  11411. baseUrl: "https://openrouter.ai/api/v1",
  11412. reasoning: false,
  11413. thinkingLevelMap: {"xhigh":"xhigh"},
  11414. input: ["text", "image"],
  11415. cost: {
  11416. input: 1.75,
  11417. output: 14,
  11418. cacheRead: 0.175,
  11419. cacheWrite: 0,
  11420. },
  11421. contextWindow: 128000,
  11422. maxTokens: 16384,
  11423. } satisfies Model<"openai-completions">,
  11424. "openai/gpt-5.2-codex": {
  11425. id: "openai/gpt-5.2-codex",
  11426. name: "OpenAI: GPT-5.2-Codex",
  11427. api: "openai-completions",
  11428. provider: "openrouter",
  11429. baseUrl: "https://openrouter.ai/api/v1",
  11430. reasoning: true,
  11431. thinkingLevelMap: {"xhigh":"xhigh"},
  11432. input: ["text", "image"],
  11433. cost: {
  11434. input: 1.75,
  11435. output: 14,
  11436. cacheRead: 0.175,
  11437. cacheWrite: 0,
  11438. },
  11439. contextWindow: 400000,
  11440. maxTokens: 128000,
  11441. } satisfies Model<"openai-completions">,
  11442. "openai/gpt-5.2-pro": {
  11443. id: "openai/gpt-5.2-pro",
  11444. name: "OpenAI: GPT-5.2 Pro",
  11445. api: "openai-completions",
  11446. provider: "openrouter",
  11447. baseUrl: "https://openrouter.ai/api/v1",
  11448. reasoning: true,
  11449. thinkingLevelMap: {"xhigh":"xhigh"},
  11450. input: ["text", "image"],
  11451. cost: {
  11452. input: 21,
  11453. output: 168,
  11454. cacheRead: 0,
  11455. cacheWrite: 0,
  11456. },
  11457. contextWindow: 400000,
  11458. maxTokens: 128000,
  11459. } satisfies Model<"openai-completions">,
  11460. "openai/gpt-5.3-chat": {
  11461. id: "openai/gpt-5.3-chat",
  11462. name: "OpenAI: GPT-5.3 Chat",
  11463. api: "openai-completions",
  11464. provider: "openrouter",
  11465. baseUrl: "https://openrouter.ai/api/v1",
  11466. reasoning: false,
  11467. thinkingLevelMap: {"xhigh":"xhigh"},
  11468. input: ["text", "image"],
  11469. cost: {
  11470. input: 1.75,
  11471. output: 14,
  11472. cacheRead: 0.175,
  11473. cacheWrite: 0,
  11474. },
  11475. contextWindow: 128000,
  11476. maxTokens: 16384,
  11477. } satisfies Model<"openai-completions">,
  11478. "openai/gpt-5.3-codex": {
  11479. id: "openai/gpt-5.3-codex",
  11480. name: "OpenAI: GPT-5.3-Codex",
  11481. api: "openai-completions",
  11482. provider: "openrouter",
  11483. baseUrl: "https://openrouter.ai/api/v1",
  11484. reasoning: true,
  11485. thinkingLevelMap: {"xhigh":"xhigh"},
  11486. input: ["text", "image"],
  11487. cost: {
  11488. input: 1.75,
  11489. output: 14,
  11490. cacheRead: 0.175,
  11491. cacheWrite: 0,
  11492. },
  11493. contextWindow: 400000,
  11494. maxTokens: 128000,
  11495. } satisfies Model<"openai-completions">,
  11496. "openai/gpt-5.4": {
  11497. id: "openai/gpt-5.4",
  11498. name: "OpenAI: GPT-5.4",
  11499. api: "openai-completions",
  11500. provider: "openrouter",
  11501. baseUrl: "https://openrouter.ai/api/v1",
  11502. reasoning: true,
  11503. thinkingLevelMap: {"xhigh":"xhigh"},
  11504. input: ["text", "image"],
  11505. cost: {
  11506. input: 2.5,
  11507. output: 15,
  11508. cacheRead: 0.25,
  11509. cacheWrite: 0,
  11510. },
  11511. contextWindow: 1050000,
  11512. maxTokens: 128000,
  11513. } satisfies Model<"openai-completions">,
  11514. "openai/gpt-5.4-mini": {
  11515. id: "openai/gpt-5.4-mini",
  11516. name: "OpenAI: GPT-5.4 Mini",
  11517. api: "openai-completions",
  11518. provider: "openrouter",
  11519. baseUrl: "https://openrouter.ai/api/v1",
  11520. reasoning: true,
  11521. thinkingLevelMap: {"xhigh":"xhigh"},
  11522. input: ["text", "image"],
  11523. cost: {
  11524. input: 0.75,
  11525. output: 4.5,
  11526. cacheRead: 0.075,
  11527. cacheWrite: 0,
  11528. },
  11529. contextWindow: 400000,
  11530. maxTokens: 128000,
  11531. } satisfies Model<"openai-completions">,
  11532. "openai/gpt-5.4-nano": {
  11533. id: "openai/gpt-5.4-nano",
  11534. name: "OpenAI: GPT-5.4 Nano",
  11535. api: "openai-completions",
  11536. provider: "openrouter",
  11537. baseUrl: "https://openrouter.ai/api/v1",
  11538. reasoning: true,
  11539. thinkingLevelMap: {"xhigh":"xhigh"},
  11540. input: ["text", "image"],
  11541. cost: {
  11542. input: 0.19999999999999998,
  11543. output: 1.25,
  11544. cacheRead: 0.02,
  11545. cacheWrite: 0,
  11546. },
  11547. contextWindow: 400000,
  11548. maxTokens: 128000,
  11549. } satisfies Model<"openai-completions">,
  11550. "openai/gpt-5.4-pro": {
  11551. id: "openai/gpt-5.4-pro",
  11552. name: "OpenAI: GPT-5.4 Pro",
  11553. api: "openai-completions",
  11554. provider: "openrouter",
  11555. baseUrl: "https://openrouter.ai/api/v1",
  11556. reasoning: true,
  11557. thinkingLevelMap: {"xhigh":"xhigh"},
  11558. input: ["text", "image"],
  11559. cost: {
  11560. input: 30,
  11561. output: 180,
  11562. cacheRead: 0,
  11563. cacheWrite: 0,
  11564. },
  11565. contextWindow: 1050000,
  11566. maxTokens: 128000,
  11567. } satisfies Model<"openai-completions">,
  11568. "openai/gpt-5.5": {
  11569. id: "openai/gpt-5.5",
  11570. name: "OpenAI: GPT-5.5",
  11571. api: "openai-completions",
  11572. provider: "openrouter",
  11573. baseUrl: "https://openrouter.ai/api/v1",
  11574. reasoning: true,
  11575. thinkingLevelMap: {"xhigh":"xhigh"},
  11576. input: ["text", "image"],
  11577. cost: {
  11578. input: 5,
  11579. output: 30,
  11580. cacheRead: 0.5,
  11581. cacheWrite: 0,
  11582. },
  11583. contextWindow: 1050000,
  11584. maxTokens: 128000,
  11585. } satisfies Model<"openai-completions">,
  11586. "openai/gpt-5.5-pro": {
  11587. id: "openai/gpt-5.5-pro",
  11588. name: "OpenAI: GPT-5.5 Pro",
  11589. api: "openai-completions",
  11590. provider: "openrouter",
  11591. baseUrl: "https://openrouter.ai/api/v1",
  11592. reasoning: true,
  11593. thinkingLevelMap: {"xhigh":"xhigh","off":null,"minimal":null,"low":null},
  11594. input: ["text", "image"],
  11595. cost: {
  11596. input: 30,
  11597. output: 180,
  11598. cacheRead: 0,
  11599. cacheWrite: 0,
  11600. },
  11601. contextWindow: 1050000,
  11602. maxTokens: 128000,
  11603. } satisfies Model<"openai-completions">,
  11604. "openai/gpt-audio": {
  11605. id: "openai/gpt-audio",
  11606. name: "OpenAI: GPT Audio",
  11607. api: "openai-completions",
  11608. provider: "openrouter",
  11609. baseUrl: "https://openrouter.ai/api/v1",
  11610. reasoning: false,
  11611. input: ["text"],
  11612. cost: {
  11613. input: 2.5,
  11614. output: 10,
  11615. cacheRead: 0,
  11616. cacheWrite: 0,
  11617. },
  11618. contextWindow: 128000,
  11619. maxTokens: 16384,
  11620. } satisfies Model<"openai-completions">,
  11621. "openai/gpt-audio-mini": {
  11622. id: "openai/gpt-audio-mini",
  11623. name: "OpenAI: GPT Audio Mini",
  11624. api: "openai-completions",
  11625. provider: "openrouter",
  11626. baseUrl: "https://openrouter.ai/api/v1",
  11627. reasoning: false,
  11628. input: ["text"],
  11629. cost: {
  11630. input: 0.6,
  11631. output: 2.4,
  11632. cacheRead: 0,
  11633. cacheWrite: 0,
  11634. },
  11635. contextWindow: 128000,
  11636. maxTokens: 16384,
  11637. } satisfies Model<"openai-completions">,
  11638. "openai/gpt-chat-latest": {
  11639. id: "openai/gpt-chat-latest",
  11640. name: "OpenAI: GPT Chat Latest",
  11641. api: "openai-completions",
  11642. provider: "openrouter",
  11643. baseUrl: "https://openrouter.ai/api/v1",
  11644. reasoning: false,
  11645. input: ["text", "image"],
  11646. cost: {
  11647. input: 5,
  11648. output: 30,
  11649. cacheRead: 0.5,
  11650. cacheWrite: 0,
  11651. },
  11652. contextWindow: 400000,
  11653. maxTokens: 128000,
  11654. } satisfies Model<"openai-completions">,
  11655. "openai/gpt-oss-120b": {
  11656. id: "openai/gpt-oss-120b",
  11657. name: "OpenAI: gpt-oss-120b",
  11658. api: "openai-completions",
  11659. provider: "openrouter",
  11660. baseUrl: "https://openrouter.ai/api/v1",
  11661. reasoning: true,
  11662. input: ["text"],
  11663. cost: {
  11664. input: 0.039,
  11665. output: 0.18,
  11666. cacheRead: 0,
  11667. cacheWrite: 0,
  11668. },
  11669. contextWindow: 131072,
  11670. maxTokens: 4096,
  11671. } satisfies Model<"openai-completions">,
  11672. "openai/gpt-oss-120b:free": {
  11673. id: "openai/gpt-oss-120b:free",
  11674. name: "OpenAI: gpt-oss-120b (free)",
  11675. api: "openai-completions",
  11676. provider: "openrouter",
  11677. baseUrl: "https://openrouter.ai/api/v1",
  11678. reasoning: true,
  11679. input: ["text"],
  11680. cost: {
  11681. input: 0,
  11682. output: 0,
  11683. cacheRead: 0,
  11684. cacheWrite: 0,
  11685. },
  11686. contextWindow: 131072,
  11687. maxTokens: 131072,
  11688. } satisfies Model<"openai-completions">,
  11689. "openai/gpt-oss-20b": {
  11690. id: "openai/gpt-oss-20b",
  11691. name: "OpenAI: gpt-oss-20b",
  11692. api: "openai-completions",
  11693. provider: "openrouter",
  11694. baseUrl: "https://openrouter.ai/api/v1",
  11695. reasoning: true,
  11696. input: ["text"],
  11697. cost: {
  11698. input: 0.029,
  11699. output: 0.14,
  11700. cacheRead: 0,
  11701. cacheWrite: 0,
  11702. },
  11703. contextWindow: 131072,
  11704. maxTokens: 4096,
  11705. } satisfies Model<"openai-completions">,
  11706. "openai/gpt-oss-20b:free": {
  11707. id: "openai/gpt-oss-20b:free",
  11708. name: "OpenAI: gpt-oss-20b (free)",
  11709. api: "openai-completions",
  11710. provider: "openrouter",
  11711. baseUrl: "https://openrouter.ai/api/v1",
  11712. reasoning: true,
  11713. input: ["text"],
  11714. cost: {
  11715. input: 0,
  11716. output: 0,
  11717. cacheRead: 0,
  11718. cacheWrite: 0,
  11719. },
  11720. contextWindow: 131072,
  11721. maxTokens: 8192,
  11722. } satisfies Model<"openai-completions">,
  11723. "openai/gpt-oss-safeguard-20b": {
  11724. id: "openai/gpt-oss-safeguard-20b",
  11725. name: "OpenAI: gpt-oss-safeguard-20b",
  11726. api: "openai-completions",
  11727. provider: "openrouter",
  11728. baseUrl: "https://openrouter.ai/api/v1",
  11729. reasoning: true,
  11730. input: ["text"],
  11731. cost: {
  11732. input: 0.075,
  11733. output: 0.3,
  11734. cacheRead: 0.037,
  11735. cacheWrite: 0,
  11736. },
  11737. contextWindow: 131072,
  11738. maxTokens: 65536,
  11739. } satisfies Model<"openai-completions">,
  11740. "openai/o1": {
  11741. id: "openai/o1",
  11742. name: "OpenAI: o1",
  11743. api: "openai-completions",
  11744. provider: "openrouter",
  11745. baseUrl: "https://openrouter.ai/api/v1",
  11746. reasoning: true,
  11747. input: ["text", "image"],
  11748. cost: {
  11749. input: 15,
  11750. output: 60,
  11751. cacheRead: 7.5,
  11752. cacheWrite: 0,
  11753. },
  11754. contextWindow: 200000,
  11755. maxTokens: 100000,
  11756. } satisfies Model<"openai-completions">,
  11757. "openai/o3": {
  11758. id: "openai/o3",
  11759. name: "OpenAI: o3",
  11760. api: "openai-completions",
  11761. provider: "openrouter",
  11762. baseUrl: "https://openrouter.ai/api/v1",
  11763. reasoning: true,
  11764. input: ["text", "image"],
  11765. cost: {
  11766. input: 2,
  11767. output: 8,
  11768. cacheRead: 0.5,
  11769. cacheWrite: 0,
  11770. },
  11771. contextWindow: 200000,
  11772. maxTokens: 100000,
  11773. } satisfies Model<"openai-completions">,
  11774. "openai/o3-deep-research": {
  11775. id: "openai/o3-deep-research",
  11776. name: "OpenAI: o3 Deep Research",
  11777. api: "openai-completions",
  11778. provider: "openrouter",
  11779. baseUrl: "https://openrouter.ai/api/v1",
  11780. reasoning: true,
  11781. input: ["text", "image"],
  11782. cost: {
  11783. input: 10,
  11784. output: 40,
  11785. cacheRead: 2.5,
  11786. cacheWrite: 0,
  11787. },
  11788. contextWindow: 200000,
  11789. maxTokens: 100000,
  11790. } satisfies Model<"openai-completions">,
  11791. "openai/o3-mini": {
  11792. id: "openai/o3-mini",
  11793. name: "OpenAI: o3 Mini",
  11794. api: "openai-completions",
  11795. provider: "openrouter",
  11796. baseUrl: "https://openrouter.ai/api/v1",
  11797. reasoning: true,
  11798. input: ["text"],
  11799. cost: {
  11800. input: 1.1,
  11801. output: 4.4,
  11802. cacheRead: 0.55,
  11803. cacheWrite: 0,
  11804. },
  11805. contextWindow: 200000,
  11806. maxTokens: 100000,
  11807. } satisfies Model<"openai-completions">,
  11808. "openai/o3-mini-high": {
  11809. id: "openai/o3-mini-high",
  11810. name: "OpenAI: o3 Mini High",
  11811. api: "openai-completions",
  11812. provider: "openrouter",
  11813. baseUrl: "https://openrouter.ai/api/v1",
  11814. reasoning: true,
  11815. input: ["text"],
  11816. cost: {
  11817. input: 1.1,
  11818. output: 4.4,
  11819. cacheRead: 0.55,
  11820. cacheWrite: 0,
  11821. },
  11822. contextWindow: 200000,
  11823. maxTokens: 100000,
  11824. } satisfies Model<"openai-completions">,
  11825. "openai/o3-pro": {
  11826. id: "openai/o3-pro",
  11827. name: "OpenAI: o3 Pro",
  11828. api: "openai-completions",
  11829. provider: "openrouter",
  11830. baseUrl: "https://openrouter.ai/api/v1",
  11831. reasoning: true,
  11832. input: ["text", "image"],
  11833. cost: {
  11834. input: 20,
  11835. output: 80,
  11836. cacheRead: 0,
  11837. cacheWrite: 0,
  11838. },
  11839. contextWindow: 200000,
  11840. maxTokens: 100000,
  11841. } satisfies Model<"openai-completions">,
  11842. "openai/o4-mini": {
  11843. id: "openai/o4-mini",
  11844. name: "OpenAI: o4 Mini",
  11845. api: "openai-completions",
  11846. provider: "openrouter",
  11847. baseUrl: "https://openrouter.ai/api/v1",
  11848. reasoning: true,
  11849. input: ["text", "image"],
  11850. cost: {
  11851. input: 1.1,
  11852. output: 4.4,
  11853. cacheRead: 0.275,
  11854. cacheWrite: 0,
  11855. },
  11856. contextWindow: 200000,
  11857. maxTokens: 100000,
  11858. } satisfies Model<"openai-completions">,
  11859. "openai/o4-mini-deep-research": {
  11860. id: "openai/o4-mini-deep-research",
  11861. name: "OpenAI: o4 Mini Deep Research",
  11862. api: "openai-completions",
  11863. provider: "openrouter",
  11864. baseUrl: "https://openrouter.ai/api/v1",
  11865. reasoning: true,
  11866. input: ["text", "image"],
  11867. cost: {
  11868. input: 2,
  11869. output: 8,
  11870. cacheRead: 0.5,
  11871. cacheWrite: 0,
  11872. },
  11873. contextWindow: 200000,
  11874. maxTokens: 100000,
  11875. } satisfies Model<"openai-completions">,
  11876. "openai/o4-mini-high": {
  11877. id: "openai/o4-mini-high",
  11878. name: "OpenAI: o4 Mini High",
  11879. api: "openai-completions",
  11880. provider: "openrouter",
  11881. baseUrl: "https://openrouter.ai/api/v1",
  11882. reasoning: true,
  11883. input: ["text", "image"],
  11884. cost: {
  11885. input: 1.1,
  11886. output: 4.4,
  11887. cacheRead: 0.275,
  11888. cacheWrite: 0,
  11889. },
  11890. contextWindow: 200000,
  11891. maxTokens: 100000,
  11892. } satisfies Model<"openai-completions">,
  11893. "openrouter/auto": {
  11894. id: "openrouter/auto",
  11895. name: "Auto Router",
  11896. api: "openai-completions",
  11897. provider: "openrouter",
  11898. baseUrl: "https://openrouter.ai/api/v1",
  11899. reasoning: true,
  11900. input: ["text", "image"],
  11901. cost: {
  11902. input: -1000000,
  11903. output: -1000000,
  11904. cacheRead: 0,
  11905. cacheWrite: 0,
  11906. },
  11907. contextWindow: 2000000,
  11908. maxTokens: 4096,
  11909. } satisfies Model<"openai-completions">,
  11910. "openrouter/free": {
  11911. id: "openrouter/free",
  11912. name: "Free Models Router",
  11913. api: "openai-completions",
  11914. provider: "openrouter",
  11915. baseUrl: "https://openrouter.ai/api/v1",
  11916. reasoning: true,
  11917. input: ["text", "image"],
  11918. cost: {
  11919. input: 0,
  11920. output: 0,
  11921. cacheRead: 0,
  11922. cacheWrite: 0,
  11923. },
  11924. contextWindow: 200000,
  11925. maxTokens: 4096,
  11926. } satisfies Model<"openai-completions">,
  11927. "openrouter/owl-alpha": {
  11928. id: "openrouter/owl-alpha",
  11929. name: "Owl Alpha",
  11930. api: "openai-completions",
  11931. provider: "openrouter",
  11932. baseUrl: "https://openrouter.ai/api/v1",
  11933. reasoning: false,
  11934. input: ["text"],
  11935. cost: {
  11936. input: 0,
  11937. output: 0,
  11938. cacheRead: 0,
  11939. cacheWrite: 0,
  11940. },
  11941. contextWindow: 1048756,
  11942. maxTokens: 262144,
  11943. } satisfies Model<"openai-completions">,
  11944. "poolside/laguna-m.1:free": {
  11945. id: "poolside/laguna-m.1:free",
  11946. name: "Poolside: Laguna M.1 (free)",
  11947. api: "openai-completions",
  11948. provider: "openrouter",
  11949. baseUrl: "https://openrouter.ai/api/v1",
  11950. reasoning: true,
  11951. input: ["text"],
  11952. cost: {
  11953. input: 0,
  11954. output: 0,
  11955. cacheRead: 0,
  11956. cacheWrite: 0,
  11957. },
  11958. contextWindow: 262144,
  11959. maxTokens: 32768,
  11960. } satisfies Model<"openai-completions">,
  11961. "poolside/laguna-xs.2:free": {
  11962. id: "poolside/laguna-xs.2:free",
  11963. name: "Poolside: Laguna XS.2 (free)",
  11964. api: "openai-completions",
  11965. provider: "openrouter",
  11966. baseUrl: "https://openrouter.ai/api/v1",
  11967. reasoning: true,
  11968. input: ["text"],
  11969. cost: {
  11970. input: 0,
  11971. output: 0,
  11972. cacheRead: 0,
  11973. cacheWrite: 0,
  11974. },
  11975. contextWindow: 262144,
  11976. maxTokens: 32768,
  11977. } satisfies Model<"openai-completions">,
  11978. "prime-intellect/intellect-3": {
  11979. id: "prime-intellect/intellect-3",
  11980. name: "Prime Intellect: INTELLECT-3",
  11981. api: "openai-completions",
  11982. provider: "openrouter",
  11983. baseUrl: "https://openrouter.ai/api/v1",
  11984. reasoning: true,
  11985. input: ["text"],
  11986. cost: {
  11987. input: 0.19999999999999998,
  11988. output: 1.1,
  11989. cacheRead: 0,
  11990. cacheWrite: 0,
  11991. },
  11992. contextWindow: 131072,
  11993. maxTokens: 131072,
  11994. } satisfies Model<"openai-completions">,
  11995. "qwen/qwen-2.5-72b-instruct": {
  11996. id: "qwen/qwen-2.5-72b-instruct",
  11997. name: "Qwen2.5 72B Instruct",
  11998. api: "openai-completions",
  11999. provider: "openrouter",
  12000. baseUrl: "https://openrouter.ai/api/v1",
  12001. reasoning: false,
  12002. input: ["text"],
  12003. cost: {
  12004. input: 0.36,
  12005. output: 0.39999999999999997,
  12006. cacheRead: 0,
  12007. cacheWrite: 0,
  12008. },
  12009. contextWindow: 131072,
  12010. maxTokens: 16384,
  12011. } satisfies Model<"openai-completions">,
  12012. "qwen/qwen-plus": {
  12013. id: "qwen/qwen-plus",
  12014. name: "Qwen: Qwen-Plus",
  12015. api: "openai-completions",
  12016. provider: "openrouter",
  12017. baseUrl: "https://openrouter.ai/api/v1",
  12018. reasoning: false,
  12019. input: ["text"],
  12020. cost: {
  12021. input: 0.26,
  12022. output: 0.78,
  12023. cacheRead: 0.052000000000000005,
  12024. cacheWrite: 0.325,
  12025. },
  12026. contextWindow: 1000000,
  12027. maxTokens: 32768,
  12028. } satisfies Model<"openai-completions">,
  12029. "qwen/qwen-plus-2025-07-28": {
  12030. id: "qwen/qwen-plus-2025-07-28",
  12031. name: "Qwen: Qwen Plus 0728",
  12032. api: "openai-completions",
  12033. provider: "openrouter",
  12034. baseUrl: "https://openrouter.ai/api/v1",
  12035. reasoning: false,
  12036. input: ["text"],
  12037. cost: {
  12038. input: 0.26,
  12039. output: 0.78,
  12040. cacheRead: 0,
  12041. cacheWrite: 0,
  12042. },
  12043. contextWindow: 1000000,
  12044. maxTokens: 32768,
  12045. } satisfies Model<"openai-completions">,
  12046. "qwen/qwen-plus-2025-07-28:thinking": {
  12047. id: "qwen/qwen-plus-2025-07-28:thinking",
  12048. name: "Qwen: Qwen Plus 0728 (thinking)",
  12049. api: "openai-completions",
  12050. provider: "openrouter",
  12051. baseUrl: "https://openrouter.ai/api/v1",
  12052. reasoning: true,
  12053. input: ["text"],
  12054. cost: {
  12055. input: 0.26,
  12056. output: 0.78,
  12057. cacheRead: 0,
  12058. cacheWrite: 0.325,
  12059. },
  12060. contextWindow: 1000000,
  12061. maxTokens: 32768,
  12062. } satisfies Model<"openai-completions">,
  12063. "qwen/qwen3-14b": {
  12064. id: "qwen/qwen3-14b",
  12065. name: "Qwen: Qwen3 14B",
  12066. api: "openai-completions",
  12067. provider: "openrouter",
  12068. baseUrl: "https://openrouter.ai/api/v1",
  12069. reasoning: true,
  12070. input: ["text"],
  12071. cost: {
  12072. input: 0.09999999999999999,
  12073. output: 0.24,
  12074. cacheRead: 0,
  12075. cacheWrite: 0,
  12076. },
  12077. contextWindow: 131702,
  12078. maxTokens: 40960,
  12079. } satisfies Model<"openai-completions">,
  12080. "qwen/qwen3-235b-a22b": {
  12081. id: "qwen/qwen3-235b-a22b",
  12082. name: "Qwen: Qwen3 235B A22B",
  12083. api: "openai-completions",
  12084. provider: "openrouter",
  12085. baseUrl: "https://openrouter.ai/api/v1",
  12086. reasoning: true,
  12087. input: ["text"],
  12088. cost: {
  12089. input: 0.45499999999999996,
  12090. output: 1.8199999999999998,
  12091. cacheRead: 0,
  12092. cacheWrite: 0,
  12093. },
  12094. contextWindow: 131072,
  12095. maxTokens: 8192,
  12096. } satisfies Model<"openai-completions">,
  12097. "qwen/qwen3-235b-a22b-2507": {
  12098. id: "qwen/qwen3-235b-a22b-2507",
  12099. name: "Qwen: Qwen3 235B A22B Instruct 2507",
  12100. api: "openai-completions",
  12101. provider: "openrouter",
  12102. baseUrl: "https://openrouter.ai/api/v1",
  12103. reasoning: false,
  12104. input: ["text"],
  12105. cost: {
  12106. input: 0.09,
  12107. output: 0.09999999999999999,
  12108. cacheRead: 0,
  12109. cacheWrite: 0,
  12110. },
  12111. contextWindow: 262144,
  12112. maxTokens: 16384,
  12113. } satisfies Model<"openai-completions">,
  12114. "qwen/qwen3-235b-a22b-thinking-2507": {
  12115. id: "qwen/qwen3-235b-a22b-thinking-2507",
  12116. name: "Qwen: Qwen3 235B A22B Thinking 2507",
  12117. api: "openai-completions",
  12118. provider: "openrouter",
  12119. baseUrl: "https://openrouter.ai/api/v1",
  12120. reasoning: true,
  12121. input: ["text"],
  12122. cost: {
  12123. input: 0.09999999999999999,
  12124. output: 0.09999999999999999,
  12125. cacheRead: 0.09999999999999999,
  12126. cacheWrite: 0,
  12127. },
  12128. contextWindow: 262144,
  12129. maxTokens: 262144,
  12130. } satisfies Model<"openai-completions">,
  12131. "qwen/qwen3-30b-a3b": {
  12132. id: "qwen/qwen3-30b-a3b",
  12133. name: "Qwen: Qwen3 30B A3B",
  12134. api: "openai-completions",
  12135. provider: "openrouter",
  12136. baseUrl: "https://openrouter.ai/api/v1",
  12137. reasoning: true,
  12138. input: ["text"],
  12139. cost: {
  12140. input: 0.12,
  12141. output: 0.5,
  12142. cacheRead: 0,
  12143. cacheWrite: 0,
  12144. },
  12145. contextWindow: 131072,
  12146. maxTokens: 16384,
  12147. } satisfies Model<"openai-completions">,
  12148. "qwen/qwen3-30b-a3b-instruct-2507": {
  12149. id: "qwen/qwen3-30b-a3b-instruct-2507",
  12150. name: "Qwen: Qwen3 30B A3B Instruct 2507",
  12151. api: "openai-completions",
  12152. provider: "openrouter",
  12153. baseUrl: "https://openrouter.ai/api/v1",
  12154. reasoning: false,
  12155. input: ["text"],
  12156. cost: {
  12157. input: 0.04815,
  12158. output: 0.19305,
  12159. cacheRead: 0,
  12160. cacheWrite: 0,
  12161. },
  12162. contextWindow: 131072,
  12163. maxTokens: 32000,
  12164. } satisfies Model<"openai-completions">,
  12165. "qwen/qwen3-30b-a3b-thinking-2507": {
  12166. id: "qwen/qwen3-30b-a3b-thinking-2507",
  12167. name: "Qwen: Qwen3 30B A3B Thinking 2507",
  12168. api: "openai-completions",
  12169. provider: "openrouter",
  12170. baseUrl: "https://openrouter.ai/api/v1",
  12171. reasoning: true,
  12172. input: ["text"],
  12173. cost: {
  12174. input: 0.08,
  12175. output: 0.39999999999999997,
  12176. cacheRead: 0.08,
  12177. cacheWrite: 0,
  12178. },
  12179. contextWindow: 131072,
  12180. maxTokens: 131072,
  12181. } satisfies Model<"openai-completions">,
  12182. "qwen/qwen3-32b": {
  12183. id: "qwen/qwen3-32b",
  12184. name: "Qwen: Qwen3 32B",
  12185. api: "openai-completions",
  12186. provider: "openrouter",
  12187. baseUrl: "https://openrouter.ai/api/v1",
  12188. reasoning: true,
  12189. input: ["text"],
  12190. cost: {
  12191. input: 0.08,
  12192. output: 0.28,
  12193. cacheRead: 0,
  12194. cacheWrite: 0,
  12195. },
  12196. contextWindow: 131072,
  12197. maxTokens: 16384,
  12198. } satisfies Model<"openai-completions">,
  12199. "qwen/qwen3-8b": {
  12200. id: "qwen/qwen3-8b",
  12201. name: "Qwen: Qwen3 8B",
  12202. api: "openai-completions",
  12203. provider: "openrouter",
  12204. baseUrl: "https://openrouter.ai/api/v1",
  12205. reasoning: true,
  12206. input: ["text"],
  12207. cost: {
  12208. input: 0.049999999999999996,
  12209. output: 0.39999999999999997,
  12210. cacheRead: 0.049999999999999996,
  12211. cacheWrite: 0,
  12212. },
  12213. contextWindow: 131072,
  12214. maxTokens: 8192,
  12215. } satisfies Model<"openai-completions">,
  12216. "qwen/qwen3-coder": {
  12217. id: "qwen/qwen3-coder",
  12218. name: "Qwen: Qwen3 Coder 480B A35B",
  12219. api: "openai-completions",
  12220. provider: "openrouter",
  12221. baseUrl: "https://openrouter.ai/api/v1",
  12222. reasoning: false,
  12223. input: ["text"],
  12224. cost: {
  12225. input: 0.22,
  12226. output: 1.7999999999999998,
  12227. cacheRead: 0,
  12228. cacheWrite: 0,
  12229. },
  12230. contextWindow: 1048576,
  12231. maxTokens: 65536,
  12232. } satisfies Model<"openai-completions">,
  12233. "qwen/qwen3-coder-30b-a3b-instruct": {
  12234. id: "qwen/qwen3-coder-30b-a3b-instruct",
  12235. name: "Qwen: Qwen3 Coder 30B A3B Instruct",
  12236. api: "openai-completions",
  12237. provider: "openrouter",
  12238. baseUrl: "https://openrouter.ai/api/v1",
  12239. reasoning: false,
  12240. input: ["text"],
  12241. cost: {
  12242. input: 0.07,
  12243. output: 0.27,
  12244. cacheRead: 0,
  12245. cacheWrite: 0,
  12246. },
  12247. contextWindow: 160000,
  12248. maxTokens: 32768,
  12249. } satisfies Model<"openai-completions">,
  12250. "qwen/qwen3-coder-flash": {
  12251. id: "qwen/qwen3-coder-flash",
  12252. name: "Qwen: Qwen3 Coder Flash",
  12253. api: "openai-completions",
  12254. provider: "openrouter",
  12255. baseUrl: "https://openrouter.ai/api/v1",
  12256. reasoning: false,
  12257. input: ["text"],
  12258. cost: {
  12259. input: 0.195,
  12260. output: 0.975,
  12261. cacheRead: 0.039,
  12262. cacheWrite: 0.24375,
  12263. },
  12264. contextWindow: 1000000,
  12265. maxTokens: 65536,
  12266. } satisfies Model<"openai-completions">,
  12267. "qwen/qwen3-coder-next": {
  12268. id: "qwen/qwen3-coder-next",
  12269. name: "Qwen: Qwen3 Coder Next",
  12270. api: "openai-completions",
  12271. provider: "openrouter",
  12272. baseUrl: "https://openrouter.ai/api/v1",
  12273. reasoning: false,
  12274. input: ["text"],
  12275. cost: {
  12276. input: 0.11,
  12277. output: 0.7999999999999999,
  12278. cacheRead: 0.07,
  12279. cacheWrite: 0,
  12280. },
  12281. contextWindow: 262144,
  12282. maxTokens: 262144,
  12283. } satisfies Model<"openai-completions">,
  12284. "qwen/qwen3-coder-plus": {
  12285. id: "qwen/qwen3-coder-plus",
  12286. name: "Qwen: Qwen3 Coder Plus",
  12287. api: "openai-completions",
  12288. provider: "openrouter",
  12289. baseUrl: "https://openrouter.ai/api/v1",
  12290. reasoning: false,
  12291. input: ["text"],
  12292. cost: {
  12293. input: 0.65,
  12294. output: 3.25,
  12295. cacheRead: 0.13,
  12296. cacheWrite: 0.8125,
  12297. },
  12298. contextWindow: 1000000,
  12299. maxTokens: 65536,
  12300. } satisfies Model<"openai-completions">,
  12301. "qwen/qwen3-coder:free": {
  12302. id: "qwen/qwen3-coder:free",
  12303. name: "Qwen: Qwen3 Coder 480B A35B (free)",
  12304. api: "openai-completions",
  12305. provider: "openrouter",
  12306. baseUrl: "https://openrouter.ai/api/v1",
  12307. reasoning: false,
  12308. input: ["text"],
  12309. cost: {
  12310. input: 0,
  12311. output: 0,
  12312. cacheRead: 0,
  12313. cacheWrite: 0,
  12314. },
  12315. contextWindow: 1048576,
  12316. maxTokens: 262000,
  12317. } satisfies Model<"openai-completions">,
  12318. "qwen/qwen3-max": {
  12319. id: "qwen/qwen3-max",
  12320. name: "Qwen: Qwen3 Max",
  12321. api: "openai-completions",
  12322. provider: "openrouter",
  12323. baseUrl: "https://openrouter.ai/api/v1",
  12324. reasoning: false,
  12325. input: ["text"],
  12326. cost: {
  12327. input: 0.78,
  12328. output: 3.9,
  12329. cacheRead: 0.156,
  12330. cacheWrite: 0.975,
  12331. },
  12332. contextWindow: 262144,
  12333. maxTokens: 32768,
  12334. } satisfies Model<"openai-completions">,
  12335. "qwen/qwen3-max-thinking": {
  12336. id: "qwen/qwen3-max-thinking",
  12337. name: "Qwen: Qwen3 Max Thinking",
  12338. api: "openai-completions",
  12339. provider: "openrouter",
  12340. baseUrl: "https://openrouter.ai/api/v1",
  12341. reasoning: true,
  12342. input: ["text"],
  12343. cost: {
  12344. input: 0.78,
  12345. output: 3.9,
  12346. cacheRead: 0,
  12347. cacheWrite: 0,
  12348. },
  12349. contextWindow: 262144,
  12350. maxTokens: 32768,
  12351. } satisfies Model<"openai-completions">,
  12352. "qwen/qwen3-next-80b-a3b-instruct": {
  12353. id: "qwen/qwen3-next-80b-a3b-instruct",
  12354. name: "Qwen: Qwen3 Next 80B A3B Instruct",
  12355. api: "openai-completions",
  12356. provider: "openrouter",
  12357. baseUrl: "https://openrouter.ai/api/v1",
  12358. reasoning: false,
  12359. input: ["text"],
  12360. cost: {
  12361. input: 0.09,
  12362. output: 1.1,
  12363. cacheRead: 0,
  12364. cacheWrite: 0,
  12365. },
  12366. contextWindow: 262144,
  12367. maxTokens: 16384,
  12368. } satisfies Model<"openai-completions">,
  12369. "qwen/qwen3-next-80b-a3b-instruct:free": {
  12370. id: "qwen/qwen3-next-80b-a3b-instruct:free",
  12371. name: "Qwen: Qwen3 Next 80B A3B Instruct (free)",
  12372. api: "openai-completions",
  12373. provider: "openrouter",
  12374. baseUrl: "https://openrouter.ai/api/v1",
  12375. reasoning: false,
  12376. input: ["text"],
  12377. cost: {
  12378. input: 0,
  12379. output: 0,
  12380. cacheRead: 0,
  12381. cacheWrite: 0,
  12382. },
  12383. contextWindow: 262144,
  12384. maxTokens: 4096,
  12385. } satisfies Model<"openai-completions">,
  12386. "qwen/qwen3-next-80b-a3b-thinking": {
  12387. id: "qwen/qwen3-next-80b-a3b-thinking",
  12388. name: "Qwen: Qwen3 Next 80B A3B Thinking",
  12389. api: "openai-completions",
  12390. provider: "openrouter",
  12391. baseUrl: "https://openrouter.ai/api/v1",
  12392. reasoning: true,
  12393. input: ["text"],
  12394. cost: {
  12395. input: 0.0975,
  12396. output: 0.78,
  12397. cacheRead: 0,
  12398. cacheWrite: 0,
  12399. },
  12400. contextWindow: 262144,
  12401. maxTokens: 32768,
  12402. } satisfies Model<"openai-completions">,
  12403. "qwen/qwen3-vl-235b-a22b-instruct": {
  12404. id: "qwen/qwen3-vl-235b-a22b-instruct",
  12405. name: "Qwen: Qwen3 VL 235B A22B Instruct",
  12406. api: "openai-completions",
  12407. provider: "openrouter",
  12408. baseUrl: "https://openrouter.ai/api/v1",
  12409. reasoning: false,
  12410. input: ["text", "image"],
  12411. cost: {
  12412. input: 0.19999999999999998,
  12413. output: 0.88,
  12414. cacheRead: 0.11,
  12415. cacheWrite: 0,
  12416. },
  12417. contextWindow: 262144,
  12418. maxTokens: 16384,
  12419. } satisfies Model<"openai-completions">,
  12420. "qwen/qwen3-vl-235b-a22b-thinking": {
  12421. id: "qwen/qwen3-vl-235b-a22b-thinking",
  12422. name: "Qwen: Qwen3 VL 235B A22B Thinking",
  12423. api: "openai-completions",
  12424. provider: "openrouter",
  12425. baseUrl: "https://openrouter.ai/api/v1",
  12426. reasoning: true,
  12427. input: ["text", "image"],
  12428. cost: {
  12429. input: 0.26,
  12430. output: 2.6,
  12431. cacheRead: 0,
  12432. cacheWrite: 0,
  12433. },
  12434. contextWindow: 131072,
  12435. maxTokens: 32768,
  12436. } satisfies Model<"openai-completions">,
  12437. "qwen/qwen3-vl-30b-a3b-instruct": {
  12438. id: "qwen/qwen3-vl-30b-a3b-instruct",
  12439. name: "Qwen: Qwen3 VL 30B A3B Instruct",
  12440. api: "openai-completions",
  12441. provider: "openrouter",
  12442. baseUrl: "https://openrouter.ai/api/v1",
  12443. reasoning: false,
  12444. input: ["text", "image"],
  12445. cost: {
  12446. input: 0.13,
  12447. output: 0.52,
  12448. cacheRead: 0,
  12449. cacheWrite: 0,
  12450. },
  12451. contextWindow: 262144,
  12452. maxTokens: 32768,
  12453. } satisfies Model<"openai-completions">,
  12454. "qwen/qwen3-vl-30b-a3b-thinking": {
  12455. id: "qwen/qwen3-vl-30b-a3b-thinking",
  12456. name: "Qwen: Qwen3 VL 30B A3B Thinking",
  12457. api: "openai-completions",
  12458. provider: "openrouter",
  12459. baseUrl: "https://openrouter.ai/api/v1",
  12460. reasoning: true,
  12461. input: ["text", "image"],
  12462. cost: {
  12463. input: 0.13,
  12464. output: 1.56,
  12465. cacheRead: 0,
  12466. cacheWrite: 0,
  12467. },
  12468. contextWindow: 131072,
  12469. maxTokens: 32768,
  12470. } satisfies Model<"openai-completions">,
  12471. "qwen/qwen3-vl-32b-instruct": {
  12472. id: "qwen/qwen3-vl-32b-instruct",
  12473. name: "Qwen: Qwen3 VL 32B Instruct",
  12474. api: "openai-completions",
  12475. provider: "openrouter",
  12476. baseUrl: "https://openrouter.ai/api/v1",
  12477. reasoning: false,
  12478. input: ["text", "image"],
  12479. cost: {
  12480. input: 0.10400000000000001,
  12481. output: 0.41600000000000004,
  12482. cacheRead: 0,
  12483. cacheWrite: 0,
  12484. },
  12485. contextWindow: 262144,
  12486. maxTokens: 32768,
  12487. } satisfies Model<"openai-completions">,
  12488. "qwen/qwen3-vl-8b-instruct": {
  12489. id: "qwen/qwen3-vl-8b-instruct",
  12490. name: "Qwen: Qwen3 VL 8B Instruct",
  12491. api: "openai-completions",
  12492. provider: "openrouter",
  12493. baseUrl: "https://openrouter.ai/api/v1",
  12494. reasoning: false,
  12495. input: ["text", "image"],
  12496. cost: {
  12497. input: 0.08,
  12498. output: 0.5,
  12499. cacheRead: 0,
  12500. cacheWrite: 0,
  12501. },
  12502. contextWindow: 256000,
  12503. maxTokens: 32768,
  12504. } satisfies Model<"openai-completions">,
  12505. "qwen/qwen3-vl-8b-thinking": {
  12506. id: "qwen/qwen3-vl-8b-thinking",
  12507. name: "Qwen: Qwen3 VL 8B Thinking",
  12508. api: "openai-completions",
  12509. provider: "openrouter",
  12510. baseUrl: "https://openrouter.ai/api/v1",
  12511. reasoning: true,
  12512. input: ["text", "image"],
  12513. cost: {
  12514. input: 0.117,
  12515. output: 1.365,
  12516. cacheRead: 0,
  12517. cacheWrite: 0,
  12518. },
  12519. contextWindow: 256000,
  12520. maxTokens: 32768,
  12521. } satisfies Model<"openai-completions">,
  12522. "qwen/qwen3.5-122b-a10b": {
  12523. id: "qwen/qwen3.5-122b-a10b",
  12524. name: "Qwen: Qwen3.5-122B-A10B",
  12525. api: "openai-completions",
  12526. provider: "openrouter",
  12527. baseUrl: "https://openrouter.ai/api/v1",
  12528. reasoning: true,
  12529. input: ["text", "image"],
  12530. cost: {
  12531. input: 0.26,
  12532. output: 2.08,
  12533. cacheRead: 0,
  12534. cacheWrite: 0,
  12535. },
  12536. contextWindow: 262144,
  12537. maxTokens: 262144,
  12538. } satisfies Model<"openai-completions">,
  12539. "qwen/qwen3.5-27b": {
  12540. id: "qwen/qwen3.5-27b",
  12541. name: "Qwen: Qwen3.5-27B",
  12542. api: "openai-completions",
  12543. provider: "openrouter",
  12544. baseUrl: "https://openrouter.ai/api/v1",
  12545. reasoning: true,
  12546. input: ["text", "image"],
  12547. cost: {
  12548. input: 0.195,
  12549. output: 1.56,
  12550. cacheRead: 0,
  12551. cacheWrite: 0,
  12552. },
  12553. contextWindow: 262144,
  12554. maxTokens: 65536,
  12555. } satisfies Model<"openai-completions">,
  12556. "qwen/qwen3.5-35b-a3b": {
  12557. id: "qwen/qwen3.5-35b-a3b",
  12558. name: "Qwen: Qwen3.5-35B-A3B",
  12559. api: "openai-completions",
  12560. provider: "openrouter",
  12561. baseUrl: "https://openrouter.ai/api/v1",
  12562. reasoning: true,
  12563. input: ["text", "image"],
  12564. cost: {
  12565. input: 0.14,
  12566. output: 1,
  12567. cacheRead: 0.049999999999999996,
  12568. cacheWrite: 0,
  12569. },
  12570. contextWindow: 262144,
  12571. maxTokens: 262144,
  12572. } satisfies Model<"openai-completions">,
  12573. "qwen/qwen3.5-397b-a17b": {
  12574. id: "qwen/qwen3.5-397b-a17b",
  12575. name: "Qwen: Qwen3.5 397B A17B",
  12576. api: "openai-completions",
  12577. provider: "openrouter",
  12578. baseUrl: "https://openrouter.ai/api/v1",
  12579. reasoning: true,
  12580. input: ["text", "image"],
  12581. cost: {
  12582. input: 0.39,
  12583. output: 2.34,
  12584. cacheRead: 0,
  12585. cacheWrite: 0,
  12586. },
  12587. contextWindow: 262144,
  12588. maxTokens: 65536,
  12589. } satisfies Model<"openai-completions">,
  12590. "qwen/qwen3.5-9b": {
  12591. id: "qwen/qwen3.5-9b",
  12592. name: "Qwen: Qwen3.5-9B",
  12593. api: "openai-completions",
  12594. provider: "openrouter",
  12595. baseUrl: "https://openrouter.ai/api/v1",
  12596. reasoning: true,
  12597. input: ["text", "image"],
  12598. cost: {
  12599. input: 0.09999999999999999,
  12600. output: 0.15,
  12601. cacheRead: 0,
  12602. cacheWrite: 0,
  12603. },
  12604. contextWindow: 262144,
  12605. maxTokens: 262144,
  12606. } satisfies Model<"openai-completions">,
  12607. "qwen/qwen3.5-flash-02-23": {
  12608. id: "qwen/qwen3.5-flash-02-23",
  12609. name: "Qwen: Qwen3.5-Flash",
  12610. api: "openai-completions",
  12611. provider: "openrouter",
  12612. baseUrl: "https://openrouter.ai/api/v1",
  12613. reasoning: true,
  12614. input: ["text", "image"],
  12615. cost: {
  12616. input: 0.065,
  12617. output: 0.26,
  12618. cacheRead: 0,
  12619. cacheWrite: 0,
  12620. },
  12621. contextWindow: 1000000,
  12622. maxTokens: 65536,
  12623. } satisfies Model<"openai-completions">,
  12624. "qwen/qwen3.5-plus-02-15": {
  12625. id: "qwen/qwen3.5-plus-02-15",
  12626. name: "Qwen: Qwen3.5 Plus 2026-02-15",
  12627. api: "openai-completions",
  12628. provider: "openrouter",
  12629. baseUrl: "https://openrouter.ai/api/v1",
  12630. reasoning: true,
  12631. input: ["text", "image"],
  12632. cost: {
  12633. input: 0.26,
  12634. output: 1.56,
  12635. cacheRead: 0,
  12636. cacheWrite: 0,
  12637. },
  12638. contextWindow: 1000000,
  12639. maxTokens: 65536,
  12640. } satisfies Model<"openai-completions">,
  12641. "qwen/qwen3.5-plus-20260420": {
  12642. id: "qwen/qwen3.5-plus-20260420",
  12643. name: "Qwen: Qwen3.5 Plus 2026-04-20",
  12644. api: "openai-completions",
  12645. provider: "openrouter",
  12646. baseUrl: "https://openrouter.ai/api/v1",
  12647. reasoning: true,
  12648. input: ["text", "image"],
  12649. cost: {
  12650. input: 0.3,
  12651. output: 1.7999999999999998,
  12652. cacheRead: 0,
  12653. cacheWrite: 0.375,
  12654. },
  12655. contextWindow: 1000000,
  12656. maxTokens: 65536,
  12657. } satisfies Model<"openai-completions">,
  12658. "qwen/qwen3.6-27b": {
  12659. id: "qwen/qwen3.6-27b",
  12660. name: "Qwen: Qwen3.6 27B",
  12661. api: "openai-completions",
  12662. provider: "openrouter",
  12663. baseUrl: "https://openrouter.ai/api/v1",
  12664. reasoning: true,
  12665. input: ["text", "image"],
  12666. cost: {
  12667. input: 0.28900000000000003,
  12668. output: 2.4,
  12669. cacheRead: 0,
  12670. cacheWrite: 0,
  12671. },
  12672. contextWindow: 262144,
  12673. maxTokens: 131072,
  12674. } satisfies Model<"openai-completions">,
  12675. "qwen/qwen3.6-35b-a3b": {
  12676. id: "qwen/qwen3.6-35b-a3b",
  12677. name: "Qwen: Qwen3.6 35B A3B",
  12678. api: "openai-completions",
  12679. provider: "openrouter",
  12680. baseUrl: "https://openrouter.ai/api/v1",
  12681. reasoning: true,
  12682. input: ["text", "image"],
  12683. cost: {
  12684. input: 0.14,
  12685. output: 1,
  12686. cacheRead: 0,
  12687. cacheWrite: 0,
  12688. },
  12689. contextWindow: 262144,
  12690. maxTokens: 262140,
  12691. } satisfies Model<"openai-completions">,
  12692. "qwen/qwen3.6-flash": {
  12693. id: "qwen/qwen3.6-flash",
  12694. name: "Qwen: Qwen3.6 Flash",
  12695. api: "openai-completions",
  12696. provider: "openrouter",
  12697. baseUrl: "https://openrouter.ai/api/v1",
  12698. reasoning: true,
  12699. input: ["text", "image"],
  12700. cost: {
  12701. input: 0.1875,
  12702. output: 1.125,
  12703. cacheRead: 0,
  12704. cacheWrite: 0.234375,
  12705. },
  12706. contextWindow: 1000000,
  12707. maxTokens: 65536,
  12708. } satisfies Model<"openai-completions">,
  12709. "qwen/qwen3.6-max-preview": {
  12710. id: "qwen/qwen3.6-max-preview",
  12711. name: "Qwen: Qwen3.6 Max Preview",
  12712. api: "openai-completions",
  12713. provider: "openrouter",
  12714. baseUrl: "https://openrouter.ai/api/v1",
  12715. reasoning: true,
  12716. input: ["text"],
  12717. cost: {
  12718. input: 1.04,
  12719. output: 6.24,
  12720. cacheRead: 0,
  12721. cacheWrite: 1.3,
  12722. },
  12723. contextWindow: 262144,
  12724. maxTokens: 65536,
  12725. } satisfies Model<"openai-completions">,
  12726. "qwen/qwen3.6-plus": {
  12727. id: "qwen/qwen3.6-plus",
  12728. name: "Qwen: Qwen3.6 Plus",
  12729. api: "openai-completions",
  12730. provider: "openrouter",
  12731. baseUrl: "https://openrouter.ai/api/v1",
  12732. reasoning: true,
  12733. input: ["text", "image"],
  12734. cost: {
  12735. input: 0.325,
  12736. output: 1.95,
  12737. cacheRead: 0,
  12738. cacheWrite: 0.40625,
  12739. },
  12740. contextWindow: 1000000,
  12741. maxTokens: 65536,
  12742. } satisfies Model<"openai-completions">,
  12743. "qwen/qwen3.7-max": {
  12744. id: "qwen/qwen3.7-max",
  12745. name: "Qwen: Qwen3.7 Max",
  12746. api: "openai-completions",
  12747. provider: "openrouter",
  12748. baseUrl: "https://openrouter.ai/api/v1",
  12749. reasoning: true,
  12750. input: ["text"],
  12751. cost: {
  12752. input: 1.25,
  12753. output: 3.75,
  12754. cacheRead: 0.25,
  12755. cacheWrite: 1.5625,
  12756. },
  12757. contextWindow: 1000000,
  12758. maxTokens: 65536,
  12759. } satisfies Model<"openai-completions">,
  12760. "qwen/qwen3.7-plus": {
  12761. id: "qwen/qwen3.7-plus",
  12762. name: "Qwen: Qwen3.7 Plus",
  12763. api: "openai-completions",
  12764. provider: "openrouter",
  12765. baseUrl: "https://openrouter.ai/api/v1",
  12766. reasoning: true,
  12767. input: ["text", "image"],
  12768. cost: {
  12769. input: 0.39999999999999997,
  12770. output: 1.5999999999999999,
  12771. cacheRead: 0.08,
  12772. cacheWrite: 0.5,
  12773. },
  12774. contextWindow: 1000000,
  12775. maxTokens: 65536,
  12776. } satisfies Model<"openai-completions">,
  12777. "rekaai/reka-edge": {
  12778. id: "rekaai/reka-edge",
  12779. name: "Reka Edge",
  12780. api: "openai-completions",
  12781. provider: "openrouter",
  12782. baseUrl: "https://openrouter.ai/api/v1",
  12783. reasoning: false,
  12784. input: ["text", "image"],
  12785. cost: {
  12786. input: 0.09999999999999999,
  12787. output: 0.09999999999999999,
  12788. cacheRead: 0,
  12789. cacheWrite: 0,
  12790. },
  12791. contextWindow: 16384,
  12792. maxTokens: 16384,
  12793. } satisfies Model<"openai-completions">,
  12794. "relace/relace-search": {
  12795. id: "relace/relace-search",
  12796. name: "Relace: Relace Search",
  12797. api: "openai-completions",
  12798. provider: "openrouter",
  12799. baseUrl: "https://openrouter.ai/api/v1",
  12800. reasoning: false,
  12801. input: ["text"],
  12802. cost: {
  12803. input: 1,
  12804. output: 3,
  12805. cacheRead: 0,
  12806. cacheWrite: 0,
  12807. },
  12808. contextWindow: 256000,
  12809. maxTokens: 128000,
  12810. } satisfies Model<"openai-completions">,
  12811. "sao10k/l3.1-euryale-70b": {
  12812. id: "sao10k/l3.1-euryale-70b",
  12813. name: "Sao10K: Llama 3.1 Euryale 70B v2.2",
  12814. api: "openai-completions",
  12815. provider: "openrouter",
  12816. baseUrl: "https://openrouter.ai/api/v1",
  12817. reasoning: false,
  12818. input: ["text"],
  12819. cost: {
  12820. input: 0.85,
  12821. output: 0.85,
  12822. cacheRead: 0,
  12823. cacheWrite: 0,
  12824. },
  12825. contextWindow: 131072,
  12826. maxTokens: 16384,
  12827. } satisfies Model<"openai-completions">,
  12828. "stepfun/step-3.5-flash": {
  12829. id: "stepfun/step-3.5-flash",
  12830. name: "StepFun: Step 3.5 Flash",
  12831. api: "openai-completions",
  12832. provider: "openrouter",
  12833. baseUrl: "https://openrouter.ai/api/v1",
  12834. reasoning: true,
  12835. input: ["text"],
  12836. cost: {
  12837. input: 0.09,
  12838. output: 0.3,
  12839. cacheRead: 0.02,
  12840. cacheWrite: 0,
  12841. },
  12842. contextWindow: 262144,
  12843. maxTokens: 16384,
  12844. } satisfies Model<"openai-completions">,
  12845. "stepfun/step-3.7-flash": {
  12846. id: "stepfun/step-3.7-flash",
  12847. name: "StepFun: Step 3.7 Flash",
  12848. api: "openai-completions",
  12849. provider: "openrouter",
  12850. baseUrl: "https://openrouter.ai/api/v1",
  12851. reasoning: true,
  12852. input: ["text", "image"],
  12853. cost: {
  12854. input: 0.19999999999999998,
  12855. output: 1.15,
  12856. cacheRead: 0.04,
  12857. cacheWrite: 0,
  12858. },
  12859. contextWindow: 256000,
  12860. maxTokens: 256000,
  12861. } satisfies Model<"openai-completions">,
  12862. "tencent/hy3-preview": {
  12863. id: "tencent/hy3-preview",
  12864. name: "Tencent: Hy3 preview",
  12865. api: "openai-completions",
  12866. provider: "openrouter",
  12867. baseUrl: "https://openrouter.ai/api/v1",
  12868. reasoning: true,
  12869. input: ["text"],
  12870. cost: {
  12871. input: 0.063,
  12872. output: 0.21,
  12873. cacheRead: 0.020999999999999998,
  12874. cacheWrite: 0,
  12875. },
  12876. contextWindow: 262144,
  12877. maxTokens: 4096,
  12878. } satisfies Model<"openai-completions">,
  12879. "thedrummer/rocinante-12b": {
  12880. id: "thedrummer/rocinante-12b",
  12881. name: "TheDrummer: Rocinante 12B",
  12882. api: "openai-completions",
  12883. provider: "openrouter",
  12884. baseUrl: "https://openrouter.ai/api/v1",
  12885. reasoning: false,
  12886. input: ["text"],
  12887. cost: {
  12888. input: 0.16999999999999998,
  12889. output: 0.43,
  12890. cacheRead: 0,
  12891. cacheWrite: 0,
  12892. },
  12893. contextWindow: 32768,
  12894. maxTokens: 32768,
  12895. } satisfies Model<"openai-completions">,
  12896. "thedrummer/unslopnemo-12b": {
  12897. id: "thedrummer/unslopnemo-12b",
  12898. name: "TheDrummer: UnslopNemo 12B",
  12899. api: "openai-completions",
  12900. provider: "openrouter",
  12901. baseUrl: "https://openrouter.ai/api/v1",
  12902. reasoning: false,
  12903. input: ["text"],
  12904. cost: {
  12905. input: 0.39999999999999997,
  12906. output: 0.39999999999999997,
  12907. cacheRead: 0,
  12908. cacheWrite: 0,
  12909. },
  12910. contextWindow: 32768,
  12911. maxTokens: 32768,
  12912. } satisfies Model<"openai-completions">,
  12913. "upstage/solar-pro-3": {
  12914. id: "upstage/solar-pro-3",
  12915. name: "Upstage: Solar Pro 3",
  12916. api: "openai-completions",
  12917. provider: "openrouter",
  12918. baseUrl: "https://openrouter.ai/api/v1",
  12919. reasoning: true,
  12920. input: ["text"],
  12921. cost: {
  12922. input: 0.15,
  12923. output: 0.6,
  12924. cacheRead: 0.015,
  12925. cacheWrite: 0,
  12926. },
  12927. contextWindow: 128000,
  12928. maxTokens: 4096,
  12929. } satisfies Model<"openai-completions">,
  12930. "x-ai/grok-4.20": {
  12931. id: "x-ai/grok-4.20",
  12932. name: "xAI: Grok 4.20",
  12933. api: "openai-completions",
  12934. provider: "openrouter",
  12935. baseUrl: "https://openrouter.ai/api/v1",
  12936. reasoning: true,
  12937. input: ["text", "image"],
  12938. cost: {
  12939. input: 1.25,
  12940. output: 2.5,
  12941. cacheRead: 0.19999999999999998,
  12942. cacheWrite: 0,
  12943. },
  12944. contextWindow: 2000000,
  12945. maxTokens: 4096,
  12946. } satisfies Model<"openai-completions">,
  12947. "x-ai/grok-4.3": {
  12948. id: "x-ai/grok-4.3",
  12949. name: "xAI: Grok 4.3",
  12950. api: "openai-completions",
  12951. provider: "openrouter",
  12952. baseUrl: "https://openrouter.ai/api/v1",
  12953. reasoning: true,
  12954. input: ["text", "image"],
  12955. cost: {
  12956. input: 1.25,
  12957. output: 2.5,
  12958. cacheRead: 0.19999999999999998,
  12959. cacheWrite: 0,
  12960. },
  12961. contextWindow: 1000000,
  12962. maxTokens: 4096,
  12963. } satisfies Model<"openai-completions">,
  12964. "x-ai/grok-build-0.1": {
  12965. id: "x-ai/grok-build-0.1",
  12966. name: "xAI: Grok Build 0.1",
  12967. api: "openai-completions",
  12968. provider: "openrouter",
  12969. baseUrl: "https://openrouter.ai/api/v1",
  12970. reasoning: true,
  12971. input: ["text", "image"],
  12972. cost: {
  12973. input: 1,
  12974. output: 2,
  12975. cacheRead: 0.19999999999999998,
  12976. cacheWrite: 0,
  12977. },
  12978. contextWindow: 256000,
  12979. maxTokens: 4096,
  12980. } satisfies Model<"openai-completions">,
  12981. "xiaomi/mimo-v2-flash": {
  12982. id: "xiaomi/mimo-v2-flash",
  12983. name: "Xiaomi: MiMo-V2-Flash",
  12984. api: "openai-completions",
  12985. provider: "openrouter",
  12986. baseUrl: "https://openrouter.ai/api/v1",
  12987. reasoning: true,
  12988. input: ["text"],
  12989. cost: {
  12990. input: 0.09999999999999999,
  12991. output: 0.3,
  12992. cacheRead: 0.01,
  12993. cacheWrite: 0,
  12994. },
  12995. contextWindow: 262144,
  12996. maxTokens: 65536,
  12997. } satisfies Model<"openai-completions">,
  12998. "xiaomi/mimo-v2.5": {
  12999. id: "xiaomi/mimo-v2.5",
  13000. name: "Xiaomi: MiMo-V2.5",
  13001. api: "openai-completions",
  13002. provider: "openrouter",
  13003. baseUrl: "https://openrouter.ai/api/v1",
  13004. reasoning: true,
  13005. input: ["text", "image"],
  13006. cost: {
  13007. input: 0.14,
  13008. output: 0.28,
  13009. cacheRead: 0.0028,
  13010. cacheWrite: 0,
  13011. },
  13012. contextWindow: 1048576,
  13013. maxTokens: 131072,
  13014. } satisfies Model<"openai-completions">,
  13015. "xiaomi/mimo-v2.5-pro": {
  13016. id: "xiaomi/mimo-v2.5-pro",
  13017. name: "Xiaomi: MiMo-V2.5-Pro",
  13018. api: "openai-completions",
  13019. provider: "openrouter",
  13020. baseUrl: "https://openrouter.ai/api/v1",
  13021. reasoning: true,
  13022. input: ["text"],
  13023. cost: {
  13024. input: 0.435,
  13025. output: 0.87,
  13026. cacheRead: 0.0036,
  13027. cacheWrite: 0,
  13028. },
  13029. contextWindow: 1048576,
  13030. maxTokens: 131072,
  13031. } satisfies Model<"openai-completions">,
  13032. "z-ai/glm-4-32b": {
  13033. id: "z-ai/glm-4-32b",
  13034. name: "Z.ai: GLM 4 32B ",
  13035. api: "openai-completions",
  13036. provider: "openrouter",
  13037. baseUrl: "https://openrouter.ai/api/v1",
  13038. reasoning: false,
  13039. input: ["text"],
  13040. cost: {
  13041. input: 0.09999999999999999,
  13042. output: 0.09999999999999999,
  13043. cacheRead: 0,
  13044. cacheWrite: 0,
  13045. },
  13046. contextWindow: 128000,
  13047. maxTokens: 4096,
  13048. } satisfies Model<"openai-completions">,
  13049. "z-ai/glm-4.5": {
  13050. id: "z-ai/glm-4.5",
  13051. name: "Z.ai: GLM 4.5",
  13052. api: "openai-completions",
  13053. provider: "openrouter",
  13054. baseUrl: "https://openrouter.ai/api/v1",
  13055. reasoning: true,
  13056. input: ["text"],
  13057. cost: {
  13058. input: 0.6,
  13059. output: 2.2,
  13060. cacheRead: 0.11,
  13061. cacheWrite: 0,
  13062. },
  13063. contextWindow: 131072,
  13064. maxTokens: 98304,
  13065. } satisfies Model<"openai-completions">,
  13066. "z-ai/glm-4.5-air": {
  13067. id: "z-ai/glm-4.5-air",
  13068. name: "Z.ai: GLM 4.5 Air",
  13069. api: "openai-completions",
  13070. provider: "openrouter",
  13071. baseUrl: "https://openrouter.ai/api/v1",
  13072. reasoning: true,
  13073. input: ["text"],
  13074. cost: {
  13075. input: 0.125,
  13076. output: 0.85,
  13077. cacheRead: 0.06,
  13078. cacheWrite: 0,
  13079. },
  13080. contextWindow: 131072,
  13081. maxTokens: 131070,
  13082. } satisfies Model<"openai-completions">,
  13083. "z-ai/glm-4.5-air:free": {
  13084. id: "z-ai/glm-4.5-air:free",
  13085. name: "Z.ai: GLM 4.5 Air (free)",
  13086. api: "openai-completions",
  13087. provider: "openrouter",
  13088. baseUrl: "https://openrouter.ai/api/v1",
  13089. reasoning: true,
  13090. input: ["text"],
  13091. cost: {
  13092. input: 0,
  13093. output: 0,
  13094. cacheRead: 0,
  13095. cacheWrite: 0,
  13096. },
  13097. contextWindow: 131072,
  13098. maxTokens: 96000,
  13099. } satisfies Model<"openai-completions">,
  13100. "z-ai/glm-4.5v": {
  13101. id: "z-ai/glm-4.5v",
  13102. name: "Z.ai: GLM 4.5V",
  13103. api: "openai-completions",
  13104. provider: "openrouter",
  13105. baseUrl: "https://openrouter.ai/api/v1",
  13106. reasoning: true,
  13107. input: ["text", "image"],
  13108. cost: {
  13109. input: 0.6,
  13110. output: 1.7999999999999998,
  13111. cacheRead: 0.11,
  13112. cacheWrite: 0,
  13113. },
  13114. contextWindow: 65536,
  13115. maxTokens: 16384,
  13116. } satisfies Model<"openai-completions">,
  13117. "z-ai/glm-4.6": {
  13118. id: "z-ai/glm-4.6",
  13119. name: "Z.ai: GLM 4.6",
  13120. api: "openai-completions",
  13121. provider: "openrouter",
  13122. baseUrl: "https://openrouter.ai/api/v1",
  13123. reasoning: true,
  13124. input: ["text"],
  13125. cost: {
  13126. input: 0.43,
  13127. output: 1.74,
  13128. cacheRead: 0.08,
  13129. cacheWrite: 0,
  13130. },
  13131. contextWindow: 202752,
  13132. maxTokens: 131072,
  13133. } satisfies Model<"openai-completions">,
  13134. "z-ai/glm-4.6v": {
  13135. id: "z-ai/glm-4.6v",
  13136. name: "Z.ai: GLM 4.6V",
  13137. api: "openai-completions",
  13138. provider: "openrouter",
  13139. baseUrl: "https://openrouter.ai/api/v1",
  13140. reasoning: true,
  13141. input: ["text", "image"],
  13142. cost: {
  13143. input: 0.3,
  13144. output: 0.8999999999999999,
  13145. cacheRead: 0.049999999999999996,
  13146. cacheWrite: 0,
  13147. },
  13148. contextWindow: 131072,
  13149. maxTokens: 24000,
  13150. } satisfies Model<"openai-completions">,
  13151. "z-ai/glm-4.7": {
  13152. id: "z-ai/glm-4.7",
  13153. name: "Z.ai: GLM 4.7",
  13154. api: "openai-completions",
  13155. provider: "openrouter",
  13156. baseUrl: "https://openrouter.ai/api/v1",
  13157. reasoning: true,
  13158. input: ["text"],
  13159. cost: {
  13160. input: 0.39999999999999997,
  13161. output: 1.75,
  13162. cacheRead: 0.08,
  13163. cacheWrite: 0,
  13164. },
  13165. contextWindow: 202752,
  13166. maxTokens: 131072,
  13167. } satisfies Model<"openai-completions">,
  13168. "z-ai/glm-4.7-flash": {
  13169. id: "z-ai/glm-4.7-flash",
  13170. name: "Z.ai: GLM 4.7 Flash",
  13171. api: "openai-completions",
  13172. provider: "openrouter",
  13173. baseUrl: "https://openrouter.ai/api/v1",
  13174. reasoning: true,
  13175. input: ["text"],
  13176. cost: {
  13177. input: 0.06,
  13178. output: 0.39999999999999997,
  13179. cacheRead: 0.01,
  13180. cacheWrite: 0,
  13181. },
  13182. contextWindow: 202752,
  13183. maxTokens: 16384,
  13184. } satisfies Model<"openai-completions">,
  13185. "z-ai/glm-5": {
  13186. id: "z-ai/glm-5",
  13187. name: "Z.ai: GLM 5",
  13188. api: "openai-completions",
  13189. provider: "openrouter",
  13190. baseUrl: "https://openrouter.ai/api/v1",
  13191. reasoning: true,
  13192. input: ["text"],
  13193. cost: {
  13194. input: 0.6,
  13195. output: 1.9,
  13196. cacheRead: 0.119,
  13197. cacheWrite: 0,
  13198. },
  13199. contextWindow: 202752,
  13200. maxTokens: 4096,
  13201. } satisfies Model<"openai-completions">,
  13202. "z-ai/glm-5-turbo": {
  13203. id: "z-ai/glm-5-turbo",
  13204. name: "Z.ai: GLM 5 Turbo",
  13205. api: "openai-completions",
  13206. provider: "openrouter",
  13207. baseUrl: "https://openrouter.ai/api/v1",
  13208. reasoning: true,
  13209. input: ["text"],
  13210. cost: {
  13211. input: 1.2,
  13212. output: 4,
  13213. cacheRead: 0.24,
  13214. cacheWrite: 0,
  13215. },
  13216. contextWindow: 202752,
  13217. maxTokens: 131072,
  13218. } satisfies Model<"openai-completions">,
  13219. "z-ai/glm-5.1": {
  13220. id: "z-ai/glm-5.1",
  13221. name: "Z.ai: GLM 5.1",
  13222. api: "openai-completions",
  13223. provider: "openrouter",
  13224. baseUrl: "https://openrouter.ai/api/v1",
  13225. reasoning: true,
  13226. input: ["text"],
  13227. cost: {
  13228. input: 0.98,
  13229. output: 3.08,
  13230. cacheRead: 0.182,
  13231. cacheWrite: 0,
  13232. },
  13233. contextWindow: 202752,
  13234. maxTokens: 4096,
  13235. } satisfies Model<"openai-completions">,
  13236. "z-ai/glm-5v-turbo": {
  13237. id: "z-ai/glm-5v-turbo",
  13238. name: "Z.ai: GLM 5V Turbo",
  13239. api: "openai-completions",
  13240. provider: "openrouter",
  13241. baseUrl: "https://openrouter.ai/api/v1",
  13242. reasoning: true,
  13243. input: ["text", "image"],
  13244. cost: {
  13245. input: 1.2,
  13246. output: 4,
  13247. cacheRead: 0.24,
  13248. cacheWrite: 0,
  13249. },
  13250. contextWindow: 202752,
  13251. maxTokens: 131072,
  13252. } satisfies Model<"openai-completions">,
  13253. "~anthropic/claude-fable-latest": {
  13254. id: "~anthropic/claude-fable-latest",
  13255. name: "Anthropic: Claude Fable Latest",
  13256. api: "openai-completions",
  13257. provider: "openrouter",
  13258. baseUrl: "https://openrouter.ai/api/v1",
  13259. reasoning: true,
  13260. input: ["text", "image"],
  13261. cost: {
  13262. input: 10,
  13263. output: 50,
  13264. cacheRead: 1,
  13265. cacheWrite: 12.5,
  13266. },
  13267. contextWindow: 1000000,
  13268. maxTokens: 128000,
  13269. } satisfies Model<"openai-completions">,
  13270. "~anthropic/claude-haiku-latest": {
  13271. id: "~anthropic/claude-haiku-latest",
  13272. name: "Anthropic Claude Haiku Latest",
  13273. api: "openai-completions",
  13274. provider: "openrouter",
  13275. baseUrl: "https://openrouter.ai/api/v1",
  13276. reasoning: true,
  13277. input: ["text", "image"],
  13278. cost: {
  13279. input: 1,
  13280. output: 5,
  13281. cacheRead: 0.09999999999999999,
  13282. cacheWrite: 1.25,
  13283. },
  13284. contextWindow: 200000,
  13285. maxTokens: 64000,
  13286. } satisfies Model<"openai-completions">,
  13287. "~anthropic/claude-opus-latest": {
  13288. id: "~anthropic/claude-opus-latest",
  13289. name: "Anthropic: Claude Opus Latest",
  13290. api: "openai-completions",
  13291. provider: "openrouter",
  13292. baseUrl: "https://openrouter.ai/api/v1",
  13293. reasoning: true,
  13294. input: ["text", "image"],
  13295. cost: {
  13296. input: 5,
  13297. output: 25,
  13298. cacheRead: 0.5,
  13299. cacheWrite: 6.25,
  13300. },
  13301. contextWindow: 1000000,
  13302. maxTokens: 128000,
  13303. } satisfies Model<"openai-completions">,
  13304. "~anthropic/claude-sonnet-latest": {
  13305. id: "~anthropic/claude-sonnet-latest",
  13306. name: "Anthropic Claude Sonnet Latest",
  13307. api: "openai-completions",
  13308. provider: "openrouter",
  13309. baseUrl: "https://openrouter.ai/api/v1",
  13310. reasoning: true,
  13311. input: ["text", "image"],
  13312. cost: {
  13313. input: 3,
  13314. output: 15,
  13315. cacheRead: 0.3,
  13316. cacheWrite: 3.75,
  13317. },
  13318. contextWindow: 1000000,
  13319. maxTokens: 128000,
  13320. } satisfies Model<"openai-completions">,
  13321. "~google/gemini-flash-latest": {
  13322. id: "~google/gemini-flash-latest",
  13323. name: "Google Gemini Flash Latest",
  13324. api: "openai-completions",
  13325. provider: "openrouter",
  13326. baseUrl: "https://openrouter.ai/api/v1",
  13327. reasoning: true,
  13328. input: ["text", "image"],
  13329. cost: {
  13330. input: 1.5,
  13331. output: 9,
  13332. cacheRead: 0.15,
  13333. cacheWrite: 0.08333333333333334,
  13334. },
  13335. contextWindow: 1048576,
  13336. maxTokens: 65536,
  13337. } satisfies Model<"openai-completions">,
  13338. "~google/gemini-pro-latest": {
  13339. id: "~google/gemini-pro-latest",
  13340. name: "Google Gemini Pro Latest",
  13341. api: "openai-completions",
  13342. provider: "openrouter",
  13343. baseUrl: "https://openrouter.ai/api/v1",
  13344. reasoning: true,
  13345. input: ["text", "image"],
  13346. cost: {
  13347. input: 2,
  13348. output: 12,
  13349. cacheRead: 0.19999999999999998,
  13350. cacheWrite: 0.375,
  13351. },
  13352. contextWindow: 1048576,
  13353. maxTokens: 65536,
  13354. } satisfies Model<"openai-completions">,
  13355. "~moonshotai/kimi-latest": {
  13356. id: "~moonshotai/kimi-latest",
  13357. name: "MoonshotAI Kimi Latest",
  13358. api: "openai-completions",
  13359. provider: "openrouter",
  13360. baseUrl: "https://openrouter.ai/api/v1",
  13361. reasoning: true,
  13362. input: ["text", "image"],
  13363. cost: {
  13364. input: 0.6799999999999999,
  13365. output: 3.41,
  13366. cacheRead: 0.33999999999999997,
  13367. cacheWrite: 0,
  13368. },
  13369. contextWindow: 262144,
  13370. maxTokens: 262142,
  13371. } satisfies Model<"openai-completions">,
  13372. "~openai/gpt-latest": {
  13373. id: "~openai/gpt-latest",
  13374. name: "OpenAI GPT Latest",
  13375. api: "openai-completions",
  13376. provider: "openrouter",
  13377. baseUrl: "https://openrouter.ai/api/v1",
  13378. reasoning: true,
  13379. input: ["text", "image"],
  13380. cost: {
  13381. input: 5,
  13382. output: 30,
  13383. cacheRead: 0.5,
  13384. cacheWrite: 0,
  13385. },
  13386. contextWindow: 1050000,
  13387. maxTokens: 128000,
  13388. } satisfies Model<"openai-completions">,
  13389. "~openai/gpt-mini-latest": {
  13390. id: "~openai/gpt-mini-latest",
  13391. name: "OpenAI GPT Mini Latest",
  13392. api: "openai-completions",
  13393. provider: "openrouter",
  13394. baseUrl: "https://openrouter.ai/api/v1",
  13395. reasoning: true,
  13396. input: ["text", "image"],
  13397. cost: {
  13398. input: 0.75,
  13399. output: 4.5,
  13400. cacheRead: 0.075,
  13401. cacheWrite: 0,
  13402. },
  13403. contextWindow: 400000,
  13404. maxTokens: 128000,
  13405. } satisfies Model<"openai-completions">,
  13406. },
  13407. "together": {
  13408. "MiniMaxAI/MiniMax-M2.5": {
  13409. id: "MiniMaxAI/MiniMax-M2.5",
  13410. name: "MiniMax-M2.5",
  13411. api: "openai-completions",
  13412. provider: "together",
  13413. baseUrl: "https://api.together.ai/v1",
  13414. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13415. reasoning: true,
  13416. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13417. input: ["text"],
  13418. cost: {
  13419. input: 0.3,
  13420. output: 1.2,
  13421. cacheRead: 0.06,
  13422. cacheWrite: 0,
  13423. },
  13424. contextWindow: 204800,
  13425. maxTokens: 131072,
  13426. } satisfies Model<"openai-completions">,
  13427. "MiniMaxAI/MiniMax-M2.7": {
  13428. id: "MiniMaxAI/MiniMax-M2.7",
  13429. name: "MiniMax-M2.7",
  13430. api: "openai-completions",
  13431. provider: "together",
  13432. baseUrl: "https://api.together.ai/v1",
  13433. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  13434. reasoning: true,
  13435. thinkingLevelMap: {"off":null,"minimal":null,"low":null,"medium":null},
  13436. input: ["text"],
  13437. cost: {
  13438. input: 0.3,
  13439. output: 1.2,
  13440. cacheRead: 0.06,
  13441. cacheWrite: 0,
  13442. },
  13443. contextWindow: 202752,
  13444. maxTokens: 131072,
  13445. } satisfies Model<"openai-completions">,
  13446. "Qwen/Qwen3-235B-A22B-Instruct-2507-tput": {
  13447. id: "Qwen/Qwen3-235B-A22B-Instruct-2507-tput",
  13448. name: "Qwen3 235B A22B Instruct 2507 FP8",
  13449. api: "openai-completions",
  13450. provider: "together",
  13451. baseUrl: "https://api.together.ai/v1",
  13452. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13453. reasoning: true,
  13454. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13455. input: ["text"],
  13456. cost: {
  13457. input: 0.2,
  13458. output: 0.6,
  13459. cacheRead: 0,
  13460. cacheWrite: 0,
  13461. },
  13462. contextWindow: 262144,
  13463. maxTokens: 262144,
  13464. } satisfies Model<"openai-completions">,
  13465. "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
  13466. id: "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8",
  13467. name: "Qwen3 Coder 480B A35B Instruct",
  13468. api: "openai-completions",
  13469. provider: "together",
  13470. baseUrl: "https://api.together.ai/v1",
  13471. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  13472. reasoning: false,
  13473. input: ["text"],
  13474. cost: {
  13475. input: 2,
  13476. output: 2,
  13477. cacheRead: 0,
  13478. cacheWrite: 0,
  13479. },
  13480. contextWindow: 262144,
  13481. maxTokens: 262144,
  13482. } satisfies Model<"openai-completions">,
  13483. "Qwen/Qwen3-Coder-Next-FP8": {
  13484. id: "Qwen/Qwen3-Coder-Next-FP8",
  13485. name: "Qwen3 Coder Next FP8",
  13486. api: "openai-completions",
  13487. provider: "together",
  13488. baseUrl: "https://api.together.ai/v1",
  13489. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13490. reasoning: true,
  13491. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13492. input: ["text"],
  13493. cost: {
  13494. input: 0.5,
  13495. output: 1.2,
  13496. cacheRead: 0,
  13497. cacheWrite: 0,
  13498. },
  13499. contextWindow: 262144,
  13500. maxTokens: 262144,
  13501. } satisfies Model<"openai-completions">,
  13502. "Qwen/Qwen3.5-397B-A17B": {
  13503. id: "Qwen/Qwen3.5-397B-A17B",
  13504. name: "Qwen3.5 397B A17B",
  13505. api: "openai-completions",
  13506. provider: "together",
  13507. baseUrl: "https://api.together.ai/v1",
  13508. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13509. reasoning: true,
  13510. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13511. input: ["text", "image"],
  13512. cost: {
  13513. input: 0.6,
  13514. output: 3.6,
  13515. cacheRead: 0,
  13516. cacheWrite: 0,
  13517. },
  13518. contextWindow: 262144,
  13519. maxTokens: 130000,
  13520. } satisfies Model<"openai-completions">,
  13521. "Qwen/Qwen3.6-Plus": {
  13522. id: "Qwen/Qwen3.6-Plus",
  13523. name: "Qwen3.6 Plus",
  13524. api: "openai-completions",
  13525. provider: "together",
  13526. baseUrl: "https://api.together.ai/v1",
  13527. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13528. reasoning: true,
  13529. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13530. input: ["text"],
  13531. cost: {
  13532. input: 0.5,
  13533. output: 3,
  13534. cacheRead: 0,
  13535. cacheWrite: 0,
  13536. },
  13537. contextWindow: 1000000,
  13538. maxTokens: 500000,
  13539. } satisfies Model<"openai-completions">,
  13540. "Qwen/Qwen3.7-Max": {
  13541. id: "Qwen/Qwen3.7-Max",
  13542. name: "Qwen3.7 Max",
  13543. api: "openai-completions",
  13544. provider: "together",
  13545. baseUrl: "https://api.together.ai/v1",
  13546. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13547. reasoning: true,
  13548. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13549. input: ["text"],
  13550. cost: {
  13551. input: 2.5,
  13552. output: 7.5,
  13553. cacheRead: 0,
  13554. cacheWrite: 0,
  13555. },
  13556. contextWindow: 1000000,
  13557. maxTokens: 500000,
  13558. } satisfies Model<"openai-completions">,
  13559. "deepseek-ai/DeepSeek-V3": {
  13560. id: "deepseek-ai/DeepSeek-V3",
  13561. name: "DeepSeek-V3",
  13562. api: "openai-completions",
  13563. provider: "together",
  13564. baseUrl: "https://api.together.ai/v1",
  13565. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13566. reasoning: true,
  13567. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13568. input: ["text"],
  13569. cost: {
  13570. input: 1.25,
  13571. output: 1.25,
  13572. cacheRead: 0,
  13573. cacheWrite: 0,
  13574. },
  13575. contextWindow: 131072,
  13576. maxTokens: 131072,
  13577. } satisfies Model<"openai-completions">,
  13578. "deepseek-ai/DeepSeek-V3-1": {
  13579. id: "deepseek-ai/DeepSeek-V3-1",
  13580. name: "DeepSeek V3.1",
  13581. api: "openai-completions",
  13582. provider: "together",
  13583. baseUrl: "https://api.together.ai/v1",
  13584. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13585. reasoning: true,
  13586. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13587. input: ["text"],
  13588. cost: {
  13589. input: 0.6,
  13590. output: 1.7,
  13591. cacheRead: 0,
  13592. cacheWrite: 0,
  13593. },
  13594. contextWindow: 131072,
  13595. maxTokens: 131072,
  13596. } satisfies Model<"openai-completions">,
  13597. "deepseek-ai/DeepSeek-V4-Pro": {
  13598. id: "deepseek-ai/DeepSeek-V4-Pro",
  13599. name: "DeepSeek V4 Pro",
  13600. api: "openai-completions",
  13601. provider: "together",
  13602. baseUrl: "https://api.together.ai/v1",
  13603. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13604. reasoning: true,
  13605. thinkingLevelMap: {"minimal":null,"low":null,"medium":null,"high":"high","xhigh":null},
  13606. input: ["text"],
  13607. cost: {
  13608. input: 2.1,
  13609. output: 4.4,
  13610. cacheRead: 0.2,
  13611. cacheWrite: 0,
  13612. },
  13613. contextWindow: 512000,
  13614. maxTokens: 384000,
  13615. } satisfies Model<"openai-completions">,
  13616. "essentialai/Rnj-1-Instruct": {
  13617. id: "essentialai/Rnj-1-Instruct",
  13618. name: "Rnj-1 Instruct",
  13619. api: "openai-completions",
  13620. provider: "together",
  13621. baseUrl: "https://api.together.ai/v1",
  13622. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  13623. reasoning: false,
  13624. input: ["text"],
  13625. cost: {
  13626. input: 0.15,
  13627. output: 0.15,
  13628. cacheRead: 0,
  13629. cacheWrite: 0,
  13630. },
  13631. contextWindow: 32768,
  13632. maxTokens: 32768,
  13633. } satisfies Model<"openai-completions">,
  13634. "google/gemma-4-31B-it": {
  13635. id: "google/gemma-4-31B-it",
  13636. name: "Gemma 4 31B Instruct",
  13637. api: "openai-completions",
  13638. provider: "together",
  13639. baseUrl: "https://api.together.ai/v1",
  13640. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13641. reasoning: true,
  13642. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13643. input: ["text", "image"],
  13644. cost: {
  13645. input: 0.2,
  13646. output: 0.5,
  13647. cacheRead: 0,
  13648. cacheWrite: 0,
  13649. },
  13650. contextWindow: 262144,
  13651. maxTokens: 131072,
  13652. } satisfies Model<"openai-completions">,
  13653. "meta-llama/Llama-3.3-70B-Instruct-Turbo": {
  13654. id: "meta-llama/Llama-3.3-70B-Instruct-Turbo",
  13655. name: "Llama 3.3 70B",
  13656. api: "openai-completions",
  13657. provider: "together",
  13658. baseUrl: "https://api.together.ai/v1",
  13659. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false},
  13660. reasoning: false,
  13661. input: ["text"],
  13662. cost: {
  13663. input: 0.88,
  13664. output: 0.88,
  13665. cacheRead: 0,
  13666. cacheWrite: 0,
  13667. },
  13668. contextWindow: 131072,
  13669. maxTokens: 131072,
  13670. } satisfies Model<"openai-completions">,
  13671. "moonshotai/Kimi-K2.5": {
  13672. id: "moonshotai/Kimi-K2.5",
  13673. name: "Kimi K2.5",
  13674. api: "openai-completions",
  13675. provider: "together",
  13676. baseUrl: "https://api.together.ai/v1",
  13677. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13678. reasoning: true,
  13679. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13680. input: ["text", "image"],
  13681. cost: {
  13682. input: 0.5,
  13683. output: 2.8,
  13684. cacheRead: 0,
  13685. cacheWrite: 0,
  13686. },
  13687. contextWindow: 262144,
  13688. maxTokens: 262144,
  13689. } satisfies Model<"openai-completions">,
  13690. "moonshotai/Kimi-K2.6": {
  13691. id: "moonshotai/Kimi-K2.6",
  13692. name: "Kimi K2.6",
  13693. api: "openai-completions",
  13694. provider: "together",
  13695. baseUrl: "https://api.together.ai/v1",
  13696. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13697. reasoning: true,
  13698. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13699. input: ["text", "image"],
  13700. cost: {
  13701. input: 1.2,
  13702. output: 4.5,
  13703. cacheRead: 0.2,
  13704. cacheWrite: 0,
  13705. },
  13706. contextWindow: 262144,
  13707. maxTokens: 131000,
  13708. } satisfies Model<"openai-completions">,
  13709. "nvidia/nemotron-3-ultra-550b-a55b": {
  13710. id: "nvidia/nemotron-3-ultra-550b-a55b",
  13711. name: "Nemotron 3 Ultra 550B A55B",
  13712. api: "openai-completions",
  13713. provider: "together",
  13714. baseUrl: "https://api.together.ai/v1",
  13715. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13716. reasoning: true,
  13717. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13718. input: ["text"],
  13719. cost: {
  13720. input: 0.6,
  13721. output: 3.6,
  13722. cacheRead: 0.2,
  13723. cacheWrite: 0,
  13724. },
  13725. contextWindow: 512300,
  13726. maxTokens: 512300,
  13727. } satisfies Model<"openai-completions">,
  13728. "openai/gpt-oss-120b": {
  13729. id: "openai/gpt-oss-120b",
  13730. name: "GPT OSS 120B",
  13731. api: "openai-completions",
  13732. provider: "together",
  13733. baseUrl: "https://api.together.ai/v1",
  13734. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":true,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"openai"},
  13735. reasoning: true,
  13736. thinkingLevelMap: {"off":null,"minimal":null},
  13737. input: ["text"],
  13738. cost: {
  13739. input: 0.15,
  13740. output: 0.6,
  13741. cacheRead: 0,
  13742. cacheWrite: 0,
  13743. },
  13744. contextWindow: 131072,
  13745. maxTokens: 131072,
  13746. } satisfies Model<"openai-completions">,
  13747. "zai-org/GLM-5.1": {
  13748. id: "zai-org/GLM-5.1",
  13749. name: "GLM-5.1",
  13750. api: "openai-completions",
  13751. provider: "together",
  13752. baseUrl: "https://api.together.ai/v1",
  13753. compat: {"supportsStore":false,"supportsDeveloperRole":false,"supportsReasoningEffort":false,"maxTokensField":"max_tokens","supportsStrictMode":false,"supportsLongCacheRetention":false,"thinkingFormat":"together"},
  13754. reasoning: true,
  13755. thinkingLevelMap: {"minimal":null,"low":null,"medium":null},
  13756. input: ["text"],
  13757. cost: {
  13758. input: 1.4,
  13759. output: 4.4,
  13760. cacheRead: 0,
  13761. cacheWrite: 0,
  13762. },
  13763. contextWindow: 202752,
  13764. maxTokens: 131072,
  13765. } satisfies Model<"openai-completions">,
  13766. },
  13767. "vercel-ai-gateway": {
  13768. "alibaba/qwen-3-14b": {
  13769. id: "alibaba/qwen-3-14b",
  13770. name: "Qwen3-14B",
  13771. api: "anthropic-messages",
  13772. provider: "vercel-ai-gateway",
  13773. baseUrl: "https://ai-gateway.vercel.sh",
  13774. reasoning: true,
  13775. input: ["text"],
  13776. cost: {
  13777. input: 0.12,
  13778. output: 0.24,
  13779. cacheRead: 0,
  13780. cacheWrite: 0,
  13781. },
  13782. contextWindow: 40960,
  13783. maxTokens: 16384,
  13784. } satisfies Model<"anthropic-messages">,
  13785. "alibaba/qwen-3-235b": {
  13786. id: "alibaba/qwen-3-235b",
  13787. name: "Qwen3 235B A22B",
  13788. api: "anthropic-messages",
  13789. provider: "vercel-ai-gateway",
  13790. baseUrl: "https://ai-gateway.vercel.sh",
  13791. reasoning: true,
  13792. input: ["text"],
  13793. cost: {
  13794. input: 0.22,
  13795. output: 0.88,
  13796. cacheRead: 0,
  13797. cacheWrite: 0,
  13798. },
  13799. contextWindow: 262144,
  13800. maxTokens: 16384,
  13801. } satisfies Model<"anthropic-messages">,
  13802. "alibaba/qwen-3-30b": {
  13803. id: "alibaba/qwen-3-30b",
  13804. name: "Qwen3-30B-A3B",
  13805. api: "anthropic-messages",
  13806. provider: "vercel-ai-gateway",
  13807. baseUrl: "https://ai-gateway.vercel.sh",
  13808. reasoning: true,
  13809. input: ["text"],
  13810. cost: {
  13811. input: 0.12,
  13812. output: 0.5,
  13813. cacheRead: 0,
  13814. cacheWrite: 0,
  13815. },
  13816. contextWindow: 40960,
  13817. maxTokens: 16384,
  13818. } satisfies Model<"anthropic-messages">,
  13819. "alibaba/qwen-3-32b": {
  13820. id: "alibaba/qwen-3-32b",
  13821. name: "Qwen 3 32B",
  13822. api: "anthropic-messages",
  13823. provider: "vercel-ai-gateway",
  13824. baseUrl: "https://ai-gateway.vercel.sh",
  13825. reasoning: true,
  13826. input: ["text"],
  13827. cost: {
  13828. input: 0.16,
  13829. output: 0.64,
  13830. cacheRead: 0,
  13831. cacheWrite: 0,
  13832. },
  13833. contextWindow: 128000,
  13834. maxTokens: 8192,
  13835. } satisfies Model<"anthropic-messages">,
  13836. "alibaba/qwen-3.6-max-preview": {
  13837. id: "alibaba/qwen-3.6-max-preview",
  13838. name: "Qwen 3.6 Max Preview",
  13839. api: "anthropic-messages",
  13840. provider: "vercel-ai-gateway",
  13841. baseUrl: "https://ai-gateway.vercel.sh",
  13842. reasoning: true,
  13843. input: ["text"],
  13844. cost: {
  13845. input: 1.3,
  13846. output: 7.8,
  13847. cacheRead: 0.26,
  13848. cacheWrite: 1.625,
  13849. },
  13850. contextWindow: 240000,
  13851. maxTokens: 64000,
  13852. } satisfies Model<"anthropic-messages">,
  13853. "alibaba/qwen3-235b-a22b-thinking": {
  13854. id: "alibaba/qwen3-235b-a22b-thinking",
  13855. name: "Qwen3 VL 235B A22B Thinking",
  13856. api: "anthropic-messages",
  13857. provider: "vercel-ai-gateway",
  13858. baseUrl: "https://ai-gateway.vercel.sh",
  13859. reasoning: true,
  13860. input: ["text", "image"],
  13861. cost: {
  13862. input: 0.39999999999999997,
  13863. output: 4,
  13864. cacheRead: 0,
  13865. cacheWrite: 0,
  13866. },
  13867. contextWindow: 131072,
  13868. maxTokens: 32768,
  13869. } satisfies Model<"anthropic-messages">,
  13870. "alibaba/qwen3-coder": {
  13871. id: "alibaba/qwen3-coder",
  13872. name: "Qwen3 Coder 480B A35B Instruct",
  13873. api: "anthropic-messages",
  13874. provider: "vercel-ai-gateway",
  13875. baseUrl: "https://ai-gateway.vercel.sh",
  13876. reasoning: true,
  13877. input: ["text"],
  13878. cost: {
  13879. input: 1.5,
  13880. output: 7.5,
  13881. cacheRead: 0.3,
  13882. cacheWrite: 0,
  13883. },
  13884. contextWindow: 262144,
  13885. maxTokens: 65536,
  13886. } satisfies Model<"anthropic-messages">,
  13887. "alibaba/qwen3-coder-30b-a3b": {
  13888. id: "alibaba/qwen3-coder-30b-a3b",
  13889. name: "Qwen 3 Coder 30B A3B Instruct",
  13890. api: "anthropic-messages",
  13891. provider: "vercel-ai-gateway",
  13892. baseUrl: "https://ai-gateway.vercel.sh",
  13893. reasoning: true,
  13894. input: ["text"],
  13895. cost: {
  13896. input: 0.15,
  13897. output: 0.6,
  13898. cacheRead: 0,
  13899. cacheWrite: 0,
  13900. },
  13901. contextWindow: 262144,
  13902. maxTokens: 8192,
  13903. } satisfies Model<"anthropic-messages">,
  13904. "alibaba/qwen3-coder-next": {
  13905. id: "alibaba/qwen3-coder-next",
  13906. name: "Qwen3 Coder Next",
  13907. api: "anthropic-messages",
  13908. provider: "vercel-ai-gateway",
  13909. baseUrl: "https://ai-gateway.vercel.sh",
  13910. reasoning: true,
  13911. input: ["text"],
  13912. cost: {
  13913. input: 0.5,
  13914. output: 1.2,
  13915. cacheRead: 0,
  13916. cacheWrite: 0,
  13917. },
  13918. contextWindow: 256000,
  13919. maxTokens: 256000,
  13920. } satisfies Model<"anthropic-messages">,
  13921. "alibaba/qwen3-coder-plus": {
  13922. id: "alibaba/qwen3-coder-plus",
  13923. name: "Qwen3 Coder Plus",
  13924. api: "anthropic-messages",
  13925. provider: "vercel-ai-gateway",
  13926. baseUrl: "https://ai-gateway.vercel.sh",
  13927. reasoning: false,
  13928. input: ["text"],
  13929. cost: {
  13930. input: 1,
  13931. output: 5,
  13932. cacheRead: 0.19999999999999998,
  13933. cacheWrite: 0,
  13934. },
  13935. contextWindow: 1000000,
  13936. maxTokens: 65536,
  13937. } satisfies Model<"anthropic-messages">,
  13938. "alibaba/qwen3-max": {
  13939. id: "alibaba/qwen3-max",
  13940. name: "Qwen3 Max",
  13941. api: "anthropic-messages",
  13942. provider: "vercel-ai-gateway",
  13943. baseUrl: "https://ai-gateway.vercel.sh",
  13944. reasoning: false,
  13945. input: ["text"],
  13946. cost: {
  13947. input: 1.2,
  13948. output: 6,
  13949. cacheRead: 0.24,
  13950. cacheWrite: 0,
  13951. },
  13952. contextWindow: 262144,
  13953. maxTokens: 32768,
  13954. } satisfies Model<"anthropic-messages">,
  13955. "alibaba/qwen3-max-preview": {
  13956. id: "alibaba/qwen3-max-preview",
  13957. name: "Qwen3 Max Preview",
  13958. api: "anthropic-messages",
  13959. provider: "vercel-ai-gateway",
  13960. baseUrl: "https://ai-gateway.vercel.sh",
  13961. reasoning: false,
  13962. input: ["text"],
  13963. cost: {
  13964. input: 1.2,
  13965. output: 6,
  13966. cacheRead: 0.24,
  13967. cacheWrite: 0,
  13968. },
  13969. contextWindow: 262144,
  13970. maxTokens: 32768,
  13971. } satisfies Model<"anthropic-messages">,
  13972. "alibaba/qwen3-max-thinking": {
  13973. id: "alibaba/qwen3-max-thinking",
  13974. name: "Qwen 3 Max Thinking",
  13975. api: "anthropic-messages",
  13976. provider: "vercel-ai-gateway",
  13977. baseUrl: "https://ai-gateway.vercel.sh",
  13978. reasoning: true,
  13979. input: ["text"],
  13980. cost: {
  13981. input: 1.2,
  13982. output: 6,
  13983. cacheRead: 0.24,
  13984. cacheWrite: 0,
  13985. },
  13986. contextWindow: 256000,
  13987. maxTokens: 65536,
  13988. } satisfies Model<"anthropic-messages">,
  13989. "alibaba/qwen3-next-80b-a3b-instruct": {
  13990. id: "alibaba/qwen3-next-80b-a3b-instruct",
  13991. name: "Qwen3 Next 80B A3B Instruct",
  13992. api: "anthropic-messages",
  13993. provider: "vercel-ai-gateway",
  13994. baseUrl: "https://ai-gateway.vercel.sh",
  13995. reasoning: false,
  13996. input: ["text"],
  13997. cost: {
  13998. input: 0.15,
  13999. output: 1.2,
  14000. cacheRead: 0,
  14001. cacheWrite: 0,
  14002. },
  14003. contextWindow: 131072,
  14004. maxTokens: 32768,
  14005. } satisfies Model<"anthropic-messages">,
  14006. "alibaba/qwen3-next-80b-a3b-thinking": {
  14007. id: "alibaba/qwen3-next-80b-a3b-thinking",
  14008. name: "Qwen3 Next 80B A3B Thinking",
  14009. api: "anthropic-messages",
  14010. provider: "vercel-ai-gateway",
  14011. baseUrl: "https://ai-gateway.vercel.sh",
  14012. reasoning: true,
  14013. input: ["text"],
  14014. cost: {
  14015. input: 0.15,
  14016. output: 1.2,
  14017. cacheRead: 0,
  14018. cacheWrite: 0,
  14019. },
  14020. contextWindow: 131072,
  14021. maxTokens: 32768,
  14022. } satisfies Model<"anthropic-messages">,
  14023. "alibaba/qwen3-vl-thinking": {
  14024. id: "alibaba/qwen3-vl-thinking",
  14025. name: "Qwen3 VL 235B A22B Thinking",
  14026. api: "anthropic-messages",
  14027. provider: "vercel-ai-gateway",
  14028. baseUrl: "https://ai-gateway.vercel.sh",
  14029. reasoning: true,
  14030. input: ["text", "image"],
  14031. cost: {
  14032. input: 0.39999999999999997,
  14033. output: 4,
  14034. cacheRead: 0,
  14035. cacheWrite: 0,
  14036. },
  14037. contextWindow: 131072,
  14038. maxTokens: 32768,
  14039. } satisfies Model<"anthropic-messages">,
  14040. "alibaba/qwen3.5-flash": {
  14041. id: "alibaba/qwen3.5-flash",
  14042. name: "Qwen 3.5 Flash",
  14043. api: "anthropic-messages",
  14044. provider: "vercel-ai-gateway",
  14045. baseUrl: "https://ai-gateway.vercel.sh",
  14046. reasoning: true,
  14047. input: ["text", "image"],
  14048. cost: {
  14049. input: 0.09999999999999999,
  14050. output: 0.39999999999999997,
  14051. cacheRead: 0.001,
  14052. cacheWrite: 0.125,
  14053. },
  14054. contextWindow: 1000000,
  14055. maxTokens: 64000,
  14056. } satisfies Model<"anthropic-messages">,
  14057. "alibaba/qwen3.5-plus": {
  14058. id: "alibaba/qwen3.5-plus",
  14059. name: "Qwen 3.5 Plus",
  14060. api: "anthropic-messages",
  14061. provider: "vercel-ai-gateway",
  14062. baseUrl: "https://ai-gateway.vercel.sh",
  14063. reasoning: true,
  14064. input: ["text", "image"],
  14065. cost: {
  14066. input: 0.39999999999999997,
  14067. output: 2.4,
  14068. cacheRead: 0.04,
  14069. cacheWrite: 0.5,
  14070. },
  14071. contextWindow: 1000000,
  14072. maxTokens: 64000,
  14073. } satisfies Model<"anthropic-messages">,
  14074. "alibaba/qwen3.6-27b": {
  14075. id: "alibaba/qwen3.6-27b",
  14076. name: "Qwen 3.6 27B",
  14077. api: "anthropic-messages",
  14078. provider: "vercel-ai-gateway",
  14079. baseUrl: "https://ai-gateway.vercel.sh",
  14080. reasoning: true,
  14081. input: ["text", "image"],
  14082. cost: {
  14083. input: 0.6,
  14084. output: 3.5999999999999996,
  14085. cacheRead: 0,
  14086. cacheWrite: 0,
  14087. },
  14088. contextWindow: 256000,
  14089. maxTokens: 256000,
  14090. } satisfies Model<"anthropic-messages">,
  14091. "alibaba/qwen3.6-plus": {
  14092. id: "alibaba/qwen3.6-plus",
  14093. name: "Qwen 3.6 Plus",
  14094. api: "anthropic-messages",
  14095. provider: "vercel-ai-gateway",
  14096. baseUrl: "https://ai-gateway.vercel.sh",
  14097. reasoning: true,
  14098. input: ["text", "image"],
  14099. cost: {
  14100. input: 0.5,
  14101. output: 3,
  14102. cacheRead: 0.09999999999999999,
  14103. cacheWrite: 0.625,
  14104. },
  14105. contextWindow: 1000000,
  14106. maxTokens: 64000,
  14107. } satisfies Model<"anthropic-messages">,
  14108. "alibaba/qwen3.7-max": {
  14109. id: "alibaba/qwen3.7-max",
  14110. name: "Qwen 3.7 Max",
  14111. api: "anthropic-messages",
  14112. provider: "vercel-ai-gateway",
  14113. baseUrl: "https://ai-gateway.vercel.sh",
  14114. reasoning: true,
  14115. input: ["text"],
  14116. cost: {
  14117. input: 1.25,
  14118. output: 3.75,
  14119. cacheRead: 0.25,
  14120. cacheWrite: 1.5625,
  14121. },
  14122. contextWindow: 991000,
  14123. maxTokens: 64000,
  14124. } satisfies Model<"anthropic-messages">,
  14125. "alibaba/qwen3.7-plus": {
  14126. id: "alibaba/qwen3.7-plus",
  14127. name: "Qwen 3.7 Plus",
  14128. api: "anthropic-messages",
  14129. provider: "vercel-ai-gateway",
  14130. baseUrl: "https://ai-gateway.vercel.sh",
  14131. reasoning: true,
  14132. input: ["text", "image"],
  14133. cost: {
  14134. input: 0.39999999999999997,
  14135. output: 1.5999999999999999,
  14136. cacheRead: 0.08,
  14137. cacheWrite: 0.5,
  14138. },
  14139. contextWindow: 1000000,
  14140. maxTokens: 64000,
  14141. } satisfies Model<"anthropic-messages">,
  14142. "anthropic/claude-3-haiku": {
  14143. id: "anthropic/claude-3-haiku",
  14144. name: "Claude 3 Haiku",
  14145. api: "anthropic-messages",
  14146. provider: "vercel-ai-gateway",
  14147. baseUrl: "https://ai-gateway.vercel.sh",
  14148. reasoning: false,
  14149. input: ["text", "image"],
  14150. cost: {
  14151. input: 0.25,
  14152. output: 1.25,
  14153. cacheRead: 0.03,
  14154. cacheWrite: 0.3,
  14155. },
  14156. contextWindow: 200000,
  14157. maxTokens: 4096,
  14158. } satisfies Model<"anthropic-messages">,
  14159. "anthropic/claude-3.5-haiku": {
  14160. id: "anthropic/claude-3.5-haiku",
  14161. name: "Claude 3.5 Haiku",
  14162. api: "anthropic-messages",
  14163. provider: "vercel-ai-gateway",
  14164. baseUrl: "https://ai-gateway.vercel.sh",
  14165. reasoning: false,
  14166. input: ["text", "image"],
  14167. cost: {
  14168. input: 0.7999999999999999,
  14169. output: 4,
  14170. cacheRead: 0.08,
  14171. cacheWrite: 1,
  14172. },
  14173. contextWindow: 200000,
  14174. maxTokens: 8192,
  14175. } satisfies Model<"anthropic-messages">,
  14176. "anthropic/claude-fable-5": {
  14177. id: "anthropic/claude-fable-5",
  14178. name: "Claude Fable 5",
  14179. api: "anthropic-messages",
  14180. provider: "vercel-ai-gateway",
  14181. baseUrl: "https://ai-gateway.vercel.sh",
  14182. compat: {"forceAdaptiveThinking":true},
  14183. reasoning: true,
  14184. thinkingLevelMap: {"xhigh":"xhigh"},
  14185. input: ["text", "image"],
  14186. cost: {
  14187. input: 10,
  14188. output: 50,
  14189. cacheRead: 1,
  14190. cacheWrite: 12.5,
  14191. },
  14192. contextWindow: 1000000,
  14193. maxTokens: 128000,
  14194. } satisfies Model<"anthropic-messages">,
  14195. "anthropic/claude-haiku-4.5": {
  14196. id: "anthropic/claude-haiku-4.5",
  14197. name: "Claude Haiku 4.5",
  14198. api: "anthropic-messages",
  14199. provider: "vercel-ai-gateway",
  14200. baseUrl: "https://ai-gateway.vercel.sh",
  14201. reasoning: true,
  14202. input: ["text", "image"],
  14203. cost: {
  14204. input: 1,
  14205. output: 5,
  14206. cacheRead: 0.09999999999999999,
  14207. cacheWrite: 1.25,
  14208. },
  14209. contextWindow: 200000,
  14210. maxTokens: 64000,
  14211. } satisfies Model<"anthropic-messages">,
  14212. "anthropic/claude-opus-4": {
  14213. id: "anthropic/claude-opus-4",
  14214. name: "Claude Opus 4",
  14215. api: "anthropic-messages",
  14216. provider: "vercel-ai-gateway",
  14217. baseUrl: "https://ai-gateway.vercel.sh",
  14218. reasoning: true,
  14219. input: ["text", "image"],
  14220. cost: {
  14221. input: 15,
  14222. output: 75,
  14223. cacheRead: 1.5,
  14224. cacheWrite: 18.75,
  14225. },
  14226. contextWindow: 200000,
  14227. maxTokens: 32000,
  14228. } satisfies Model<"anthropic-messages">,
  14229. "anthropic/claude-opus-4.1": {
  14230. id: "anthropic/claude-opus-4.1",
  14231. name: "Claude Opus 4.1",
  14232. api: "anthropic-messages",
  14233. provider: "vercel-ai-gateway",
  14234. baseUrl: "https://ai-gateway.vercel.sh",
  14235. reasoning: true,
  14236. input: ["text", "image"],
  14237. cost: {
  14238. input: 15,
  14239. output: 75,
  14240. cacheRead: 1.5,
  14241. cacheWrite: 18.75,
  14242. },
  14243. contextWindow: 200000,
  14244. maxTokens: 32000,
  14245. } satisfies Model<"anthropic-messages">,
  14246. "anthropic/claude-opus-4.5": {
  14247. id: "anthropic/claude-opus-4.5",
  14248. name: "Claude Opus 4.5",
  14249. api: "anthropic-messages",
  14250. provider: "vercel-ai-gateway",
  14251. baseUrl: "https://ai-gateway.vercel.sh",
  14252. reasoning: true,
  14253. input: ["text", "image"],
  14254. cost: {
  14255. input: 5,
  14256. output: 25,
  14257. cacheRead: 0.5,
  14258. cacheWrite: 6.25,
  14259. },
  14260. contextWindow: 200000,
  14261. maxTokens: 64000,
  14262. } satisfies Model<"anthropic-messages">,
  14263. "anthropic/claude-opus-4.6": {
  14264. id: "anthropic/claude-opus-4.6",
  14265. name: "Claude Opus 4.6",
  14266. api: "anthropic-messages",
  14267. provider: "vercel-ai-gateway",
  14268. baseUrl: "https://ai-gateway.vercel.sh",
  14269. compat: {"forceAdaptiveThinking":true},
  14270. reasoning: true,
  14271. thinkingLevelMap: {"xhigh":"max"},
  14272. input: ["text", "image"],
  14273. cost: {
  14274. input: 5,
  14275. output: 25,
  14276. cacheRead: 0.5,
  14277. cacheWrite: 6.25,
  14278. },
  14279. contextWindow: 1000000,
  14280. maxTokens: 128000,
  14281. } satisfies Model<"anthropic-messages">,
  14282. "anthropic/claude-opus-4.7": {
  14283. id: "anthropic/claude-opus-4.7",
  14284. name: "Claude Opus 4.7",
  14285. api: "anthropic-messages",
  14286. provider: "vercel-ai-gateway",
  14287. baseUrl: "https://ai-gateway.vercel.sh",
  14288. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  14289. reasoning: true,
  14290. thinkingLevelMap: {"xhigh":"xhigh"},
  14291. input: ["text", "image"],
  14292. cost: {
  14293. input: 5,
  14294. output: 25,
  14295. cacheRead: 0.5,
  14296. cacheWrite: 6.25,
  14297. },
  14298. contextWindow: 1000000,
  14299. maxTokens: 128000,
  14300. } satisfies Model<"anthropic-messages">,
  14301. "anthropic/claude-opus-4.8": {
  14302. id: "anthropic/claude-opus-4.8",
  14303. name: "Claude Opus 4.8",
  14304. api: "anthropic-messages",
  14305. provider: "vercel-ai-gateway",
  14306. baseUrl: "https://ai-gateway.vercel.sh",
  14307. compat: {"forceAdaptiveThinking":true,"supportsTemperature":false},
  14308. reasoning: true,
  14309. thinkingLevelMap: {"xhigh":"xhigh"},
  14310. input: ["text", "image"],
  14311. cost: {
  14312. input: 5,
  14313. output: 25,
  14314. cacheRead: 0.5,
  14315. cacheWrite: 6.25,
  14316. },
  14317. contextWindow: 1000000,
  14318. maxTokens: 128000,
  14319. } satisfies Model<"anthropic-messages">,
  14320. "anthropic/claude-sonnet-4": {
  14321. id: "anthropic/claude-sonnet-4",
  14322. name: "Claude Sonnet 4",
  14323. api: "anthropic-messages",
  14324. provider: "vercel-ai-gateway",
  14325. baseUrl: "https://ai-gateway.vercel.sh",
  14326. reasoning: true,
  14327. input: ["text", "image"],
  14328. cost: {
  14329. input: 3,
  14330. output: 15,
  14331. cacheRead: 0.3,
  14332. cacheWrite: 3.75,
  14333. },
  14334. contextWindow: 1000000,
  14335. maxTokens: 64000,
  14336. } satisfies Model<"anthropic-messages">,
  14337. "anthropic/claude-sonnet-4.5": {
  14338. id: "anthropic/claude-sonnet-4.5",
  14339. name: "Claude Sonnet 4.5",
  14340. api: "anthropic-messages",
  14341. provider: "vercel-ai-gateway",
  14342. baseUrl: "https://ai-gateway.vercel.sh",
  14343. reasoning: true,
  14344. input: ["text", "image"],
  14345. cost: {
  14346. input: 3,
  14347. output: 15,
  14348. cacheRead: 0.3,
  14349. cacheWrite: 3.75,
  14350. },
  14351. contextWindow: 1000000,
  14352. maxTokens: 64000,
  14353. } satisfies Model<"anthropic-messages">,
  14354. "anthropic/claude-sonnet-4.6": {
  14355. id: "anthropic/claude-sonnet-4.6",
  14356. name: "Claude Sonnet 4.6",
  14357. api: "anthropic-messages",
  14358. provider: "vercel-ai-gateway",
  14359. baseUrl: "https://ai-gateway.vercel.sh",
  14360. compat: {"forceAdaptiveThinking":true},
  14361. reasoning: true,
  14362. input: ["text", "image"],
  14363. cost: {
  14364. input: 3,
  14365. output: 15,
  14366. cacheRead: 0.3,
  14367. cacheWrite: 3.75,
  14368. },
  14369. contextWindow: 1000000,
  14370. maxTokens: 128000,
  14371. } satisfies Model<"anthropic-messages">,
  14372. "arcee-ai/trinity-large-preview": {
  14373. id: "arcee-ai/trinity-large-preview",
  14374. name: "Trinity Large Preview",
  14375. api: "anthropic-messages",
  14376. provider: "vercel-ai-gateway",
  14377. baseUrl: "https://ai-gateway.vercel.sh",
  14378. reasoning: false,
  14379. input: ["text"],
  14380. cost: {
  14381. input: 0.25,
  14382. output: 1,
  14383. cacheRead: 0,
  14384. cacheWrite: 0,
  14385. },
  14386. contextWindow: 131000,
  14387. maxTokens: 131000,
  14388. } satisfies Model<"anthropic-messages">,
  14389. "arcee-ai/trinity-large-thinking": {
  14390. id: "arcee-ai/trinity-large-thinking",
  14391. name: "Trinity Large Thinking",
  14392. api: "anthropic-messages",
  14393. provider: "vercel-ai-gateway",
  14394. baseUrl: "https://ai-gateway.vercel.sh",
  14395. reasoning: true,
  14396. input: ["text"],
  14397. cost: {
  14398. input: 0.25,
  14399. output: 0.8999999999999999,
  14400. cacheRead: 0,
  14401. cacheWrite: 0,
  14402. },
  14403. contextWindow: 262100,
  14404. maxTokens: 80000,
  14405. } satisfies Model<"anthropic-messages">,
  14406. "bytedance/seed-1.6": {
  14407. id: "bytedance/seed-1.6",
  14408. name: "Seed 1.6",
  14409. api: "anthropic-messages",
  14410. provider: "vercel-ai-gateway",
  14411. baseUrl: "https://ai-gateway.vercel.sh",
  14412. reasoning: true,
  14413. input: ["text"],
  14414. cost: {
  14415. input: 0.25,
  14416. output: 2,
  14417. cacheRead: 0.049999999999999996,
  14418. cacheWrite: 0,
  14419. },
  14420. contextWindow: 256000,
  14421. maxTokens: 32000,
  14422. } satisfies Model<"anthropic-messages">,
  14423. "cohere/command-a": {
  14424. id: "cohere/command-a",
  14425. name: "Command A",
  14426. api: "anthropic-messages",
  14427. provider: "vercel-ai-gateway",
  14428. baseUrl: "https://ai-gateway.vercel.sh",
  14429. reasoning: false,
  14430. input: ["text"],
  14431. cost: {
  14432. input: 2.5,
  14433. output: 10,
  14434. cacheRead: 0,
  14435. cacheWrite: 0,
  14436. },
  14437. contextWindow: 256000,
  14438. maxTokens: 8000,
  14439. } satisfies Model<"anthropic-messages">,
  14440. "deepseek/deepseek-r1": {
  14441. id: "deepseek/deepseek-r1",
  14442. name: "DeepSeek-R1",
  14443. api: "anthropic-messages",
  14444. provider: "vercel-ai-gateway",
  14445. baseUrl: "https://ai-gateway.vercel.sh",
  14446. reasoning: true,
  14447. input: ["text"],
  14448. cost: {
  14449. input: 1.35,
  14450. output: 5.4,
  14451. cacheRead: 0,
  14452. cacheWrite: 0,
  14453. },
  14454. contextWindow: 128000,
  14455. maxTokens: 8192,
  14456. } satisfies Model<"anthropic-messages">,
  14457. "deepseek/deepseek-v3": {
  14458. id: "deepseek/deepseek-v3",
  14459. name: "DeepSeek V3 0324",
  14460. api: "anthropic-messages",
  14461. provider: "vercel-ai-gateway",
  14462. baseUrl: "https://ai-gateway.vercel.sh",
  14463. reasoning: false,
  14464. input: ["text"],
  14465. cost: {
  14466. input: 0.27,
  14467. output: 1.12,
  14468. cacheRead: 0.135,
  14469. cacheWrite: 0,
  14470. },
  14471. contextWindow: 163840,
  14472. maxTokens: 163840,
  14473. } satisfies Model<"anthropic-messages">,
  14474. "deepseek/deepseek-v3.1": {
  14475. id: "deepseek/deepseek-v3.1",
  14476. name: "DeepSeek V3.1",
  14477. api: "anthropic-messages",
  14478. provider: "vercel-ai-gateway",
  14479. baseUrl: "https://ai-gateway.vercel.sh",
  14480. reasoning: true,
  14481. input: ["text"],
  14482. cost: {
  14483. input: 0.56,
  14484. output: 1.68,
  14485. cacheRead: 0.28,
  14486. cacheWrite: 0,
  14487. },
  14488. contextWindow: 163840,
  14489. maxTokens: 8192,
  14490. } satisfies Model<"anthropic-messages">,
  14491. "deepseek/deepseek-v3.1-terminus": {
  14492. id: "deepseek/deepseek-v3.1-terminus",
  14493. name: "DeepSeek V3.1 Terminus",
  14494. api: "anthropic-messages",
  14495. provider: "vercel-ai-gateway",
  14496. baseUrl: "https://ai-gateway.vercel.sh",
  14497. reasoning: true,
  14498. input: ["text"],
  14499. cost: {
  14500. input: 0.27,
  14501. output: 1,
  14502. cacheRead: 0.135,
  14503. cacheWrite: 0,
  14504. },
  14505. contextWindow: 131072,
  14506. maxTokens: 65536,
  14507. } satisfies Model<"anthropic-messages">,
  14508. "deepseek/deepseek-v3.2": {
  14509. id: "deepseek/deepseek-v3.2",
  14510. name: "DeepSeek V3.2",
  14511. api: "anthropic-messages",
  14512. provider: "vercel-ai-gateway",
  14513. baseUrl: "https://ai-gateway.vercel.sh",
  14514. reasoning: true,
  14515. input: ["text", "image"],
  14516. cost: {
  14517. input: 0.28,
  14518. output: 0.42,
  14519. cacheRead: 0.028,
  14520. cacheWrite: 0,
  14521. },
  14522. contextWindow: 128000,
  14523. maxTokens: 8000,
  14524. } satisfies Model<"anthropic-messages">,
  14525. "deepseek/deepseek-v3.2-thinking": {
  14526. id: "deepseek/deepseek-v3.2-thinking",
  14527. name: "DeepSeek V3.2 Thinking",
  14528. api: "anthropic-messages",
  14529. provider: "vercel-ai-gateway",
  14530. baseUrl: "https://ai-gateway.vercel.sh",
  14531. reasoning: true,
  14532. input: ["text", "image"],
  14533. cost: {
  14534. input: 0.62,
  14535. output: 1.85,
  14536. cacheRead: 0,
  14537. cacheWrite: 0,
  14538. },
  14539. contextWindow: 128000,
  14540. maxTokens: 8000,
  14541. } satisfies Model<"anthropic-messages">,
  14542. "deepseek/deepseek-v4-flash": {
  14543. id: "deepseek/deepseek-v4-flash",
  14544. name: "DeepSeek V4 Flash",
  14545. api: "anthropic-messages",
  14546. provider: "vercel-ai-gateway",
  14547. baseUrl: "https://ai-gateway.vercel.sh",
  14548. reasoning: true,
  14549. input: ["text", "image"],
  14550. cost: {
  14551. input: 0.14,
  14552. output: 0.28,
  14553. cacheRead: 0.0028,
  14554. cacheWrite: 0,
  14555. },
  14556. contextWindow: 1000000,
  14557. maxTokens: 384000,
  14558. } satisfies Model<"anthropic-messages">,
  14559. "deepseek/deepseek-v4-pro": {
  14560. id: "deepseek/deepseek-v4-pro",
  14561. name: "DeepSeek V4 Pro",
  14562. api: "anthropic-messages",
  14563. provider: "vercel-ai-gateway",
  14564. baseUrl: "https://ai-gateway.vercel.sh",
  14565. reasoning: true,
  14566. input: ["text"],
  14567. cost: {
  14568. input: 0.435,
  14569. output: 0.87,
  14570. cacheRead: 0.0036,
  14571. cacheWrite: 0,
  14572. },
  14573. contextWindow: 1000000,
  14574. maxTokens: 384000,
  14575. } satisfies Model<"anthropic-messages">,
  14576. "google/gemini-2.5-flash": {
  14577. id: "google/gemini-2.5-flash",
  14578. name: "Gemini 2.5 Flash",
  14579. api: "anthropic-messages",
  14580. provider: "vercel-ai-gateway",
  14581. baseUrl: "https://ai-gateway.vercel.sh",
  14582. reasoning: true,
  14583. input: ["text", "image"],
  14584. cost: {
  14585. input: 0.3,
  14586. output: 2.5,
  14587. cacheRead: 0.03,
  14588. cacheWrite: 0,
  14589. },
  14590. contextWindow: 1000000,
  14591. maxTokens: 65536,
  14592. } satisfies Model<"anthropic-messages">,
  14593. "google/gemini-2.5-flash-lite": {
  14594. id: "google/gemini-2.5-flash-lite",
  14595. name: "Gemini 2.5 Flash Lite",
  14596. api: "anthropic-messages",
  14597. provider: "vercel-ai-gateway",
  14598. baseUrl: "https://ai-gateway.vercel.sh",
  14599. reasoning: true,
  14600. input: ["text", "image"],
  14601. cost: {
  14602. input: 0.09999999999999999,
  14603. output: 0.39999999999999997,
  14604. cacheRead: 0.01,
  14605. cacheWrite: 0,
  14606. },
  14607. contextWindow: 1048576,
  14608. maxTokens: 65536,
  14609. } satisfies Model<"anthropic-messages">,
  14610. "google/gemini-2.5-pro": {
  14611. id: "google/gemini-2.5-pro",
  14612. name: "Gemini 2.5 Pro",
  14613. api: "anthropic-messages",
  14614. provider: "vercel-ai-gateway",
  14615. baseUrl: "https://ai-gateway.vercel.sh",
  14616. reasoning: true,
  14617. input: ["text", "image"],
  14618. cost: {
  14619. input: 1.25,
  14620. output: 10,
  14621. cacheRead: 0.125,
  14622. cacheWrite: 0,
  14623. },
  14624. contextWindow: 1048576,
  14625. maxTokens: 65536,
  14626. } satisfies Model<"anthropic-messages">,
  14627. "google/gemini-3-flash": {
  14628. id: "google/gemini-3-flash",
  14629. name: "Gemini 3 Flash",
  14630. api: "anthropic-messages",
  14631. provider: "vercel-ai-gateway",
  14632. baseUrl: "https://ai-gateway.vercel.sh",
  14633. reasoning: true,
  14634. input: ["text", "image"],
  14635. cost: {
  14636. input: 0.5,
  14637. output: 3,
  14638. cacheRead: 0.049999999999999996,
  14639. cacheWrite: 0,
  14640. },
  14641. contextWindow: 1000000,
  14642. maxTokens: 65000,
  14643. } satisfies Model<"anthropic-messages">,
  14644. "google/gemini-3-pro-preview": {
  14645. id: "google/gemini-3-pro-preview",
  14646. name: "Gemini 3 Pro Preview",
  14647. api: "anthropic-messages",
  14648. provider: "vercel-ai-gateway",
  14649. baseUrl: "https://ai-gateway.vercel.sh",
  14650. reasoning: true,
  14651. input: ["text", "image"],
  14652. cost: {
  14653. input: 2,
  14654. output: 12,
  14655. cacheRead: 0.19999999999999998,
  14656. cacheWrite: 0,
  14657. },
  14658. contextWindow: 1000000,
  14659. maxTokens: 64000,
  14660. } satisfies Model<"anthropic-messages">,
  14661. "google/gemini-3.1-flash-lite": {
  14662. id: "google/gemini-3.1-flash-lite",
  14663. name: "Gemini 3.1 Flash Lite",
  14664. api: "anthropic-messages",
  14665. provider: "vercel-ai-gateway",
  14666. baseUrl: "https://ai-gateway.vercel.sh",
  14667. reasoning: true,
  14668. input: ["text", "image"],
  14669. cost: {
  14670. input: 0.25,
  14671. output: 1.5,
  14672. cacheRead: 0.03,
  14673. cacheWrite: 0,
  14674. },
  14675. contextWindow: 1000000,
  14676. maxTokens: 65000,
  14677. } satisfies Model<"anthropic-messages">,
  14678. "google/gemini-3.1-flash-lite-preview": {
  14679. id: "google/gemini-3.1-flash-lite-preview",
  14680. name: "Gemini 3.1 Flash Lite Preview",
  14681. api: "anthropic-messages",
  14682. provider: "vercel-ai-gateway",
  14683. baseUrl: "https://ai-gateway.vercel.sh",
  14684. reasoning: true,
  14685. input: ["text", "image"],
  14686. cost: {
  14687. input: 0.25,
  14688. output: 1.5,
  14689. cacheRead: 0.03,
  14690. cacheWrite: 0,
  14691. },
  14692. contextWindow: 1000000,
  14693. maxTokens: 65000,
  14694. } satisfies Model<"anthropic-messages">,
  14695. "google/gemini-3.1-pro-preview": {
  14696. id: "google/gemini-3.1-pro-preview",
  14697. name: "Gemini 3.1 Pro Preview",
  14698. api: "anthropic-messages",
  14699. provider: "vercel-ai-gateway",
  14700. baseUrl: "https://ai-gateway.vercel.sh",
  14701. reasoning: true,
  14702. input: ["text", "image"],
  14703. cost: {
  14704. input: 2,
  14705. output: 12,
  14706. cacheRead: 0.19999999999999998,
  14707. cacheWrite: 0,
  14708. },
  14709. contextWindow: 1000000,
  14710. maxTokens: 64000,
  14711. } satisfies Model<"anthropic-messages">,
  14712. "google/gemini-3.5-flash": {
  14713. id: "google/gemini-3.5-flash",
  14714. name: "Gemini 3.5 Flash",
  14715. api: "anthropic-messages",
  14716. provider: "vercel-ai-gateway",
  14717. baseUrl: "https://ai-gateway.vercel.sh",
  14718. reasoning: true,
  14719. input: ["text", "image"],
  14720. cost: {
  14721. input: 1.5,
  14722. output: 9,
  14723. cacheRead: 0.15,
  14724. cacheWrite: 0,
  14725. },
  14726. contextWindow: 1000000,
  14727. maxTokens: 64000,
  14728. } satisfies Model<"anthropic-messages">,
  14729. "google/gemma-4-26b-a4b-it": {
  14730. id: "google/gemma-4-26b-a4b-it",
  14731. name: "Gemma 4 26B A4B IT",
  14732. api: "anthropic-messages",
  14733. provider: "vercel-ai-gateway",
  14734. baseUrl: "https://ai-gateway.vercel.sh",
  14735. reasoning: true,
  14736. input: ["text", "image"],
  14737. cost: {
  14738. input: 0.15,
  14739. output: 0.6,
  14740. cacheRead: 0.015,
  14741. cacheWrite: 0,
  14742. },
  14743. contextWindow: 262144,
  14744. maxTokens: 131072,
  14745. } satisfies Model<"anthropic-messages">,
  14746. "google/gemma-4-31b-it": {
  14747. id: "google/gemma-4-31b-it",
  14748. name: "Gemma 4 31B IT",
  14749. api: "anthropic-messages",
  14750. provider: "vercel-ai-gateway",
  14751. baseUrl: "https://ai-gateway.vercel.sh",
  14752. reasoning: false,
  14753. input: ["text", "image"],
  14754. cost: {
  14755. input: 0.14,
  14756. output: 0.39999999999999997,
  14757. cacheRead: 0,
  14758. cacheWrite: 0,
  14759. },
  14760. contextWindow: 262144,
  14761. maxTokens: 131072,
  14762. } satisfies Model<"anthropic-messages">,
  14763. "inception/mercury-2": {
  14764. id: "inception/mercury-2",
  14765. name: "Mercury 2",
  14766. api: "anthropic-messages",
  14767. provider: "vercel-ai-gateway",
  14768. baseUrl: "https://ai-gateway.vercel.sh",
  14769. reasoning: true,
  14770. input: ["text"],
  14771. cost: {
  14772. input: 0.25,
  14773. output: 0.75,
  14774. cacheRead: 0.024999999999999998,
  14775. cacheWrite: 0,
  14776. },
  14777. contextWindow: 128000,
  14778. maxTokens: 128000,
  14779. } satisfies Model<"anthropic-messages">,
  14780. "inception/mercury-coder-small": {
  14781. id: "inception/mercury-coder-small",
  14782. name: "Mercury Coder Small Beta",
  14783. api: "anthropic-messages",
  14784. provider: "vercel-ai-gateway",
  14785. baseUrl: "https://ai-gateway.vercel.sh",
  14786. reasoning: false,
  14787. input: ["text"],
  14788. cost: {
  14789. input: 0.25,
  14790. output: 1,
  14791. cacheRead: 0,
  14792. cacheWrite: 0,
  14793. },
  14794. contextWindow: 32000,
  14795. maxTokens: 16384,
  14796. } satisfies Model<"anthropic-messages">,
  14797. "kwaipilot/kat-coder-pro-v2": {
  14798. id: "kwaipilot/kat-coder-pro-v2",
  14799. name: "Kat Coder Pro V2",
  14800. api: "anthropic-messages",
  14801. provider: "vercel-ai-gateway",
  14802. baseUrl: "https://ai-gateway.vercel.sh",
  14803. reasoning: true,
  14804. input: ["text"],
  14805. cost: {
  14806. input: 0.3,
  14807. output: 1.2,
  14808. cacheRead: 0.06,
  14809. cacheWrite: 0,
  14810. },
  14811. contextWindow: 256000,
  14812. maxTokens: 256000,
  14813. } satisfies Model<"anthropic-messages">,
  14814. "meituan/longcat-flash-chat": {
  14815. id: "meituan/longcat-flash-chat",
  14816. name: "LongCat Flash Chat",
  14817. api: "anthropic-messages",
  14818. provider: "vercel-ai-gateway",
  14819. baseUrl: "https://ai-gateway.vercel.sh",
  14820. reasoning: false,
  14821. input: ["text"],
  14822. cost: {
  14823. input: 0,
  14824. output: 0,
  14825. cacheRead: 0,
  14826. cacheWrite: 0,
  14827. },
  14828. contextWindow: 128000,
  14829. maxTokens: 100000,
  14830. } satisfies Model<"anthropic-messages">,
  14831. "meta/llama-3.1-70b": {
  14832. id: "meta/llama-3.1-70b",
  14833. name: "Llama 3.1 70B Instruct",
  14834. api: "anthropic-messages",
  14835. provider: "vercel-ai-gateway",
  14836. baseUrl: "https://ai-gateway.vercel.sh",
  14837. reasoning: false,
  14838. input: ["text"],
  14839. cost: {
  14840. input: 0.72,
  14841. output: 0.72,
  14842. cacheRead: 0,
  14843. cacheWrite: 0,
  14844. },
  14845. contextWindow: 128000,
  14846. maxTokens: 8192,
  14847. } satisfies Model<"anthropic-messages">,
  14848. "meta/llama-3.1-8b": {
  14849. id: "meta/llama-3.1-8b",
  14850. name: "Llama 3.1 8B Instruct",
  14851. api: "anthropic-messages",
  14852. provider: "vercel-ai-gateway",
  14853. baseUrl: "https://ai-gateway.vercel.sh",
  14854. reasoning: false,
  14855. input: ["text"],
  14856. cost: {
  14857. input: 0.22,
  14858. output: 0.22,
  14859. cacheRead: 0,
  14860. cacheWrite: 0,
  14861. },
  14862. contextWindow: 128000,
  14863. maxTokens: 8192,
  14864. } satisfies Model<"anthropic-messages">,
  14865. "meta/llama-3.2-11b": {
  14866. id: "meta/llama-3.2-11b",
  14867. name: "Llama 3.2 11B Vision Instruct",
  14868. api: "anthropic-messages",
  14869. provider: "vercel-ai-gateway",
  14870. baseUrl: "https://ai-gateway.vercel.sh",
  14871. reasoning: false,
  14872. input: ["text", "image"],
  14873. cost: {
  14874. input: 0.16,
  14875. output: 0.16,
  14876. cacheRead: 0,
  14877. cacheWrite: 0,
  14878. },
  14879. contextWindow: 128000,
  14880. maxTokens: 8192,
  14881. } satisfies Model<"anthropic-messages">,
  14882. "meta/llama-3.2-90b": {
  14883. id: "meta/llama-3.2-90b",
  14884. name: "Llama 3.2 90B Vision Instruct",
  14885. api: "anthropic-messages",
  14886. provider: "vercel-ai-gateway",
  14887. baseUrl: "https://ai-gateway.vercel.sh",
  14888. reasoning: false,
  14889. input: ["text", "image"],
  14890. cost: {
  14891. input: 0.72,
  14892. output: 0.72,
  14893. cacheRead: 0,
  14894. cacheWrite: 0,
  14895. },
  14896. contextWindow: 128000,
  14897. maxTokens: 8192,
  14898. } satisfies Model<"anthropic-messages">,
  14899. "meta/llama-3.3-70b": {
  14900. id: "meta/llama-3.3-70b",
  14901. name: "Llama 3.3 70B Instruct",
  14902. api: "anthropic-messages",
  14903. provider: "vercel-ai-gateway",
  14904. baseUrl: "https://ai-gateway.vercel.sh",
  14905. reasoning: false,
  14906. input: ["text"],
  14907. cost: {
  14908. input: 0.72,
  14909. output: 0.72,
  14910. cacheRead: 0,
  14911. cacheWrite: 0,
  14912. },
  14913. contextWindow: 128000,
  14914. maxTokens: 8192,
  14915. } satisfies Model<"anthropic-messages">,
  14916. "meta/llama-4-maverick": {
  14917. id: "meta/llama-4-maverick",
  14918. name: "Llama 4 Maverick 17B Instruct",
  14919. api: "anthropic-messages",
  14920. provider: "vercel-ai-gateway",
  14921. baseUrl: "https://ai-gateway.vercel.sh",
  14922. reasoning: false,
  14923. input: ["text", "image"],
  14924. cost: {
  14925. input: 0.24,
  14926. output: 0.9700000000000001,
  14927. cacheRead: 0,
  14928. cacheWrite: 0,
  14929. },
  14930. contextWindow: 128000,
  14931. maxTokens: 8192,
  14932. } satisfies Model<"anthropic-messages">,
  14933. "meta/llama-4-scout": {
  14934. id: "meta/llama-4-scout",
  14935. name: "Llama 4 Scout 17B Instruct",
  14936. api: "anthropic-messages",
  14937. provider: "vercel-ai-gateway",
  14938. baseUrl: "https://ai-gateway.vercel.sh",
  14939. reasoning: false,
  14940. input: ["text", "image"],
  14941. cost: {
  14942. input: 0.16999999999999998,
  14943. output: 0.66,
  14944. cacheRead: 0,
  14945. cacheWrite: 0,
  14946. },
  14947. contextWindow: 128000,
  14948. maxTokens: 8192,
  14949. } satisfies Model<"anthropic-messages">,
  14950. "minimax/minimax-m2": {
  14951. id: "minimax/minimax-m2",
  14952. name: "MiniMax M2",
  14953. api: "anthropic-messages",
  14954. provider: "vercel-ai-gateway",
  14955. baseUrl: "https://ai-gateway.vercel.sh",
  14956. reasoning: true,
  14957. input: ["text"],
  14958. cost: {
  14959. input: 0.3,
  14960. output: 1.2,
  14961. cacheRead: 0.03,
  14962. cacheWrite: 0.375,
  14963. },
  14964. contextWindow: 205000,
  14965. maxTokens: 205000,
  14966. } satisfies Model<"anthropic-messages">,
  14967. "minimax/minimax-m2.1": {
  14968. id: "minimax/minimax-m2.1",
  14969. name: "MiniMax M2.1",
  14970. api: "anthropic-messages",
  14971. provider: "vercel-ai-gateway",
  14972. baseUrl: "https://ai-gateway.vercel.sh",
  14973. reasoning: true,
  14974. input: ["text"],
  14975. cost: {
  14976. input: 0.3,
  14977. output: 1.2,
  14978. cacheRead: 0.03,
  14979. cacheWrite: 0.375,
  14980. },
  14981. contextWindow: 204800,
  14982. maxTokens: 131072,
  14983. } satisfies Model<"anthropic-messages">,
  14984. "minimax/minimax-m2.1-lightning": {
  14985. id: "minimax/minimax-m2.1-lightning",
  14986. name: "MiniMax M2.1 Lightning",
  14987. api: "anthropic-messages",
  14988. provider: "vercel-ai-gateway",
  14989. baseUrl: "https://ai-gateway.vercel.sh",
  14990. reasoning: true,
  14991. input: ["text"],
  14992. cost: {
  14993. input: 0.3,
  14994. output: 2.4,
  14995. cacheRead: 0.03,
  14996. cacheWrite: 0.375,
  14997. },
  14998. contextWindow: 204800,
  14999. maxTokens: 131072,
  15000. } satisfies Model<"anthropic-messages">,
  15001. "minimax/minimax-m2.5": {
  15002. id: "minimax/minimax-m2.5",
  15003. name: "MiniMax M2.5",
  15004. api: "anthropic-messages",
  15005. provider: "vercel-ai-gateway",
  15006. baseUrl: "https://ai-gateway.vercel.sh",
  15007. reasoning: true,
  15008. input: ["text"],
  15009. cost: {
  15010. input: 0.3,
  15011. output: 1.2,
  15012. cacheRead: 0.03,
  15013. cacheWrite: 0.375,
  15014. },
  15015. contextWindow: 204800,
  15016. maxTokens: 131000,
  15017. } satisfies Model<"anthropic-messages">,
  15018. "minimax/minimax-m2.5-highspeed": {
  15019. id: "minimax/minimax-m2.5-highspeed",
  15020. name: "MiniMax M2.5 High Speed",
  15021. api: "anthropic-messages",
  15022. provider: "vercel-ai-gateway",
  15023. baseUrl: "https://ai-gateway.vercel.sh",
  15024. reasoning: true,
  15025. input: ["text"],
  15026. cost: {
  15027. input: 0.6,
  15028. output: 2.4,
  15029. cacheRead: 0.03,
  15030. cacheWrite: 0.375,
  15031. },
  15032. contextWindow: 204800,
  15033. maxTokens: 131000,
  15034. } satisfies Model<"anthropic-messages">,
  15035. "minimax/minimax-m2.7": {
  15036. id: "minimax/minimax-m2.7",
  15037. name: "MiniMax M2.7",
  15038. api: "anthropic-messages",
  15039. provider: "vercel-ai-gateway",
  15040. baseUrl: "https://ai-gateway.vercel.sh",
  15041. reasoning: true,
  15042. input: ["text"],
  15043. cost: {
  15044. input: 0.3,
  15045. output: 1.2,
  15046. cacheRead: 0.06,
  15047. cacheWrite: 0.375,
  15048. },
  15049. contextWindow: 204800,
  15050. maxTokens: 131000,
  15051. } satisfies Model<"anthropic-messages">,
  15052. "minimax/minimax-m2.7-highspeed": {
  15053. id: "minimax/minimax-m2.7-highspeed",
  15054. name: "MiniMax M2.7 High Speed",
  15055. api: "anthropic-messages",
  15056. provider: "vercel-ai-gateway",
  15057. baseUrl: "https://ai-gateway.vercel.sh",
  15058. reasoning: true,
  15059. input: ["text"],
  15060. cost: {
  15061. input: 0.6,
  15062. output: 2.4,
  15063. cacheRead: 0.06,
  15064. cacheWrite: 0.375,
  15065. },
  15066. contextWindow: 204800,
  15067. maxTokens: 131100,
  15068. } satisfies Model<"anthropic-messages">,
  15069. "minimax/minimax-m3": {
  15070. id: "minimax/minimax-m3",
  15071. name: "MiniMax M3",
  15072. api: "anthropic-messages",
  15073. provider: "vercel-ai-gateway",
  15074. baseUrl: "https://ai-gateway.vercel.sh",
  15075. reasoning: true,
  15076. input: ["text", "image"],
  15077. cost: {
  15078. input: 0.3,
  15079. output: 1.2,
  15080. cacheRead: 0.06,
  15081. cacheWrite: 0,
  15082. },
  15083. contextWindow: 1000000,
  15084. maxTokens: 1000000,
  15085. } satisfies Model<"anthropic-messages">,
  15086. "mistral/codestral": {
  15087. id: "mistral/codestral",
  15088. name: "Mistral Codestral",
  15089. api: "anthropic-messages",
  15090. provider: "vercel-ai-gateway",
  15091. baseUrl: "https://ai-gateway.vercel.sh",
  15092. reasoning: false,
  15093. input: ["text"],
  15094. cost: {
  15095. input: 0.3,
  15096. output: 0.8999999999999999,
  15097. cacheRead: 0,
  15098. cacheWrite: 0,
  15099. },
  15100. contextWindow: 128000,
  15101. maxTokens: 4000,
  15102. } satisfies Model<"anthropic-messages">,
  15103. "mistral/devstral-2": {
  15104. id: "mistral/devstral-2",
  15105. name: "Devstral 2",
  15106. api: "anthropic-messages",
  15107. provider: "vercel-ai-gateway",
  15108. baseUrl: "https://ai-gateway.vercel.sh",
  15109. reasoning: false,
  15110. input: ["text"],
  15111. cost: {
  15112. input: 0.39999999999999997,
  15113. output: 2,
  15114. cacheRead: 0,
  15115. cacheWrite: 0,
  15116. },
  15117. contextWindow: 256000,
  15118. maxTokens: 256000,
  15119. } satisfies Model<"anthropic-messages">,
  15120. "mistral/devstral-small": {
  15121. id: "mistral/devstral-small",
  15122. name: "Devstral Small 1.1",
  15123. api: "anthropic-messages",
  15124. provider: "vercel-ai-gateway",
  15125. baseUrl: "https://ai-gateway.vercel.sh",
  15126. reasoning: false,
  15127. input: ["text"],
  15128. cost: {
  15129. input: 0.09999999999999999,
  15130. output: 0.3,
  15131. cacheRead: 0,
  15132. cacheWrite: 0,
  15133. },
  15134. contextWindow: 128000,
  15135. maxTokens: 64000,
  15136. } satisfies Model<"anthropic-messages">,
  15137. "mistral/devstral-small-2": {
  15138. id: "mistral/devstral-small-2",
  15139. name: "Devstral Small 2",
  15140. api: "anthropic-messages",
  15141. provider: "vercel-ai-gateway",
  15142. baseUrl: "https://ai-gateway.vercel.sh",
  15143. reasoning: false,
  15144. input: ["text"],
  15145. cost: {
  15146. input: 0.09999999999999999,
  15147. output: 0.3,
  15148. cacheRead: 0,
  15149. cacheWrite: 0,
  15150. },
  15151. contextWindow: 256000,
  15152. maxTokens: 256000,
  15153. } satisfies Model<"anthropic-messages">,
  15154. "mistral/ministral-3b": {
  15155. id: "mistral/ministral-3b",
  15156. name: "Ministral 3B",
  15157. api: "anthropic-messages",
  15158. provider: "vercel-ai-gateway",
  15159. baseUrl: "https://ai-gateway.vercel.sh",
  15160. reasoning: false,
  15161. input: ["text"],
  15162. cost: {
  15163. input: 0.09999999999999999,
  15164. output: 0.09999999999999999,
  15165. cacheRead: 0,
  15166. cacheWrite: 0,
  15167. },
  15168. contextWindow: 128000,
  15169. maxTokens: 4000,
  15170. } satisfies Model<"anthropic-messages">,
  15171. "mistral/ministral-8b": {
  15172. id: "mistral/ministral-8b",
  15173. name: "Ministral 8B",
  15174. api: "anthropic-messages",
  15175. provider: "vercel-ai-gateway",
  15176. baseUrl: "https://ai-gateway.vercel.sh",
  15177. reasoning: false,
  15178. input: ["text"],
  15179. cost: {
  15180. input: 0.15,
  15181. output: 0.15,
  15182. cacheRead: 0,
  15183. cacheWrite: 0,
  15184. },
  15185. contextWindow: 128000,
  15186. maxTokens: 4000,
  15187. } satisfies Model<"anthropic-messages">,
  15188. "mistral/mistral-medium": {
  15189. id: "mistral/mistral-medium",
  15190. name: "Mistral Medium 3.1",
  15191. api: "anthropic-messages",
  15192. provider: "vercel-ai-gateway",
  15193. baseUrl: "https://ai-gateway.vercel.sh",
  15194. reasoning: false,
  15195. input: ["text", "image"],
  15196. cost: {
  15197. input: 0.39999999999999997,
  15198. output: 2,
  15199. cacheRead: 0,
  15200. cacheWrite: 0,
  15201. },
  15202. contextWindow: 128000,
  15203. maxTokens: 64000,
  15204. } satisfies Model<"anthropic-messages">,
  15205. "mistral/mistral-medium-3.5": {
  15206. id: "mistral/mistral-medium-3.5",
  15207. name: "Mistral Medium Latest",
  15208. api: "anthropic-messages",
  15209. provider: "vercel-ai-gateway",
  15210. baseUrl: "https://ai-gateway.vercel.sh",
  15211. reasoning: true,
  15212. input: ["text"],
  15213. cost: {
  15214. input: 1.5,
  15215. output: 7.5,
  15216. cacheRead: 0,
  15217. cacheWrite: 0,
  15218. },
  15219. contextWindow: 256000,
  15220. maxTokens: 256000,
  15221. } satisfies Model<"anthropic-messages">,
  15222. "mistral/mistral-nemo": {
  15223. id: "mistral/mistral-nemo",
  15224. name: "Mistral Nemo 12B",
  15225. api: "anthropic-messages",
  15226. provider: "vercel-ai-gateway",
  15227. baseUrl: "https://ai-gateway.vercel.sh",
  15228. reasoning: false,
  15229. input: ["text"],
  15230. cost: {
  15231. input: 0.02,
  15232. output: 0.04,
  15233. cacheRead: 0,
  15234. cacheWrite: 0,
  15235. },
  15236. contextWindow: 131072,
  15237. maxTokens: 131072,
  15238. } satisfies Model<"anthropic-messages">,
  15239. "mistral/mistral-small": {
  15240. id: "mistral/mistral-small",
  15241. name: "Mistral Small",
  15242. api: "anthropic-messages",
  15243. provider: "vercel-ai-gateway",
  15244. baseUrl: "https://ai-gateway.vercel.sh",
  15245. reasoning: false,
  15246. input: ["text", "image"],
  15247. cost: {
  15248. input: 0.09999999999999999,
  15249. output: 0.3,
  15250. cacheRead: 0,
  15251. cacheWrite: 0,
  15252. },
  15253. contextWindow: 32000,
  15254. maxTokens: 4000,
  15255. } satisfies Model<"anthropic-messages">,
  15256. "mistral/pixtral-12b": {
  15257. id: "mistral/pixtral-12b",
  15258. name: "Pixtral 12B 2409",
  15259. api: "anthropic-messages",
  15260. provider: "vercel-ai-gateway",
  15261. baseUrl: "https://ai-gateway.vercel.sh",
  15262. reasoning: false,
  15263. input: ["text", "image"],
  15264. cost: {
  15265. input: 0.15,
  15266. output: 0.15,
  15267. cacheRead: 0,
  15268. cacheWrite: 0,
  15269. },
  15270. contextWindow: 128000,
  15271. maxTokens: 4000,
  15272. } satisfies Model<"anthropic-messages">,
  15273. "mistral/pixtral-large": {
  15274. id: "mistral/pixtral-large",
  15275. name: "Pixtral Large",
  15276. api: "anthropic-messages",
  15277. provider: "vercel-ai-gateway",
  15278. baseUrl: "https://ai-gateway.vercel.sh",
  15279. reasoning: false,
  15280. input: ["text", "image"],
  15281. cost: {
  15282. input: 2,
  15283. output: 6,
  15284. cacheRead: 0,
  15285. cacheWrite: 0,
  15286. },
  15287. contextWindow: 128000,
  15288. maxTokens: 4000,
  15289. } satisfies Model<"anthropic-messages">,
  15290. "moonshotai/kimi-k2": {
  15291. id: "moonshotai/kimi-k2",
  15292. name: "Kimi K2 Instruct",
  15293. api: "anthropic-messages",
  15294. provider: "vercel-ai-gateway",
  15295. baseUrl: "https://ai-gateway.vercel.sh",
  15296. reasoning: false,
  15297. input: ["text"],
  15298. cost: {
  15299. input: 0.5700000000000001,
  15300. output: 2.3,
  15301. cacheRead: 0,
  15302. cacheWrite: 0,
  15303. },
  15304. contextWindow: 131072,
  15305. maxTokens: 131072,
  15306. } satisfies Model<"anthropic-messages">,
  15307. "moonshotai/kimi-k2-thinking": {
  15308. id: "moonshotai/kimi-k2-thinking",
  15309. name: "Kimi K2 Thinking",
  15310. api: "anthropic-messages",
  15311. provider: "vercel-ai-gateway",
  15312. baseUrl: "https://ai-gateway.vercel.sh",
  15313. reasoning: true,
  15314. input: ["text"],
  15315. cost: {
  15316. input: 0.6,
  15317. output: 2.5,
  15318. cacheRead: 0.15,
  15319. cacheWrite: 0,
  15320. },
  15321. contextWindow: 262114,
  15322. maxTokens: 262114,
  15323. } satisfies Model<"anthropic-messages">,
  15324. "moonshotai/kimi-k2-thinking-turbo": {
  15325. id: "moonshotai/kimi-k2-thinking-turbo",
  15326. name: "Kimi K2 Thinking Turbo",
  15327. api: "anthropic-messages",
  15328. provider: "vercel-ai-gateway",
  15329. baseUrl: "https://ai-gateway.vercel.sh",
  15330. reasoning: true,
  15331. input: ["text"],
  15332. cost: {
  15333. input: 1.15,
  15334. output: 8,
  15335. cacheRead: 0.15,
  15336. cacheWrite: 0,
  15337. },
  15338. contextWindow: 262114,
  15339. maxTokens: 262114,
  15340. } satisfies Model<"anthropic-messages">,
  15341. "moonshotai/kimi-k2-turbo": {
  15342. id: "moonshotai/kimi-k2-turbo",
  15343. name: "Kimi K2 Turbo",
  15344. api: "anthropic-messages",
  15345. provider: "vercel-ai-gateway",
  15346. baseUrl: "https://ai-gateway.vercel.sh",
  15347. reasoning: false,
  15348. input: ["text"],
  15349. cost: {
  15350. input: 1.15,
  15351. output: 8,
  15352. cacheRead: 0.15,
  15353. cacheWrite: 0,
  15354. },
  15355. contextWindow: 256000,
  15356. maxTokens: 16384,
  15357. } satisfies Model<"anthropic-messages">,
  15358. "moonshotai/kimi-k2.5": {
  15359. id: "moonshotai/kimi-k2.5",
  15360. name: "Kimi K2.5",
  15361. api: "anthropic-messages",
  15362. provider: "vercel-ai-gateway",
  15363. baseUrl: "https://ai-gateway.vercel.sh",
  15364. reasoning: true,
  15365. input: ["text", "image"],
  15366. cost: {
  15367. input: 0.6,
  15368. output: 3,
  15369. cacheRead: 0.09999999999999999,
  15370. cacheWrite: 0,
  15371. },
  15372. contextWindow: 262114,
  15373. maxTokens: 262114,
  15374. } satisfies Model<"anthropic-messages">,
  15375. "moonshotai/kimi-k2.6": {
  15376. id: "moonshotai/kimi-k2.6",
  15377. name: "Kimi K2.6",
  15378. api: "anthropic-messages",
  15379. provider: "vercel-ai-gateway",
  15380. baseUrl: "https://ai-gateway.vercel.sh",
  15381. reasoning: true,
  15382. input: ["text", "image"],
  15383. cost: {
  15384. input: 0.95,
  15385. output: 4,
  15386. cacheRead: 0.16,
  15387. cacheWrite: 0,
  15388. },
  15389. contextWindow: 262000,
  15390. maxTokens: 262000,
  15391. } satisfies Model<"anthropic-messages">,
  15392. "nvidia/nemotron-3-super-120b-a12b": {
  15393. id: "nvidia/nemotron-3-super-120b-a12b",
  15394. name: "NVIDIA Nemotron 3 Super 120B A12B",
  15395. api: "anthropic-messages",
  15396. provider: "vercel-ai-gateway",
  15397. baseUrl: "https://ai-gateway.vercel.sh",
  15398. reasoning: true,
  15399. input: ["text"],
  15400. cost: {
  15401. input: 0.15,
  15402. output: 0.65,
  15403. cacheRead: 0,
  15404. cacheWrite: 0,
  15405. },
  15406. contextWindow: 256000,
  15407. maxTokens: 32000,
  15408. } satisfies Model<"anthropic-messages">,
  15409. "nvidia/nemotron-3-ultra-550b-a55b": {
  15410. id: "nvidia/nemotron-3-ultra-550b-a55b",
  15411. name: "Nemotron 3 Ultra",
  15412. api: "anthropic-messages",
  15413. provider: "vercel-ai-gateway",
  15414. baseUrl: "https://ai-gateway.vercel.sh",
  15415. reasoning: true,
  15416. input: ["text"],
  15417. cost: {
  15418. input: 0.6,
  15419. output: 2.4,
  15420. cacheRead: 0.12,
  15421. cacheWrite: 0,
  15422. },
  15423. contextWindow: 1000000,
  15424. maxTokens: 65000,
  15425. } satisfies Model<"anthropic-messages">,
  15426. "nvidia/nemotron-nano-12b-v2-vl": {
  15427. id: "nvidia/nemotron-nano-12b-v2-vl",
  15428. name: "Nvidia Nemotron Nano 12B V2 VL",
  15429. api: "anthropic-messages",
  15430. provider: "vercel-ai-gateway",
  15431. baseUrl: "https://ai-gateway.vercel.sh",
  15432. reasoning: true,
  15433. input: ["text", "image"],
  15434. cost: {
  15435. input: 0.19999999999999998,
  15436. output: 0.6,
  15437. cacheRead: 0,
  15438. cacheWrite: 0,
  15439. },
  15440. contextWindow: 131072,
  15441. maxTokens: 131072,
  15442. } satisfies Model<"anthropic-messages">,
  15443. "nvidia/nemotron-nano-9b-v2": {
  15444. id: "nvidia/nemotron-nano-9b-v2",
  15445. name: "Nvidia Nemotron Nano 9B V2",
  15446. api: "anthropic-messages",
  15447. provider: "vercel-ai-gateway",
  15448. baseUrl: "https://ai-gateway.vercel.sh",
  15449. reasoning: true,
  15450. input: ["text"],
  15451. cost: {
  15452. input: 0.06,
  15453. output: 0.22999999999999998,
  15454. cacheRead: 0,
  15455. cacheWrite: 0,
  15456. },
  15457. contextWindow: 131072,
  15458. maxTokens: 131072,
  15459. } satisfies Model<"anthropic-messages">,
  15460. "openai/gpt-4-turbo": {
  15461. id: "openai/gpt-4-turbo",
  15462. name: "GPT-4 Turbo",
  15463. api: "anthropic-messages",
  15464. provider: "vercel-ai-gateway",
  15465. baseUrl: "https://ai-gateway.vercel.sh",
  15466. reasoning: false,
  15467. input: ["text", "image"],
  15468. cost: {
  15469. input: 10,
  15470. output: 30,
  15471. cacheRead: 0,
  15472. cacheWrite: 0,
  15473. },
  15474. contextWindow: 128000,
  15475. maxTokens: 4096,
  15476. } satisfies Model<"anthropic-messages">,
  15477. "openai/gpt-4.1": {
  15478. id: "openai/gpt-4.1",
  15479. name: "GPT-4.1",
  15480. api: "anthropic-messages",
  15481. provider: "vercel-ai-gateway",
  15482. baseUrl: "https://ai-gateway.vercel.sh",
  15483. reasoning: false,
  15484. input: ["text", "image"],
  15485. cost: {
  15486. input: 2,
  15487. output: 8,
  15488. cacheRead: 0.5,
  15489. cacheWrite: 0,
  15490. },
  15491. contextWindow: 1047576,
  15492. maxTokens: 32768,
  15493. } satisfies Model<"anthropic-messages">,
  15494. "openai/gpt-4.1-mini": {
  15495. id: "openai/gpt-4.1-mini",
  15496. name: "GPT-4.1 mini",
  15497. api: "anthropic-messages",
  15498. provider: "vercel-ai-gateway",
  15499. baseUrl: "https://ai-gateway.vercel.sh",
  15500. reasoning: false,
  15501. input: ["text", "image"],
  15502. cost: {
  15503. input: 0.39999999999999997,
  15504. output: 1.5999999999999999,
  15505. cacheRead: 0.09999999999999999,
  15506. cacheWrite: 0,
  15507. },
  15508. contextWindow: 1047576,
  15509. maxTokens: 32768,
  15510. } satisfies Model<"anthropic-messages">,
  15511. "openai/gpt-4.1-nano": {
  15512. id: "openai/gpt-4.1-nano",
  15513. name: "GPT-4.1 nano",
  15514. api: "anthropic-messages",
  15515. provider: "vercel-ai-gateway",
  15516. baseUrl: "https://ai-gateway.vercel.sh",
  15517. reasoning: false,
  15518. input: ["text", "image"],
  15519. cost: {
  15520. input: 0.09999999999999999,
  15521. output: 0.39999999999999997,
  15522. cacheRead: 0.024999999999999998,
  15523. cacheWrite: 0,
  15524. },
  15525. contextWindow: 1047576,
  15526. maxTokens: 32768,
  15527. } satisfies Model<"anthropic-messages">,
  15528. "openai/gpt-4o": {
  15529. id: "openai/gpt-4o",
  15530. name: "GPT-4o",
  15531. api: "anthropic-messages",
  15532. provider: "vercel-ai-gateway",
  15533. baseUrl: "https://ai-gateway.vercel.sh",
  15534. reasoning: false,
  15535. input: ["text", "image"],
  15536. cost: {
  15537. input: 2.5,
  15538. output: 10,
  15539. cacheRead: 1.25,
  15540. cacheWrite: 0,
  15541. },
  15542. contextWindow: 128000,
  15543. maxTokens: 16384,
  15544. } satisfies Model<"anthropic-messages">,
  15545. "openai/gpt-4o-mini": {
  15546. id: "openai/gpt-4o-mini",
  15547. name: "GPT-4o mini",
  15548. api: "anthropic-messages",
  15549. provider: "vercel-ai-gateway",
  15550. baseUrl: "https://ai-gateway.vercel.sh",
  15551. reasoning: false,
  15552. input: ["text", "image"],
  15553. cost: {
  15554. input: 0.15,
  15555. output: 0.6,
  15556. cacheRead: 0.075,
  15557. cacheWrite: 0,
  15558. },
  15559. contextWindow: 128000,
  15560. maxTokens: 16384,
  15561. } satisfies Model<"anthropic-messages">,
  15562. "openai/gpt-5": {
  15563. id: "openai/gpt-5",
  15564. name: "GPT-5",
  15565. api: "anthropic-messages",
  15566. provider: "vercel-ai-gateway",
  15567. baseUrl: "https://ai-gateway.vercel.sh",
  15568. reasoning: true,
  15569. input: ["text", "image"],
  15570. cost: {
  15571. input: 1.25,
  15572. output: 10,
  15573. cacheRead: 0.125,
  15574. cacheWrite: 0,
  15575. },
  15576. contextWindow: 400000,
  15577. maxTokens: 128000,
  15578. } satisfies Model<"anthropic-messages">,
  15579. "openai/gpt-5-chat": {
  15580. id: "openai/gpt-5-chat",
  15581. name: "GPT 5 Chat",
  15582. api: "anthropic-messages",
  15583. provider: "vercel-ai-gateway",
  15584. baseUrl: "https://ai-gateway.vercel.sh",
  15585. reasoning: true,
  15586. input: ["text", "image"],
  15587. cost: {
  15588. input: 1.25,
  15589. output: 10,
  15590. cacheRead: 0.125,
  15591. cacheWrite: 0,
  15592. },
  15593. contextWindow: 128000,
  15594. maxTokens: 16384,
  15595. } satisfies Model<"anthropic-messages">,
  15596. "openai/gpt-5-codex": {
  15597. id: "openai/gpt-5-codex",
  15598. name: "GPT-5-Codex",
  15599. api: "anthropic-messages",
  15600. provider: "vercel-ai-gateway",
  15601. baseUrl: "https://ai-gateway.vercel.sh",
  15602. reasoning: true,
  15603. input: ["text", "image"],
  15604. cost: {
  15605. input: 1.25,
  15606. output: 10,
  15607. cacheRead: 0.125,
  15608. cacheWrite: 0,
  15609. },
  15610. contextWindow: 400000,
  15611. maxTokens: 128000,
  15612. } satisfies Model<"anthropic-messages">,
  15613. "openai/gpt-5-mini": {
  15614. id: "openai/gpt-5-mini",
  15615. name: "GPT-5 mini",
  15616. api: "anthropic-messages",
  15617. provider: "vercel-ai-gateway",
  15618. baseUrl: "https://ai-gateway.vercel.sh",
  15619. reasoning: true,
  15620. input: ["text", "image"],
  15621. cost: {
  15622. input: 0.25,
  15623. output: 2,
  15624. cacheRead: 0.024999999999999998,
  15625. cacheWrite: 0,
  15626. },
  15627. contextWindow: 400000,
  15628. maxTokens: 128000,
  15629. } satisfies Model<"anthropic-messages">,
  15630. "openai/gpt-5-nano": {
  15631. id: "openai/gpt-5-nano",
  15632. name: "GPT-5 nano",
  15633. api: "anthropic-messages",
  15634. provider: "vercel-ai-gateway",
  15635. baseUrl: "https://ai-gateway.vercel.sh",
  15636. reasoning: true,
  15637. input: ["text", "image"],
  15638. cost: {
  15639. input: 0.049999999999999996,
  15640. output: 0.39999999999999997,
  15641. cacheRead: 0.005,
  15642. cacheWrite: 0,
  15643. },
  15644. contextWindow: 400000,
  15645. maxTokens: 128000,
  15646. } satisfies Model<"anthropic-messages">,
  15647. "openai/gpt-5-pro": {
  15648. id: "openai/gpt-5-pro",
  15649. name: "GPT-5 pro",
  15650. api: "anthropic-messages",
  15651. provider: "vercel-ai-gateway",
  15652. baseUrl: "https://ai-gateway.vercel.sh",
  15653. reasoning: true,
  15654. input: ["text", "image"],
  15655. cost: {
  15656. input: 15,
  15657. output: 120,
  15658. cacheRead: 0,
  15659. cacheWrite: 0,
  15660. },
  15661. contextWindow: 400000,
  15662. maxTokens: 272000,
  15663. } satisfies Model<"anthropic-messages">,
  15664. "openai/gpt-5.1-codex": {
  15665. id: "openai/gpt-5.1-codex",
  15666. name: "GPT-5.1-Codex",
  15667. api: "anthropic-messages",
  15668. provider: "vercel-ai-gateway",
  15669. baseUrl: "https://ai-gateway.vercel.sh",
  15670. reasoning: true,
  15671. input: ["text", "image"],
  15672. cost: {
  15673. input: 1.25,
  15674. output: 10,
  15675. cacheRead: 0.125,
  15676. cacheWrite: 0,
  15677. },
  15678. contextWindow: 400000,
  15679. maxTokens: 128000,
  15680. } satisfies Model<"anthropic-messages">,
  15681. "openai/gpt-5.1-codex-max": {
  15682. id: "openai/gpt-5.1-codex-max",
  15683. name: "GPT 5.1 Codex Max",
  15684. api: "anthropic-messages",
  15685. provider: "vercel-ai-gateway",
  15686. baseUrl: "https://ai-gateway.vercel.sh",
  15687. reasoning: true,
  15688. input: ["text", "image"],
  15689. cost: {
  15690. input: 1.25,
  15691. output: 10,
  15692. cacheRead: 0.125,
  15693. cacheWrite: 0,
  15694. },
  15695. contextWindow: 400000,
  15696. maxTokens: 128000,
  15697. } satisfies Model<"anthropic-messages">,
  15698. "openai/gpt-5.1-codex-mini": {
  15699. id: "openai/gpt-5.1-codex-mini",
  15700. name: "GPT 5.1 Codex Mini",
  15701. api: "anthropic-messages",
  15702. provider: "vercel-ai-gateway",
  15703. baseUrl: "https://ai-gateway.vercel.sh",
  15704. reasoning: true,
  15705. input: ["text", "image"],
  15706. cost: {
  15707. input: 0.25,
  15708. output: 2,
  15709. cacheRead: 0.024999999999999998,
  15710. cacheWrite: 0,
  15711. },
  15712. contextWindow: 400000,
  15713. maxTokens: 128000,
  15714. } satisfies Model<"anthropic-messages">,
  15715. "openai/gpt-5.1-instant": {
  15716. id: "openai/gpt-5.1-instant",
  15717. name: "GPT-5.1 Instant",
  15718. api: "anthropic-messages",
  15719. provider: "vercel-ai-gateway",
  15720. baseUrl: "https://ai-gateway.vercel.sh",
  15721. reasoning: true,
  15722. input: ["text", "image"],
  15723. cost: {
  15724. input: 1.25,
  15725. output: 10,
  15726. cacheRead: 0.125,
  15727. cacheWrite: 0,
  15728. },
  15729. contextWindow: 128000,
  15730. maxTokens: 16384,
  15731. } satisfies Model<"anthropic-messages">,
  15732. "openai/gpt-5.1-thinking": {
  15733. id: "openai/gpt-5.1-thinking",
  15734. name: "GPT 5.1 Thinking",
  15735. api: "anthropic-messages",
  15736. provider: "vercel-ai-gateway",
  15737. baseUrl: "https://ai-gateway.vercel.sh",
  15738. reasoning: true,
  15739. input: ["text", "image"],
  15740. cost: {
  15741. input: 1.25,
  15742. output: 10,
  15743. cacheRead: 0.125,
  15744. cacheWrite: 0,
  15745. },
  15746. contextWindow: 400000,
  15747. maxTokens: 128000,
  15748. } satisfies Model<"anthropic-messages">,
  15749. "openai/gpt-5.2": {
  15750. id: "openai/gpt-5.2",
  15751. name: "GPT 5.2",
  15752. api: "anthropic-messages",
  15753. provider: "vercel-ai-gateway",
  15754. baseUrl: "https://ai-gateway.vercel.sh",
  15755. reasoning: true,
  15756. thinkingLevelMap: {"xhigh":"xhigh"},
  15757. input: ["text", "image"],
  15758. cost: {
  15759. input: 1.75,
  15760. output: 14,
  15761. cacheRead: 0.175,
  15762. cacheWrite: 0,
  15763. },
  15764. contextWindow: 400000,
  15765. maxTokens: 128000,
  15766. } satisfies Model<"anthropic-messages">,
  15767. "openai/gpt-5.2-chat": {
  15768. id: "openai/gpt-5.2-chat",
  15769. name: "GPT 5.2 Chat",
  15770. api: "anthropic-messages",
  15771. provider: "vercel-ai-gateway",
  15772. baseUrl: "https://ai-gateway.vercel.sh",
  15773. reasoning: true,
  15774. thinkingLevelMap: {"xhigh":"xhigh"},
  15775. input: ["text", "image"],
  15776. cost: {
  15777. input: 1.75,
  15778. output: 14,
  15779. cacheRead: 0.175,
  15780. cacheWrite: 0,
  15781. },
  15782. contextWindow: 128000,
  15783. maxTokens: 16384,
  15784. } satisfies Model<"anthropic-messages">,
  15785. "openai/gpt-5.2-codex": {
  15786. id: "openai/gpt-5.2-codex",
  15787. name: "GPT 5.2 Codex",
  15788. api: "anthropic-messages",
  15789. provider: "vercel-ai-gateway",
  15790. baseUrl: "https://ai-gateway.vercel.sh",
  15791. reasoning: true,
  15792. thinkingLevelMap: {"xhigh":"xhigh"},
  15793. input: ["text", "image"],
  15794. cost: {
  15795. input: 1.75,
  15796. output: 14,
  15797. cacheRead: 0.175,
  15798. cacheWrite: 0,
  15799. },
  15800. contextWindow: 400000,
  15801. maxTokens: 128000,
  15802. } satisfies Model<"anthropic-messages">,
  15803. "openai/gpt-5.2-pro": {
  15804. id: "openai/gpt-5.2-pro",
  15805. name: "GPT 5.2 ",
  15806. api: "anthropic-messages",
  15807. provider: "vercel-ai-gateway",
  15808. baseUrl: "https://ai-gateway.vercel.sh",
  15809. reasoning: true,
  15810. thinkingLevelMap: {"xhigh":"xhigh"},
  15811. input: ["text", "image"],
  15812. cost: {
  15813. input: 21,
  15814. output: 168,
  15815. cacheRead: 0,
  15816. cacheWrite: 0,
  15817. },
  15818. contextWindow: 400000,
  15819. maxTokens: 128000,
  15820. } satisfies Model<"anthropic-messages">,
  15821. "openai/gpt-5.3-chat": {
  15822. id: "openai/gpt-5.3-chat",
  15823. name: "GPT-5.3 Chat",
  15824. api: "anthropic-messages",
  15825. provider: "vercel-ai-gateway",
  15826. baseUrl: "https://ai-gateway.vercel.sh",
  15827. reasoning: true,
  15828. thinkingLevelMap: {"xhigh":"xhigh"},
  15829. input: ["text", "image"],
  15830. cost: {
  15831. input: 1.75,
  15832. output: 14,
  15833. cacheRead: 0.175,
  15834. cacheWrite: 0,
  15835. },
  15836. contextWindow: 128000,
  15837. maxTokens: 16384,
  15838. } satisfies Model<"anthropic-messages">,
  15839. "openai/gpt-5.3-codex": {
  15840. id: "openai/gpt-5.3-codex",
  15841. name: "GPT 5.3 Codex",
  15842. api: "anthropic-messages",
  15843. provider: "vercel-ai-gateway",
  15844. baseUrl: "https://ai-gateway.vercel.sh",
  15845. reasoning: true,
  15846. thinkingLevelMap: {"xhigh":"xhigh"},
  15847. input: ["text", "image"],
  15848. cost: {
  15849. input: 1.75,
  15850. output: 14,
  15851. cacheRead: 0.175,
  15852. cacheWrite: 0,
  15853. },
  15854. contextWindow: 400000,
  15855. maxTokens: 128000,
  15856. } satisfies Model<"anthropic-messages">,
  15857. "openai/gpt-5.4": {
  15858. id: "openai/gpt-5.4",
  15859. name: "GPT 5.4",
  15860. api: "anthropic-messages",
  15861. provider: "vercel-ai-gateway",
  15862. baseUrl: "https://ai-gateway.vercel.sh",
  15863. reasoning: true,
  15864. thinkingLevelMap: {"xhigh":"xhigh"},
  15865. input: ["text", "image"],
  15866. cost: {
  15867. input: 2.5,
  15868. output: 15,
  15869. cacheRead: 0.25,
  15870. cacheWrite: 0,
  15871. },
  15872. contextWindow: 1050000,
  15873. maxTokens: 128000,
  15874. } satisfies Model<"anthropic-messages">,
  15875. "openai/gpt-5.4-mini": {
  15876. id: "openai/gpt-5.4-mini",
  15877. name: "GPT 5.4 Mini",
  15878. api: "anthropic-messages",
  15879. provider: "vercel-ai-gateway",
  15880. baseUrl: "https://ai-gateway.vercel.sh",
  15881. reasoning: true,
  15882. thinkingLevelMap: {"xhigh":"xhigh"},
  15883. input: ["text", "image"],
  15884. cost: {
  15885. input: 0.75,
  15886. output: 4.5,
  15887. cacheRead: 0.075,
  15888. cacheWrite: 0,
  15889. },
  15890. contextWindow: 400000,
  15891. maxTokens: 128000,
  15892. } satisfies Model<"anthropic-messages">,
  15893. "openai/gpt-5.4-nano": {
  15894. id: "openai/gpt-5.4-nano",
  15895. name: "GPT 5.4 Nano",
  15896. api: "anthropic-messages",
  15897. provider: "vercel-ai-gateway",
  15898. baseUrl: "https://ai-gateway.vercel.sh",
  15899. reasoning: true,
  15900. thinkingLevelMap: {"xhigh":"xhigh"},
  15901. input: ["text", "image"],
  15902. cost: {
  15903. input: 0.19999999999999998,
  15904. output: 1.25,
  15905. cacheRead: 0.02,
  15906. cacheWrite: 0,
  15907. },
  15908. contextWindow: 400000,
  15909. maxTokens: 128000,
  15910. } satisfies Model<"anthropic-messages">,
  15911. "openai/gpt-5.4-pro": {
  15912. id: "openai/gpt-5.4-pro",
  15913. name: "GPT 5.4 Pro",
  15914. api: "anthropic-messages",
  15915. provider: "vercel-ai-gateway",
  15916. baseUrl: "https://ai-gateway.vercel.sh",
  15917. reasoning: true,
  15918. thinkingLevelMap: {"xhigh":"xhigh"},
  15919. input: ["text", "image"],
  15920. cost: {
  15921. input: 30,
  15922. output: 180,
  15923. cacheRead: 0,
  15924. cacheWrite: 0,
  15925. },
  15926. contextWindow: 1050000,
  15927. maxTokens: 128000,
  15928. } satisfies Model<"anthropic-messages">,
  15929. "openai/gpt-5.5": {
  15930. id: "openai/gpt-5.5",
  15931. name: "GPT 5.5",
  15932. api: "anthropic-messages",
  15933. provider: "vercel-ai-gateway",
  15934. baseUrl: "https://ai-gateway.vercel.sh",
  15935. reasoning: true,
  15936. thinkingLevelMap: {"xhigh":"xhigh"},
  15937. input: ["text", "image"],
  15938. cost: {
  15939. input: 5,
  15940. output: 30,
  15941. cacheRead: 0.5,
  15942. cacheWrite: 0,
  15943. },
  15944. contextWindow: 1000000,
  15945. maxTokens: 128000,
  15946. } satisfies Model<"anthropic-messages">,
  15947. "openai/gpt-5.5-pro": {
  15948. id: "openai/gpt-5.5-pro",
  15949. name: "GPT 5.5 Pro",
  15950. api: "anthropic-messages",
  15951. provider: "vercel-ai-gateway",
  15952. baseUrl: "https://ai-gateway.vercel.sh",
  15953. reasoning: true,
  15954. thinkingLevelMap: {"xhigh":"xhigh","off":null,"minimal":null,"low":null},
  15955. input: ["text", "image"],
  15956. cost: {
  15957. input: 30,
  15958. output: 180,
  15959. cacheRead: 0,
  15960. cacheWrite: 0,
  15961. },
  15962. contextWindow: 1000000,
  15963. maxTokens: 128000,
  15964. } satisfies Model<"anthropic-messages">,
  15965. "openai/gpt-oss-120b": {
  15966. id: "openai/gpt-oss-120b",
  15967. name: "GPT OSS 120B",
  15968. api: "anthropic-messages",
  15969. provider: "vercel-ai-gateway",
  15970. baseUrl: "https://ai-gateway.vercel.sh",
  15971. reasoning: true,
  15972. input: ["text"],
  15973. cost: {
  15974. input: 0.35,
  15975. output: 0.75,
  15976. cacheRead: 0.25,
  15977. cacheWrite: 0,
  15978. },
  15979. contextWindow: 131072,
  15980. maxTokens: 131000,
  15981. } satisfies Model<"anthropic-messages">,
  15982. "openai/gpt-oss-20b": {
  15983. id: "openai/gpt-oss-20b",
  15984. name: "GPT OSS 20B",
  15985. api: "anthropic-messages",
  15986. provider: "vercel-ai-gateway",
  15987. baseUrl: "https://ai-gateway.vercel.sh",
  15988. reasoning: true,
  15989. input: ["text"],
  15990. cost: {
  15991. input: 0.049999999999999996,
  15992. output: 0.19999999999999998,
  15993. cacheRead: 0,
  15994. cacheWrite: 0,
  15995. },
  15996. contextWindow: 131072,
  15997. maxTokens: 8192,
  15998. } satisfies Model<"anthropic-messages">,
  15999. "openai/gpt-oss-safeguard-20b": {
  16000. id: "openai/gpt-oss-safeguard-20b",
  16001. name: "GPT OSS Safeguard 20B",
  16002. api: "anthropic-messages",
  16003. provider: "vercel-ai-gateway",
  16004. baseUrl: "https://ai-gateway.vercel.sh",
  16005. reasoning: true,
  16006. input: ["text"],
  16007. cost: {
  16008. input: 0.075,
  16009. output: 0.3,
  16010. cacheRead: 0.037,
  16011. cacheWrite: 0,
  16012. },
  16013. contextWindow: 131072,
  16014. maxTokens: 65536,
  16015. } satisfies Model<"anthropic-messages">,
  16016. "openai/o1": {
  16017. id: "openai/o1",
  16018. name: "o1",
  16019. api: "anthropic-messages",
  16020. provider: "vercel-ai-gateway",
  16021. baseUrl: "https://ai-gateway.vercel.sh",
  16022. reasoning: true,
  16023. input: ["text", "image"],
  16024. cost: {
  16025. input: 15,
  16026. output: 60,
  16027. cacheRead: 7.5,
  16028. cacheWrite: 0,
  16029. },
  16030. contextWindow: 200000,
  16031. maxTokens: 100000,
  16032. } satisfies Model<"anthropic-messages">,
  16033. "openai/o3": {
  16034. id: "openai/o3",
  16035. name: "o3",
  16036. api: "anthropic-messages",
  16037. provider: "vercel-ai-gateway",
  16038. baseUrl: "https://ai-gateway.vercel.sh",
  16039. reasoning: true,
  16040. input: ["text", "image"],
  16041. cost: {
  16042. input: 2,
  16043. output: 8,
  16044. cacheRead: 0.5,
  16045. cacheWrite: 0,
  16046. },
  16047. contextWindow: 200000,
  16048. maxTokens: 100000,
  16049. } satisfies Model<"anthropic-messages">,
  16050. "openai/o3-deep-research": {
  16051. id: "openai/o3-deep-research",
  16052. name: "o3-deep-research",
  16053. api: "anthropic-messages",
  16054. provider: "vercel-ai-gateway",
  16055. baseUrl: "https://ai-gateway.vercel.sh",
  16056. reasoning: true,
  16057. input: ["text", "image"],
  16058. cost: {
  16059. input: 10,
  16060. output: 40,
  16061. cacheRead: 2.5,
  16062. cacheWrite: 0,
  16063. },
  16064. contextWindow: 200000,
  16065. maxTokens: 100000,
  16066. } satisfies Model<"anthropic-messages">,
  16067. "openai/o3-mini": {
  16068. id: "openai/o3-mini",
  16069. name: "o3-mini",
  16070. api: "anthropic-messages",
  16071. provider: "vercel-ai-gateway",
  16072. baseUrl: "https://ai-gateway.vercel.sh",
  16073. reasoning: true,
  16074. input: ["text"],
  16075. cost: {
  16076. input: 1.1,
  16077. output: 4.4,
  16078. cacheRead: 0.55,
  16079. cacheWrite: 0,
  16080. },
  16081. contextWindow: 200000,
  16082. maxTokens: 100000,
  16083. } satisfies Model<"anthropic-messages">,
  16084. "openai/o3-pro": {
  16085. id: "openai/o3-pro",
  16086. name: "o3 Pro",
  16087. api: "anthropic-messages",
  16088. provider: "vercel-ai-gateway",
  16089. baseUrl: "https://ai-gateway.vercel.sh",
  16090. reasoning: true,
  16091. input: ["text", "image"],
  16092. cost: {
  16093. input: 20,
  16094. output: 80,
  16095. cacheRead: 0,
  16096. cacheWrite: 0,
  16097. },
  16098. contextWindow: 200000,
  16099. maxTokens: 100000,
  16100. } satisfies Model<"anthropic-messages">,
  16101. "openai/o4-mini": {
  16102. id: "openai/o4-mini",
  16103. name: "o4-mini",
  16104. api: "anthropic-messages",
  16105. provider: "vercel-ai-gateway",
  16106. baseUrl: "https://ai-gateway.vercel.sh",
  16107. reasoning: true,
  16108. input: ["text", "image"],
  16109. cost: {
  16110. input: 1.1,
  16111. output: 4.4,
  16112. cacheRead: 0.275,
  16113. cacheWrite: 0,
  16114. },
  16115. contextWindow: 200000,
  16116. maxTokens: 100000,
  16117. } satisfies Model<"anthropic-messages">,
  16118. "perplexity/sonar": {
  16119. id: "perplexity/sonar",
  16120. name: "Sonar",
  16121. api: "anthropic-messages",
  16122. provider: "vercel-ai-gateway",
  16123. baseUrl: "https://ai-gateway.vercel.sh",
  16124. reasoning: false,
  16125. input: ["text", "image"],
  16126. cost: {
  16127. input: 0,
  16128. output: 0,
  16129. cacheRead: 0,
  16130. cacheWrite: 0,
  16131. },
  16132. contextWindow: 127000,
  16133. maxTokens: 8000,
  16134. } satisfies Model<"anthropic-messages">,
  16135. "perplexity/sonar-pro": {
  16136. id: "perplexity/sonar-pro",
  16137. name: "Sonar Pro",
  16138. api: "anthropic-messages",
  16139. provider: "vercel-ai-gateway",
  16140. baseUrl: "https://ai-gateway.vercel.sh",
  16141. reasoning: false,
  16142. input: ["text", "image"],
  16143. cost: {
  16144. input: 0,
  16145. output: 0,
  16146. cacheRead: 0,
  16147. cacheWrite: 0,
  16148. },
  16149. contextWindow: 200000,
  16150. maxTokens: 8000,
  16151. } satisfies Model<"anthropic-messages">,
  16152. "stepfun/step-3.5-flash": {
  16153. id: "stepfun/step-3.5-flash",
  16154. name: "StepFun 3.5 Flash",
  16155. api: "anthropic-messages",
  16156. provider: "vercel-ai-gateway",
  16157. baseUrl: "https://ai-gateway.vercel.sh",
  16158. reasoning: true,
  16159. input: ["text"],
  16160. cost: {
  16161. input: 0.09,
  16162. output: 0.3,
  16163. cacheRead: 0,
  16164. cacheWrite: 0.02,
  16165. },
  16166. contextWindow: 262114,
  16167. maxTokens: 262114,
  16168. } satisfies Model<"anthropic-messages">,
  16169. "stepfun/step-3.7-flash": {
  16170. id: "stepfun/step-3.7-flash",
  16171. name: "Step 3.7 Flash",
  16172. api: "anthropic-messages",
  16173. provider: "vercel-ai-gateway",
  16174. baseUrl: "https://ai-gateway.vercel.sh",
  16175. reasoning: true,
  16176. input: ["text", "image"],
  16177. cost: {
  16178. input: 0.19999999999999998,
  16179. output: 1.15,
  16180. cacheRead: 0.04,
  16181. cacheWrite: 0,
  16182. },
  16183. contextWindow: 256000,
  16184. maxTokens: 256000,
  16185. } satisfies Model<"anthropic-messages">,
  16186. "xai/grok-4.1-fast-non-reasoning": {
  16187. id: "xai/grok-4.1-fast-non-reasoning",
  16188. name: "Grok 4.1 Fast Non-Reasoning",
  16189. api: "anthropic-messages",
  16190. provider: "vercel-ai-gateway",
  16191. baseUrl: "https://ai-gateway.vercel.sh",
  16192. reasoning: false,
  16193. input: ["text", "image"],
  16194. cost: {
  16195. input: 0.19999999999999998,
  16196. output: 0.5,
  16197. cacheRead: 0.049999999999999996,
  16198. cacheWrite: 0,
  16199. },
  16200. contextWindow: 1000000,
  16201. maxTokens: 1000000,
  16202. } satisfies Model<"anthropic-messages">,
  16203. "xai/grok-4.1-fast-reasoning": {
  16204. id: "xai/grok-4.1-fast-reasoning",
  16205. name: "Grok 4.1 Fast Reasoning",
  16206. api: "anthropic-messages",
  16207. provider: "vercel-ai-gateway",
  16208. baseUrl: "https://ai-gateway.vercel.sh",
  16209. reasoning: true,
  16210. input: ["text", "image"],
  16211. cost: {
  16212. input: 0.19999999999999998,
  16213. output: 0.5,
  16214. cacheRead: 0.049999999999999996,
  16215. cacheWrite: 0,
  16216. },
  16217. contextWindow: 1000000,
  16218. maxTokens: 1000000,
  16219. } satisfies Model<"anthropic-messages">,
  16220. "xai/grok-4.20-multi-agent": {
  16221. id: "xai/grok-4.20-multi-agent",
  16222. name: "Grok 4.20 Multi-Agent",
  16223. api: "anthropic-messages",
  16224. provider: "vercel-ai-gateway",
  16225. baseUrl: "https://ai-gateway.vercel.sh",
  16226. reasoning: true,
  16227. input: ["text", "image"],
  16228. cost: {
  16229. input: 1.25,
  16230. output: 2.5,
  16231. cacheRead: 0.19999999999999998,
  16232. cacheWrite: 0,
  16233. },
  16234. contextWindow: 2000000,
  16235. maxTokens: 2000000,
  16236. } satisfies Model<"anthropic-messages">,
  16237. "xai/grok-4.20-multi-agent-beta": {
  16238. id: "xai/grok-4.20-multi-agent-beta",
  16239. name: "Grok 4.20 Multi Agent Beta",
  16240. api: "anthropic-messages",
  16241. provider: "vercel-ai-gateway",
  16242. baseUrl: "https://ai-gateway.vercel.sh",
  16243. reasoning: true,
  16244. input: ["text", "image"],
  16245. cost: {
  16246. input: 1.25,
  16247. output: 2.5,
  16248. cacheRead: 0.19999999999999998,
  16249. cacheWrite: 0,
  16250. },
  16251. contextWindow: 2000000,
  16252. maxTokens: 2000000,
  16253. } satisfies Model<"anthropic-messages">,
  16254. "xai/grok-4.20-non-reasoning": {
  16255. id: "xai/grok-4.20-non-reasoning",
  16256. name: "Grok 4.20 Non-Reasoning",
  16257. api: "anthropic-messages",
  16258. provider: "vercel-ai-gateway",
  16259. baseUrl: "https://ai-gateway.vercel.sh",
  16260. reasoning: false,
  16261. input: ["text", "image"],
  16262. cost: {
  16263. input: 1.25,
  16264. output: 2.5,
  16265. cacheRead: 0.19999999999999998,
  16266. cacheWrite: 0,
  16267. },
  16268. contextWindow: 2000000,
  16269. maxTokens: 2000000,
  16270. } satisfies Model<"anthropic-messages">,
  16271. "xai/grok-4.20-non-reasoning-beta": {
  16272. id: "xai/grok-4.20-non-reasoning-beta",
  16273. name: "Grok 4.20 Beta Non-Reasoning",
  16274. api: "anthropic-messages",
  16275. provider: "vercel-ai-gateway",
  16276. baseUrl: "https://ai-gateway.vercel.sh",
  16277. reasoning: false,
  16278. input: ["text", "image"],
  16279. cost: {
  16280. input: 1.25,
  16281. output: 2.5,
  16282. cacheRead: 0.19999999999999998,
  16283. cacheWrite: 0,
  16284. },
  16285. contextWindow: 2000000,
  16286. maxTokens: 2000000,
  16287. } satisfies Model<"anthropic-messages">,
  16288. "xai/grok-4.20-reasoning": {
  16289. id: "xai/grok-4.20-reasoning",
  16290. name: "Grok 4.20 Reasoning",
  16291. api: "anthropic-messages",
  16292. provider: "vercel-ai-gateway",
  16293. baseUrl: "https://ai-gateway.vercel.sh",
  16294. reasoning: true,
  16295. input: ["text", "image"],
  16296. cost: {
  16297. input: 1.25,
  16298. output: 2.5,
  16299. cacheRead: 0.19999999999999998,
  16300. cacheWrite: 0,
  16301. },
  16302. contextWindow: 2000000,
  16303. maxTokens: 2000000,
  16304. } satisfies Model<"anthropic-messages">,
  16305. "xai/grok-4.20-reasoning-beta": {
  16306. id: "xai/grok-4.20-reasoning-beta",
  16307. name: "Grok 4.20 Beta Reasoning",
  16308. api: "anthropic-messages",
  16309. provider: "vercel-ai-gateway",
  16310. baseUrl: "https://ai-gateway.vercel.sh",
  16311. reasoning: true,
  16312. input: ["text", "image"],
  16313. cost: {
  16314. input: 1.25,
  16315. output: 2.5,
  16316. cacheRead: 0.19999999999999998,
  16317. cacheWrite: 0,
  16318. },
  16319. contextWindow: 2000000,
  16320. maxTokens: 2000000,
  16321. } satisfies Model<"anthropic-messages">,
  16322. "xai/grok-4.3": {
  16323. id: "xai/grok-4.3",
  16324. name: "Grok 4.3",
  16325. api: "anthropic-messages",
  16326. provider: "vercel-ai-gateway",
  16327. baseUrl: "https://ai-gateway.vercel.sh",
  16328. reasoning: true,
  16329. input: ["text", "image"],
  16330. cost: {
  16331. input: 1.25,
  16332. output: 2.5,
  16333. cacheRead: 0.19999999999999998,
  16334. cacheWrite: 0,
  16335. },
  16336. contextWindow: 1000000,
  16337. maxTokens: 1000000,
  16338. } satisfies Model<"anthropic-messages">,
  16339. "xai/grok-build-0.1": {
  16340. id: "xai/grok-build-0.1",
  16341. name: "Grok Build 0.1",
  16342. api: "anthropic-messages",
  16343. provider: "vercel-ai-gateway",
  16344. baseUrl: "https://ai-gateway.vercel.sh",
  16345. reasoning: true,
  16346. input: ["text", "image"],
  16347. cost: {
  16348. input: 1,
  16349. output: 2,
  16350. cacheRead: 0.19999999999999998,
  16351. cacheWrite: 0,
  16352. },
  16353. contextWindow: 256000,
  16354. maxTokens: 256000,
  16355. } satisfies Model<"anthropic-messages">,
  16356. "xiaomi/mimo-v2-flash": {
  16357. id: "xiaomi/mimo-v2-flash",
  16358. name: "MiMo V2 Flash",
  16359. api: "anthropic-messages",
  16360. provider: "vercel-ai-gateway",
  16361. baseUrl: "https://ai-gateway.vercel.sh",
  16362. reasoning: true,
  16363. input: ["text"],
  16364. cost: {
  16365. input: 0.09999999999999999,
  16366. output: 0.3,
  16367. cacheRead: 0.01,
  16368. cacheWrite: 0,
  16369. },
  16370. contextWindow: 262144,
  16371. maxTokens: 32000,
  16372. } satisfies Model<"anthropic-messages">,
  16373. "xiaomi/mimo-v2-pro": {
  16374. id: "xiaomi/mimo-v2-pro",
  16375. name: "MiMo V2 Pro",
  16376. api: "anthropic-messages",
  16377. provider: "vercel-ai-gateway",
  16378. baseUrl: "https://ai-gateway.vercel.sh",
  16379. reasoning: true,
  16380. input: ["text"],
  16381. cost: {
  16382. input: 1,
  16383. output: 3,
  16384. cacheRead: 0.19999999999999998,
  16385. cacheWrite: 0,
  16386. },
  16387. contextWindow: 1000000,
  16388. maxTokens: 128000,
  16389. } satisfies Model<"anthropic-messages">,
  16390. "xiaomi/mimo-v2.5": {
  16391. id: "xiaomi/mimo-v2.5",
  16392. name: "MiMo M2.5",
  16393. api: "anthropic-messages",
  16394. provider: "vercel-ai-gateway",
  16395. baseUrl: "https://ai-gateway.vercel.sh",
  16396. reasoning: true,
  16397. input: ["text", "image"],
  16398. cost: {
  16399. input: 0.14,
  16400. output: 0.28,
  16401. cacheRead: 0.0028,
  16402. cacheWrite: 0,
  16403. },
  16404. contextWindow: 1050000,
  16405. maxTokens: 131100,
  16406. } satisfies Model<"anthropic-messages">,
  16407. "xiaomi/mimo-v2.5-pro": {
  16408. id: "xiaomi/mimo-v2.5-pro",
  16409. name: "MiMo V2.5 Pro",
  16410. api: "anthropic-messages",
  16411. provider: "vercel-ai-gateway",
  16412. baseUrl: "https://ai-gateway.vercel.sh",
  16413. reasoning: true,
  16414. input: ["text", "image"],
  16415. cost: {
  16416. input: 0.435,
  16417. output: 0.87,
  16418. cacheRead: 0.0036,
  16419. cacheWrite: 0,
  16420. },
  16421. contextWindow: 1050000,
  16422. maxTokens: 131000,
  16423. } satisfies Model<"anthropic-messages">,
  16424. "zai/glm-4.5": {
  16425. id: "zai/glm-4.5",
  16426. name: "GLM-4.5",
  16427. api: "anthropic-messages",
  16428. provider: "vercel-ai-gateway",
  16429. baseUrl: "https://ai-gateway.vercel.sh",
  16430. reasoning: true,
  16431. input: ["text"],
  16432. cost: {
  16433. input: 0.6,
  16434. output: 2.2,
  16435. cacheRead: 0.11,
  16436. cacheWrite: 0,
  16437. },
  16438. contextWindow: 128000,
  16439. maxTokens: 96000,
  16440. } satisfies Model<"anthropic-messages">,
  16441. "zai/glm-4.5-air": {
  16442. id: "zai/glm-4.5-air",
  16443. name: "GLM 4.5 Air",
  16444. api: "anthropic-messages",
  16445. provider: "vercel-ai-gateway",
  16446. baseUrl: "https://ai-gateway.vercel.sh",
  16447. reasoning: true,
  16448. input: ["text"],
  16449. cost: {
  16450. input: 0.19999999999999998,
  16451. output: 1.1,
  16452. cacheRead: 0.03,
  16453. cacheWrite: 0,
  16454. },
  16455. contextWindow: 128000,
  16456. maxTokens: 96000,
  16457. } satisfies Model<"anthropic-messages">,
  16458. "zai/glm-4.5v": {
  16459. id: "zai/glm-4.5v",
  16460. name: "GLM 4.5V",
  16461. api: "anthropic-messages",
  16462. provider: "vercel-ai-gateway",
  16463. baseUrl: "https://ai-gateway.vercel.sh",
  16464. reasoning: true,
  16465. input: ["text", "image"],
  16466. cost: {
  16467. input: 0.6,
  16468. output: 1.7999999999999998,
  16469. cacheRead: 0.11,
  16470. cacheWrite: 0,
  16471. },
  16472. contextWindow: 66000,
  16473. maxTokens: 16000,
  16474. } satisfies Model<"anthropic-messages">,
  16475. "zai/glm-4.6": {
  16476. id: "zai/glm-4.6",
  16477. name: "GLM 4.6",
  16478. api: "anthropic-messages",
  16479. provider: "vercel-ai-gateway",
  16480. baseUrl: "https://ai-gateway.vercel.sh",
  16481. reasoning: true,
  16482. input: ["text"],
  16483. cost: {
  16484. input: 0.6,
  16485. output: 2.2,
  16486. cacheRead: 0.11,
  16487. cacheWrite: 0,
  16488. },
  16489. contextWindow: 200000,
  16490. maxTokens: 96000,
  16491. } satisfies Model<"anthropic-messages">,
  16492. "zai/glm-4.6v": {
  16493. id: "zai/glm-4.6v",
  16494. name: "GLM-4.6V",
  16495. api: "anthropic-messages",
  16496. provider: "vercel-ai-gateway",
  16497. baseUrl: "https://ai-gateway.vercel.sh",
  16498. reasoning: true,
  16499. input: ["text", "image"],
  16500. cost: {
  16501. input: 0.3,
  16502. output: 0.8999999999999999,
  16503. cacheRead: 0.049999999999999996,
  16504. cacheWrite: 0,
  16505. },
  16506. contextWindow: 128000,
  16507. maxTokens: 24000,
  16508. } satisfies Model<"anthropic-messages">,
  16509. "zai/glm-4.6v-flash": {
  16510. id: "zai/glm-4.6v-flash",
  16511. name: "GLM-4.6V-Flash",
  16512. api: "anthropic-messages",
  16513. provider: "vercel-ai-gateway",
  16514. baseUrl: "https://ai-gateway.vercel.sh",
  16515. reasoning: true,
  16516. input: ["text", "image"],
  16517. cost: {
  16518. input: 0,
  16519. output: 0,
  16520. cacheRead: 0,
  16521. cacheWrite: 0,
  16522. },
  16523. contextWindow: 128000,
  16524. maxTokens: 24000,
  16525. } satisfies Model<"anthropic-messages">,
  16526. "zai/glm-4.7": {
  16527. id: "zai/glm-4.7",
  16528. name: "GLM 4.7",
  16529. api: "anthropic-messages",
  16530. provider: "vercel-ai-gateway",
  16531. baseUrl: "https://ai-gateway.vercel.sh",
  16532. reasoning: true,
  16533. input: ["text"],
  16534. cost: {
  16535. input: 2.25,
  16536. output: 2.75,
  16537. cacheRead: 2.25,
  16538. cacheWrite: 0,
  16539. },
  16540. contextWindow: 131000,
  16541. maxTokens: 40000,
  16542. } satisfies Model<"anthropic-messages">,
  16543. "zai/glm-4.7-flash": {
  16544. id: "zai/glm-4.7-flash",
  16545. name: "GLM 4.7 Flash",
  16546. api: "anthropic-messages",
  16547. provider: "vercel-ai-gateway",
  16548. baseUrl: "https://ai-gateway.vercel.sh",
  16549. reasoning: true,
  16550. input: ["text"],
  16551. cost: {
  16552. input: 0.07,
  16553. output: 0.39999999999999997,
  16554. cacheRead: 0,
  16555. cacheWrite: 0,
  16556. },
  16557. contextWindow: 200000,
  16558. maxTokens: 131000,
  16559. } satisfies Model<"anthropic-messages">,
  16560. "zai/glm-4.7-flashx": {
  16561. id: "zai/glm-4.7-flashx",
  16562. name: "GLM 4.7 FlashX",
  16563. api: "anthropic-messages",
  16564. provider: "vercel-ai-gateway",
  16565. baseUrl: "https://ai-gateway.vercel.sh",
  16566. reasoning: true,
  16567. input: ["text"],
  16568. cost: {
  16569. input: 0.06,
  16570. output: 0.39999999999999997,
  16571. cacheRead: 0.01,
  16572. cacheWrite: 0,
  16573. },
  16574. contextWindow: 200000,
  16575. maxTokens: 128000,
  16576. } satisfies Model<"anthropic-messages">,
  16577. "zai/glm-5": {
  16578. id: "zai/glm-5",
  16579. name: "GLM 5",
  16580. api: "anthropic-messages",
  16581. provider: "vercel-ai-gateway",
  16582. baseUrl: "https://ai-gateway.vercel.sh",
  16583. reasoning: true,
  16584. input: ["text"],
  16585. cost: {
  16586. input: 1,
  16587. output: 3.1999999999999997,
  16588. cacheRead: 0.19999999999999998,
  16589. cacheWrite: 0,
  16590. },
  16591. contextWindow: 202800,
  16592. maxTokens: 131100,
  16593. } satisfies Model<"anthropic-messages">,
  16594. "zai/glm-5-turbo": {
  16595. id: "zai/glm-5-turbo",
  16596. name: "GLM 5 Turbo",
  16597. api: "anthropic-messages",
  16598. provider: "vercel-ai-gateway",
  16599. baseUrl: "https://ai-gateway.vercel.sh",
  16600. reasoning: true,
  16601. input: ["text"],
  16602. cost: {
  16603. input: 1.2,
  16604. output: 4,
  16605. cacheRead: 0.24,
  16606. cacheWrite: 0,
  16607. },
  16608. contextWindow: 202800,
  16609. maxTokens: 131100,
  16610. } satisfies Model<"anthropic-messages">,
  16611. "zai/glm-5.1": {
  16612. id: "zai/glm-5.1",
  16613. name: "GLM 5.1",
  16614. api: "anthropic-messages",
  16615. provider: "vercel-ai-gateway",
  16616. baseUrl: "https://ai-gateway.vercel.sh",
  16617. reasoning: true,
  16618. input: ["text", "image"],
  16619. cost: {
  16620. input: 1.4,
  16621. output: 4.4,
  16622. cacheRead: 0.26,
  16623. cacheWrite: 0,
  16624. },
  16625. contextWindow: 202800,
  16626. maxTokens: 64000,
  16627. } satisfies Model<"anthropic-messages">,
  16628. "zai/glm-5v-turbo": {
  16629. id: "zai/glm-5v-turbo",
  16630. name: "GLM 5V Turbo",
  16631. api: "anthropic-messages",
  16632. provider: "vercel-ai-gateway",
  16633. baseUrl: "https://ai-gateway.vercel.sh",
  16634. reasoning: true,
  16635. input: ["text", "image"],
  16636. cost: {
  16637. input: 1.2,
  16638. output: 4,
  16639. cacheRead: 0.24,
  16640. cacheWrite: 0,
  16641. },
  16642. contextWindow: 200000,
  16643. maxTokens: 128000,
  16644. } satisfies Model<"anthropic-messages">,
  16645. },
  16646. "xai": {
  16647. "grok-3": {
  16648. id: "grok-3",
  16649. name: "Grok 3",
  16650. api: "openai-completions",
  16651. provider: "xai",
  16652. baseUrl: "https://api.x.ai/v1",
  16653. reasoning: false,
  16654. input: ["text"],
  16655. cost: {
  16656. input: 3,
  16657. output: 15,
  16658. cacheRead: 0.75,
  16659. cacheWrite: 0,
  16660. },
  16661. contextWindow: 131072,
  16662. maxTokens: 8192,
  16663. } satisfies Model<"openai-completions">,
  16664. "grok-3-fast": {
  16665. id: "grok-3-fast",
  16666. name: "Grok 3 Fast",
  16667. api: "openai-completions",
  16668. provider: "xai",
  16669. baseUrl: "https://api.x.ai/v1",
  16670. reasoning: false,
  16671. input: ["text"],
  16672. cost: {
  16673. input: 5,
  16674. output: 25,
  16675. cacheRead: 1.25,
  16676. cacheWrite: 0,
  16677. },
  16678. contextWindow: 131072,
  16679. maxTokens: 8192,
  16680. } satisfies Model<"openai-completions">,
  16681. "grok-4.20-0309-non-reasoning": {
  16682. id: "grok-4.20-0309-non-reasoning",
  16683. name: "Grok 4.20 (Non-Reasoning)",
  16684. api: "openai-completions",
  16685. provider: "xai",
  16686. baseUrl: "https://api.x.ai/v1",
  16687. reasoning: false,
  16688. input: ["text", "image"],
  16689. cost: {
  16690. input: 1.25,
  16691. output: 2.5,
  16692. cacheRead: 0.2,
  16693. cacheWrite: 0,
  16694. },
  16695. contextWindow: 1000000,
  16696. maxTokens: 30000,
  16697. } satisfies Model<"openai-completions">,
  16698. "grok-4.20-0309-reasoning": {
  16699. id: "grok-4.20-0309-reasoning",
  16700. name: "Grok 4.20 (Reasoning)",
  16701. api: "openai-completions",
  16702. provider: "xai",
  16703. baseUrl: "https://api.x.ai/v1",
  16704. reasoning: true,
  16705. input: ["text", "image"],
  16706. cost: {
  16707. input: 1.25,
  16708. output: 2.5,
  16709. cacheRead: 0.2,
  16710. cacheWrite: 0,
  16711. },
  16712. contextWindow: 1000000,
  16713. maxTokens: 30000,
  16714. } satisfies Model<"openai-completions">,
  16715. "grok-4.3": {
  16716. id: "grok-4.3",
  16717. name: "Grok 4.3",
  16718. api: "openai-completions",
  16719. provider: "xai",
  16720. baseUrl: "https://api.x.ai/v1",
  16721. reasoning: true,
  16722. input: ["text", "image"],
  16723. cost: {
  16724. input: 1.25,
  16725. output: 2.5,
  16726. cacheRead: 0.2,
  16727. cacheWrite: 0,
  16728. },
  16729. contextWindow: 1000000,
  16730. maxTokens: 30000,
  16731. } satisfies Model<"openai-completions">,
  16732. "grok-build-0.1": {
  16733. id: "grok-build-0.1",
  16734. name: "Grok Build 0.1",
  16735. api: "openai-completions",
  16736. provider: "xai",
  16737. baseUrl: "https://api.x.ai/v1",
  16738. reasoning: true,
  16739. input: ["text", "image"],
  16740. cost: {
  16741. input: 1,
  16742. output: 2,
  16743. cacheRead: 0.2,
  16744. cacheWrite: 0,
  16745. },
  16746. contextWindow: 256000,
  16747. maxTokens: 256000,
  16748. } satisfies Model<"openai-completions">,
  16749. "grok-code-fast-1": {
  16750. id: "grok-code-fast-1",
  16751. name: "Grok Code Fast 1",
  16752. api: "openai-completions",
  16753. provider: "xai",
  16754. baseUrl: "https://api.x.ai/v1",
  16755. reasoning: false,
  16756. input: ["text"],
  16757. cost: {
  16758. input: 0.2,
  16759. output: 1.5,
  16760. cacheRead: 0.02,
  16761. cacheWrite: 0,
  16762. },
  16763. contextWindow: 32768,
  16764. maxTokens: 8192,
  16765. } satisfies Model<"openai-completions">,
  16766. },
  16767. "xiaomi": {
  16768. "mimo-v2-flash": {
  16769. id: "mimo-v2-flash",
  16770. name: "MiMo-V2-Flash",
  16771. api: "openai-completions",
  16772. provider: "xiaomi",
  16773. baseUrl: "https://api.xiaomimimo.com/v1",
  16774. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16775. reasoning: true,
  16776. input: ["text"],
  16777. cost: {
  16778. input: 0.1,
  16779. output: 0.3,
  16780. cacheRead: 0.01,
  16781. cacheWrite: 0,
  16782. },
  16783. contextWindow: 262144,
  16784. maxTokens: 65536,
  16785. } satisfies Model<"openai-completions">,
  16786. "mimo-v2-omni": {
  16787. id: "mimo-v2-omni",
  16788. name: "MiMo-V2-Omni",
  16789. api: "openai-completions",
  16790. provider: "xiaomi",
  16791. baseUrl: "https://api.xiaomimimo.com/v1",
  16792. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16793. reasoning: true,
  16794. input: ["text", "image"],
  16795. cost: {
  16796. input: 0.4,
  16797. output: 2,
  16798. cacheRead: 0.08,
  16799. cacheWrite: 0,
  16800. },
  16801. contextWindow: 262144,
  16802. maxTokens: 131072,
  16803. } satisfies Model<"openai-completions">,
  16804. "mimo-v2-pro": {
  16805. id: "mimo-v2-pro",
  16806. name: "MiMo-V2-Pro",
  16807. api: "openai-completions",
  16808. provider: "xiaomi",
  16809. baseUrl: "https://api.xiaomimimo.com/v1",
  16810. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16811. reasoning: true,
  16812. input: ["text"],
  16813. cost: {
  16814. input: 1,
  16815. output: 3,
  16816. cacheRead: 0.2,
  16817. cacheWrite: 0,
  16818. },
  16819. contextWindow: 1048576,
  16820. maxTokens: 131072,
  16821. } satisfies Model<"openai-completions">,
  16822. "mimo-v2.5": {
  16823. id: "mimo-v2.5",
  16824. name: "MiMo-V2.5",
  16825. api: "openai-completions",
  16826. provider: "xiaomi",
  16827. baseUrl: "https://api.xiaomimimo.com/v1",
  16828. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16829. reasoning: true,
  16830. input: ["text", "image"],
  16831. cost: {
  16832. input: 0.4,
  16833. output: 2,
  16834. cacheRead: 0.08,
  16835. cacheWrite: 0,
  16836. },
  16837. contextWindow: 1048576,
  16838. maxTokens: 131072,
  16839. } satisfies Model<"openai-completions">,
  16840. "mimo-v2.5-pro": {
  16841. id: "mimo-v2.5-pro",
  16842. name: "MiMo-V2.5-Pro",
  16843. api: "openai-completions",
  16844. provider: "xiaomi",
  16845. baseUrl: "https://api.xiaomimimo.com/v1",
  16846. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16847. reasoning: true,
  16848. input: ["text"],
  16849. cost: {
  16850. input: 1,
  16851. output: 3,
  16852. cacheRead: 0.2,
  16853. cacheWrite: 0,
  16854. },
  16855. contextWindow: 1048576,
  16856. maxTokens: 131072,
  16857. } satisfies Model<"openai-completions">,
  16858. },
  16859. "xiaomi-token-plan-ams": {
  16860. "mimo-v2-omni": {
  16861. id: "mimo-v2-omni",
  16862. name: "MiMo-V2-Omni",
  16863. api: "openai-completions",
  16864. provider: "xiaomi-token-plan-ams",
  16865. baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
  16866. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16867. reasoning: true,
  16868. input: ["text", "image"],
  16869. cost: {
  16870. input: 0.4,
  16871. output: 2,
  16872. cacheRead: 0.08,
  16873. cacheWrite: 0,
  16874. },
  16875. contextWindow: 262144,
  16876. maxTokens: 131072,
  16877. } satisfies Model<"openai-completions">,
  16878. "mimo-v2-pro": {
  16879. id: "mimo-v2-pro",
  16880. name: "MiMo-V2-Pro",
  16881. api: "openai-completions",
  16882. provider: "xiaomi-token-plan-ams",
  16883. baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
  16884. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16885. reasoning: true,
  16886. input: ["text"],
  16887. cost: {
  16888. input: 1,
  16889. output: 3,
  16890. cacheRead: 0.2,
  16891. cacheWrite: 0,
  16892. },
  16893. contextWindow: 1048576,
  16894. maxTokens: 131072,
  16895. } satisfies Model<"openai-completions">,
  16896. "mimo-v2.5": {
  16897. id: "mimo-v2.5",
  16898. name: "MiMo-V2.5",
  16899. api: "openai-completions",
  16900. provider: "xiaomi-token-plan-ams",
  16901. baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
  16902. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16903. reasoning: true,
  16904. input: ["text", "image"],
  16905. cost: {
  16906. input: 0.4,
  16907. output: 2,
  16908. cacheRead: 0.08,
  16909. cacheWrite: 0,
  16910. },
  16911. contextWindow: 1048576,
  16912. maxTokens: 131072,
  16913. } satisfies Model<"openai-completions">,
  16914. "mimo-v2.5-pro": {
  16915. id: "mimo-v2.5-pro",
  16916. name: "MiMo-V2.5-Pro",
  16917. api: "openai-completions",
  16918. provider: "xiaomi-token-plan-ams",
  16919. baseUrl: "https://token-plan-ams.xiaomimimo.com/v1",
  16920. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16921. reasoning: true,
  16922. input: ["text"],
  16923. cost: {
  16924. input: 1,
  16925. output: 3,
  16926. cacheRead: 0.2,
  16927. cacheWrite: 0,
  16928. },
  16929. contextWindow: 1048576,
  16930. maxTokens: 131072,
  16931. } satisfies Model<"openai-completions">,
  16932. },
  16933. "xiaomi-token-plan-cn": {
  16934. "mimo-v2-omni": {
  16935. id: "mimo-v2-omni",
  16936. name: "MiMo-V2-Omni",
  16937. api: "openai-completions",
  16938. provider: "xiaomi-token-plan-cn",
  16939. baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
  16940. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16941. reasoning: true,
  16942. input: ["text", "image"],
  16943. cost: {
  16944. input: 0.4,
  16945. output: 2,
  16946. cacheRead: 0.08,
  16947. cacheWrite: 0,
  16948. },
  16949. contextWindow: 262144,
  16950. maxTokens: 131072,
  16951. } satisfies Model<"openai-completions">,
  16952. "mimo-v2-pro": {
  16953. id: "mimo-v2-pro",
  16954. name: "MiMo-V2-Pro",
  16955. api: "openai-completions",
  16956. provider: "xiaomi-token-plan-cn",
  16957. baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
  16958. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16959. reasoning: true,
  16960. input: ["text"],
  16961. cost: {
  16962. input: 1,
  16963. output: 3,
  16964. cacheRead: 0.2,
  16965. cacheWrite: 0,
  16966. },
  16967. contextWindow: 1048576,
  16968. maxTokens: 131072,
  16969. } satisfies Model<"openai-completions">,
  16970. "mimo-v2.5": {
  16971. id: "mimo-v2.5",
  16972. name: "MiMo-V2.5",
  16973. api: "openai-completions",
  16974. provider: "xiaomi-token-plan-cn",
  16975. baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
  16976. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16977. reasoning: true,
  16978. input: ["text", "image"],
  16979. cost: {
  16980. input: 0.4,
  16981. output: 2,
  16982. cacheRead: 0.08,
  16983. cacheWrite: 0,
  16984. },
  16985. contextWindow: 1048576,
  16986. maxTokens: 131072,
  16987. } satisfies Model<"openai-completions">,
  16988. "mimo-v2.5-pro": {
  16989. id: "mimo-v2.5-pro",
  16990. name: "MiMo-V2.5-Pro",
  16991. api: "openai-completions",
  16992. provider: "xiaomi-token-plan-cn",
  16993. baseUrl: "https://token-plan-cn.xiaomimimo.com/v1",
  16994. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  16995. reasoning: true,
  16996. input: ["text"],
  16997. cost: {
  16998. input: 1,
  16999. output: 3,
  17000. cacheRead: 0.2,
  17001. cacheWrite: 0,
  17002. },
  17003. contextWindow: 1048576,
  17004. maxTokens: 131072,
  17005. } satisfies Model<"openai-completions">,
  17006. },
  17007. "xiaomi-token-plan-sgp": {
  17008. "mimo-v2-omni": {
  17009. id: "mimo-v2-omni",
  17010. name: "MiMo-V2-Omni",
  17011. api: "openai-completions",
  17012. provider: "xiaomi-token-plan-sgp",
  17013. baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
  17014. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  17015. reasoning: true,
  17016. input: ["text", "image"],
  17017. cost: {
  17018. input: 0.4,
  17019. output: 2,
  17020. cacheRead: 0.08,
  17021. cacheWrite: 0,
  17022. },
  17023. contextWindow: 262144,
  17024. maxTokens: 131072,
  17025. } satisfies Model<"openai-completions">,
  17026. "mimo-v2-pro": {
  17027. id: "mimo-v2-pro",
  17028. name: "MiMo-V2-Pro",
  17029. api: "openai-completions",
  17030. provider: "xiaomi-token-plan-sgp",
  17031. baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
  17032. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  17033. reasoning: true,
  17034. input: ["text"],
  17035. cost: {
  17036. input: 1,
  17037. output: 3,
  17038. cacheRead: 0.2,
  17039. cacheWrite: 0,
  17040. },
  17041. contextWindow: 1048576,
  17042. maxTokens: 131072,
  17043. } satisfies Model<"openai-completions">,
  17044. "mimo-v2.5": {
  17045. id: "mimo-v2.5",
  17046. name: "MiMo-V2.5",
  17047. api: "openai-completions",
  17048. provider: "xiaomi-token-plan-sgp",
  17049. baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
  17050. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  17051. reasoning: true,
  17052. input: ["text", "image"],
  17053. cost: {
  17054. input: 0.4,
  17055. output: 2,
  17056. cacheRead: 0.08,
  17057. cacheWrite: 0,
  17058. },
  17059. contextWindow: 1048576,
  17060. maxTokens: 131072,
  17061. } satisfies Model<"openai-completions">,
  17062. "mimo-v2.5-pro": {
  17063. id: "mimo-v2.5-pro",
  17064. name: "MiMo-V2.5-Pro",
  17065. api: "openai-completions",
  17066. provider: "xiaomi-token-plan-sgp",
  17067. baseUrl: "https://token-plan-sgp.xiaomimimo.com/v1",
  17068. compat: {"requiresReasoningContentOnAssistantMessages":true,"thinkingFormat":"deepseek"},
  17069. reasoning: true,
  17070. input: ["text"],
  17071. cost: {
  17072. input: 1,
  17073. output: 3,
  17074. cacheRead: 0.2,
  17075. cacheWrite: 0,
  17076. },
  17077. contextWindow: 1048576,
  17078. maxTokens: 131072,
  17079. } satisfies Model<"openai-completions">,
  17080. },
  17081. "zai": {
  17082. "glm-4.5-air": {
  17083. id: "glm-4.5-air",
  17084. name: "GLM-4.5-Air",
  17085. api: "openai-completions",
  17086. provider: "zai",
  17087. baseUrl: "https://api.z.ai/api/coding/paas/v4",
  17088. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai"},
  17089. reasoning: true,
  17090. input: ["text"],
  17091. cost: {
  17092. input: 0,
  17093. output: 0,
  17094. cacheRead: 0,
  17095. cacheWrite: 0,
  17096. },
  17097. contextWindow: 131072,
  17098. maxTokens: 98304,
  17099. } satisfies Model<"openai-completions">,
  17100. "glm-4.7": {
  17101. id: "glm-4.7",
  17102. name: "GLM-4.7",
  17103. api: "openai-completions",
  17104. provider: "zai",
  17105. baseUrl: "https://api.z.ai/api/coding/paas/v4",
  17106. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},
  17107. reasoning: true,
  17108. input: ["text"],
  17109. cost: {
  17110. input: 0,
  17111. output: 0,
  17112. cacheRead: 0,
  17113. cacheWrite: 0,
  17114. },
  17115. contextWindow: 204800,
  17116. maxTokens: 131072,
  17117. } satisfies Model<"openai-completions">,
  17118. "glm-5-turbo": {
  17119. id: "glm-5-turbo",
  17120. name: "GLM-5-Turbo",
  17121. api: "openai-completions",
  17122. provider: "zai",
  17123. baseUrl: "https://api.z.ai/api/coding/paas/v4",
  17124. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},
  17125. reasoning: true,
  17126. input: ["text"],
  17127. cost: {
  17128. input: 0,
  17129. output: 0,
  17130. cacheRead: 0,
  17131. cacheWrite: 0,
  17132. },
  17133. contextWindow: 200000,
  17134. maxTokens: 131072,
  17135. } satisfies Model<"openai-completions">,
  17136. "glm-5.1": {
  17137. id: "glm-5.1",
  17138. name: "GLM-5.1",
  17139. api: "openai-completions",
  17140. provider: "zai",
  17141. baseUrl: "https://api.z.ai/api/coding/paas/v4",
  17142. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},
  17143. reasoning: true,
  17144. input: ["text"],
  17145. cost: {
  17146. input: 0,
  17147. output: 0,
  17148. cacheRead: 0,
  17149. cacheWrite: 0,
  17150. },
  17151. contextWindow: 200000,
  17152. maxTokens: 131072,
  17153. } satisfies Model<"openai-completions">,
  17154. "glm-5v-turbo": {
  17155. id: "glm-5v-turbo",
  17156. name: "GLM-5V-Turbo",
  17157. api: "openai-completions",
  17158. provider: "zai",
  17159. baseUrl: "https://api.z.ai/api/coding/paas/v4",
  17160. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},
  17161. reasoning: true,
  17162. input: ["text", "image"],
  17163. cost: {
  17164. input: 0,
  17165. output: 0,
  17166. cacheRead: 0,
  17167. cacheWrite: 0,
  17168. },
  17169. contextWindow: 200000,
  17170. maxTokens: 131072,
  17171. } satisfies Model<"openai-completions">,
  17172. },
  17173. "zai-coding-cn": {
  17174. "glm-4.5-air": {
  17175. id: "glm-4.5-air",
  17176. name: "GLM-4.5-Air",
  17177. api: "openai-completions",
  17178. provider: "zai-coding-cn",
  17179. baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
  17180. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai"},
  17181. reasoning: true,
  17182. input: ["text"],
  17183. cost: {
  17184. input: 0,
  17185. output: 0,
  17186. cacheRead: 0,
  17187. cacheWrite: 0,
  17188. },
  17189. contextWindow: 131072,
  17190. maxTokens: 98304,
  17191. } satisfies Model<"openai-completions">,
  17192. "glm-4.7": {
  17193. id: "glm-4.7",
  17194. name: "GLM-4.7",
  17195. api: "openai-completions",
  17196. provider: "zai-coding-cn",
  17197. baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
  17198. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},
  17199. reasoning: true,
  17200. input: ["text"],
  17201. cost: {
  17202. input: 0,
  17203. output: 0,
  17204. cacheRead: 0,
  17205. cacheWrite: 0,
  17206. },
  17207. contextWindow: 204800,
  17208. maxTokens: 131072,
  17209. } satisfies Model<"openai-completions">,
  17210. "glm-5-turbo": {
  17211. id: "glm-5-turbo",
  17212. name: "GLM-5-Turbo",
  17213. api: "openai-completions",
  17214. provider: "zai-coding-cn",
  17215. baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
  17216. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},
  17217. reasoning: true,
  17218. input: ["text"],
  17219. cost: {
  17220. input: 0,
  17221. output: 0,
  17222. cacheRead: 0,
  17223. cacheWrite: 0,
  17224. },
  17225. contextWindow: 200000,
  17226. maxTokens: 131072,
  17227. } satisfies Model<"openai-completions">,
  17228. "glm-5.1": {
  17229. id: "glm-5.1",
  17230. name: "GLM-5.1",
  17231. api: "openai-completions",
  17232. provider: "zai-coding-cn",
  17233. baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
  17234. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},
  17235. reasoning: true,
  17236. input: ["text"],
  17237. cost: {
  17238. input: 0,
  17239. output: 0,
  17240. cacheRead: 0,
  17241. cacheWrite: 0,
  17242. },
  17243. contextWindow: 200000,
  17244. maxTokens: 131072,
  17245. } satisfies Model<"openai-completions">,
  17246. "glm-5v-turbo": {
  17247. id: "glm-5v-turbo",
  17248. name: "GLM-5V-Turbo",
  17249. api: "openai-completions",
  17250. provider: "zai-coding-cn",
  17251. baseUrl: "https://open.bigmodel.cn/api/coding/paas/v4",
  17252. compat: {"supportsDeveloperRole":false,"thinkingFormat":"zai","zaiToolStream":true},
  17253. reasoning: true,
  17254. input: ["text", "image"],
  17255. cost: {
  17256. input: 0,
  17257. output: 0,
  17258. cacheRead: 0,
  17259. cacheWrite: 0,
  17260. },
  17261. contextWindow: 200000,
  17262. maxTokens: 131072,
  17263. } satisfies Model<"openai-completions">,
  17264. },
  17265. } as const;