@cline/llms 0.0.54 → 0.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/providers.js CHANGED
@@ -165,5 +165,5 @@ IMPORTANT:
165
165
 
166
166
  `)}v.write("payload.value = newResult;"),v.write("return payload;");let T=v.compile();return(P,I)=>T(m,P,I)},a,o=$t,s=!Yt.jitless,d=s&&ul.value,l=t.catchall,c;e._zod.parse=(m,v)=>{c??(c=r.value);let p=m.value;if(!o(p))return m.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),m;if(s&&d&&v?.async===!1&&v.jitless!==!0){if(!a)a=i(t.shape);if(m=a(m,v),!l)return m;return sc([],p,m,v,c,e)}return n(m,v)}});dn=f("$ZodUnion",(e,t)=>{z.init(e,t),O(e._zod,"optin",()=>t.options.some((r)=>r._zod.optin==="optional")?"optional":void 0),O(e._zod,"optout",()=>t.options.some((r)=>r._zod.optout==="optional")?"optional":void 0),O(e._zod,"values",()=>{if(t.options.every((r)=>r._zod.values))return new Set(t.options.flatMap((r)=>Array.from(r._zod.values)));return}),O(e._zod,"pattern",()=>{if(t.options.every((r)=>r._zod.pattern)){let r=t.options.map((i)=>i._zod.pattern);return new RegExp(`^(${r.map((i)=>sn(i.source)).join("|")})$`)}return});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let s of t.options){let d=s._zod.run({value:r.value,issues:[]},i);if(d instanceof Promise)o.push(d),a=!0;else{if(d.issues.length===0)return d;o.push(d)}}if(!a)return su(o,r,e,i);return Promise.all(o).then((s)=>{return su(s,r,e,i)})}});dc=f("$ZodXor",(e,t)=>{dn.init(e,t),t.inclusive=!1;let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let s of t.options){let d=s._zod.run({value:r.value,issues:[]},i);if(d instanceof Promise)o.push(d),a=!0;else o.push(d)}if(!a)return uu(o,r,e,i);return Promise.all(o).then((s)=>{return uu(s,r,e,i)})}}),cc=f("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,dn.init(e,t);let n=e._zod.parse;O(e._zod,"propValues",()=>{let i={};for(let a of t.options){let o=a._zod.propValues;if(!o||Object.keys(o).length===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let[s,d]of Object.entries(o)){if(!i[s])i[s]=new Set;for(let l of d)i[s].add(l)}}return i});let r=ni(()=>{let i=t.options,a=new Map;for(let o of i){let s=o._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let d of s){if(a.has(d))throw Error(`Duplicate discriminator value "${String(d)}"`);a.set(d,o)}}return a});e._zod.parse=(i,a)=>{let o=i.value;if(!$t(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),i;let s=r.value.get(o?.[t.discriminator]);if(s)return s._zod.run(i,a);if(t.unionFallback||a.direction==="backward")return n(i,a);return i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(r.value.keys()),input:o,path:[t.discriminator],inst:e}),i}}),mc=f("$ZodIntersection",(e,t)=>{z.init(e,t),e._zod.parse=(n,r)=>{let i=n.value,a=t.left._zod.run({value:i,issues:[]},r),o=t.right._zod.run({value:i,issues:[]},r);if(a instanceof Promise||o instanceof Promise)return Promise.all([a,o]).then(([s,d])=>{return lu(n,s,d)});return lu(n,a,o)}});va=f("$ZodTuple",(e,t)=>{z.init(e,t);let n=t.items;e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=[];let o=[],s=du(n,"optin"),d=du(n,"optout");if(!t.rest){if(a.length<s)return r.issues.push({code:"too_small",minimum:s,inclusive:!0,input:a,inst:e,origin:"array"}),r;if(a.length>n.length)r.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:a,inst:e,origin:"array"})}let l=Array(n.length);for(let c=0;c<n.length;c++){let m=n[c]._zod.run({value:a[c],issues:[]},i);if(m instanceof Promise)o.push(m.then((v)=>{l[c]=v}));else l[c]=m}if(t.rest){let c=n.length-1,m=a.slice(n.length);for(let v of m){c++;let p=t.rest._zod.run({value:v,issues:[]},i);if(p instanceof Promise)o.push(p.then((g)=>cu(g,r,c)));else cu(p,r,c)}}if(o.length)return Promise.all(o).then(()=>mu(l,r,n,a,d));return mu(l,r,n,a,d)}});fc=f("$ZodRecord",(e,t)=>{z.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Ve(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),n;let a=[],o=t.keyType._zod.values;if(o){n.value={};let s=new Set;for(let l of o)if(typeof l==="string"||typeof l==="number"||typeof l==="symbol"){s.add(typeof l==="number"?l.toString():l);let c=t.keyType._zod.run({value:l,issues:[]},r);if(c instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(c.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map((p)=>ne(p,r,W())),input:l,path:[l],inst:e});continue}let m=c.value,v=t.valueType._zod.run({value:i[l],issues:[]},r);if(v instanceof Promise)a.push(v.then((p)=>{if(p.issues.length)n.issues.push(...le(l,p.issues));n.value[m]=p.value}));else{if(v.issues.length)n.issues.push(...le(l,v.issues));n.value[m]=v.value}}let d;for(let l in i)if(!s.has(l))d=d??[],d.push(l);if(d&&d.length>0)n.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:d})}else{n.value={};for(let s of Reflect.ownKeys(i)){if(s==="__proto__")continue;if(!Object.prototype.propertyIsEnumerable.call(i,s))continue;let d=t.keyType._zod.run({value:s,issues:[]},r);if(d instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(typeof s==="string"&&sa.test(s)&&d.issues.length){let c=t.keyType._zod.run({value:Number(s),issues:[]},r);if(c instanceof Promise)throw Error("Async schemas not supported in object keys currently");if(c.issues.length===0)d=c}if(d.issues.length){if(t.mode==="loose")n.value[s]=i[s];else n.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map((c)=>ne(c,r,W())),input:s,path:[s],inst:e});continue}let l=t.valueType._zod.run({value:i[s],issues:[]},r);if(l instanceof Promise)a.push(l.then((c)=>{if(c.issues.length)n.issues.push(...le(s,c.issues));n.value[d.value]=c.value}));else{if(l.issues.length)n.issues.push(...le(s,l.issues));n.value[d.value]=l.value}}}if(a.length)return Promise.all(a).then(()=>n);return n}}),pc=f("$ZodMap",(e,t)=>{z.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),n;let a=[];n.value=new Map;for(let[o,s]of i){let d=t.keyType._zod.run({value:o,issues:[]},r),l=t.valueType._zod.run({value:s,issues:[]},r);if(d instanceof Promise||l instanceof Promise)a.push(Promise.all([d,l]).then(([c,m])=>{fu(c,m,n,o,i,e,r)}));else fu(d,l,n,o,i,e,r)}if(a.length)return Promise.all(a).then(()=>n);return n}});vc=f("$ZodSet",(e,t)=>{z.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!(i instanceof Set))return n.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),n;let a=[];n.value=new Set;for(let o of i){let s=t.valueType._zod.run({value:o,issues:[]},r);if(s instanceof Promise)a.push(s.then((d)=>pu(d,n)));else pu(s,n)}if(a.length)return Promise.all(a).then(()=>n);return n}});hc=f("$ZodEnum",(e,t)=>{z.init(e,t);let n=Hr(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=new RegExp(`^(${n.filter((i)=>Qi.has(typeof i)).map((i)=>typeof i==="string"?ze(i):i.toString()).join("|")})$`),e._zod.parse=(i,a)=>{let o=i.value;if(r.has(o))return i;return i.issues.push({code:"invalid_value",values:n,input:o,inst:e}),i}}),gc=f("$ZodLiteral",(e,t)=>{if(z.init(e,t),t.values.length===0)throw Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map((r)=>typeof r==="string"?ze(r):r?ze(r.toString()):String(r)).join("|")})$`),e._zod.parse=(r,i)=>{let a=r.value;if(n.has(a))return r;return r.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),r}}),yc=f("$ZodFile",(e,t)=>{z.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(i instanceof File)return n;return n.issues.push({expected:"file",code:"invalid_type",input:i,inst:e}),n}}),bc=f("$ZodTransform",(e,t)=>{z.init(e,t),e._zod.optin="optional",e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new ii(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then((a)=>{return n.value=a,n.fallback=!0,n});if(i instanceof Promise)throw new Ze;return n.value=i,n.fallback=!0,n}});ha=f("$ZodOptional",(e,t)=>{z.init(e,t),e._zod.optin="optional",e._zod.optout="optional",O(e._zod,"values",()=>{return t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0}),O(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${sn(n.source)})?$`):void 0}),e._zod.parse=(n,r)=>{if(t.innerType._zod.optin==="optional"){let i=n.value,a=t.innerType._zod.run(n,r);if(a instanceof Promise)return a.then((o)=>vu(o,i));return vu(a,i)}if(n.value===void 0)return n;return t.innerType._zod.run(n,r)}}),$c=f("$ZodExactOptional",(e,t)=>{ha.init(e,t),O(e._zod,"values",()=>t.innerType._zod.values),O(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,r)=>{return t.innerType._zod.run(n,r)}}),_c=f("$ZodNullable",(e,t)=>{z.init(e,t),O(e._zod,"optin",()=>t.innerType._zod.optin),O(e._zod,"optout",()=>t.innerType._zod.optout),O(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${sn(n.source)}|null)$`):void 0}),O(e._zod,"values",()=>{return t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0}),e._zod.parse=(n,r)=>{if(n.value===null)return n;return t.innerType._zod.run(n,r)}}),kc=f("$ZodDefault",(e,t)=>{z.init(e,t),e._zod.optin="optional",O(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)return n.value=t.defaultValue,n;let i=t.innerType._zod.run(n,r);if(i instanceof Promise)return i.then((a)=>hu(a,t));return hu(i,t)}});wc=f("$ZodPrefault",(e,t)=>{z.init(e,t),e._zod.optin="optional",O(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);if(n.value===void 0)n.value=t.defaultValue;return t.innerType._zod.run(n,r)}}),Sc=f("$ZodNonOptional",(e,t)=>{z.init(e,t),O(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter((r)=>r!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);if(i instanceof Promise)return i.then((a)=>gu(a,e));return gu(i,e)}});Ic=f("$ZodSuccess",(e,t)=>{z.init(e,t),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new ii("ZodSuccess");let i=t.innerType._zod.run(n,r);if(i instanceof Promise)return i.then((a)=>{return n.value=a.issues.length===0,n});return n.value=i.issues.length===0,n}}),xc=f("$ZodCatch",(e,t)=>{z.init(e,t),e._zod.optin="optional",O(e._zod,"optout",()=>t.innerType._zod.optout),O(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);let i=t.innerType._zod.run(n,r);if(i instanceof Promise)return i.then((a)=>{if(n.value=a.value,a.issues.length)n.value=t.catchValue({...n,error:{issues:a.issues.map((o)=>ne(o,r,W()))},input:n.value}),n.issues=[],n.fallback=!0;return n});if(n.value=i.value,i.issues.length)n.value=t.catchValue({...n,error:{issues:i.issues.map((a)=>ne(a,r,W()))},input:n.value}),n.issues=[],n.fallback=!0;return n}}),zc=f("$ZodNaN",(e,t)=>{z.init(e,t),e._zod.parse=(n,r)=>{if(typeof n.value!=="number"||!Number.isNaN(n.value))return n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n;return n}}),ga=f("$ZodPipe",(e,t)=>{z.init(e,t),O(e._zod,"values",()=>t.in._zod.values),O(e._zod,"optin",()=>t.in._zod.optin),O(e._zod,"optout",()=>t.out._zod.optout),O(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,r)=>{if(r.direction==="backward"){let a=t.out._zod.run(n,r);if(a instanceof Promise)return a.then((o)=>Fi(o,t.in,r));return Fi(a,t.in,r)}let i=t.in._zod.run(n,r);if(i instanceof Promise)return i.then((a)=>Fi(a,t.out,r));return Fi(i,t.out,r)}});ya=f("$ZodCodec",(e,t)=>{z.init(e,t),O(e._zod,"values",()=>t.in._zod.values),O(e._zod,"optin",()=>t.in._zod.optin),O(e._zod,"optout",()=>t.out._zod.optout),O(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(n,r)=>{if((r.direction||"forward")==="forward"){let i=t.in._zod.run(n,r);if(i instanceof Promise)return i.then((a)=>Bi(a,t,r));return Bi(i,t,r)}else{let i=t.out._zod.run(n,r);if(i instanceof Promise)return i.then((a)=>Bi(a,t,r));return Bi(i,t,r)}}});Uc=f("$ZodPreprocess",(e,t)=>{ga.init(e,t)}),Tc=f("$ZodReadonly",(e,t)=>{z.init(e,t),O(e._zod,"propValues",()=>t.innerType._zod.propValues),O(e._zod,"values",()=>t.innerType._zod.values),O(e._zod,"optin",()=>t.innerType?._zod?.optin),O(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(n,r)=>{if(r.direction==="backward")return t.innerType._zod.run(n,r);let i=t.innerType._zod.run(n,r);if(i instanceof Promise)return i.then(yu);return yu(i)}});jc=f("$ZodTemplateLiteral",(e,t)=>{z.init(e,t);let n=[];for(let r of t.parts)if(typeof r==="object"&&r!==null){if(!r._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...r._zod.traits].shift()}`);let i=r._zod.pattern instanceof RegExp?r._zod.pattern.source:r._zod.pattern;if(!i)throw Error(`Invalid template literal part: ${r._zod.traits}`);let a=i.startsWith("^")?1:0,o=i.endsWith("$")?i.length-1:i.length;n.push(i.slice(a,o))}else if(r===null||dl.has(typeof r))n.push(ze(`${r}`));else throw Error(`Invalid template literal part: ${r}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(r,i)=>{if(typeof r.value!=="string")return r.issues.push({input:r.value,inst:e,expected:"string",code:"invalid_type"}),r;if(e._zod.pattern.lastIndex=0,!e._zod.pattern.test(r.value))return r.issues.push({input:r.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),r;return r}}),Oc=f("$ZodFunction",(e,t)=>{return z.init(e,t),e._def=t,e._zod.def=t,e.implement=(n)=>{if(typeof n!=="function")throw Error("implement() must be called with a function");return function(...r){let i=e._def.input?jr(e._def.input,r):r,a=Reflect.apply(n,this,i);if(e._def.output)return jr(e._def.output,a);return a}},e.implementAsync=(n)=>{if(typeof n!=="function")throw Error("implementAsync() must be called with a function");return async function(...r){let i=e._def.input?await Or(e._def.input,r):r,a=await Reflect.apply(n,this,i);if(e._def.output)return await Or(e._def.output,a);return a}},e._zod.parse=(n,r)=>{if(typeof n.value!=="function")return n.issues.push({code:"invalid_type",expected:"function",input:n.value,inst:e}),n;if(e._def.output&&e._def.output._zod.def.type==="promise")n.value=e.implementAsync(n.value);else n.value=e.implement(n.value);return n},e.input=(...n)=>{let r=e.constructor;if(Array.isArray(n[0]))return new r({type:"function",input:new va({type:"tuple",items:n[0],rest:n[1]}),output:e._def.output});return new r({type:"function",input:n[0],output:e._def.output})},e.output=(n)=>{return new e.constructor({type:"function",input:e._def.input,output:n})},e}),Nc=f("$ZodPromise",(e,t)=>{z.init(e,t),e._zod.parse=(n,r)=>{return Promise.resolve(n.value).then((i)=>t.innerType._zod.run({value:i,issues:[]},r))}}),Ec=f("$ZodLazy",(e,t)=>{z.init(e,t),O(e._zod,"innerType",()=>{let n=t;if(!n._cachedInner)n._cachedInner=t.getter();return n._cachedInner}),O(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),O(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),O(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),O(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,r)=>{return e._zod.innerType._zod.run(n,r)}}),Ac=f("$ZodCustom",(e,t)=>{J.init(e,t),z.init(e,t),e._zod.parse=(n,r)=>{return n},e._zod.check=(n)=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then((a)=>bu(a,n,r,e));bu(i,n,r,e);return}});ba={};Ue(ba,{zhTW:()=>bk,zhCN:()=>gk,yo:()=>_k,vi:()=>vk,uz:()=>fk,ur:()=>ck,uk:()=>Zc,ua:()=>lk,tr:()=>sk,th:()=>ak,ta:()=>nk,sv:()=>tk,sl:()=>q_,ru:()=>V_,ro:()=>X_,pt:()=>H_,ps:()=>F_,pl:()=>W_,ota:()=>J_,no:()=>R_,nl:()=>Z_,ms:()=>P_,mk:()=>E_,lt:()=>O_,ko:()=>T_,km:()=>Dc,kh:()=>z_,ka:()=>I_,ja:()=>w_,it:()=>__,is:()=>b_,id:()=>g_,hy:()=>v_,hu:()=>f_,hr:()=>c_,he:()=>l_,frCA:()=>s_,fr:()=>a_,fi:()=>n_,fa:()=>t_,es:()=>q$,eo:()=>V$,en:()=>Pc,el:()=>G$,de:()=>K$,da:()=>B$,cs:()=>M$,ca:()=>L$,bg:()=>C$,be:()=>D$,az:()=>A$,ar:()=>N$});Cc=Symbol("ZodOutput"),Rc=Symbol("ZodInput");(Su=globalThis).__zod_globalRegistry??(Su.__zod_globalRegistry=_a());de=globalThis.__zod_globalRegistry;Fc={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};Wk={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Er={string:zm,number:Um,boolean:Tm,bigint:jm,symbol:Om,null:Nm,undefined:Em,void:Am,never:Pm,any:Dm,unknown:Zm,date:Cm,enum:Rm,literal:Lm,nan:Jm,template_literal:Mm,file:Fm,success:Bm,custom:Wm,function:Km,transform:Hm,map:Gm,set:Xm,array:Ym,object:Vm,union:Ha,intersection:Qm,tuple:qm,record:ef,nullable:tf,nonoptional:nf,default:rf,prefault:af,catch:of,pipe:sf,readonly:uf,promise:lf,optional:Ga,lazy:df};Kk={},ff={};Ue(ff,{xor:()=>kp,xid:()=>Wf,void:()=>hp,uuidv7:()=>Zf,uuidv6:()=>Df,uuidv4:()=>Pf,uuid:()=>Af,url:()=>Cf,unknown:()=>qe,union:()=>Bn,undefined:()=>pp,ulid:()=>Bf,uint64:()=>mp,uint32:()=>lp,tuple:()=>yo,transform:()=>Kn,templateLiteral:()=>Dp,symbol:()=>fp,superRefine:()=>Ko,success:()=>Np,stringbool:()=>Fp,stringFormat:()=>ip,string:()=>Qt,strictObject:()=>$p,set:()=>zp,refine:()=>Wo,record:()=>bo,readonly:()=>Ro,promise:()=>Zp,preprocess:()=>Wp,prefault:()=>Oo,pipe:()=>rn,partialRecord:()=>Sp,optional:()=>ei,object:()=>bp,number:()=>to,nullish:()=>Op,nullable:()=>ti,null:()=>oo,nonoptional:()=>No,never:()=>Mn,nativeEnum:()=>Up,nanoid:()=>Jf,nan:()=>Ep,meta:()=>Jp,map:()=>xp,mac:()=>Gf,looseRecord:()=>Ip,looseObject:()=>_p,literal:()=>Tp,lazy:()=>Mo,ksuid:()=>Kf,keyof:()=>yp,jwt:()=>tp,json:()=>Bp,ipv6:()=>Xf,ipv4:()=>Hf,invertCodec:()=>Pp,intersection:()=>ho,int64:()=>cp,int32:()=>up,int:()=>nn,instanceof:()=>Mp,httpUrl:()=>Rf,hostname:()=>np,hex:()=>rp,hash:()=>ap,guid:()=>Ef,function:()=>an,float64:()=>sp,float32:()=>op,file:()=>jp,exactOptional:()=>xo,enum:()=>Wn,emoji:()=>Lf,email:()=>Nf,e164:()=>ep,discriminatedUnion:()=>wp,describe:()=>Lp,date:()=>gp,custom:()=>Rp,cuid2:()=>Ff,cuid:()=>Mf,codec:()=>Ap,cidrv6:()=>Vf,cidrv4:()=>Yf,check:()=>Cp,catch:()=>Po,boolean:()=>io,bigint:()=>dp,base64url:()=>qf,base64:()=>Qf,array:()=>ki,any:()=>vp,_function:()=>an,_default:()=>To,_ZodString:()=>Sn,ZodXor:()=>fo,ZodXID:()=>On,ZodVoid:()=>co,ZodUnknown:()=>uo,ZodUnion:()=>Si,ZodUndefined:()=>ro,ZodUUID:()=>ke,ZodURL:()=>yi,ZodULID:()=>jn,ZodType:()=>U,ZodTuple:()=>go,ZodTransform:()=>So,ZodTemplateLiteral:()=>Lo,ZodSymbol:()=>no,ZodSuccess:()=>Eo,ZodStringFormat:()=>Z,ZodString:()=>gi,ZodSet:()=>_o,ZodRecord:()=>xt,ZodReadonly:()=>Co,ZodPromise:()=>Fo,ZodPreprocess:()=>Zo,ZodPrefault:()=>jo,ZodPipe:()=>Ii,ZodOptional:()=>Hn,ZodObject:()=>wi,ZodNumberFormat:()=>nt,ZodNumber:()=>bi,ZodNullable:()=>zo,ZodNull:()=>ao,ZodNonOptional:()=>Gn,ZodNever:()=>lo,ZodNanoID:()=>zn,ZodNaN:()=>Do,ZodMap:()=>$o,ZodMAC:()=>eo,ZodLiteral:()=>ko,ZodLazy:()=>Jo,ZodKSUID:()=>Nn,ZodJWT:()=>Ln,ZodIntersection:()=>vo,ZodIPv6:()=>An,ZodIPv4:()=>En,ZodGUID:()=>qt,ZodFunction:()=>Bo,ZodFile:()=>wo,ZodExactOptional:()=>Io,ZodEnum:()=>zt,ZodEmoji:()=>xn,ZodEmail:()=>In,ZodE164:()=>Rn,ZodDiscriminatedUnion:()=>po,ZodDefault:()=>Uo,ZodDate:()=>Fn,ZodCustomStringFormat:()=>Tt,ZodCustom:()=>zi,ZodCodec:()=>xi,ZodCatch:()=>Ao,ZodCUID2:()=>Tn,ZodCUID:()=>Un,ZodCIDRv6:()=>Dn,ZodCIDRv4:()=>Pn,ZodBoolean:()=>$i,ZodBigIntFormat:()=>Jn,ZodBigInt:()=>_i,ZodBase64URL:()=>Cn,ZodBase64:()=>Zn,ZodArray:()=>mo,ZodAny:()=>so});pf={};Ue(pf,{uppercase:()=>pn,trim:()=>$n,toUpperCase:()=>kn,toLowerCase:()=>_n,startsWith:()=>hn,slugify:()=>wn,size:()=>mi,regex:()=>mn,property:()=>Ka,positive:()=>Ma,overwrite:()=>je,normalize:()=>bn,nonpositive:()=>Ba,nonnegative:()=>Wa,negative:()=>Fa,multipleOf:()=>kt,minSize:()=>Je,minLength:()=>Qe,mime:()=>yn,maxSize:()=>Ut,maxLength:()=>fi,lte:()=>ce,lt:()=>Re,lowercase:()=>fn,length:()=>pi,includes:()=>vn,gte:()=>V,gt:()=>Le,endsWith:()=>gn});Xa={};Ue(Xa,{time:()=>gf,duration:()=>yf,datetime:()=>vf,date:()=>hf,ZodISOTime:()=>Qa,ZodISODuration:()=>qa,ZodISODateTime:()=>Ya,ZodISODate:()=>Va});Ya=f("ZodISODateTime",(e,t)=>{Ed.init(e,t),Z.init(e,t)});Va=f("ZodISODate",(e,t)=>{Ad.init(e,t),Z.init(e,t)});Qa=f("ZodISOTime",(e,t)=>{Pd.init(e,t),Z.init(e,t)});qa=f("ZodISODuration",(e,t)=>{Dd.init(e,t),Z.init(e,t)});Hk=f("ZodError",bf),ae=f("ZodError",bf,{Parent:Error}),$f=ri(ae),_f=ai(ae),kf=oi(ae),wf=si(ae),Sf=Qr(ae),If=qr(ae),xf=ea(ae),zf=ta(ae),Uf=ia(ae),Tf=na(ae),jf=ra(ae),Of=aa(ae),Iu=new WeakMap;U=f("ZodType",(e,t)=>{return z.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Vt(e,"input"),output:Vt(e,"output")}}),e.toJSONSchema=xm(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,r)=>$f(e,n,r,{callee:e.parse}),e.safeParse=(n,r)=>kf(e,n,r),e.parseAsync=async(n,r)=>_f(e,n,r,{callee:e.parseAsync}),e.safeParseAsync=async(n,r)=>wf(e,n,r),e.spa=e.safeParseAsync,e.encode=(n,r)=>Sf(e,n,r),e.decode=(n,r)=>If(e,n,r),e.encodeAsync=async(n,r)=>xf(e,n,r),e.decodeAsync=async(n,r)=>zf(e,n,r),e.safeEncode=(n,r)=>Uf(e,n,r),e.safeDecode=(n,r)=>Tf(e,n,r),e.safeEncodeAsync=async(n,r)=>jf(e,n,r),e.safeDecodeAsync=async(n,r)=>Of(e,n,r),hi(e,"ZodType",{check(...n){let r=this.def;return this.clone(j.mergeDefs(r,{checks:[...r.checks??[],...n.map((i)=>typeof i==="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,r){return fe(this,n,r)},brand(){return this},register(n,r){return n.add(this,r),this},refine(n,r){return this.check(Wo(n,r))},superRefine(n,r){return this.check(Ko(n,r))},overwrite(n){return this.check(je(n))},optional(){return ei(this)},exactOptional(){return xo(this)},nullable(){return ti(this)},nullish(){return ei(ti(this))},nonoptional(n){return No(this,n)},array(){return ki(this)},or(n){return Bn([this,n])},and(n){return ho(this,n)},transform(n){return rn(this,Kn(n))},default(n){return To(this,n)},prefault(n){return Oo(this,n)},catch(n){return Po(this,n)},pipe(n){return rn(this,n)},readonly(){return Ro(this)},describe(n){let r=this.clone();return de.add(r,{description:n}),r},meta(...n){if(n.length===0)return de.get(this);let r=this.clone();return de.add(r,n[0]),r},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return de.get(e)?.description},configurable:!0}),e}),Sn=f("_ZodString",(e,t)=>{ci.init(e,t),U.init(e,t),e._zod.processJSONSchema=(r,i,a)=>zm(e,r,i,a);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,hi(e,"_ZodString",{regex(...r){return this.check(mn(...r))},includes(...r){return this.check(vn(...r))},startsWith(...r){return this.check(hn(...r))},endsWith(...r){return this.check(gn(...r))},min(...r){return this.check(Qe(...r))},max(...r){return this.check(fi(...r))},length(...r){return this.check(pi(...r))},nonempty(...r){return this.check(Qe(1,...r))},lowercase(r){return this.check(fn(r))},uppercase(r){return this.check(pn(r))},trim(){return this.check($n())},normalize(...r){return this.check(bn(...r))},toLowerCase(){return this.check(_n())},toUpperCase(){return this.check(kn())},slugify(){return this.check(wn())}})}),gi=f("ZodString",(e,t)=>{ci.init(e,t),Sn.init(e,t),e.email=(n)=>e.check(ka(In,n)),e.url=(n)=>e.check(cn(yi,n)),e.jwt=(n)=>e.check(Ja(Ln,n)),e.emoji=(n)=>e.check(za(xn,n)),e.guid=(n)=>e.check(tn(qt,n)),e.uuid=(n)=>e.check(wa(ke,n)),e.uuidv4=(n)=>e.check(Sa(ke,n)),e.uuidv6=(n)=>e.check(Ia(ke,n)),e.uuidv7=(n)=>e.check(xa(ke,n)),e.nanoid=(n)=>e.check(Ua(zn,n)),e.guid=(n)=>e.check(tn(qt,n)),e.cuid=(n)=>e.check(Ta(Un,n)),e.cuid2=(n)=>e.check(ja(Tn,n)),e.ulid=(n)=>e.check(Oa(jn,n)),e.base64=(n)=>e.check(Ca(Zn,n)),e.base64url=(n)=>e.check(Ra(Cn,n)),e.xid=(n)=>e.check(Na(On,n)),e.ksuid=(n)=>e.check(Ea(Nn,n)),e.ipv4=(n)=>e.check(Aa(En,n)),e.ipv6=(n)=>e.check(Pa(An,n)),e.cidrv4=(n)=>e.check(Da(Pn,n)),e.cidrv6=(n)=>e.check(Za(Dn,n)),e.e164=(n)=>e.check(La(Rn,n)),e.datetime=(n)=>e.check(vf(n)),e.date=(n)=>e.check(hf(n)),e.time=(n)=>e.check(gf(n)),e.duration=(n)=>e.check(yf(n))});Z=f("ZodStringFormat",(e,t)=>{D.init(e,t),Sn.init(e,t)}),In=f("ZodEmail",(e,t)=>{Sd.init(e,t),Z.init(e,t)});qt=f("ZodGUID",(e,t)=>{kd.init(e,t),Z.init(e,t)});ke=f("ZodUUID",(e,t)=>{wd.init(e,t),Z.init(e,t)});yi=f("ZodURL",(e,t)=>{Id.init(e,t),Z.init(e,t)});xn=f("ZodEmoji",(e,t)=>{xd.init(e,t),Z.init(e,t)});zn=f("ZodNanoID",(e,t)=>{zd.init(e,t),Z.init(e,t)});Un=f("ZodCUID",(e,t)=>{Ud.init(e,t),Z.init(e,t)});Tn=f("ZodCUID2",(e,t)=>{Td.init(e,t),Z.init(e,t)});jn=f("ZodULID",(e,t)=>{jd.init(e,t),Z.init(e,t)});On=f("ZodXID",(e,t)=>{Od.init(e,t),Z.init(e,t)});Nn=f("ZodKSUID",(e,t)=>{Nd.init(e,t),Z.init(e,t)});En=f("ZodIPv4",(e,t)=>{Zd.init(e,t),Z.init(e,t)});eo=f("ZodMAC",(e,t)=>{Rd.init(e,t),Z.init(e,t)});An=f("ZodIPv6",(e,t)=>{Cd.init(e,t),Z.init(e,t)});Pn=f("ZodCIDRv4",(e,t)=>{Ld.init(e,t),Z.init(e,t)});Dn=f("ZodCIDRv6",(e,t)=>{Jd.init(e,t),Z.init(e,t)});Zn=f("ZodBase64",(e,t)=>{Md.init(e,t),Z.init(e,t)});Cn=f("ZodBase64URL",(e,t)=>{Bd.init(e,t),Z.init(e,t)});Rn=f("ZodE164",(e,t)=>{Wd.init(e,t),Z.init(e,t)});Ln=f("ZodJWT",(e,t)=>{Hd.init(e,t),Z.init(e,t)});Tt=f("ZodCustomStringFormat",(e,t)=>{Gd.init(e,t),Z.init(e,t)});bi=f("ZodNumber",(e,t)=>{ma.init(e,t),U.init(e,t),e._zod.processJSONSchema=(r,i,a)=>Um(e,r,i,a),hi(e,"ZodNumber",{gt(r,i){return this.check(Le(r,i))},gte(r,i){return this.check(V(r,i))},min(r,i){return this.check(V(r,i))},lt(r,i){return this.check(Re(r,i))},lte(r,i){return this.check(ce(r,i))},max(r,i){return this.check(ce(r,i))},int(r){return this.check(nn(r))},safe(r){return this.check(nn(r))},positive(r){return this.check(Le(0,r))},nonnegative(r){return this.check(V(0,r))},negative(r){return this.check(Re(0,r))},nonpositive(r){return this.check(ce(0,r))},multipleOf(r,i){return this.check(kt(r,i))},step(r,i){return this.check(kt(r,i))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??0.5),e.isFinite=!0,e.format=n.format??null});nt=f("ZodNumberFormat",(e,t)=>{Xd.init(e,t),bi.init(e,t)});$i=f("ZodBoolean",(e,t)=>{fa.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Tm(e,n,r,i)});_i=f("ZodBigInt",(e,t)=>{pa.init(e,t),U.init(e,t),e._zod.processJSONSchema=(r,i,a)=>jm(e,r,i,a),e.gte=(r,i)=>e.check(V(r,i)),e.min=(r,i)=>e.check(V(r,i)),e.gt=(r,i)=>e.check(Le(r,i)),e.gte=(r,i)=>e.check(V(r,i)),e.min=(r,i)=>e.check(V(r,i)),e.lt=(r,i)=>e.check(Re(r,i)),e.lte=(r,i)=>e.check(ce(r,i)),e.max=(r,i)=>e.check(ce(r,i)),e.positive=(r)=>e.check(Le(BigInt(0),r)),e.negative=(r)=>e.check(Re(BigInt(0),r)),e.nonpositive=(r)=>e.check(ce(BigInt(0),r)),e.nonnegative=(r)=>e.check(V(BigInt(0),r)),e.multipleOf=(r,i)=>e.check(kt(r,i));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});Jn=f("ZodBigIntFormat",(e,t)=>{Yd.init(e,t),_i.init(e,t)});no=f("ZodSymbol",(e,t)=>{Vd.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Om(e,n,r,i)});ro=f("ZodUndefined",(e,t)=>{Qd.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Em(e,n,r,i)});ao=f("ZodNull",(e,t)=>{qd.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Nm(e,n,r,i)});so=f("ZodAny",(e,t)=>{ec.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Dm(e,n,r,i)});uo=f("ZodUnknown",(e,t)=>{tc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Zm(e,n,r,i)});lo=f("ZodNever",(e,t)=>{ic.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Pm(e,n,r,i)});co=f("ZodVoid",(e,t)=>{nc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Am(e,n,r,i)});Fn=f("ZodDate",(e,t)=>{rc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(r,i,a)=>Cm(e,r,i,a),e.min=(r,i)=>e.check(V(r,i)),e.max=(r,i)=>e.check(ce(r,i));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});mo=f("ZodArray",(e,t)=>{ac.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Ym(e,n,r,i),e.element=t.element,hi(e,"ZodArray",{min(n,r){return this.check(Qe(n,r))},nonempty(n){return this.check(Qe(1,n))},max(n,r){return this.check(fi(n,r))},length(n,r){return this.check(pi(n,r))},unwrap(){return this.element}})});wi=f("ZodObject",(e,t)=>{lc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Vm(e,n,r,i),j.defineLazy(e,"shape",()=>{return t.shape}),hi(e,"ZodObject",{keyof(){return Wn(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:qe()})},loose(){return this.clone({...this._zod.def,catchall:qe()})},strict(){return this.clone({...this._zod.def,catchall:Mn()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return j.extend(this,n)},safeExtend(n){return j.safeExtend(this,n)},merge(n){return j.merge(this,n)},pick(n){return j.pick(this,n)},omit(n){return j.omit(this,n)},partial(...n){return j.partial(Hn,this,n[0])},required(...n){return j.required(Gn,this,n[0])}})});Si=f("ZodUnion",(e,t)=>{dn.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Ha(e,n,r,i),e.options=t.options});fo=f("ZodXor",(e,t)=>{Si.init(e,t),dc.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Ha(e,n,r,i),e.options=t.options});po=f("ZodDiscriminatedUnion",(e,t)=>{Si.init(e,t),cc.init(e,t)});vo=f("ZodIntersection",(e,t)=>{mc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Qm(e,n,r,i)});go=f("ZodTuple",(e,t)=>{va.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>qm(e,n,r,i),e.rest=(n)=>e.clone({...e._zod.def,rest:n})});xt=f("ZodRecord",(e,t)=>{fc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>ef(e,n,r,i),e.keyType=t.keyType,e.valueType=t.valueType});$o=f("ZodMap",(e,t)=>{pc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Gm(e,n,r,i),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(Je(...n)),e.nonempty=(n)=>e.check(Je(1,n)),e.max=(...n)=>e.check(Ut(...n)),e.size=(...n)=>e.check(mi(...n))});_o=f("ZodSet",(e,t)=>{vc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Xm(e,n,r,i),e.min=(...n)=>e.check(Je(...n)),e.nonempty=(n)=>e.check(Je(1,n)),e.max=(...n)=>e.check(Ut(...n)),e.size=(...n)=>e.check(mi(...n))});zt=f("ZodEnum",(e,t)=>{hc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(r,i,a)=>Rm(e,r,i,a),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(r,i)=>{let a={};for(let o of r)if(n.has(o))a[o]=t.entries[o];else throw Error(`Key ${o} not found in enum`);return new zt({...t,checks:[],...j.normalizeParams(i),entries:a})},e.exclude=(r,i)=>{let a={...t.entries};for(let o of r)if(n.has(o))delete a[o];else throw Error(`Key ${o} not found in enum`);return new zt({...t,checks:[],...j.normalizeParams(i),entries:a})}});ko=f("ZodLiteral",(e,t)=>{gc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Lm(e,n,r,i),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});wo=f("ZodFile",(e,t)=>{yc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Fm(e,n,r,i),e.min=(n,r)=>e.check(Je(n,r)),e.max=(n,r)=>e.check(Ut(n,r)),e.mime=(n,r)=>e.check(yn(Array.isArray(n)?n:[n],r))});So=f("ZodTransform",(e,t)=>{bc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Hm(e,n,r,i),e._zod.parse=(n,r)=>{if(r.direction==="backward")throw new ii(e.constructor.name);n.addIssue=(a)=>{if(typeof a==="string")n.issues.push(j.issue(a,n.value,t));else{let o=a;if(o.fatal)o.continue=!1;o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=e),n.issues.push(j.issue(o))}};let i=t.transform(n.value,n);if(i instanceof Promise)return i.then((a)=>{return n.value=a,n.fallback=!0,n});return n.value=i,n.fallback=!0,n}});Hn=f("ZodOptional",(e,t)=>{ha.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Ga(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});Io=f("ZodExactOptional",(e,t)=>{$c.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Ga(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});zo=f("ZodNullable",(e,t)=>{_c.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>tf(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});Uo=f("ZodDefault",(e,t)=>{kc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>rf(e,n,r,i),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});jo=f("ZodPrefault",(e,t)=>{wc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>af(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});Gn=f("ZodNonOptional",(e,t)=>{Sc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>nf(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});Eo=f("ZodSuccess",(e,t)=>{Ic.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Bm(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});Ao=f("ZodCatch",(e,t)=>{xc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>of(e,n,r,i),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});Do=f("ZodNaN",(e,t)=>{zc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Jm(e,n,r,i)});Ii=f("ZodPipe",(e,t)=>{ga.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>sf(e,n,r,i),e.in=t.in,e.out=t.out});xi=f("ZodCodec",(e,t)=>{Ii.init(e,t),ya.init(e,t)});Zo=f("ZodPreprocess",(e,t)=>{Ii.init(e,t),Uc.init(e,t)}),Co=f("ZodReadonly",(e,t)=>{Tc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>uf(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});Lo=f("ZodTemplateLiteral",(e,t)=>{jc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Mm(e,n,r,i)});Jo=f("ZodLazy",(e,t)=>{Ec.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>df(e,n,r,i),e.unwrap=()=>e._zod.def.getter()});Fo=f("ZodPromise",(e,t)=>{Nc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>lf(e,n,r,i),e.unwrap=()=>e._zod.def.innerType});Bo=f("ZodFunction",(e,t)=>{Oc.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Km(e,n,r,i)});zi=f("ZodCustom",(e,t)=>{Ac.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,r,i)=>Wm(e,n,r,i)});Lp=wm,Jp=Sm;Gk={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};(function(e){})(Ar||(Ar={}));b={...ff,...pf,iso:Xa},Vk=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);Hp={};Ue(Hp,{string:()=>tw,number:()=>iw,date:()=>aw,boolean:()=>nw,bigint:()=>rw});W(Pc());Ho=u,Gp=u.object({id:u.string(),temperature:u.number().optional(),isR1FormatRequired:u.boolean().optional(),maxTokens:u.number().optional(),contextWindow:u.number().optional(),inputPrice:u.number().optional(),outputPrice:u.number().optional(),supportsImages:u.boolean().optional()}),Xp=u.object({models:u.array(Gp).optional(),openAiBaseUrl:u.string().optional(),openAiHeaders:u.record(u.string(),u.string()).optional(),azureApiVersion:u.string().optional(),azureIdentity:u.boolean().optional()}),Yp=u.object({id:u.string(),thinkingBudgetTokens:u.number().optional()}),Vp=u.object({name:u.string(),baseModelId:u.string(),thinkingBudgetTokens:u.number().optional()}),Qp=u.object({models:u.array(Yp).optional(),customModels:u.array(Vp).optional(),awsRegion:u.string().optional(),awsUseCrossRegionInference:u.boolean().optional(),awsUseGlobalInference:u.boolean().optional(),awsBedrockUsePromptCache:u.boolean().optional(),awsBedrockEndpoint:u.string().optional()}),qp=u.object({id:u.string()}),ev=u.object({models:u.array(qp).optional()}),tv=u.object({id:u.string(),thinkingBudgetTokens:u.number().optional()}),iv=u.object({models:u.array(tv).optional(),vertexProjectId:u.string().optional(),vertexRegion:u.string().optional()}),nv=u.object({id:u.string(),thinkingBudgetTokens:u.number().optional(),promptCachingEnabled:u.boolean().optional()}),rv=u.object({models:u.array(nv).optional(),baseUrl:u.string().optional()}),av=u.object({id:u.string(),thinkingBudgetTokens:u.number().optional()}),ov=u.object({models:u.array(av).optional(),baseUrl:u.string().optional()}),ow=u.object({OpenAiCompatible:Xp.optional(),AwsBedrock:Qp.optional(),Cline:ev.optional(),Vertex:iv.optional(),LiteLLM:rv.optional(),Anthropic:ov.optional()}),sv=u.object({id:u.string()}),uv=u.object({name:u.string(),url:u.string(),alwaysEnabled:u.boolean().optional(),headers:u.record(u.string(),u.string()).optional()}),Pr=u.object({alwaysEnabled:u.boolean(),name:u.string(),contents:u.string()}),Hi=u.object({bucket:u.string(),accessKeyId:u.string(),secretAccessKey:u.string(),region:u.string().optional(),endpoint:u.string().optional(),accountId:u.string().optional()}),lv=u.object({enabled:u.boolean().optional(),type:u.union([u.literal("s3_access_keys"),u.literal("r2_access_keys"),u.literal("azure_access_keys")]).optional(),s3AccessSettings:Hi.optional(),r2AccessSettings:Hi.optional(),azureAccessSettings:Hi.optional()}),dv=u.object({promptUploading:lv.optional()}),sw=u.object({version:u.string(),providerSettings:ow.optional(),telemetryEnabled:u.boolean().optional(),kanbanEnabled:u.boolean().optional(),mcpMarketplaceEnabled:u.boolean().optional(),allowedMCPServers:u.array(sv).optional(),remoteMCPServers:u.array(uv).optional(),blockPersonalRemoteMCPServers:u.boolean().optional(),yoloModeAllowed:u.boolean().optional(),openTelemetryEnabled:u.boolean().optional(),openTelemetryMetricsExporter:u.string().optional(),openTelemetryLogsExporter:u.string().optional(),openTelemetryOtlpProtocol:u.string().optional(),openTelemetryOtlpEndpoint:u.string().optional(),openTelemetryOtlpHeaders:u.record(u.string(),u.string()).optional(),openTelemetryOtlpMetricsProtocol:u.string().optional(),openTelemetryOtlpMetricsEndpoint:u.string().optional(),openTelemetryOtlpMetricsHeaders:u.record(u.string(),u.string()).optional(),openTelemetryOtlpLogsProtocol:u.string().optional(),openTelemetryOtlpLogsEndpoint:u.string().optional(),openTelemetryOtlpLogsHeaders:u.record(u.string(),u.string()).optional(),openTelemetryMetricExportInterval:u.number().optional(),openTelemetryOtlpInsecure:u.boolean().optional(),openTelemetryLogBatchSize:u.number().optional(),openTelemetryLogBatchTimeout:u.number().optional(),openTelemetryLogMaxQueueSize:u.number().optional(),enterpriseTelemetry:dv.optional(),globalRules:u.array(Pr).optional(),globalWorkflows:u.array(Pr).optional()}),uw=u.record(u.string(),u.string()),cv=u.enum(["default","openai-responses","r1"]),lw={DEFAULT:"default",OPENAI_RESPONSES:"openai-responses",R1:"r1"},mv=u.enum(["images","tools","streaming","prompt-cache","reasoning","reasoning-effort","computer-use","global-endpoint","structured_output","temperature","files"]),fv=u.enum(["active","preview","deprecated","legacy"]),pv=u.object({input:u.number().optional(),output:u.number().optional(),cacheWrite:u.number().optional(),cacheRead:u.number().optional()}),vv=u.object({maxBudget:u.number().optional(),outputPrice:u.number().optional(),thinkingLevel:u.enum(["low","high"]).optional()}),hv=u.object({reasoningDefaultOn:u.boolean().optional()}).catchall(u.unknown()),Go=u.object({id:u.string(),name:u.string().optional(),description:u.string().optional(),maxTokens:u.number().optional(),contextWindow:u.number().optional(),maxInputTokens:u.number().optional(),capabilities:u.array(mv).optional(),apiFormat:cv.optional(),systemRole:u.enum(["system","developer"]).optional(),temperature:u.number().optional(),pricing:pv.optional(),thinkingConfig:vv.optional(),status:fv.optional(),deprecationNotice:u.string().optional(),replacedBy:u.string().optional(),releaseDate:u.string().optional(),deprecationDate:u.string().optional(),family:u.string().optional(),metadata:hv.optional()}),gv=u.object({id:u.string(),name:u.string(),input:u.unknown(),output:u.unknown(),error:u.string().optional(),durationMs:u.number(),startedAt:u.date(),endedAt:u.date()}),yv=u.enum(["completed","max_iterations","aborted","mistake_limit","error"]),bv=u.object({inputTokens:u.number(),outputTokens:u.number(),cacheReadTokens:u.number().optional(),cacheWriteTokens:u.number().optional(),totalCost:u.number().optional()}),dw=u.object({text:u.string(),usage:bv,messages:u.array(u.custom()),toolCalls:u.array(gv),iterations:u.number(),finishReason:yv,model:u.object({id:u.string(),provider:u.string(),info:Go.optional()}),startedAt:u.date(),endedAt:u.date(),durationMs:u.number()}),$v=u.enum(["low","medium","high","xhigh"]),cw=u.object({sessionId:u.string().optional(),providerId:u.string(),modelId:u.string(),apiKey:u.string().optional(),baseUrl:u.string().url().optional(),headers:u.record(u.string(),u.string()).optional(),knownModels:u.record(u.string(),Go).optional(),providerConfig:u.unknown().optional(),initialMessages:u.array(u.custom()).optional(),systemPrompt:u.string(),tools:u.array(u.custom()),maxIterations:u.number().positive().optional(),maxParallelToolCalls:u.number().int().positive().default(8),maxTokensPerTurn:u.number().positive().optional(),apiTimeoutMs:u.number().positive().default(180000),userFileContentLoader:u.function().input([u.string()]).output(u.promise(u.string())).optional(),toolContextMetadata:u.record(u.string(),u.unknown()).optional(),execution:u.object({maxConsecutiveMistakes:u.number().int().positive().optional(),reminderAfterIterations:u.number().nonnegative().optional(),reminderText:u.string().optional(),loopDetection:u.union([u.literal(!1),u.object({softThreshold:u.number().int().positive().optional(),hardThreshold:u.number().int().positive().optional()})]).optional()}).optional(),reasoningEffort:$v.optional(),thinkingBudgetTokens:u.number().positive().optional(),thinking:u.boolean().optional(),onEvent:u.function().input([u.custom()]).output(u.void()).optional(),hooks:u.custom().optional(),parentAgentId:u.string().optional(),extensions:u.array(u.custom()).optional(),hookErrorMode:u.enum(["ignore","throw"]).default("ignore"),toolPolicies:u.record(u.string(),u.object({enabled:u.boolean().optional(),autoApprove:u.boolean().optional()})).optional(),requestToolApproval:u.function().input([u.object({sessionId:u.string(),agentId:u.string(),conversationId:u.string(),iteration:u.number(),toolCallId:u.string(),toolName:u.string(),input:u.unknown(),policy:u.object({enabled:u.boolean().optional(),autoApprove:u.boolean().optional()}).default({})})]).output(u.union([u.object({approved:u.boolean(),reason:u.string().optional()}),u.promise(u.object({approved:u.boolean(),reason:u.string().optional()}))])).optional(),onConsecutiveMistakeLimitReached:u.function().input([u.object({iteration:u.number().int().positive(),consecutiveMistakes:u.number().int().positive(),maxConsecutiveMistakes:u.number().int().positive(),reason:u.enum(["api_error","invalid_tool_call","tool_execution_failed"]),details:u.string().optional()})]).output(u.union([u.object({action:u.literal("continue"),guidance:u.string().optional()}),u.object({action:u.literal("stop"),reason:u.string().optional()}),u.promise(u.union([u.object({action:u.literal("continue"),guidance:u.string().optional()}),u.object({action:u.literal("stop"),reason:u.string().optional()})]))])).optional(),logger:u.custom().optional(),extensionContext:u.custom().optional(),abortSignal:u.custom().optional()}),_v=u.enum(["connector.started","connector.stopping","session.authorize","message.received","message.denied","message.completed","message.failed","session.started","session.reused","session.reset","schedule.delivery.started","schedule.delivery.sent","schedule.delivery.failed"]),kv=u.object({id:u.string().optional(),label:u.string().optional(),role:u.string().optional(),participantKey:u.string().optional(),participantLabel:u.string().optional(),platformUserId:u.string().optional(),metadata:u.record(u.string(),u.unknown()).optional()}),wv=u.object({source:u.string(),sourceEvent:u.string(),threadId:u.string(),channelId:u.string(),isDM:u.boolean(),sessionId:u.string().optional(),workspaceRoot:u.string().optional(),metadata:u.record(u.string(),u.unknown()).optional()}),mw=u.object({actor:kv,context:wv,payload:u.record(u.string(),u.unknown()).optional()}),fw=u.object({action:u.enum(["allow","deny"]).default("allow"),message:u.string().optional(),reason:u.string().optional(),metadata:u.record(u.string(),u.unknown()).optional()}),pw=u.object({adapter:u.string(),botUserName:u.string().optional(),event:_v,payload:u.record(u.string(),u.unknown()),ts:u.string()}),Sv=[{name:"discord",description:"Discord interactions and gateway bridge backed by RPC runtime sessions"},{name:"gchat",description:"Google Chat webhook bridge backed by RPC runtime sessions"},{name:"linear",description:"Linear webhook bridge backed by RPC runtime sessions"},{name:"slack",description:"Slack webhook/socket bridge backed by RPC runtime sessions"},{name:"telegram",description:"Bridge Telegram bot messages into RPC chat sessions"},{name:"whatsapp",description:"Bridge WhatsApp webhook messages into RPC chat sessions"}];xv=[{id:"telegram",name:"Telegram",type:"polling",hint:"Easiest to set up. No public URL needed.",fields:[{flag:"-k",label:"Bot token",placeholder:"7123456789:AAH...",required:!0,help:["Open Telegram and start a chat with @BotFather","Send /newbot and follow the prompts","BotFather gives you this after creating the bot","It looks like 7123456789:AAHxxx..."]}],security:{prompt:"By default, anyone who finds your bot can message it and run tasks on your machine. Restrict access to your Telegram user ID?",fields:[{key:"userId",label:"Your Telegram user ID",placeholder:"123456789",help:["Message @userinfobot on Telegram","It will reply with your numeric user ID"],requiredMessage:"User ID is required to restrict access",validate:gw}],buildArgs:({userId:e})=>["--allowed-user-id",e??""]}},{id:"slack",name:"Slack",type:"hybrid",hint:"Public URL for webhook mode; leave blank for socket mode.",fields:[{flag:"--bot-token",label:"Bot token",placeholder:"xoxb-...",required:!0,help:["Go to api.slack.com/apps and create a new app","Add Bot Token Scopes: chat:write, app_mentions:read, channels:history, channels:read, im:history, im:read, im:write, users:read","Install to workspace and copy the Bot Token"]},{flag:"--base-url",label:"Public base URL",placeholder:"leave blank for socket mode",help:["Enter a publicly accessible URL for webhook mode","Leave blank to use Slack socket mode instead"]},{flag:"--signing-secret",label:"Signing secret",required:!0,help:["Found in your app's Basic Information page"],includeWhen:{flag:"--base-url",notEquals:""}},{flag:"--app-token",label:"App-level token",placeholder:"xapp-...",required:!0,help:["Enable Socket Mode in the Slack app","Generate an app-level token with the connections:write scope"],includeWhen:{flag:"--base-url",equals:""}}],security:{prompt:"Restrict which Slack users can interact with the bot?",fields:[{key:"teamId",label:"Allowed Slack workspace ID",placeholder:"T01ABC123",help:["Open your Slack workspace URL in a browser","The workspace ID is the segment after /client/, for example T01ABC123"],requiredMessage:"Workspace ID is required to restrict access",validate:yw},{key:"userId",label:"Allowed Slack member ID",placeholder:"U01ABC123",help:["Click a user's name in Slack, then View full profile","Click ... and Copy member ID"],requiredMessage:"Member ID is required to restrict access",validate:bw}],buildArgs:({teamId:e,userId:t})=>["--hook-command",`jq -r ".payload.actor.participantKey" | grep -qx "slack:team:${e}:user:${t}" && echo '{"action":"allow"}' || echo '{"action":"deny"}'`]}},{id:"discord",name:"Discord",type:"webhook",hint:"Requires a Discord app and public URL.",fields:[{flag:"--application-id",label:"Application ID",required:!0,help:["Go to discord.com/developers/applications","Create a new app, copy the Application ID"]},{flag:"--bot-token",label:"Bot token",required:!0,help:["Go to Bot section, create a bot, copy the token"]},{flag:"--public-key",label:"Public key",required:!0,help:["Found in General Information of your app"]},{flag:"--base-url",label:"Public base URL",placeholder:"https://example.com",required:!0,help:["Base URL for the connector","For Discord, set the Interactions Endpoint URL to <base-url>/api/webhooks/discord"]}]},{id:"whatsapp",name:"WhatsApp",type:"webhook",hint:"Requires Meta developer account and public URL.",fields:[{flag:"--phone-number-id",label:"Phone number ID",required:!0,help:["From your WhatsApp Business account in Meta Developer portal"]},{flag:"--access-token",label:"Access token",required:!0,help:["Generate a permanent token in Meta Developer portal"]},{flag:"--app-secret",label:"App secret",required:!0,help:["Found in App Settings > Basic"]},{flag:"--verify-token",label:"Webhook verify token",placeholder:"my-verify-token",required:!0,help:["Any string you choose, used to verify webhook setup"]},{flag:"--base-url",label:"Public base URL",placeholder:"https://example.com",required:!0}]},{id:"gchat",name:"Google Chat",type:"webhook",hint:"Requires Google Cloud project and public URL.",fields:[{flag:"--credentials-json",label:"Service account credentials JSON",required:!0,help:["Create a service account in Google Cloud Console","Download the credentials JSON file","Paste the JSON content here"]},{flag:"--base-url",label:"Public base URL",placeholder:"https://example.com",required:!0}]},{id:"linear",name:"Linear",type:"webhook",hint:"React to Linear issues and comments.",fields:[{flag:"--api-key",label:"API key",required:!0,help:["Go to Linear Settings > API > Personal API keys"]},{flag:"--webhook-secret",label:"Webhook signing secret",required:!0,help:["Go to Settings > API > Webhooks, create one","Copy the signing secret"]},{flag:"--base-url",label:"Public base URL",placeholder:"https://example.com",required:!0}]}],zv=[];_w=["hooks","tools","commands","rules","skills","messageBuilders","providers","automationEvents","mcp"],kw=new Set(_w);xw=[".js",".ts"],Ov={CLINE_PASS:"ext-cline-pass"},zw={[Ov.CLINE_PASS]:!1},Uw=Object.values(Ov),Nv=u.enum(["agent_start","agent_resume","agent_abort","agent_end","agent_error","tool_call","tool_result","prompt_submit","pre_compact","session_shutdown"]),et=u.record(u.string(),u.string()),Tw=u.object({toolName:u.string(),parameters:et}),jw=u.object({toolName:u.string(),parameters:et,result:u.string(),success:u.boolean(),executionTimeMs:u.number()}),Ow=u.object({prompt:u.string(),attachments:u.array(u.string())}),Nw=u.object({taskMetadata:et}),Ew=u.object({taskMetadata:et,previousState:et}),Aw=u.object({taskMetadata:et}),Pw=u.object({taskMetadata:et}),Dw=u.object({taskId:u.string(),ulid:u.string(),contextSize:u.number(),compactionStrategy:u.string(),previousApiReqIndex:u.number(),tokensIn:u.number(),tokensOut:u.number(),tokensInCache:u.number(),tokensOutCache:u.number(),deletedRangeStart:u.number(),deletedRangeEnd:u.number(),contextJsonPath:u.string(),contextRawPath:u.string()}),Ev=u.object({clineVersion:u.string(),hookName:Nv,timestamp:u.string(),taskId:u.string(),sessionContext:u.object({rootSessionId:u.string().optional(),hookLogPath:u.string().optional()}).optional(),workspaceRoots:u.array(u.string()),workspaceInfo:u.custom().optional(),userId:u.string(),agent_id:u.string(),parent_agent_id:u.string().nullable(),iteration:u.number().optional(),reason:u.string().optional(),tool_call:u.object({id:u.string(),name:u.string(),input:u.unknown()}).optional(),tool_result:u.custom().optional(),turn:u.unknown().optional(),error:u.object({name:u.string(),message:u.string(),stack:u.string().optional()}).optional(),preToolUse:Tw.optional(),postToolUse:jw.optional(),userPromptSubmit:Ow.optional(),taskStart:Nw.optional(),taskResume:Ew.optional(),taskCancel:Aw.optional(),taskComplete:Pw.optional(),preCompact:Dw.optional()}).passthrough();Jw=["client.register","client.list","session.create","session.list","session.get","session.run","session.abort","schedule.create","schedule.list","settings.get","settings.set"];Dv=["readFile","search","bash","webFetch","editor","applyPatch","skills","askQuestion","submit"],Ww=new Set(Dv);Yo=["image/png","image/jpeg","image/gif","image/webp"];hS=["show","hide","subscription"];Xt={xhigh:0.95,high:0.8,medium:0.5,low:0.2,minimal:0.1,none:0};_S={"HTTP-Referer":"https://cline.bot","X-Title":"Cline","X-IS-MULTIROOT":"false","X-CLIENT-TYPE":"cline-sdk"};SS={debug:()=>{},log:()=>{},error:()=>{}};Xe=class Xe extends Error{constructor(e,t){super(`${e} at position ${t}`);this.position=t}};Nu=/^(http|https|ftp|mailto|file|data|irc):\/\/$/,Eu=/^[A-Za-z0-9-._~:/?#@!$&'()*+;=]$/;zS=/^[[{\w-]$/;AS={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},PS={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
167
167
  `,r:"\r",t:"\t"};CS=/^\{\s*"([A-Za-z0-9_.$-]+)"\s*:\s*([\s\S]+?)\s*\}$/;LS=[(e)=>JSON.parse(e),(e)=>JSON.parse(DS(e)),RS];cI=Ho.enum(["reasoning","prompt-cache","tools","provider-tools","oauth","temperature","files","streaming","vision","computer-use","local-auth","popular"]),mI=Ho.enum(["anthropic","gemini","openai-chat","openai-responses","openai-r1","ai-sdk"]),fI=Ho.enum(["anthropic","ai-sdk","ai-sdk-community","openai","openai-compatible","openai-r1","gemini","bedrock","custom","fetch","vertex"]);Fr={production:{environment:"production",appBaseUrl:"https://app.cline.bot",apiBaseUrl:"https://api.cline.bot",mcpBaseUrl:"https://api.cline.bot/v1/mcp",workOsClientId:"client_01K3A541FN8TA3EPPHTD2325AR"},staging:{environment:"staging",appBaseUrl:"https://staging-app.cline.bot",apiBaseUrl:"https://core-api.staging.int.cline.bot",mcpBaseUrl:"https://core-api.staging.int.cline.bot/v1/mcp",workOsClientId:"client_01K3A5415VF6QBQBG3XYCW91G6"},local:{environment:"local",appBaseUrl:"http://localhost:3000",apiBaseUrl:"http://localhost:7777",mcpBaseUrl:"http://localhost:7777/v1/mcp",workOsClientId:"client_01K6XQAY7JK6T5HXVSZW2S5VYK"}};QI=["idle","running","pending","completed","failed","cancelled"],es=["rules","skills","workflows","plugins"],sh=es,qI=new Set(es);lh=u.object({rootPath:u.string().min(1),hint:u.string().min(1).optional(),associatedRemoteUrls:u.array(u.string().min(1)).optional(),latestGitCommitHash:u.string().min(1).optional(),latestGitBranchName:u.string().min(1).optional()}),dh=u.object({currentWorkspacePath:u.string().min(1).optional(),workspaces:u.record(u.string().min(1),lh)});ch=["current_state","boundary_analysis","interface_proposal"],ye=u.preprocess((e)=>e instanceof Date?e.toISOString():e,u.string().datetime()),yt=u.enum(["pending","in_progress","blocked","completed"]),mh=u.enum(["queued","running","completed","failed","cancelled","interrupted"]),Yn=u.enum(["draft","in_review","finalized"]),sx=u.object({agentId:u.string(),role:u.enum(["lead","teammate"]),description:u.string().optional(),status:u.enum(["idle","running","stopped"])}),ux=u.object({agentId:u.string(),rolePrompt:u.string(),modelId:u.string().optional(),maxIterations:u.number().optional()});lx=u.object({agentId:u.string().min(1).describe("Teammate identifier"),rolePrompt:u.string().min(1).describe("System prompt describing teammate role")}).strict(),dx=u.object({agentId:u.string().min(1).describe("Teammate identifier"),reason:L(u.string().min(1)).describe("Optional shutdown reason")}),cx=u.object({}),mx={create:["title","description"],list:[],claim:["taskId"],complete:["taskId","summary"],block:["taskId","reason"]},fx={create:["status","taskId","summary","reason"]},px=u.object({action:u.enum(["create","list","claim","complete","block"]),title:L(u.string().min(1)).describe("Task title"),description:L(u.string().min(1)).describe("Task details"),dependsOn:L(u.array(u.string().describe("Dependency task ID"))).describe("Array of dependency task IDs"),assignee:L(u.string().min(1)).describe("Optional assignee"),status:L(u.enum(["pending","in_progress","blocked","completed"])).describe("Optional task status filter"),taskId:L(u.string()).describe("Task ID"),summary:L(u.string().min(1)).describe("Completion summary"),reason:L(u.string().min(1)).describe("Blocking reason")}).superRefine((e,t)=>{for(let n of mx[e.action]){if(e[n]!==void 0)continue;t.addIssue({code:"custom",path:[n],message:`Field "${n}" is required when action=${e.action}`})}}),vx=u.object({agentId:u.string().describe("Teammate agent ID"),task:u.string().min(1).describe("Task instructions for the teammate"),taskId:L(u.string()).describe("Optional shared task list ID"),runMode:L(u.enum(["sync","async"])).describe("Execution mode: 'sync' blocks until the teammate finishes and returns the result (default if omitted); 'async' queues the run and returns a runId immediately — use team_await_runs to collect results later."),continueConversation:L(u.boolean()).describe("If true, continue the teammate conversation; otherwise start fresh")}),hx=u.object({status:L(u.enum(["queued","running","completed","failed","cancelled","interrupted"])).describe("Optional run status filter. Omit to include all statuses."),agentId:L(u.string().min(1)).describe("Optional teammate ID filter. Omit to include all teammates."),includeCompleted:L(u.boolean()).describe("Include completed/failed runs (default true)")}),gx=u.object({runId:u.string().min(1).describe("Run ID"),reason:L(u.string().min(1)).describe("Optional cancellation reason")}),yx=u.object({runId:L(u.string().min(1)).describe("Optional async run ID to await. Omit to wait for all active async runs.")}).strict(),bx=u.object({toAgentId:u.string().min(1).describe("Recipient agent ID"),subject:u.string().min(1).describe("Message subject"),body:u.string().min(1).describe("Message body"),taskId:L(u.string().min(1)).describe("Optional task ID context")}),$x=u.object({subject:u.string().min(1).describe("Message subject"),body:u.string().min(1).describe("Message body"),taskId:L(u.string().min(1)).describe("Optional task ID context")}),_x=u.object({unreadOnly:L(u.boolean()).describe("Only unread messages for read action (default true)")}),kx=u.object({kind:u.enum(["progress","handoff","blocked","decision","done","error"]),summary:u.string().min(1).describe("Update summary"),taskId:L(u.string().min(1)).describe("Optional task ID context"),evidence:L(u.array(u.string().min(1))).describe("Optional evidence links/snippets"),nextAction:L(u.string().min(1)).describe("Planned next step")}),wx=u.object({}),Sx=u.object({title:u.string().describe("Outcome title"),requiredSections:u.array(u.string()).default(ch).describe("Required sections for finalization gate (defaults to current_state,boundary_analysis,interface_proposal)")}),Ix=u.object({outcomeId:u.string().describe("Outcome ID"),section:u.string().describe("Section name"),sourceRunId:L(u.string()).describe("Optional source run ID"),content:u.string().describe("Section fragment content")}),xx=u.object({fragmentId:u.string().describe("Fragment ID"),approved:u.boolean().describe("Review decision")}),zx=u.object({outcomeId:u.string().describe("Outcome ID")}),Ux=u.object({}),Tx=u.object({teamId:u.string(),teamName:u.string(),members:u.array(sx),taskCounts:u.record(yt,u.number()),unreadMessages:u.number(),missionLogEntries:u.number(),activeRuns:u.number(),queuedRuns:u.number(),outcomeCounts:u.record(Yn,u.number())}),fh=u.object({id:u.string(),title:u.string(),description:u.string(),status:yt,createdAt:ye,updatedAt:ye,createdBy:u.string(),assignee:u.string().optional(),dependsOn:u.array(u.string()),summary:u.string().optional(),isReady:u.boolean(),blockedBy:u.array(u.string())}),jx=u.discriminatedUnion("action",[u.object({action:u.literal("create"),taskId:u.string(),status:yt,ignoredFields:u.array(u.string()).optional(),note:u.string().optional()}),u.object({action:u.literal("list"),tasks:u.array(fh)}),u.object({action:u.literal("claim"),taskId:u.string(),status:yt,nextStep:u.string()}),u.object({action:u.literal("complete"),taskId:u.string(),status:yt}),u.object({action:u.literal("block"),taskId:u.string(),status:yt})]),Ox=u.object({agentId:u.string(),mode:u.enum(["sync","async"]),status:u.enum(["dispatched","running","queued","joined"]),dispatched:u.boolean(),message:u.string(),deduped:u.boolean().optional(),runId:u.string().optional(),text:u.string().optional(),iterations:u.number().optional()}),ph=u.object({textPreview:u.string(),iterations:u.number(),finishReason:u.string(),durationMs:u.number(),usage:u.object({inputTokens:u.number(),outputTokens:u.number(),cacheReadTokens:u.number().optional(),cacheWriteTokens:u.number().optional(),totalCost:u.number().optional()})}),Nx=u.object({id:u.string(),agentId:u.string(),taskId:u.string().optional(),status:mh,messagePreview:u.string(),priority:u.number(),retryCount:u.number(),maxRetries:u.number(),nextAttemptAt:ye.optional(),continueConversation:u.boolean().optional(),startedAt:ye,endedAt:ye.optional(),leaseOwner:u.string().optional(),heartbeatAt:ye.optional(),lastProgressAt:ye.optional(),lastProgressMessage:u.string().optional(),currentActivity:u.string().optional(),error:u.string().optional(),resultSummary:ph.optional()}),Ex=u.object({id:u.string(),teamId:u.string(),fromAgentId:u.string(),toAgentId:u.string(),subject:u.string(),body:u.string(),taskId:u.string().optional(),sentAt:ye,readAt:ye.optional()}),Ax=u.object({id:u.string(),teamId:u.string(),title:u.string(),status:Yn,requiredSections:u.array(u.string()),createdBy:u.string(),createdAt:ye,finalizedAt:ye.optional()}),Px=u.object({outcomeId:u.string(),status:Yn,requiredSections:u.array(u.string())}),Dx=u.object({agentId:u.string(),status:u.string()}),Zx=u.object({runId:u.string(),status:mh}),Cx=u.object({id:u.string(),toAgentId:u.string()}),Rx=u.object({delivered:u.number()}),Lx=u.object({id:u.string()}),Jx=u.object({status:u.string()}),Mx=u.object({fragmentId:u.string(),status:u.string()}),Fx=u.object({outcomeId:u.string(),status:Yn});((e)=>{e.TaskStart="task_start",e.TaskEnd="task_end",e.AgentEvent="agent_event",e.TeammateSpawned="teammate_spawned",e.TeammateShutdown="teammate_shutdown",e.TeamTaskUpdated="team_task_updated",e.TeamMessage="team_message",e.TeamMissionLog="team_mission_log",e.TeamTaskCompleted="team_task_completed",e.RunStarted="run_started",e.RunQueued="run_queued",e.RunProgress="run_progress",e.RunCompleted="run_completed",e.RunFailed="run_failed",e.RunCancelled="run_cancelled",e.RunInterrupted="run_interrupted",e.OutcomeCreated="outcome_created",e.OutcomeFragmentAttached="outcome_fragment_attached",e.OutcomeFragmentReviewed="outcome_fragment_reviewed",e.OutcomeFinalized="outcome_finalized"})(vh||={});hh=["401","403","unauthorized","forbidden","invalid token","expired token","authentication"];qx=new Set(["accesskeyid","secretaccesskey","idtoken","refreshtoken","accesstoken","access_token","refresh_token","apikey","api_key","authorization","password","secret","token","email","displayname","display_name","userinfo"]),e0=["id","balance","cost","secret"];i0=[{pattern:/AKIA[A-Z0-9]{16}/g,replacement:"AKIA_REDACTED"},{pattern:/\/Users\/[A-Za-z0-9._-]+/g,replacement:"/Users/REDACTED_USER"},{pattern:/\/home\/[A-Za-z0-9._-]+/g,replacement:"/home/REDACTED_USER"}];r0=[{pattern:/tasks\/[A-Za-z0-9._-]+\/[A-Za-z0-9._-]+\/api_conversation_history/g,replacement:"tasks/usr-test/taskid/api_conversation_history"},{pattern:/\/(org|usr|mbr|ses|gen|req|msg|tsk|sch|exe|srv|cli|wkr|evt|sub|tkn)-[A-Za-z0-9]{10,}(?=[/?#]|$)/g,replacement:"/$1-REDACTED"}]});function ot(e){let t=new Set(["no output generated. check the stream for errors."]),n=(o)=>t.has(o.trim().toLowerCase()),r=(o)=>{let s=o;if(typeof s.error==="string"&&s.error.trim())return s.error;if(s.error&&typeof s.error==="object"&&typeof s.error.message==="string"&&s.error.message.trim())return s.error.message;if(typeof s.detail==="string"&&s.detail.trim())return s.detail;if(Array.isArray(s.errors))for(let d of s.errors){let l=i(d);if(l)return l}if("responseBody"in s&&s.responseBody!==o){let d=i(s.responseBody);if(d)return d}return},i=(o)=>{if(!o)return;if(typeof o==="string")try{return i(JSON.parse(o))}catch{return o.trim()||void 0}if(typeof o!=="object")return;if(o instanceof Error){let l=o.message.trim(),c=r(o),m=o.cause,v=i(m);if(l&&n(l))return c??v??void 0;if(c&&c!==l)return c;if(v&&l&&v!==l){let p=m instanceof Error&&m.name&&m.name!=="Error"?`${m.name}: `:"",g=m&&typeof m==="object"&&"code"in m?m.code:void 0,$=typeof g==="string"&&g.trim()?` (${g})`:"";return`${l}: ${p}${v}${$}`}return v??(l||void 0)}let s=r(o);if(s)return s;let d=o;if("cause"in d&&d.cause!==o){let l=i(d.cause);if(l)return l}if(typeof d.message==="string"&&d.message.trim())return d.message;return},a=i(e);if(a)return a;return String(e)}function F(e){let t=e.model.metadata?.family;return typeof t==="string"?t:void 0}function pe(e){let t=e?.trim().toLowerCase();return t?t:void 0}function is(e){return pe(F(e))??""}function Vn(e){return pe(e.modelId)??""}function Qn(e){return[e.request.modelId,e.context.model.id,e.context.model.name,e.context.model.metadata?.family].filter(Boolean).join(" ").toLowerCase()}function h0(e,t){let n=pe(e.config.baseUrl??e.provider.api)?.replace(/\/+$/,"");if(!n)return!1;try{return new URL(n).origin.toLowerCase()===t}catch{return n===t||n.startsWith(`${t}/`)}}function Ih(e){let t=pe(e);return t?t.includes("anthropic")||t.includes("claude"):!1}function g0(e){return pe(e)?.includes("claude")??!1}function ts(e){let t=pe(e);return t?/(^|[/:._-])qwen(?:$|[/:._-]|\d)/.test(t):!1}function ee(e){let t=pe(e.family);if(t)return Ih(t);return y0(e.modelId)}function y0(e){if(!e)return!1;return Ih(e)}function xh(e){if(!e)return!1;return g0(e)}function Ot(e){let t=pe(e.family);if(ts(t))return!0;return ts(e.modelId)}function ns(e){return/(^|[/\s])gemini-3([.-]|$)/.test(Qn(e))}function zh(e){return/(^|[/\s])gemini-2\.5-pro([-\s]|$)/.test(Qn(e))}function Uh(e){let t=Qn(e);return/(^|[/\s])gemini-(?:\d(?:\.\d)?-)?flash(?:-lite|-image)?([-\s]|$)/.test(t)||t.includes("gemini-flash")}function Th(e){let t=Qn(e);return ns(e)||/(^|[/\s])gemini-2\.5([-\s]|$)/.test(t)||t.includes("gemini-flash-latest")}function b0(e,t){let n=pe(e),r=pe(t);if(!n||!r)return!1;if(n===r)return!0;return r==="qwen"?ts(n):!1}function qn(e,t){if("requiredCapability"in e&&e.requiredCapability&&!t.capabilities?.includes(e.requiredCapability))return!1;switch(e.matcher){case"anthropic-compatible":return ee(t);case"model-family":return b0(t.family,e.family);case"model-id":return pe(t.modelId)===pe(e.modelId)}}function rs(e,t,n){let r=n.provider.metadata?.routing?.reasoning;if(r?.format!==e)return!1;return r.routes.some((i)=>qn(i,{modelId:t.modelId,family:F(n),capabilities:n.model.capabilities}))}function er(e,t){return is(t).includes("glm")||Vn(e).includes("glm")}function jh(e,t){let n=Vn(e);return n==="minimax-m3"||n==="minimax/minimax-m3"}function Oh(e){return is(e)==="kimi-k2.6"}function Nh(e){return Vn(e).includes("moonshotai/kimi-")}function Eh(e){return is(e).includes("deepseek")}function $0(e){let t=e.model.metadata?.reasoningDefaultOn;return typeof t==="boolean"?t:void 0}function _0(e){return e.providerId==="ollama"&&Vn(e).includes("qwen3")}function Ah(e,t){return[e.providerId,t.config.providerId,t.provider.id].map((r)=>r.toLowerCase()).includes("cerebras")||h0(t,"https://api.cerebras.ai")}function Ph(e){return $0(e.context)??_0(e.request)}import{createHash as k0}from"node:crypto";import{existsSync as w0,mkdirSync as S0,readdirSync as I0,renameSync as x0,rmSync as Lh,statSync as z0,writeFileSync as U0}from"node:fs";import{join as Jh,resolve as Dh}from"node:path";function j0(){let e=process.env.CLINE_CAPTURE_PROVIDER_REQUEST?.trim().toLowerCase();if(e==="summary"||e==="full")return e;return"off"}function O0(){return process.env.CLINE_CAPTURE_WIRE?.trim().toLowerCase()==="true"}function N0(){let e=Number(process.env.CLINE_CAPTURE_MAX_PREVIEW_BYTES);return Number.isFinite(e)&&e>0?Math.floor(e):Mh}function E0(){return process.env.CLINE_CAPTURE_CLEANUP?.trim().toLowerCase()!=="off"}function A0(){let e=process.env.CLINE_CAPTURE_DIR?.trim();if(e)return Dh(e);let t=process.env.CLINE_DATA_DIR?.trim();if(t)return Dh(t,"provider-request-captures");return}function Nt(e){let t=new WeakSet;try{return JSON.stringify(e,(n,r)=>{if(typeof r==="bigint")return r.toString();if(typeof r!=="object"||r===null)return r;if(t.has(r))return"[Circular]";return t.add(r),r})??""}catch{return String(e??"")}}function Ti(e){return k0("sha256").update(e).digest("hex")}function Oe(e){return Buffer.byteLength(e,"utf8")}function P0(e,t=Mh){let n=Nt(e);if(Oe(n)<=t)return e;let i=Buffer.from(n,"utf8").subarray(0,t).toString("utf8");while(Oe(i)>t)i=i.slice(0,-1);return{truncated:!0,bytes:Oe(n),sha256:Ti(n),preview:i}}function Rh(e){let t=typeof e==="string"?e:Nt(e);return{bytes:Oe(t),estimatedTokens:rt(Oe(t)),sha256:Ti(t),kind:Array.isArray(e)?"array":typeof e}}function D0(e){if(!Array.isArray(e))return Rh(e);let t={},n=0,r=0,i=e.map((s,d)=>{let l=s&&typeof s==="object"?s:{},c=typeof l.role==="string"?l.role:"unknown";t[c]=(t[c]??0)+1;let m=l.content,v=Array.isArray(m)?m:[m];for(let g of v){if(!g||typeof g!=="object")continue;let $=g.type;if($==="reasoning")n+=1;if($==="tool-result"||c==="tool")r+=1}let p=Rh(m);return{index:d,role:c,contentParts:v.length,contentBytes:p.bytes,estimatedTokens:p.estimatedTokens,sha256:p.sha256}}),a=[...i].sort((s,d)=>d.contentBytes-s.contentBytes).slice(0,5).map((s)=>({...s})),o=Nt(e);return{messageCount:e.length,roleCounts:t,totalBytes:Oe(o),estimatedTokens:rt(Oe(o)),sha256:Ti(o),reasoningBlockCount:n,toolResultCount:r,largestMessages:a,messages:i}}function Z0(e){if(typeof e!=="string")return;let t=e.trim();if(!t.startsWith("{")&&!t.startsWith("["))return;try{return JSON.parse(t)}catch{return}}function C0(e){if("messages"in e)return e.messages;let t=e.body,n=Z0(t);if(n&&typeof n==="object"){let r=n;if("messages"in r)return r.messages;if("prompt"in r)return r.prompt;if("contents"in r)return r.contents}return}function R0(e){return{...e.metadata&&typeof e.metadata==="object"?e.metadata:{},providerId:e.providerId,modelId:e.modelId}}function as(e){if(typeof e!=="string"&&typeof e!=="number")return;let t=String(e).trim();if(!t)return;return t.replace(/[^a-zA-Z0-9_-]+/g,"_").replace(/^_+|_+$/g,"")||void 0}function L0(e){let t=as(e.captureId);if(t)return t;let n=Ti(Nt(e)).slice(0,16),r=as(e.runId),i=as(e.iteration);return["cap",r,i,n].filter(Boolean).join("_")}function J0(e,t){let n=`${e}:${t}`,r=(Ch.get(n)??0)+1;return Ch.set(n,r),r}function M0(e){if(!E0()||Zh.has(e))return;Zh.add(e);try{let t=Date.now()-T0;for(let n of I0(e)){if(!n.endsWith(os)&&!(n.includes(os)&&n.endsWith(Fh)))continue;let r=Jh(e,n);if(z0(r).mtimeMs<t)Lh(r,{force:!0})}}catch{}}function F0(e){try{let t=A0();if(!t)return;S0(t,{recursive:!0}),M0(t);let n=e.correlation&&typeof e.correlation==="object"?e.correlation:{},r=L0(n),i=e.captureStage==="ai_sdk_prompt"||e.captureStage==="wire_request"?e.captureStage:"ai_sdk_prompt",a=J0(r,i),o=Jh(t,`${r}.${i}.${a}${os}`),s=`${o}.${process.pid}.${Date.now()}${Fh}`;if(U0(s,`${Nt({...e,attempt:a})}
168
- `,{encoding:"utf8",mode:384}),x0(s,o),w0(s))Lh(s,{force:!0})}catch{}}function ss(e){try{let t=j0();if(t==="off")return;let n=e.payload&&typeof e.payload==="object"?e.payload:{value:e.payload},r=C0(n),i=Nt(e.payload);F0({timestamp:new Date().toISOString(),captureStage:e.stage,mode:t,correlation:R0(e.request),summary:{payloadBytes:Oe(i),estimatedTokens:rt(Oe(i)),sha256:Ti(i),messages:D0(r)},...t==="full"?{payload:P0(e.payload,N0())}:{}})}catch{}}async function B0(e,t){let n=t?.body;if(n!==void 0&&n!==null){if(typeof n==="string")return n;if(n instanceof URLSearchParams)return n.toString();if(n instanceof ArrayBuffer)return Buffer.from(n).toString("utf8");if(ArrayBuffer.isView(n))return Buffer.from(n.buffer,n.byteOffset,n.byteLength).toString("utf8");return{type:n.constructor?.name??typeof n}}if(e instanceof Request)try{return await e.clone().text()}catch{return{type:"Request",bodyReadable:!1}}return}function Bh(e,t){if(!O0())return e;let n=e??globalThis.fetch;if(!n)return e;let r=async(a,o)=>{return B0(a,o).then((s)=>{ss({stage:"wire_request",request:t,payload:{url:a instanceof Request?a.url:String(a),method:o?.method??(a instanceof Request?a.method:void 0)??"GET",body:s}})}).catch(()=>{}),n(a,o)},i=n;if(typeof i.preconnect==="function")r.preconnect=i.preconnect.bind(n);return r}var Mh=65536,os=".provider-request.json",Fh=".tmp",T0=86400000,Zh,Ch;var Wh=M(()=>{we();Zh=new Set,Ch=new Map});function tr(e){return e.replace(/-([a-z0-9])/gi,(t,n)=>n.toUpperCase())}function Be(){return{cache_control:{type:"ephemeral"}}}function We(e){let{providerId:t,providerOptionsKey:n,bucketOptions:r}=e,i=n!==t&&n!=="anthropic";return{[t]:r,...i?{[n]:r}:{}}}function ir(e){let t={thinking:{type:e.thinkingType}};return{...We({providerId:e.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:t}),openaiCompatible:t}}function ls(e){let t=e?.promptCacheRoutes??[us],n=e?.reasoningRoutes??[us];return{routing:{...t.length>0?{promptCache:{format:"anthropic-cache-control",routes:t.map((r)=>({...r}))}}:{},...n.length>0?{reasoning:{format:"anthropic-thinking",routes:n.map((r)=>({...r}))}}:{}}}}function Kh(e,t){let n={openaiCompatible:Be(),[e]:Be()},r=tr(e);if(r!==e)n[r]=Be();if(t)n.anthropic=Be();return n}function Gh(e,t,n){if(!e)return;let r=e.content;if(typeof r==="string"){let a=[{type:"text",text:r,providerOptions:Kh(t,n)}];if(!n)a.push({type:"text",text:" "});e.content=a;return}if(!Array.isArray(r))return;let i=r.filter((a)=>a&&typeof a==="object"&&a.type==="text").length;for(let a=r.length-1;a>=0;a--){let o=r[a];if(o&&typeof o==="object"&&o.type==="text"){let s=i===1&&!n;if(r[a]={...o,providerOptions:Kh(t,n)},s)r.push({type:"text",text:" "});return}}}function At(e,t){return Yh(e,t)!==void 0}function H0(e,t){return Yh(e,t)?.matcher==="anthropic-compatible"}function Xh(e){return e.metadata?.promptCacheStrategy==="anthropic-automatic"?"anthropic-automatic":void 0}function G0(e,t){if(Xh(t.provider)!=="anthropic-automatic")return;let n=F(t);if(ee({modelId:e.modelId,family:n}))return{matcher:"anthropic-compatible"};if(Ot({modelId:e.modelId,family:n}))return n?{matcher:"model-family",family:n}:{matcher:"model-id",modelId:e.modelId};return}function X0(e,t){if(Xh(t.provider)!=="anthropic-automatic")return;let n=F(t);return ee({modelId:e.modelId,family:n})?{matcher:"anthropic-compatible"}:void 0}function Y0(e,t){if(t.provider.metadata?.routing)return;let n=F(t);return ee({modelId:e.modelId,family:n})?{matcher:"anthropic-compatible"}:void 0}function Yh(e,t){let n=t.provider.metadata?.routing?.promptCache;if(n){if(n.format!=="anthropic-cache-control")return;return n.routes.find((r)=>qn(r,{modelId:e.modelId,family:F(t),capabilities:t.model.capabilities}))}return G0(e,t)}function ji(e,t){let n=t.provider.metadata?.routing?.reasoning;if(!n)return X0(e,t)??Y0(e,t);if(n.format!=="anthropic-thinking")return;return n.routes.find((r)=>qn(r,{modelId:e.modelId,family:F(t),capabilities:t.model.capabilities}))}function V0(e){let t=e.model.capabilities;return!t||t.includes("reasoning")}function Q0(e,t){let n=t?.toLowerCase()??"",r=e?.toLowerCase()??"";if(n.includes("opus")||r.includes("opus"))return"opus";if(n.includes("sonnet")||r.includes("sonnet"))return"sonnet";if(n.includes("haiku")||r.includes("haiku"))return"haiku";return}function q0(e){let t=e?.toLowerCase()??"",n=/claude-(\d+)[.-](\d{1,2})-(?:opus|sonnet|haiku)/i.exec(t),i=/claude-(?:opus|sonnet|haiku)-(.+)/i.exec(t)?.[1]?.match(/\d+/g)??[],a=n?.[1]??i[0],o=n?.[2]??(i[1]?.length<=2?i[1]:void 0);if(!a||!o)return;let s=Number.parseInt(a,10),d=Number.parseInt(o,10);if(!Number.isFinite(s)||!Number.isFinite(d))return;return{major:s,minor:d}}function e6(e){let t=Q0(e.modelId,e.family),n=q0(e.modelId);if(!t||!n)return!1;if(n.major!==4)return n.major>4;return(t==="opus"||t==="sonnet")&&n.minor>=6}function Ke(e,t){let n=F(t);if(!ji(e,t)||!V0(t))return{kind:"none"};return e6({modelId:e.modelId,family:n})?{kind:"anthropic-adaptive"}:{kind:"anthropic-manual"}}function Vh(e,t){let n=Ke(e,t),i=e.reasoning?.enabled===!0||e.reasoning?.effort!==void 0||typeof e.reasoning?.budgetTokens==="number"&&e.reasoning.budgetTokens>0?n.kind==="anthropic-adaptive"?{type:"adaptive"}:n.kind==="anthropic-manual"?{type:"enabled",budgetTokens:cs({modelId:e.modelId,family:F(t),effort:e.reasoning?.effort,maxTokens:e.maxTokens,explicitBudgetTokens:e.reasoning?.budgetTokens})}:void 0:void 0;return{...n.kind==="anthropic-adaptive"&&e.reasoning?.effort?{effort:e.reasoning.effort}:{},...i?{thinking:i}:{},...H0(e,t)?Be():{}}}function cs(e){if(typeof e.explicitBudgetTokens==="number"&&e.explicitBudgetTokens>0)return e.explicitBudgetTokens;if(!e.modelId&&!e.family||!ee({modelId:e.modelId,family:e.family}))return;if(!e.effort)return Et;if(typeof e.maxTokens!=="number")return Et;if(e.maxTokens<=Et)return Et;let t=K0[e.effort];if(!t)return Et;let n=Math.min(e.maxTokens-1,W0);return Math.max(Et,Math.floor(n*t))}function Qh(e,t){let n=Ke(e,t);if(n.kind==="none"||!e.reasoning?.enabled&&!e.reasoning?.effort&&typeof e.reasoning?.budgetTokens!=="number")return;let r=cs({modelId:e.modelId,family:F(t),effort:e.reasoning?.effort,maxTokens:e.maxTokens,explicitBudgetTokens:e.reasoning?.budgetTokens}),i={};if(e.reasoning?.enabled===!0)i.enabled=!0;if(n.kind==="anthropic-adaptive"&&e.reasoning?.effort)i.effort=e.reasoning.effort;if(typeof e.reasoning?.budgetTokens==="number")i.max_tokens=e.reasoning.budgetTokens;else if(n.kind==="anthropic-manual"&&typeof r==="number"&&r>=0)i.max_tokens=r;return Object.keys(i).length>0?i:void 0}function qh(e,t){if(e.reasoning?.enabled===void 0&&!e.reasoning?.effort&&typeof e.reasoning?.budgetTokens!=="number")return;let n=Ke(e,t),r=ji(e,t),i=F(t),a=n.kind==="none"&&r!==void 0,o=n.kind==="none"&&r===void 0&&(At(e,t)||Ot({modelId:e.modelId,family:i})||ee({modelId:e.modelId,family:i}));if(a||o)return;let s=n.kind==="anthropic-manual"?cs({modelId:e.modelId,family:i,effort:e.reasoning?.effort,maxTokens:e.maxTokens,explicitBudgetTokens:e.reasoning?.budgetTokens}):e.reasoning?.budgetTokens,d=e.reasoning?.enabled===!1&&!t6(e.modelId),l={...e.reasoning?.enabled===!0?{enabled:!0}:d?{enabled:!1}:e.reasoning?.effort?{enabled:!0}:{},...e.reasoning?.effort&&n.kind!=="anthropic-manual"?{effort:e.reasoning.effort}:{}};if(typeof s==="number"&&s>=0)l.max_tokens=s;return Object.keys(l).length>0?l:void 0}function t6(e){let t=e.toLowerCase();return t.includes("claude-fable")||t.includes("stepfun/step-3.7-flash")}var Et=1024,W0=128000,K0,us,Hh,st,ds,nr;var Pt=M(()=>{K0={low:0.2,medium:0.5,high:0.8},us={matcher:"anthropic-compatible"},Hh={matcher:"model-family",family:"qwen",requiredCapability:"prompt-cache"};st=ls(),ds=ls({promptCacheRoutes:[Hh],reasoningRoutes:[]}),nr=ls({promptCacheRoutes:[us,Hh]})});function ms(e){return["openai-native","openai"].includes(e.providerId)?{truncation:"auto"}:{}}function i6(e){let{request:t,context:n,suppressions:r}=e;if(r.genericThinking)return{};if(t.reasoning?.enabled!==!0)return{};let i=F(n),a=Ke(t,n),o=ji(t,n)!==void 0,s=At(t,n),d=ee({modelId:t.modelId,family:i}),l=Ot({modelId:t.modelId,family:i});if(!o&&(s||l||d))return{};if(o&&a.kind!=="anthropic-adaptive")return{};return{thinking:{type:"adaptive"}}}function n6(e){let t=e.reasoning?.effort;if(e.suppressions.genericEffort||!t||e.reasoning?.enabled===!1||e.suppressEffortOptions)return{};if(!(!e.usesAnthropicReasoningRoute||e.anthropicReasoningPolicyKind==="anthropic-adaptive"))return{};return{effort:t,reasoningEffort:t,...e.usesAnthropicReasoningRoute?{}:{reasoningSummary:"auto"}}}function eg(e){let{request:t,context:n,target:r,suppressions:i}=e,a=F(n),o=Ke(t,n),s=ji(t,n)!==void 0,d=At(t,n),l=ee({modelId:t.modelId,family:a}),c=Ot({modelId:t.modelId,family:a}),m=!s&&(d||c||l),v=Qh(t,n),p=d?Be():{};return{...r==="openai-compatible"?{strictJsonSchema:!1}:{},...i6({request:t,context:n,suppressions:i}),...n6({reasoning:t.reasoning,usesAnthropicReasoningRoute:s,suppressEffortOptions:m,suppressions:i,anthropicReasoningPolicyKind:o.kind}),...v?{reasoning:v}:{},...p,...ms(t)}}var fs=M(()=>{Pt()});function r6(e){if(e.reasoning?.enabled===void 0)return;return{thinking:{type:e.reasoning.enabled?"enabled":"disabled"}}}function a6(e){if(e.reasoning?.enabled===!0)return{reasoning:{enabled:!0}};if(e.reasoning?.enabled===!1)return{reasoning:{exclude:!0}};return}function tg(e,t){let n=r6(e);return n?{openaiCompatible:n,[e.providerId]:n,...t!==e.providerId?{[t]:n}:{}}:void 0}function ig(e,t,n,r){if(!er(e,t))return;let i=a6(e);if(!i)return;return{openaiCompatible:i,...r?.includeProviderBuckets===!1?{}:{[e.providerId]:i,...n!==e.providerId?{[n]:i}:{}}}}var ps;var vs=M(()=>{ps={routing:{reasoning:{format:"glm-thinking",routes:[{matcher:"model-family",family:"glm"},{matcher:"model-family",family:"glm-air"},{matcher:"model-family",family:"glm-flash"}]}}}});function o6(e){if(e.reasoning?.enabled===!0)return{thinking:{type:"adaptive"}};if(e.reasoning?.enabled===!1)return{thinking:{type:"disabled"}};return}function s6(e){if(e.reasoning?.enabled===!0)return{reasoning:{enabled:!0}};if(e.reasoning?.enabled===!1)return{reasoning:{exclude:!0}};return}function rg(e,t){let n=o6(e);if(!n)return;return{openaiCompatible:n,[e.providerId]:n,...t!==e.providerId?{[t]:n}:{}}}function ag(e,t){let n=s6(e);return n?We({providerId:e.providerId,providerOptionsKey:t,bucketOptions:n}):void 0}var ng;var hs=M(()=>{ng={routing:{promptCache:{format:"anthropic-cache-control",routes:[{matcher:"anthropic-compatible"}]},reasoning:{format:"minimax-thinking",routes:[{matcher:"model-id",modelId:"MiniMax-M3",requiredCapability:"reasoning"}]}}}});function u6(e){return e?.enabled!==void 0||!!e?.effort||typeof e?.budgetTokens==="number"}function og(e){let t=e.reasoning;if(!u6(t))return;if(t?.enabled===!1)return{effort:"none"};if(typeof t?.budgetTokens==="number")return{max_tokens:t.budgetTokens};if(t?.effort)return{effort:t.effort};if(t?.enabled===!0)return{enabled:!0};return}function sg(e){return Oh(e.context)}function l6(e){return Nh(e.request)}function d6(e){return Eh(e.context)||e.request.providerId==="deepseek"}function ug(e){return jh(e.request,e.context)}function lg(e){return e.request.providerId==="ollama"&&e.request.reasoning?.enabled===!1&&Ph({request:e.request,context:e.context})}function gs(e){return rs("glm-thinking",e.request,e.context)}function c6(e){return e.context.provider.metadata?.routing?.reasoning?.format==="glm-thinking"}function m6(e){return rs("minimax-thinking",e.request,e.context)}function dg(e,t){let n=e.request.reasoning?.enabled;if(n===!0)return"enabled";if(n===!1)return"disabled";return t}function cg(e,t){if(!t)return;return We({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:{reasoning:t}})}function p6(e){let t=e.request.reasoning;if(!t)return;if(ns(e)){if(t.enabled===!1)return{thinkingLevel:Uh(e)?"minimal":"low",includeThoughts:!1};if(!t.effort)return;return{thinkingLevel:t.effort,includeThoughts:!0}}if(t.enabled===!1)return{thinkingBudget:zh(e)?128:0,includeThoughts:!1};if(typeof t.budgetTokens==="number")return{thinkingBudget:t.budgetTokens,includeThoughts:!0};if(!t.effort)return;return{thinkingBudget:f6[t.effort],includeThoughts:!0}}function fg(e,t){let n=[];for(let r of e)if(r.applies(t))n.push({rule:r});return n}function pg(e){return e.reduce((t,{rule:n})=>{if(!n.suppresses)return t;return{genericThinking:t.genericThinking||n.suppresses.genericThinking||void 0,genericEffort:t.genericEffort||n.suppresses.genericEffort||void 0,genericFanout:t.genericFanout||n.suppresses.genericFanout||void 0}},{})}function vg(e,t){return e.map(({rule:n})=>n.build(t))}var f6,v6,h6,g6,y6,b6,$6,_6,k6,w6,S6,I6,x6,z6,U6,T6,j6,O6,N6,mg;var hg=M(()=>{we();Pt();fs();vs();hs();f6={low:1024,medium:8192,high:24576};v6={id:"provider.anthropic.direct",phase:"provider",description:"Direct Anthropic owns the anthropic bucket built by the base patch.",applies:(e)=>e.request.providerId==="anthropic",suppresses:{genericFanout:!0},build:()=>{return}},h6={id:"provider.google.direct",phase:"provider",description:"Direct Google owns the google bucket through Gemini thinkingConfig.",applies:(e)=>e.request.providerId==="google",suppresses:{genericFanout:!0},build:()=>{return}},g6={id:"adapter.openai",phase:"adapter",description:"OpenAI adapter targets the AI SDK openai bucket, not provider-id buckets.",applies:(e)=>e.target==="openai",build:(e)=>({openai:{strictJsonSchema:!1,...ms(e.request)}})},y6={id:"provider.openai-codex",phase:"provider",description:"Codex CLI uses OpenAI Responses options plus provider-id aliases.",applies:(e)=>e.request.providerId==="openai-codex",suppresses:{genericFanout:!0},build:(e)=>{let t={...e.compatibleOptions,instructions:e.request.systemPrompt,store:!1,strictJsonSchema:!1,systemMessageMode:"remove"};return{openai:t,...We({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:t})}}},b6={id:"provider.generic-fanout",phase:"provider-fanout",description:"Default OpenAI-compatible providers receive provider-id and camelCase alias buckets.",applies:(e)=>e.target!=="openai",build:(e)=>e.suppressions.genericFanout?void 0:We({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:e.compatibleOptions})},$6={id:"provider.cline.reasoning",phase:"provider-reasoning",description:"Cline gateway accepts the shared gateway reasoning shape.",applies:(e)=>jt(e.request.providerId),build:(e)=>cg(e,qh(e.request,e.context))},_6={id:"provider.openrouter.reasoning",phase:"provider-reasoning",description:"OpenRouter expects reasoning controls under its first-class reasoning object.",applies:(e)=>e.request.providerId==="openrouter",suppresses:{genericThinking:!0,genericEffort:!0},build:(e)=>cg(e,og(e.request))},k6={id:"provider.cline.minimax-m3.gateway-reasoning",phase:"provider-reasoning",description:"Cline-routed MiniMax M3 keeps the gateway reasoning shape instead of leaking generic thinking.",applies:(e)=>jt(e.request.providerId)&&ug(e),suppresses:{genericThinking:!0,genericEffort:!0},build:()=>{return}},w6={id:"provider.vercel-ai-gateway.minimax-m3.gateway-reasoning",phase:"provider-reasoning",description:"Vercel-routed MiniMax M3 uses the gateway reasoning include/exclude shape.",applies:(e)=>e.request.providerId==="vercel-ai-gateway"&&ug(e),suppresses:{genericThinking:!0,genericEffort:!0},build:(e)=>ag(e.request,e.providerOptionsKey)},S6={id:"provider.google-gemini.thinking-config",phase:"provider",description:"Google/Gemini/Vertex maps reasoning to thinkingConfig.",suppresses:{genericThinking:!0,genericEffort:!0},applies:(e)=>(e.request.providerId==="google"||e.request.providerId==="gemini"||e.request.providerId==="vertex")&&Th(e)&&(!!e.request.reasoning?.effort||typeof e.request.reasoning?.budgetTokens==="number"||e.request.reasoning?.enabled===!1),build:(e)=>{let t=e.request.providerId==="vertex"?"vertex":"google",n=p6(e);if(!n)return;return{[t]:{thinkingConfig:n}}}},I6={id:"provider.cline.disable-thinking",phase:"provider",description:"Cline-routed non-Kimi-K2.6 Moonshot Kimi models use thinking.type=disabled when reasoning is disabled.",applies:(e)=>jt(e.request.providerId)&&l6(e)&&e.request.reasoning?.enabled===!1&&!sg(e),build:(e)=>ir({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,thinkingType:"disabled"})},x6={id:"family.kimi-k2.6.thinking",phase:"model-family",description:"Kimi K2.6 uses thinking.type and defaults to enabled when reasoning is unset.",applies:(e)=>sg(e)&&e.request.providerId!=="openrouter",suppresses:{genericThinking:!0},build:(e)=>{let t=dg(e,"enabled");return t?ir({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,thinkingType:t}):void 0}},z6={id:"family.deepseek.thinking",phase:"model-family",description:"DeepSeek models use thinking.type only for explicit reasoning enabled/disabled.",applies:(e)=>e.request.providerId!=="openrouter"&&d6(e)&&!lg(e),suppresses:{genericThinking:!0},build:(e)=>{let t=dg(e,void 0);return t?ir({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,thinkingType:t}):void 0}},U6={id:"provider.ollama.reasoning-default-on.disable-none",phase:"provider-reasoning",description:"Ollama models whose reasoning defaults on need reasoningEffort=none when request reasoning is disabled.",applies:lg,build:(e)=>{let t={reasoningEffort:"none",reasoning:{effort:"none"}};return{...We({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:t}),openaiCompatible:t}}},T6={id:"provider.routing.glm-thinking.non-glm.suppress-generic-thinking",phase:"provider",description:"Providers with GLM thinking routing should not apply generic adaptive thinking to non-GLM models.",applies:(e)=>c6(e)&&e.request.reasoning?.enabled!==void 0&&!gs(e),suppresses:{genericThinking:!0},build:()=>{return}},j6={id:"provider.routing.glm-thinking",phase:"model-overlay",description:"Providers routed to the GLM thinking format use thinking.type.",applies:gs,suppresses:{genericThinking:!0},build:(e)=>tg(e.request,e.providerOptionsKey)},O6={id:"provider.routing.minimax-thinking",phase:"model-overlay",description:"Direct MiniMax M3 uses thinking.type adaptive/disabled.",applies:m6,suppresses:{genericThinking:!0,genericEffort:!0},build:(e)=>rg(e.request,e.providerOptionsKey)},N6={id:"family.glm.routed-reasoning",phase:"model-overlay",description:"Routed GLM models use the generic reasoning include/exclude shape, not thinking.type.",applies:(e)=>!gs(e)&&er(e.request,e.context),suppresses:{genericThinking:!0},build:(e)=>ig(e.request,e.context,e.providerOptionsKey,{includeProviderBuckets:e.request.providerId!=="openrouter"})},mg=[v6,h6,g6,y6,b6,$6,_6,k6,w6,S6,I6,x6,z6,U6,T6,j6,O6,N6]});function gg(e){switch(e){case"openai-native":return"openai";case"anthropic":return"anthropic";case"google":case"gemini":return"google";case"vertex":return"vertex";case"bedrock":return"bedrock";case"mistral":return"mistral";case"claude-code":return"claude-code";case"openai-codex":return"openai-codex";case"opencode":return"opencode";case"dify":return"dify";case"sapaicore":return"sapaicore";default:return"openai-compatible"}}function E6(e){let t={};for(let n of e){if(!n)continue;for(let[r,i]of Object.entries(n))t[r]={...t[r]??{},...i}}return t}function A6(e,t){return{anthropic:t,openaiCompatible:e}}function yg(e,t,n=gg(e.providerId)){let r=tr(e.providerId),i=F(t),a=ee({modelId:e.modelId,family:i}),o=a?Ke(e,t):void 0,s={request:e,context:t,providerOptionsKey:r,target:n,isAnthropicCompatibleModelId:a,anthropicReasoningPolicyKind:o?.kind},d=fg(mg,s),l=pg(d),c=eg({request:e,context:t,target:n,suppressions:l}),m=Vh(e,t),v={...s,compatibleOptions:c,anthropicOptions:m,suppressions:l};return E6([A6(c,m),...vg(d,v)])}var bg=M(()=>{Pt();fs();hg()});var Sg={};he(Sg,{resetLangfuseTelemetryForTests:()=>R6,hasLangfuseTelemetryConfig:()=>kg,ensureLangfuseTelemetry:()=>P6,disposeLangfuseTelemetry:()=>wg,debugLangfuse:()=>be});function _g(){let e=process?.env,t=e?.LANGFUSE_BASE_URL?.trim(),n=e?.LANGFUSE_PUBLIC_KEY?.trim(),r=e?.LANGFUSE_SECRET_KEY?.trim();if(!t||!n||!r)return;return{baseUrl:t,publicKey:n,secretKey:r}}function kg(){return _g()!==void 0}async function P6(e){if(!kg())return!1;if(ut!==void 0)return be(`cached readiness=${String(ut)}`),ut;if(!rr)rr=D6();return ut=await rr,be(`initialized readiness=${String(ut)}`),ut}async function D6(){let{registerDisposable:e}=await Promise.resolve().then(() => (we(),Sh));e(wg);let t=_g();if(!t)return!1;try{let[{LangfuseSpanProcessor:n},{trace:r},{NodeTracerProvider:i}]=await Promise.all([import("@langfuse/otel"),import("@opentelemetry/api"),import("@opentelemetry/sdk-trace-node")]),a=new n({baseUrl:t.baseUrl,publicKey:t.publicKey,secretKey:t.secretKey});be(`creating span processor baseUrl=${t.baseUrl}`);let o=r.getTracerProvider();if(typeof o?.addSpanProcessor==="function"){o.addSpanProcessor(a);let c=$g(r);return be(`attached processor to existing tracer provider delegateReady=${String(c)}`),c}let s=o?.constructor?.name;if(s&&s!=="ProxyTracerProvider"&&s!=="NoopTracerProvider")return!1;new i({spanProcessors:[a]}).register();let l=$g(r);return be(`registered NodeTracerProvider delegateReady=${String(l)}`),l}catch(n){return be(`initialization failed error=${n instanceof Error?n.message:String(n)}`),!1}}function $g(e){let r=e.getTracerProvider().getDelegate?.()?.constructor?.name;return Boolean(r&&r!=="NoopTracerProvider")}async function Z6(){try{let{trace:e}=await import("@opentelemetry/api");await e.getTracerProvider().getDelegate?.()?.forceFlush?.(),be("forceFlush completed")}catch(e){be(`forceFlush failed error=${e instanceof Error?e.message:String(e)}`)}}async function wg(){try{await Z6();let{trace:e}=await import("@opentelemetry/api");await e.getTracerProvider().getDelegate?.()?.shutdown?.(),be("shutdown completed")}catch(e){be(`shutdown failed error=${e instanceof Error?e.message:String(e)}`)}}function be(e){if(!C6())return;console.warn(`[langfuse-debug] ${e}`)}function C6(){let e=process.env.CLINE_DEBUG_LANGFUSE;if(!e)return!1;let t=e.trim().toLowerCase();return t==="1"||t==="true"||t==="yes"}function R6(){ut=void 0,rr=void 0}var ut,rr;function ar(e){let t=e??globalThis.fetch;if(!t)throw Error("No fetch implementation is available. Pass one in the gateway or provider config.");return t}async function te(e){let t=e.apiKey?.trim();if(t)return t;let r=(await e.apiKeyResolver?.())?.trim();if(r)return r;for(let i of e.apiKeyEnv??[]){let a=L6(i);if(a)return a}return}function L6(e){let t=globalThis.process?.env;if(!t)return;let n=t[e];if(typeof n!=="string")return;let r=n.trim();return r.length>0?r:void 0}var Ig={};he(Ig,{createOpenAIProviderModule:()=>M6});import{createOpenAI as J6}from"@ai-sdk/openai";async function M6(e,t){let n=await te(e),r=J6({apiKey:n,baseURL:e.baseUrl,headers:e.headers,fetch:e.fetch,name:t.provider.id});return{model:(i)=>r.responses(i)}}var xg=()=>{};function B6(e){switch(e.type){case"image-data":case"image-url":case"file-data":case"file-url":case"image-file-id":return!0;default:return!1}}function W6(e){switch(e.type){case"image-data":return{type:"file",data:e.data,mediaType:e.mediaType,...e.providerOptions?{providerOptions:e.providerOptions}:{}};case"image-url":return{type:"file",data:e.url,mediaType:"image/*",...e.providerOptions?{providerOptions:e.providerOptions}:{}};case"file-data":return{type:"file",data:e.data,mediaType:e.mediaType,...e.filename?{filename:e.filename}:{},...e.providerOptions?{providerOptions:e.providerOptions}:{}};case"file-url":return{type:"file",data:e.url,mediaType:"application/octet-stream",...e.providerOptions?{providerOptions:e.providerOptions}:{}};case"image-file-id":return null}}function or(){return{type:"text",text:xe}}function zg(e,t){let n;try{n=new URL(e)}catch{return!1}if(n.protocol==="data:"){let r=e.indexOf(",");if(r===-1)return!1;if(!e.slice(5,r).toLowerCase().endsWith(";base64"))return!1;let a=e.slice(r+1);if(!Vo(a))return!1;return Fe(a.length,0,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t)===null}if(n.protocol!=="http:"&&n.protocol!=="https:")return!1;return Fe(q,0,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t)===null}function K6(e){try{return new URL(e).protocol==="data:"}catch{return!1}}function H6(e){if(typeof e==="string")return e.length;if(e instanceof Uint8Array)return e.byteLength;if(e instanceof ArrayBuffer)return e.byteLength;return Number.POSITIVE_INFINITY}function G6(e,t){return Fe(H6(e),0,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t)===null}function X6(e,t){if(e.type!=="content")return null;let n=[],r=[],i=!1;for(let a of e.value){if(!B6(a)){r.push(a);continue}let o=a;if(o.type==="image-data"){let l=tt(o.mediaType,o.data,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t);if(!l.ok){r.push({type:"text",text:xe}),i=!0;continue}o={...o,data:l.base64,mediaType:l.mediaType}}else if(o.type==="image-url"){if(K6(o.url)){let l=tt(void 0,o.url,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t);if(!l.ok){r.push(or()),i=!0;continue}o={...o,url:`data:${l.mediaType};base64,${l.base64}`}}else if(!zg(o.url,t)){r.push(or()),i=!0;continue}}else if(o.type==="file-url"){if(!zg(o.url,t)){r.push(or()),i=!0;continue}}else if(o.type==="file-data"){if(!G6(o.data,t)){r.push(or()),i=!0;continue}}let s=W6(o);if(!s){r.push(o);continue}n.push(s),i=!0;let d={type:"text",text:F6};r.push(d)}if(!i)return null;return{stripped:{type:"content",value:r},media:n}}function Y6(e){let t=[],n=!1,r=Ui();for(let i of e){if(i.role!=="tool"){t.push(i);continue}let a=[],o=i.content.map((s)=>{if(s.type!=="tool-result")return s;let d=X6(s.output,r);if(!d)return s;return a.push(...d.media),n=!0,{...s,output:d.stripped}});if(t.push({...i,content:o}),a.length>0)t.push({role:"user",content:a})}return{prompt:t,mutated:n}}var F6="(see following user message for image)",sr;var ys=M(()=>{we();sr={specificationVersion:"v3",transformParams:async({params:e})=>{let{prompt:t,mutated:n}=Y6(e.prompt);if(!n)return e;return{...e,prompt:t}}}});var Ug={};he(Ug,{createOpenAICompatibleProviderModule:()=>a4});import{createOpenAICompatible as V6}from"@ai-sdk/openai-compatible";import{wrapLanguageModel as Q6}from"ai";function q6(e){let t=e.options?.apiVersion;if(typeof t!=="string")return;let n=t.trim();return n.length>0?n:void 0}function e4(e){return e.pathname.startsWith("/openai/deployments/")&&!e.searchParams.has("api-version")}function t4(e,t){let n;try{n=new URL(e instanceof Request?e.url:e.toString())}catch{return e}if(!e4(n))return e;if(n.searchParams.set("api-version",t),e instanceof Request)return new Request(n.toString(),e);return typeof e==="string"?n.toString():n}function i4(e){let t=q6(e);if(!t)return e.fetch;let n=e.fetch??globalThis.fetch;if(!n)return e.fetch;let r=(a,o)=>n(t4(a,t),o),i=n;return r.preconnect=typeof i.preconnect==="function"?i.preconnect.bind(n):()=>{return},r}function n4(e){let t=e.options?.onResponseError;return typeof t==="function"?t:void 0}function r4(e){let t=async(r,i)=>{let a=await e.fetch(r,i);return await e.onResponseError(a),a},n=e.fetch;return t.preconnect=typeof n.preconnect==="function"?n.preconnect.bind(e.fetch):()=>{return},t}async function a4(e,t){let n=await te(e),r=i4(e),i=n4(e),a=i?r4({fetch:ar(r),onResponseError:i}):r,o=V6({name:t.provider.id,apiKey:n,...e.baseUrl?{baseURL:e.baseUrl}:{},...e.headers?{headers:e.headers}:{},...a?{fetch:a}:{},includeUsage:!0});return{model:(s)=>Q6({model:o(s),middleware:sr})}}var Tg=M(()=>{ys()});function o4(e){let t=e&&typeof e==="object"?e:{},n=t.minimax&&typeof t.minimax==="object"?t.minimax:void 0,r=n?.thinking&&typeof n.thinking==="object"?n.thinking:void 0;return typeof r?.type==="string"?r.type:void 0}async function s4(e){if(typeof e==="string")return JSON.parse(e);if(e instanceof Uint8Array)return JSON.parse(new TextDecoder().decode(e));if(e instanceof ArrayBuffer)return JSON.parse(new TextDecoder().decode(e));return}function u4(e){return JSON.stringify(e)}function Og(e=fetch){let t=async(r,i)=>{let a=new Headers(i?.headers);if(a.get("x-cline-minimax-thinking-disabled")!=="1")return e(r,i);a.delete("x-cline-minimax-thinking-disabled");let s=await s4(i?.body),d=s&&typeof s==="object"&&!Array.isArray(s)?s:void 0,l=d&&d.thinking===void 0?u4({...d,thinking:{type:"disabled"}}):i?.body;return e(r,{...i,headers:a,body:l})},n=e;return t.preconnect=typeof n.preconnect==="function"?n.preconnect.bind(e):()=>{},t}var jg;var Ng=M(()=>{jg={specificationVersion:"v3",transformParams:async({params:e})=>{if(o4(e.providerOptions)!=="disabled")return e;return{...e,headers:{...e.headers,["x-cline-minimax-thinking-disabled"]:"1"}}}}});var Eg={};he(Eg,{createAnthropicProviderModule:()=>c4});import{createAnthropic as l4}from"@ai-sdk/anthropic";import{wrapLanguageModel as d4}from"ai";async function c4(e,t){let n=await te(e),r=t.provider.id==="minimax",i=l4({apiKey:n,baseURL:e.baseUrl,headers:e.headers,fetch:r?Og(e.fetch):e.fetch,name:t.provider.id});return{model:(a)=>{let o=i(a);return r?d4({model:o,middleware:jg}):o}}}var Ag=M(()=>{Ng()});var Pg={};he(Pg,{createGoogleProviderModule:()=>f4});import{createGoogleGenerativeAI as m4}from"@ai-sdk/google";async function f4(e,t){let n=await te(e),r=m4({apiKey:n,headers:e.headers,fetch:e.fetch,name:t.provider.id});return{model:(i)=>r(i)}}var Dg=()=>{};var Cg={};he(Cg,{createVertexProviderModule:()=>h4});import{createVertex as p4}from"@ai-sdk/google-vertex";import{createVertexAnthropic as v4}from"@ai-sdk/google-vertex/anthropic";function ur(e,t){let n=e?.[t];return typeof n==="string"&&n.trim().length>0?n:void 0}function Zg(e,t,n){let r=e?.[t];if(!r||typeof r!=="object"||Array.isArray(r))return;let i=r[n];return typeof i==="string"&&i.trim().length>0?i:void 0}async function h4(e,t){let n=ur(e.options,"project")??ur(e.options,"projectId")??Zg(e.options,"gcp","projectId")??"",r=ur(e.options,"location")??ur(e.options,"region")??Zg(e.options,"gcp","region")??"us-central1",i=n||void 0,a=ar(e.fetch);if(xh(t.model.id)){let s=v4({project:n,location:r,baseURL:e.baseUrl,headers:e.headers,fetch:a});return{model:(d)=>s(d)}}let o=p4({project:n,location:r,apiKey:i?void 0:await te(e),googleAuthOptions:i?{projectId:i}:void 0,baseURL:e.baseUrl,headers:e.headers,fetch:a});return{model:(s)=>o(s)}}var Rg=()=>{};var Lg={};he(Lg,{createBedrockProviderModule:()=>b4});import{createAmazonBedrock as g4}from"@ai-sdk/amazon-bedrock";import{fromNodeProviderChain as bs}from"@aws-sdk/credential-providers";async function b4(e){let t=k4(e.options?.authentication),n=t==="api-key"||t==="apikey",r=K(e.options?.accessKeyId)!==void 0&&K(e.options?.secretAccessKey)!==void 0,i=K(e.options?.profile)!==void 0,o=!n&&(t==="iam"||t==="profile"||i)?void 0:await _4(e,{includeEnvironment:n||!r}),s=$4(e,{authentication:t,apiKey:o,hasDirectCredentials:r,hasProfile:i}),d=t==="iam"||t==="profile"||r||s!==void 0,l=g4({region:K(e.options?.region),apiKey:n?o??"":o??(d?"":void 0),accessKeyId:s?void 0:K(e.options?.accessKeyId),secretAccessKey:s?void 0:K(e.options?.secretAccessKey),sessionToken:s?void 0:K(e.options?.sessionToken),baseURL:e.baseUrl??K(e.options?.endpoint),headers:e.headers,fetch:e.fetch,credentialProvider:s});return{model:(c)=>l(c)}}function $4(e,t){let n=K(e.options?.region);if(typeof e.options?.credentialProvider==="function")return e.options.credentialProvider;if(t.authentication==="api-key"||t.authentication==="apikey"||t.apiKey)return;if(t.authentication==="profile"||t.hasProfile){let r=K(e.options?.profile);return bs({ignoreCache:!0,...r?{profile:r}:{},...n?{clientConfig:{region:n}}:{}})}if(t.hasDirectCredentials)return;return n?bs({clientConfig:{region:n}}):bs()}async function _4(e,t){let n=K(e.apiKey)??K(e.options?.apiKey)??K(e.options?.bedrockApiKey)??K(e.options?.awsBedrockApiKey);if(n)return n;let r=K(await e.apiKeyResolver?.());if(r)return r;if(!t.includeEnvironment)return;for(let i of e.apiKeyEnv??[]){if(y4.has(i))continue;let a=K(process.env[i]);if(a)return a}return K(process.env.AWS_BEARER_TOKEN_BEDROCK)}function k4(e){return e==="iam"||e==="api-key"||e==="apikey"||e==="profile"?e:void 0}function K(e){if(typeof e!=="string")return;let t=e.trim();return t.length>0?t:void 0}var y4;var Jg=M(()=>{y4=new Set(["AWS_ACCESS_KEY_ID","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_REGION","AWS_DEFAULT_REGION","AWS_PROFILE"])});var Mg={};he(Mg,{createMistralProviderModule:()=>I4});import{createMistral as w4}from"@ai-sdk/mistral";import{wrapLanguageModel as S4}from"ai";async function I4(e){let t=w4({apiKey:await te(e),baseURL:e.baseUrl,headers:e.headers,fetch:e.fetch});return{model:(n)=>S4({model:t(n),middleware:sr})}}var Fg=M(()=>{ys()});var Dt={};he(Dt,{createSapAiCoreProviderModule:()=>B4,createOpenCodeProviderModule:()=>A4,createOpenAICodexProviderModule:()=>N4,createDifyProviderModule:()=>P4,createClaudeCodeProviderModule:()=>O4});import{createSAPAIProvider as x4}from"@jerome-benoit/sap-ai-provider";import{createClaudeCode as z4}from"ai-sdk-provider-claude-code";import{createCodexExec as U4}from"ai-sdk-provider-codex-cli";import{createDifyProvider as T4}from"dify-ai-provider";function Oi(e){return e.options??{}}async function O4(e){let t=z4(Oi(e));return{model:(n)=>t(n)}}async function N4(e){let t=U4(Oi(e));return{model:(n)=>t(n)}}async function E4(e){let t=["SIGINT","SIGTERM"],n=new Map(t.map((i)=>[i,new Set(process.listeners(i))])),r=await e();for(let i of t)for(let a of process.listeners(i))if(!n.get(i)?.has(a))process.removeListener(i,a);return r}async function A4(e){let t=await E4(async()=>{let{createOpencode:n}=await import("ai-sdk-provider-opencode-sdk");return n(Oi(e))});return{model:(n)=>t(n)}}async function P4(e){let t=await te(e),n=T4({baseURL:e.baseUrl,headers:e.headers,fetch:e.fetch,...Oi(e)});return{model:(r)=>n(r,{apiKey:t})}}function He(e,t){let n=e[t];return typeof n==="string"&&n.trim().length>0?n.trim():void 0}function D4(e){return e.replace(/\/+$/,"").replace(/\/oauth\/token$/i,"")}function Z4(e,t){return Boolean(e.apiKey?.trim()||e.baseUrl?.trim()||He(t,"clientId")||He(t,"clientSecret")||He(t,"tokenUrl"))}function C4(e,t){let n=He(t,"clientId"),r=He(t,"clientSecret")??e.apiKey?.trim(),i=He(t,"tokenUrl"),a=e.baseUrl?.trim();if(!n||!r||!i||!a){if(!Z4(e,t))return;let o=[!n?"sap.clientId":void 0,!r?"sap.clientSecret":void 0,!i?"sap.tokenUrl":void 0,!a?"baseUrl":void 0].filter(Boolean);throw Error(`SAP AI Core provider is missing required configuration: ${o.join(", ")}.`)}return JSON.stringify({clientid:n,clientsecret:r,serviceurls:{AI_API_URL:a.replace(/\/+$/,"")},url:D4(i)})}function R4(e){let t=e.api;if(t==="orchestration"||t==="foundation-models")return t;if(e.useOrchestrationMode===!1)return"foundation-models";return"orchestration"}async function L4(e,t){if(!e)return await t();let n=Bg.catch(()=>{}),r;Bg=new Promise((a)=>{r=a}),await n;let i=process.env.AICORE_SERVICE_KEY;process.env.AICORE_SERVICE_KEY=e;try{return await t()}catch(a){throw a}finally{M4(i),r()}}function J4(e){return j4.has(e)}function M4(e){if(e===void 0){delete process.env.AICORE_SERVICE_KEY;return}process.env.AICORE_SERVICE_KEY=e}function F4(e,t){if(!t||!e||typeof e!=="object")return e;return new Proxy(e,{get(n,r,i){let a=Reflect.get(n,r,i);if(typeof a!=="function"||!J4(r))return a;return(...o)=>L4(t,()=>a.apply(n,o))}})}async function B4(e){let t=Oi(e),n=C4(e,t),r=He(t,"deploymentId"),i=x4({name:e.providerId,...r?{deploymentId:r}:{resourceGroup:He(t,"resourceGroup")},api:R4(t),...typeof t.defaultSettings==="object"&&t.defaultSettings!==null&&!Array.isArray(t.defaultSettings)?{defaultSettings:t.defaultSettings}:{}});return{model:(a)=>F4(i(a),n)}}var j4,Bg;var Zt=M(()=>{j4=new Set(["doGenerate","doStream","doEmbed"]),Bg=Promise.resolve()});var ue={};he(ue,{normalizeUsage:()=>Qg,createVertexProvider:()=>fr,createSapAiCoreProvider:()=>xs,createOpenCodeProvider:()=>Ss,createOpenAIProvider:()=>lr,createOpenAICompatibleProvider:()=>dr,createOpenAICodexProvider:()=>ws,createMistralProvider:()=>_s,createGoogleProvider:()=>mr,createDifyProvider:()=>Is,createClaudeCodeProvider:()=>ks,createBedrockProvider:()=>pr,createAnthropicProvider:()=>cr});import{jsonSchema as W4,streamText as K4}from"ai";import{nanoid as Wg}from"nanoid";import{z as H4}from"zod";function G4(e,t,n){let r=Gg(e.messages,n,{includeReasoning:Hg(e,t)}),i=ee({modelId:e.modelId,family:F(t)});for(let a=r.length-1;a>=0;a--)if(r[a]?.role==="user"){Gh(r[a],e.providerId,i);break}return r}function X4(e,t){let n=t.provider.metadata?.stickySession;if(!n)return;let r=e.metadata,i=r&&typeof r==="object"?r[n.metadataKey]:void 0;if(typeof i!=="string")return;let a=i.trim();if(!a)return;return{transport:n.transport,field:n.field,value:a}}async function Y4(e,t){let n=t?.body;if(n===null)return;if(typeof n==="string")return{source:"init-body",text:n};if(n instanceof URLSearchParams)return{source:"init-body",text:n.toString()};if(n instanceof ArrayBuffer)return{source:"init-body",text:Buffer.from(n).toString("utf8")};if(ArrayBuffer.isView(n))return{source:"init-body",text:Buffer.from(n.buffer,n.byteOffset,n.byteLength).toString("utf8")};if(n!==void 0)return;if(e instanceof Request)try{return{request:e,source:"request",text:await e.clone().text()}}catch{return}return}async function V4(e,t,n){let r=await Y4(e,t);if(!r?.text.trim().startsWith("{"))return[e,t];let i;try{i=JSON.parse(r.text)}catch{return[e,t]}if(!i||typeof i!=="object"||Array.isArray(i))return[e,t];let a=i,o=a[n.field];if(typeof o!=="string"||!o.trim())a[n.field]=n.value;let s=JSON.stringify(a);if(r.source==="init-body")return[e,{...t,body:s}];return[new Request(r.request,{body:s}),t]}function Q4(e,t,n){let r=new Headers(e instanceof Request?e.headers:void 0);if(new Headers(t?.headers).forEach((i,a)=>{r.set(a,i)}),!r.get(n.field)?.trim())r.set(n.field,n.value);return[e,{...t,headers:r}]}function q4(e,t,n){let r=X4(t,n);if(!r)return e;let i=e??globalThis.fetch;if(!i)return e;let a=async(s,d)=>{let[l,c]=r.transport==="json-body"?await V4(s,d,r):Q4(s,d,r);return i(l,c)},o=i;if(typeof o.preconnect==="function")a.preconnect=o.preconnect.bind(i);return a}function Hg(e,t){return!Ah(e,t)}async function ez(e){try{return(await Promise.resolve().then(() => Sg)).ensureLangfuseTelemetry(e)}catch{return!1}}function Gg(e,t,n){let r=n?.includeReasoning??!0,i=[];for(let a of e){let o=[],s=!1;for(let d of a.content){if(d.type==="text"){o.push({type:"text",text:Q(d.text)});continue}if(d.type==="reasoning"){if(!r){s=!0;continue}let l=d.metadata,c=l?.signature,m=l?.redactedData;o.push({type:"reasoning",text:Q(d.text),...typeof c==="string"||typeof m==="string"?{providerOptions:{anthropic:{...typeof c==="string"?{signature:c}:{},...typeof m==="string"?{redactedData:m}:{}}}}:{}});continue}if(d.type==="file"){o.push({type:"file",path:d.path,content:d.content});continue}if(d.type==="image"){o.push({type:"image",image:d.image,mediaType:d.mediaType});continue}if(d.type==="tool-call"){let l=d.metadata,c=l?.thoughtSignature??l?.signature??l?.thought_signature;o.push({type:"tool-call",toolCallId:d.toolCallId,toolName:d.toolName,input:d.input,...typeof c==="string"?{providerOptions:{google:{thoughtSignature:c}}}:{}});continue}if(d.type==="tool-result")o.push({type:"tool-result",toolCallId:d.toolCallId,toolName:d.toolName,output:d.output,isError:d.isError??!1})}if(o.length>0)i.push({role:a.role,content:o});else if(!r&&s)continue;else if(a.role==="user"||a.role==="assistant")i.push({role:a.role,content:""})}return Qo(t,i,{assistantToolCallArgKey:"input"})}function tz(e){if(!e.tools?.length)return;return Object.fromEntries(e.tools.map((t)=>[t.name,{description:t.description,inputSchema:W4(iz(t.inputSchema),{validate:async(n)=>{let r=await H4.fromJSONSchema(t.inputSchema).safeParseAsync(n);return r.success?{success:!0,value:r.data}:{success:!1,error:r.error}}})}]))}function iz(e){if(e.type==="object")return e;return{type:"object",...e}}function Xg(e){return e.provider.capabilities?.includes("provider-tools")??!1}function Yg(e,t){if(!e||typeof e!=="object"||Array.isArray(e))return t;return{...e,...t}}function Vg(e){return Yg(e.metadata,{toolSource:{providerId:e.request.providerId,modelId:e.request.modelId,executionMode:Xg(e.context)?"provider":"runtime"}})}function nz(e){return Vg({metadata:Yg($s(e.part),{inputParseError:`Tool call ${e.toolName} was rejected before execution: ${e.errorMessage}`,aiSdkToolError:e.errorMessage}),request:e.request,context:e.context})}function rz(e){return e.providerId==="openai-codex"?void 0:e.systemPrompt}function az(e,t){if(e==="tool-calls"||e==="tool_calls"||t)return"tool-calls";if(e==="length"||e==="max_tokens")return"max-tokens";if(e==="error")return"error";return"stop"}function Se(e,...t){for(let n of t){let r=e[n];if(typeof r==="number"&&Number.isFinite(r))return r;if(typeof r==="string"&&r.trim().length>0&&Number.isFinite(Number(r)))return Number(r)}return 0}function se(e){if(typeof e==="number"&&Number.isFinite(e))return e;if(typeof e==="string"&&e.trim().length>0&&Number.isFinite(Number(e)))return Number(e);return}function Ie(e,...t){let n=e;for(let r of t){if(!n||typeof n!=="object")return 0;n=n[r]}return se(n)??0}function sz(e,t){let n=e;for(let r of t){if(!n||typeof n!=="object")return 0;n=n[r]}return se(n)??0}function uz(e,t){for(let n of e)for(let r of t){let i=sz(n,r);if(i>0)return i}return 0}function lz(e){if(!e||typeof e!=="object")return;let t=e;for(let n of Object.values(t)){if(!n||typeof n!=="object")continue;let r=n;if(r.usage&&typeof r.usage==="object")return r.usage}return}function dz(e,t){if(!t||typeof t!=="object")return;let n=t,r=se(n.input),i=se(n.output);if(r===void 0||i===void 0)return;let a=se(n.cacheRead)??0,o=se(n.cacheWrite)??r*1.25;return Math.max(0,e.inputTokens-e.cacheReadTokens-e.cacheWriteTokens)/1e6*r+e.outputTokens/1e6*i+e.cacheReadTokens/1e6*a+e.cacheWriteTokens/1e6*o}function Qg(e,t,n){let r=e&&typeof e==="object"?e:{},i=lz(t),a=t&&typeof t==="object"?t:{},o=a.gateway&&typeof a.gateway==="object"?a.gateway:{},s=r.raw&&typeof r.raw==="object"?r.raw:r,d=se(s.cost_details?.upstream_inference_cost)??se(s.upstream_inference_cost),l=se(s.market_cost)??se(s.marketCost)??se(o.marketCost),c=se(s.cost)??se(o.cost),m=l!==void 0||c!==void 0||d!==void 0,p=(s.is_byok===!0||s.isByok===!0||o.is_byok===!0||o.isByok===!0)&&c!==void 0&&d!==void 0,g=c!==void 0&&c>0?c:d??c,$=l??(p?c+d:g),N={inputTokens:Ie(r,"inputTokens","total")||Se(r,"inputTokens","input_tokens","prompt_tokens")||Se(s,"promptTokenCount","prompt_token_count"),outputTokens:Ie(r,"outputTokens","total")||Se(r,"outputTokens","output_tokens","completion_tokens")||Se(s,"candidatesTokenCount","candidates_token_count"),cacheReadTokens:Ie(r,"inputTokens","cacheRead")||Ie(r,"inputTokenDetails","cacheReadTokens")||Se(r,"cachedInputTokens","cacheReadTokens","cache_read_tokens","cache_read_input_tokens")||Ie(r,"prompt_tokens_details","cached_tokens")||Ie(s,"prompt_tokens_details","cached_tokens")||Se(s,"cachedContentTokenCount")||Se(i??{},"cachedInputTokens","cacheReadTokens","cache_read_tokens","cache_read_input_tokens"),cacheWriteTokens:Ie(r,"inputTokens","cacheWrite")||Ie(r,"inputTokenDetails","cacheWriteTokens")||Ie(r,"prompt_tokens_details","cache_write_tokens")||Se(r,"cacheWriteTokens","cache_write_tokens","cache_creation_input_tokens")||Ie(s,"prompt_tokens_details","cache_write_tokens")||Se(s,"cacheWriteTokens","cache_write_tokens","cache_creation_input_tokens")||Se(i??{},"cacheWriteTokens","cache_write_tokens","cache_creation_input_tokens")},T=uz([r,s,i??{}],oz),P=$!==void 0?$:m?void 0:dz(N,n);return{...N,...T>0?{reasoningTokenCount:T}:{},...typeof P==="number"?{totalCost:P}:{}}}function Kg(e){if(!e)return;let t=()=>{},n=(i)=>{if(i&&typeof i.catch==="function")i.catch(t)},r=e;for(let i of Object.keys(e))try{n(r[i])}catch{}}function $s(e){let t={};if(typeof e.thoughtSignature==="string")t.thoughtSignature=e.thoughtSignature;if(typeof e.thought_signature==="string")t.thought_signature=e.thought_signature;let n=e.providerMetadata&&typeof e.providerMetadata==="object"?e.providerMetadata:void 0,r=n?.google&&typeof n.google==="object"?n.google:void 0,i=n?.vertex&&typeof n.vertex==="object"?n.vertex:void 0;if(typeof t.thoughtSignature!=="string"&&typeof(r?.thoughtSignature??i?.thoughtSignature)==="string")t.thoughtSignature=r?.thoughtSignature??i?.thoughtSignature;if(typeof t.thought_signature!=="string"&&typeof r?.thought_signature==="string")t.thought_signature=r.thought_signature;return Object.keys(t).length>0?t:void 0}async function*cz(e,t,n,r,i){let a=!1,o=new Set,s,d,l,c;try{if(e.fullStream)for await(let p of e.fullStream){if(p.type==="text-delta"){let g=p.textDelta??p.text??p.delta;if(g)yield{type:"text-delta",text:g};continue}if(p.type==="reasoning-delta"||p.type==="reasoning"){let g=p.textDelta??p.text??p.reasoning;if(g)yield{type:"reasoning-delta",text:g,metadata:$s(p)};continue}if(p.type==="tool-call"){a=!0;let g=p.toolCallId??p.id??`tool_${Wg()}`;o.add(g);let $=p.input??p.args??{},N=typeof $==="string"?$:JSON.stringify($);yield{type:"tool-call-delta",toolCallId:g,toolName:p.toolName??p.name??"tool",input:typeof $==="string"?void 0:$,inputText:N,metadata:Vg({metadata:$s(p),request:t,context:n})};continue}if(p.type==="tool-error"){a=!0;let g=p.toolCallId??p.id??`tool_${Wg()}`,$=o.has(g);o.add(g);let N=p.toolName??p.name??"tool",T=p.input??p.args??{},P=typeof T==="string"?T:JSON.stringify(T),I=p.error===void 0?"Tool input was rejected by the model adapter":ot(p.error);yield{type:"tool-call-delta",toolCallId:g,toolName:N,input:$?void 0:typeof T==="string"?void 0:T,inputText:$?void 0:P,metadata:nz({part:p,errorMessage:I,request:t,context:n,toolName:N})};continue}if(p.type==="finish")l=p.usage??p.totalUsage,c=p.providerMetadata,s=p.finishReason??p.rawFinishReason??p.reason;if(p.type==="error"){d=i?.current??ot(p.error);break}if(p.type==="abort")break}else if(e.textStream)for await(let p of e.textStream)yield{type:"text-delta",text:p}}catch(p){d=i?.current??ot(p)}let m,v;if(d)m=l,v=c;else if(e.usage)try{m=await e.usage}catch(p){if(!d)d=i?.current??ot(p);m=l,v=c}else m=l,v=c;if(m)yield{type:"usage",usage:Qg(m,v,r)};yield{type:"finish",reason:d?"error":az(s,a),error:d}}async function mz(e,t,n){switch(e){case"openai":{let{createOpenAIProviderModule:r}=await Promise.resolve().then(() => (xg(),Ig));return r(t,n)}case"openai-compatible":{let{createOpenAICompatibleProviderModule:r}=await Promise.resolve().then(() => (Tg(),Ug));return r(t,n)}case"anthropic":{let{createAnthropicProviderModule:r}=await Promise.resolve().then(() => (Ag(),Eg));return r(t,n)}case"google":{let{createGoogleProviderModule:r}=await Promise.resolve().then(() => (Dg(),Pg));return r(t,n)}case"vertex":{let{createVertexProviderModule:r}=await Promise.resolve().then(() => (Rg(),Cg));return r(t,n)}case"bedrock":{let{createBedrockProviderModule:r}=await Promise.resolve().then(() => (Jg(),Lg));return r(t)}case"mistral":{let{createMistralProviderModule:r}=await Promise.resolve().then(() => (Fg(),Mg));return r(t)}case"claude-code":{let{createClaudeCodeProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}case"openai-codex":{let{createOpenAICodexProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}case"opencode":{let{createOpenCodeProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}case"dify":{let{createDifyProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}case"sapaicore":{let{createSapAiCoreProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}}}function ve(e){return async(t)=>({async*stream(n,r){let i=r.logger,a,o={current:void 0};try{let s=await mz(e,{...t,fetch:q4(Bh(t.fetch,n),n,r)},r),d=await ez(t.providerId),l=Xg(r)?void 0:tz(n),c=rz(n),m=typeof c==="string"&&c.trim().length>0,v=m?void 0:c,p=At(n,r)?G4(n,r,v):Gg(n.messages,v,{includeReasoning:Hg(n,r)}),g=yg(n,r,e);ss({stage:"ai_sdk_prompt",request:n,payload:{messages:p,...m?{system:c}:{},tools:l,providerOptions:g,maxOutputTokens:n.maxTokens,temperature:n.temperature}}),a=K4({model:s.model(r.model.id),messages:p,...m?{system:c}:{},tools:l,temperature:n.temperature,...n.maxTokens!==void 0?{maxOutputTokens:n.maxTokens}:{},abortSignal:n.signal,experimental_telemetry:{isEnabled:d},providerOptions:g,onError:({error:$})=>{let N=ot($);if(o.current=N,i?.error)i.error("[ai-sdk] stream error",{providerId:n.providerId,error:$,severity:"error"});else if(i)i.log(`[ai-sdk] stream error: ${N}`,{providerId:n.providerId,severity:"error"});Xn(r.telemetry,{component:"llms",operation:"provider.stream",error:$,severity:"error",handled:!0,context:{providerId:n.providerId,modelId:n.modelId,providerKind:e}})}}),Kg(a),yield*cz(a,n,r,r.model.metadata?.pricing,o)}catch(s){Kg(a);let d=o.current??ot(s);if(i?.error)i.error("[ai-sdk] provider error",{providerId:n.providerId,error:s,severity:"error"});else if(i)i.log(`[ai-sdk] provider error: ${d}`,{providerId:n.providerId,severity:"error"});Xn(r.telemetry,{component:"llms",operation:"provider.create_or_stream",error:s,severity:"error",handled:!0,context:{providerId:n.providerId,modelId:n.modelId,providerKind:e}}),yield{type:"finish",reason:"error",error:d}}}})}var oz,lr,dr,cr,mr,fr,pr,_s,ks,ws,Ss,Is,xs;var ie=M(()=>{we();Wh();Pt();bg();oz=[["outputTokenDetails","reasoningTokens"],["output_tokens_details","reasoning_tokens"],["completion_tokens_details","reasoning_tokens"],["reasoningTokens"],["reasoning_tokens"]];lr=ve("openai"),dr=ve("openai-compatible"),cr=ve("anthropic"),mr=ve("google"),fr=ve("vertex"),pr=ve("bedrock"),_s=ve("mistral"),ks=ve("claude-code"),ws=ve("openai-codex"),Ss=ve("opencode"),Is=ve("dify"),xs=ve("sapaicore")});var Mt;((x)=>{x.ANTHROPIC="anthropic";x.CLAUDE_CODE="claude-code";x.CLINE="cline";x.CLINE_PASS="cline-pass";x.OPENAI_COMPATIBLE="openai-compatible";x.OPENAI_NATIVE="openai-native";x.OPENAI_CODEX="openai-codex";x.OPENAI_CODEX_CLI="openai-codex-cli";x.OPENCODE="opencode";x.BEDROCK="bedrock";x.VERTEX="vertex";x.GEMINI="gemini";x.OLLAMA="ollama";x.LMSTUDIO="lmstudio";x.DEEPSEEK="deepseek";x.XAI="xai";x.TOGETHER="together";x.FIREWORKS="fireworks";x.GROQ="groq";x.POOLSIDE="poolside";x.CEREBRAS="cerebras";x.SAMBANOVA="sambanova";x.NEBIUS="nebius";x.BASETEN="baseten";x.REQUESTY="requesty";x.LITELLM="litellm";x.HUGGINGFACE="huggingface";x.VERCEL_AI_GATEWAY="vercel-ai-gateway";x.V0="v0";x.AIHUBMIX="aihubmix";x.HICAP="hicap";x.NOUS_RESEARCH="nousResearch";x.HUAWEI_CLOUD_MAAS="huawei-cloud-maas";x.WANDB="wandb";x.XIAOMI="xiaomi";x.KILO="kilo";x.ZAI="zai";x.ZAI_CODING_PLAN="zai-coding-plan";x.QWEN="qwen";x.QWEN_CODE="qwen-code";x.DOUBAO="doubao";x.MISTRAL="mistral";x.MOONSHOT="moonshot";x.ASKSAGE="asksage";x.MINIMAX="minimax";x.DIFY="dify";x.OCA="oca";x.SAPAICORE="sapaicore";x.OPENROUTER="openrouter"})(Mt||={});var Ky={openai:"openai-compatible",togetherai:"together","sap-ai-core":"sapaicore"},Li=Object.values(Mt);function $r(e){return Li.includes(e)}function G(e){let t=e.trim();return Ky[t]??t}function Ji(e){return G(e.routingProviderId??e.providerId)}ie();import{nanoid as Ls}from"nanoid";we();var zs={version:1782707918107,providers:{aihubmix:{"glm-5.2":{id:"glm-5.2",name:"GLM-5.2",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.1268,output:3.9438,cacheRead:0.2817,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"qwen3.7-plus":{id:"qwen3.7-plus",name:"Qwen3.7 Plus",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.282,output:1.128,cacheRead:0.0564,cacheWrite:0.3525},releaseDate:"2026-06-02",family:"qwen"},"qwen3.7-max":{id:"qwen3.7-max",name:"Qwen3.7 Max",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.69,output:5.07,cacheRead:0.169,cacheWrite:2.1125},releaseDate:"2026-05-21",family:"qwen"},"glm-5v-turbo":{id:"glm-5v-turbo",name:"GLM 5 Vision Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.7042,output:3.09848,cacheRead:0.169008,cacheWrite:0},releaseDate:"2026-05-09",family:"glmv"},"qwen3.6-max-preview":{id:"qwen3.6-max-preview",name:"Qwen3.6 Max Preview",contextWindow:240000,maxInputTokens:240000,maxTokens:64000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.27,output:7.61,cacheRead:0.1268,cacheWrite:1.585},releaseDate:"2026-05-09",family:"qwen3.6"},"qwen3.6-plus":{id:"qwen3.6-plus",name:"Qwen3.6 Plus",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.28,output:1.69,cacheRead:0.0282,cacheWrite:0.3525},releaseDate:"2026-05-09",family:"qwen3.6"},"gemini-3.1-flash-lite":{id:"gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:1},releaseDate:"2026-05-07",family:"gemini-flash-lite"},"grok-4.3":{id:"grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-05-01",family:"grok"},"doubao-seed-2-0-lite-260428":{id:"doubao-seed-2-0-lite-260428",name:"Doubao Seed 2.0 Lite 260428",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.08,output:0.51,cacheRead:0.01692,cacheWrite:0},releaseDate:"2026-04-28",family:"seed"},"doubao-seed-2-0-mini-260428":{id:"doubao-seed-2-0-mini-260428",name:"Doubao Seed 2.0 Mini 260428",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.03,output:0.28,cacheRead:0.00564,cacheWrite:0},releaseDate:"2026-04-28",family:"seed"},"alicloud-deepseek-v4-flash":{id:"alicloud-deepseek-v4-flash",name:"DeepSeek V4 Flash (Alibaba Cloud)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.028,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"alicloud-deepseek-v4-pro":{id:"alicloud-deepseek-v4-pro",name:"DeepSeek V4 Pro (Alibaba Cloud)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.69,output:3.38,cacheRead:0.13,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"deep-deepseek-v4-flash":{id:"deep-deepseek-v4-flash",name:"DeepSeek V4 Flash (DeepSeek)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.154,output:0.308,cacheRead:0.0308,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deep-deepseek-v4-pro":{id:"deep-deepseek-v4-pro",name:"DeepSeek V4 Pro (DeepSeek)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.478,output:0.956,cacheRead:0.004302,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"coding-xiaomi-mimo-v2.5":{id:"coding-xiaomi-mimo-v2.5",name:"Coding Xiaomi MiMo-V2.5",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.08,output:0.4,cacheRead:0.016,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5"},"coding-xiaomi-mimo-v2.5-pro":{id:"coding-xiaomi-mimo-v2.5-pro",name:"Coding Xiaomi MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:0.6,cacheRead:0.04,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5-pro"},"xiaomi-mimo-v2.5":{id:"xiaomi-mimo-v2.5",name:"Xiaomi MiMo-V2.5",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.44,output:2.2,cacheRead:0.088,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5"},"xiaomi-mimo-v2.5-free":{id:"xiaomi-mimo-v2.5-free",name:"Xiaomi MiMo-V2.5 (free)",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5"},"xiaomi-mimo-v2.5-pro":{id:"xiaomi-mimo-v2.5-pro",name:"Xiaomi MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.1,output:3.3,cacheRead:0.22,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5-pro"},"xiaomi-mimo-v2.5-pro-free":{id:"xiaomi-mimo-v2.5-pro-free",name:"Xiaomi MiMo-V2.5-Pro (free)",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5-pro"},"kimi-k2.6":{id:"kimi-k2.6",name:"Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"claude-opus-4-7":{id:"claude-opus-4-7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"claude-opus-4-7-think":{id:"claude-opus-4-7-think",name:"Claude Opus 4.7 Thinking",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"coding-glm-5.1":{id:"coding-glm-5.1",name:"Coding GLM 5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.06,output:0.22,cacheRead:0.013,cacheWrite:0},releaseDate:"2026-04-11",family:"glm"},"coding-glm-5.1-free":{id:"coding-glm-5.1-free",name:"Coding GLM 5.1 (free)",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-11",family:"glm-free"},"qwen3.6-flash":{id:"qwen3.6-flash",name:"Qwen3.6 Flash",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.17,output:1.01,cacheRead:0.0169,cacheWrite:0.21125},releaseDate:"2026-04-02",family:"qwen3.6"},"alicloud-glm-5.1":{id:"alicloud-glm-5.1",name:"GLM-5.1 (Alibaba Cloud)",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.84,output:3.38,cacheRead:0.169,cacheWrite:1.05625},releaseDate:"2026-03-27",family:"glm"},"zai-glm-5.1":{id:"zai-glm-5.1",name:"GLM-5.1 (Z.ai)",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.845,output:3.38,cacheRead:0.183112,cacheWrite:0},releaseDate:"2026-03-27",family:"glm"},"coding-minimax-m2.7":{id:"coding-minimax-m2.7",name:"Coding MiniMax M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:128100,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.2,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"coding-minimax-m2.7-free":{id:"coding-minimax-m2.7-free",name:"Coding MiniMax M2.7 (Free)",contextWindow:204800,maxInputTokens:204800,maxTokens:128100,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax-free"},"coding-minimax-m2.7-highspeed":{id:"coding-minimax-m2.7-highspeed",name:"Coding MiniMax M2.7 Highspeed",contextWindow:204800,maxInputTokens:204800,maxTokens:128100,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.2,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"minimax-m2.7":{id:"minimax-m2.7",name:"MiniMax M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"gpt-5.4-mini":{id:"gpt-5.4-mini",name:"GPT-5.4 mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-mini"},"gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"gemini-3.1-pro-preview-customtools":{id:"gemini-3.1-pro-preview-customtools",name:"Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"claude-sonnet-4-6":{id:"claude-sonnet-4-6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"claude-sonnet-4-6-think":{id:"claude-sonnet-4-6-think",name:"Claude Sonnet 4.6 Thinking",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"doubao-seed-2-0-code-preview":{id:"doubao-seed-2-0-code-preview",name:"Doubao Seed 2.0 Code Preview",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.48,output:2.41,cacheRead:0.09644,cacheWrite:0},releaseDate:"2026-02-14",family:"seed"},"doubao-seed-2-0-pro":{id:"doubao-seed-2-0-pro",name:"Doubao Seed 2.0 Pro",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.48,output:2.41,cacheRead:0.09644,cacheWrite:0},releaseDate:"2026-02-14",family:"seed"},"claude-opus-4-6":{id:"claude-opus-4-6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"claude-opus-4-6-think":{id:"claude-opus-4-6-think",name:"Claude Opus 4.6 Thinking",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"gpt-5.3-codex":{id:"gpt-5.3-codex",name:"GPT-5.3 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt-codex"},"kimi-k2.5":{id:"kimi-k2.5",name:"Kimi K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-01",family:"kimi-k2"},"gemini-3-flash-preview":{id:"gemini-3-flash-preview",name:"Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"gpt-5.2":{id:"gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"gpt-5.2-codex":{id:"gpt-5.2-codex",name:"GPT-5.2 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"gpt-5.1":{id:"gpt-5.1",name:"GPT-5.1",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt"},"gpt-5.1-codex":{id:"gpt-5.1-codex",name:"GPT-5.1 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5.1-codex-mini":{id:"gpt-5.1-codex-mini",name:"GPT-5.1 Codex mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gemini-2.5-flash":{id:"gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-03-20",family:"gemini-flash"},"gemini-2.5-pro":{id:"gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-03-20",family:"gemini-pro"}},anthropic:{"claude-fable-5":{id:"claude-fable-5",name:"Claude Fable 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"claude-opus-4-8":{id:"claude-opus-4-8",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"claude-opus-4-7":{id:"claude-opus-4-7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"claude-sonnet-4-6":{id:"claude-sonnet-4-6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"claude-opus-4-6":{id:"claude-opus-4-6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"claude-opus-4-5":{id:"claude-opus-4-5",name:"Claude Opus 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"claude-opus-4-5-20251101":{id:"claude-opus-4-5-20251101",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-01",family:"claude-opus"},"claude-haiku-4-5":{id:"claude-haiku-4-5",name:"Claude Haiku 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"claude-haiku-4-5-20251001":{id:"claude-haiku-4-5-20251001",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"claude-sonnet-4-5":{id:"claude-sonnet-4-5",name:"Claude Sonnet 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"claude-sonnet-4-5-20250929":{id:"claude-sonnet-4-5-20250929",name:"Claude Sonnet 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"claude-opus-4-1":{id:"claude-opus-4-1",name:"Claude Opus 4.1 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"claude-opus-4-1-20250805":{id:"claude-opus-4-1-20250805",name:"Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"claude-opus-4-0":{id:"claude-opus-4-0",name:"Claude Opus 4 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"claude-opus-4-20250514":{id:"claude-opus-4-20250514",name:"Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"claude-sonnet-4-0":{id:"claude-sonnet-4-0",name:"Claude Sonnet 4 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"claude-sonnet-4-20250514":{id:"claude-sonnet-4-20250514",name:"Claude Sonnet 4",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"}},baseten:{"zai-org/GLM-5.2":{id:"zai-org/GLM-5.2",name:"GLM 5.2",contextWindow:202720,maxInputTokens:202720,maxTokens:202720,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.3,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"moonshotai/Kimi-K2.7-Code":{id:"moonshotai/Kimi-K2.7-Code",name:"Kimi K2.7 Code",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B":{id:"nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B",name:"Nemotron Ultra",contextWindow:202800,maxInputTokens:202800,maxTokens:202800,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.12,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"deepseek-ai/DeepSeek-V4-Pro":{id:"deepseek-ai/DeepSeek-V4-Pro",name:"Deepseek V4 Pro",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.74,output:3.48,cacheRead:0.145,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"moonshotai/Kimi-K2.6":{id:"moonshotai/Kimi-K2.6",name:"Kimi K2.6",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"zai-org/GLM-5.1":{id:"zai-org/GLM-5.1",name:"GLM 5.1",contextWindow:202800,maxInputTokens:202800,maxTokens:202800,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.3,output:4.3,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"nvidia/Nemotron-120B-A12B":{id:"nvidia/Nemotron-120B-A12B",name:"Nemotron Super",contextWindow:202800,maxInputTokens:202800,maxTokens:202800,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:0.75,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"zai-org/GLM-5":{id:"zai-org/GLM-5",name:"GLM 5",contextWindow:202800,maxInputTokens:202800,maxTokens:202800,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:3.15,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-12",family:"glm"},"moonshotai/Kimi-K2.5":{id:"moonshotai/Kimi-K2.5",name:"Kimi K2.5",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.12,cacheWrite:0},releaseDate:"2026-01-30",family:"kimi-k2"},"zai-org/GLM-4.7":{id:"zai-org/GLM-4.7",name:"GLM 4.7",contextWindow:200000,maxInputTokens:200000,maxTokens:200000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.12,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"OpenAI GPT 120B",contextWindow:128072,maxInputTokens:128072,maxTokens:128072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"}},bedrock:{"eu.anthropic.claude-fable-5":{id:"eu.anthropic.claude-fable-5",name:"Claude Fable 5 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:11,output:55,cacheRead:1.1,cacheWrite:13.75},releaseDate:"2026-06-09",family:"claude-fable"},"global.anthropic.claude-fable-5":{id:"global.anthropic.claude-fable-5",name:"Claude Fable 5 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"us.anthropic.claude-fable-5":{id:"us.anthropic.claude-fable-5",name:"Claude Fable 5 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"anthropic.claude-opus-4-8":{id:"anthropic.claude-opus-4-8",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"au.anthropic.claude-opus-4-8":{id:"au.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (AU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"eu.anthropic.claude-opus-4-8":{id:"eu.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5.5,output:27.5,cacheRead:0.55,cacheWrite:6.875},releaseDate:"2026-05-28",family:"claude-opus"},"global.anthropic.claude-opus-4-8":{id:"global.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"jp.anthropic.claude-opus-4-8":{id:"jp.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (JP)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"us.anthropic.claude-opus-4-8":{id:"us.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"openai.gpt-5.5":{id:"openai.gpt-5.5",name:"GPT-5.5",contextWindow:272000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5.5,output:33,cacheRead:0.55,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"xai.grok-4.3":{id:"xai.grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-17",family:"grok"},"anthropic.claude-opus-4-7":{id:"anthropic.claude-opus-4-7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"eu.anthropic.claude-opus-4-7":{id:"eu.anthropic.claude-opus-4-7",name:"Claude Opus 4.7 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5.5,output:27.5,cacheRead:0.55,cacheWrite:6.875},releaseDate:"2026-04-16",family:"claude-opus"},"global.anthropic.claude-opus-4-7":{id:"global.anthropic.claude-opus-4-7",name:"Claude Opus 4.7 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"jp.anthropic.claude-opus-4-7":{id:"jp.anthropic.claude-opus-4-7",name:"Claude Opus 4.7 (JP)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"us.anthropic.claude-opus-4-7":{id:"us.anthropic.claude-opus-4-7",name:"Claude Opus 4.7 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"minimax.minimax-m2.5":{id:"minimax.minimax-m2.5",name:"MiniMax M2.5",contextWindow:196608,maxInputTokens:196608,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"zai.glm-5":{id:"zai.glm-5",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:101376,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"glm"},"nvidia.nemotron-super-3-120b":{id:"nvidia.nemotron-super-3-120b",name:"NVIDIA Nemotron 3 Super 120B A12B",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.65,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"openai.gpt-5.4":{id:"openai.gpt-5.4",name:"GPT-5.4",contextWindow:272000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.75,output:16.5,cacheRead:0.275,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"anthropic.claude-sonnet-4-6":{id:"anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"au.anthropic.claude-sonnet-4-6":{id:"au.anthropic.claude-sonnet-4-6",name:"AU Anthropic Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3.3,output:16.5,cacheRead:0.33,cacheWrite:4.125},releaseDate:"2026-02-17",family:"claude-sonnet"},"eu.anthropic.claude-sonnet-4-6":{id:"eu.anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3.3,output:16.5,cacheRead:0.33,cacheWrite:4.125},releaseDate:"2026-02-17",family:"claude-sonnet"},"global.anthropic.claude-sonnet-4-6":{id:"global.anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"jp.anthropic.claude-sonnet-4-6":{id:"jp.anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6 (JP)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"mistral.devstral-2-123b":{id:"mistral.devstral-2-123b",name:"Devstral 2 123B",contextWindow:256000,maxInputTokens:256000,maxTokens:8192,capabilities:["tools","structured_output","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-17",family:"devstral"},"us.anthropic.claude-sonnet-4-6":{id:"us.anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"deepseek.v3.2":{id:"deepseek.v3.2",name:"DeepSeek-V3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:81920,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.62,output:1.85,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-06",family:"deepseek"},"moonshotai.kimi-k2.5":{id:"moonshotai.kimi-k2.5",name:"Kimi K2.5",contextWindow:262143,maxInputTokens:262143,maxTokens:16000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-06",family:"kimi"},"qwen.qwen3-coder-next":{id:"qwen.qwen3-coder-next",name:"Qwen3 Coder Next",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.22,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-06",family:"qwen"},"anthropic.claude-opus-4-6-v1":{id:"anthropic.claude-opus-4-6-v1",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"au.anthropic.claude-opus-4-6-v1":{id:"au.anthropic.claude-opus-4-6-v1",name:"AU Anthropic Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:16.5,output:82.5,cacheRead:1.65,cacheWrite:20.625},releaseDate:"2026-02-05",family:"claude-opus"},"eu.anthropic.claude-opus-4-6-v1":{id:"eu.anthropic.claude-opus-4-6-v1",name:"Claude Opus 4.6 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5.5,output:27.5,cacheRead:0.55,cacheWrite:6.875},releaseDate:"2026-02-05",family:"claude-opus"},"global.anthropic.claude-opus-4-6-v1":{id:"global.anthropic.claude-opus-4-6-v1",name:"Claude Opus 4.6 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"us.anthropic.claude-opus-4-6-v1":{id:"us.anthropic.claude-opus-4-6-v1",name:"Claude Opus 4.6 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"zai.glm-4.7-flash":{id:"zai.glm-4.7-flash",name:"GLM-4.7-Flash",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.07,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"minimax.minimax-m2.1":{id:"minimax.minimax-m2.1",name:"MiniMax M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"nvidia.nemotron-nano-3-30b":{id:"nvidia.nemotron-nano-3-30b",name:"NVIDIA Nemotron Nano 3 30B",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.06,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"nemotron"},"zai.glm-4.7":{id:"zai.glm-4.7",name:"GLM-4.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"mistral.magistral-small-2509":{id:"mistral.magistral-small-2509",name:"Magistral Small 1.2",contextWindow:128000,maxInputTokens:128000,maxTokens:40000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"magistral"},"mistral.ministral-3-3b-instruct":{id:"mistral.ministral-3-3b-instruct",name:"Ministral 3 3B",contextWindow:256000,maxInputTokens:256000,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"ministral"},"mistral.mistral-large-3-675b-instruct":{id:"mistral.mistral-large-3-675b-instruct",name:"Mistral Large 3",contextWindow:256000,maxInputTokens:256000,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"mistral"},"moonshot.kimi-k2-thinking":{id:"moonshot.kimi-k2-thinking",name:"Kimi K2 Thinking",contextWindow:262143,maxInputTokens:262143,maxTokens:16000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"kimi-thinking"},"anthropic.claude-opus-4-5-20251101-v1:0":{id:"anthropic.claude-opus-4-5-20251101-v1:0",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"eu.anthropic.claude-opus-4-5-20251101-v1:0":{id:"eu.anthropic.claude-opus-4-5-20251101-v1:0",name:"Claude Opus 4.5 (EU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5.5,output:27.5,cacheRead:0.55,cacheWrite:6.875},releaseDate:"2025-11-24",family:"claude-opus"},"global.anthropic.claude-opus-4-5-20251101-v1:0":{id:"global.anthropic.claude-opus-4-5-20251101-v1:0",name:"Claude Opus 4.5 (Global)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"us.anthropic.claude-opus-4-5-20251101-v1:0":{id:"us.anthropic.claude-opus-4-5-20251101-v1:0",name:"Claude Opus 4.5 (US)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"openai.gpt-oss-safeguard-120b":{id:"openai.gpt-oss-safeguard-120b",name:"GPT OSS Safeguard 120B",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"openai.gpt-oss-safeguard-20b":{id:"openai.gpt-oss-safeguard-20b",name:"GPT OSS Safeguard 20B",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.07,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"minimax.minimax-m2":{id:"minimax.minimax-m2",name:"MiniMax M2",contextWindow:204608,maxInputTokens:204608,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-27",family:"minimax"},"anthropic.claude-haiku-4-5-20251001-v1:0":{id:"anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"au.anthropic.claude-haiku-4-5-20251001-v1:0":{id:"au.anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5 (AU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"eu.anthropic.claude-haiku-4-5-20251001-v1:0":{id:"eu.anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5 (EU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.1,output:5.5,cacheRead:0.11,cacheWrite:1.375},releaseDate:"2025-10-15",family:"claude-haiku"},"global.anthropic.claude-haiku-4-5-20251001-v1:0":{id:"global.anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5 (Global)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"us.anthropic.claude-haiku-4-5-20251001-v1:0":{id:"us.anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5 (US)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"qwen.qwen3-vl-235b-a22b":{id:"qwen.qwen3-vl-235b-a22b",name:"Qwen/Qwen3-VL-235B-A22B-Instruct",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.3,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-04",family:"qwen"},"anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"au.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"au.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (AU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"eu.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"eu.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (EU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3.3,output:16.5,cacheRead:0.33,cacheWrite:4.125},releaseDate:"2025-09-29",family:"claude-sonnet"},"global.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"global.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (Global)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"jp.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"jp.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (JP)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"us.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"us.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (US)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"deepseek.v3-v1:0":{id:"deepseek.v3-v1:0",name:"DeepSeek-V3.1",contextWindow:163840,maxInputTokens:163840,maxTokens:81920,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.58,output:1.68,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"deepseek"},"qwen.qwen3-235b-a22b-2507-v1:0":{id:"qwen.qwen3-235b-a22b-2507-v1:0",name:"Qwen3 235B A22B 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","structured_output","temperature"],pricing:{input:0.22,output:0.88,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"qwen.qwen3-32b-v1:0":{id:"qwen.qwen3-32b-v1:0",name:"Qwen3 32B (dense)",contextWindow:16384,maxInputTokens:16384,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"qwen.qwen3-coder-30b-a3b-v1:0":{id:"qwen.qwen3-coder-30b-a3b-v1:0",name:"Qwen3 Coder 30B A3B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"qwen.qwen3-coder-480b-a35b-v1:0":{id:"qwen.qwen3-coder-480b-a35b-v1:0",name:"Qwen3 Coder 480B A35B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","structured_output","temperature"],pricing:{input:0.22,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"qwen.qwen3-next-80b-a3b":{id:"qwen.qwen3-next-80b-a3b",name:"Qwen/Qwen3-Next-80B-A3B-Instruct",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.14,output:1.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"anthropic.claude-opus-4-1-20250805-v1:0":{id:"anthropic.claude-opus-4-1-20250805-v1:0",name:"Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"openai.gpt-oss-120b":{id:"openai.gpt-oss-120b",name:"gpt-oss-120b",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai.gpt-oss-120b-1:0":{id:"openai.gpt-oss-120b-1:0",name:"gpt-oss-120b",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai.gpt-oss-20b":{id:"openai.gpt-oss-20b",name:"gpt-oss-20b",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.07,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai.gpt-oss-20b-1:0":{id:"openai.gpt-oss-20b-1:0",name:"gpt-oss-20b",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.07,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"us.anthropic.claude-opus-4-1-20250805-v1:0":{id:"us.anthropic.claude-opus-4-1-20250805-v1:0",name:"Claude Opus 4.1 (US)",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"google.gemma-3-27b-it":{id:"google.gemma-3-27b-it",name:"Google Gemma 3 27B Instruct",contextWindow:202752,maxInputTokens:202752,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.12,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-27",family:"gemma"},"mistral.voxtral-small-24b-2507":{id:"mistral.voxtral-small-24b-2507",name:"Voxtral Small 24B 2507",contextWindow:32000,maxInputTokens:32000,maxTokens:8192,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.35,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-01",family:"mistral"},"writer.palmyra-x4-v1:0":{id:"writer.palmyra-x4-v1:0",name:"Palmyra X4",contextWindow:122880,maxInputTokens:122880,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"palmyra"},"writer.palmyra-x5-v1:0":{id:"writer.palmyra-x5-v1:0",name:"Palmyra X5",contextWindow:1040000,maxInputTokens:1040000,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.6,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"palmyra"},"mistral.pixtral-large-2502-v1:0":{id:"mistral.pixtral-large-2502-v1:0",name:"Pixtral Large (25.02)",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["images","tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-08",family:"mistral"},"meta.llama4-maverick-17b-instruct-v1:0":{id:"meta.llama4-maverick-17b-instruct-v1:0",name:"Llama 4 Maverick 17B Instruct",contextWindow:1e6,maxInputTokens:1e6,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.24,output:0.97,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"meta.llama4-scout-17b-instruct-v1:0":{id:"meta.llama4-scout-17b-instruct-v1:0",name:"Llama 4 Scout 17B Instruct",contextWindow:3500000,maxInputTokens:3500000,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.17,output:0.66,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"us.meta.llama4-maverick-17b-instruct-v1:0":{id:"us.meta.llama4-maverick-17b-instruct-v1:0",name:"Llama 4 Maverick 17B Instruct (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.24,output:0.97,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"us.meta.llama4-scout-17b-instruct-v1:0":{id:"us.meta.llama4-scout-17b-instruct-v1:0",name:"Llama 4 Scout 17B Instruct (US)",contextWindow:3500000,maxInputTokens:3500000,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.17,output:0.66,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"deepseek.r1-v1:0":{id:"deepseek.r1-v1:0",name:"DeepSeek-R1",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:1.35,output:5.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"us.deepseek.r1-v1:0":{id:"us.deepseek.r1-v1:0",name:"DeepSeek-R1 (US)",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:1.35,output:5.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"meta.llama3-3-70b-instruct-v1:0":{id:"meta.llama3-3-70b-instruct-v1:0",name:"Llama 3.3 70B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"amazon.nova-lite-v1:0":{id:"amazon.nova-lite-v1:0",name:"Nova Lite",contextWindow:300000,maxInputTokens:300000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.015,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-lite"},"amazon.nova-micro-v1:0":{id:"amazon.nova-micro-v1:0",name:"Nova Micro",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.035,output:0.14,cacheRead:0.00875,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-micro"},"amazon.nova-pro-v1:0":{id:"amazon.nova-pro-v1:0",name:"Nova Pro",contextWindow:300000,maxInputTokens:300000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.8,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-pro"},"amazon.nova-2-lite-v1:0":{id:"amazon.nova-2-lite-v1:0",name:"Nova 2 Lite",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.33,output:2.75,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"nova"},"google.gemma-3-4b-it":{id:"google.gemma-3-4b-it",name:"Gemma 3 4B IT",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:0.04,output:0.08,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"gemma"},"mistral.ministral-3-14b-instruct":{id:"mistral.ministral-3-14b-instruct",name:"Ministral 14B 3.0",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.2,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"ministral"},"mistral.ministral-3-8b-instruct":{id:"mistral.ministral-3-8b-instruct",name:"Ministral 3 8B",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"ministral"},"mistral.voxtral-mini-3b-2507":{id:"mistral.voxtral-mini-3b-2507",name:"Voxtral Mini 3B 2507",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.04,output:0.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"mistral"},"nvidia.nemotron-nano-12b-v2":{id:"nvidia.nemotron-nano-12b-v2",name:"NVIDIA Nemotron Nano 12B v2 VL BF16",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"nemotron"},"nvidia.nemotron-nano-9b-v2":{id:"nvidia.nemotron-nano-9b-v2",name:"NVIDIA Nemotron Nano 9B v2",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.06,output:0.23,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"nemotron"},"meta.llama3-1-70b-instruct-v1:0":{id:"meta.llama3-1-70b-instruct-v1:0",name:"Llama 3.1 70B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"meta.llama3-1-8b-instruct-v1:0":{id:"meta.llama3-1-8b-instruct-v1:0",name:"Llama 3.1 8B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.22,output:0.22,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"}},cerebras:{"zai-glm-4.7":{id:"zai-glm-4.7",name:"Z.AI GLM-4.7",contextWindow:131072,maxInputTokens:131072,maxTokens:40960,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:2.25,output:2.75,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-07"},"gpt-oss-120b":{id:"gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:40960,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.35,output:0.75,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"}},"cline-pass":{"cline-pass/qwen3.7-max":{name:"Qwen3.7 Max",id:"cline-pass/qwen3.7-max",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:3.75,cacheRead:0.25,cacheWrite:1.5625},releaseDate:"2026-05-21",family:"qwen",description:""},"cline-pass/qwen3.7-plus":{name:"Qwen3.7 Plus",id:"cline-pass/qwen3.7-plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.32,output:1.28,cacheRead:0.064,cacheWrite:0.4},releaseDate:"2026-06-02",family:"qwen",description:""},"cline-pass/minimax-m3":{name:"MiniMax-M3",id:"cline-pass/minimax-m3",contextWindow:524288,maxInputTokens:524288,maxTokens:512000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-01",family:"minimax",description:""},"cline-pass/mimo-v2.5-pro":{name:"MiMo-V2.5-Pro",id:"cline-pass/mimo-v2.5-pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo",description:""},"cline-pass/glm-5.2":{name:"GLM-5.2",id:"cline-pass/glm-5.2",contextWindow:1048576,maxInputTokens:1048576,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:3,cacheRead:0.18,cacheWrite:0},releaseDate:"2026-06-13",family:"glm",description:""},"cline-pass/mimo-v2.5":{name:"MiMo-V2.5",id:"cline-pass/mimo-v2.5",contextWindow:32000,maxInputTokens:32000,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.105,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo",description:""},"cline-pass/kimi-k2.7-code":{name:"Kimi K2.7 Code",id:"cline-pass/kimi-k2.7-code",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.74,output:3.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2",description:""},"cline-pass/deepseek-v4-flash":{name:"DeepSeek V4 Flash",id:"cline-pass/deepseek-v4-flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.09,output:0.18,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash",description:""},"cline-pass/deepseek-v4-pro":{name:"DeepSeek V4 Pro",id:"cline-pass/deepseek-v4-pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking",description:""},"cline-pass/kimi-k2.6":{name:"Kimi K2.6",id:"cline-pass/kimi-k2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.55,output:3.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2",description:""}},deepseek:{"deepseek-v4-flash":{id:"deepseek-v4-flash",name:"DeepSeek V4 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deepseek-v4-pro":{id:"deepseek-v4-pro",name:"DeepSeek V4 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"deepseek-chat":{id:"deepseek-chat",name:"DeepSeek Chat",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek"},"deepseek-reasoner":{id:"deepseek-reasoner",name:"DeepSeek Reasoner",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek-thinking"}},fireworks:{"accounts/fireworks/routers/glm-5p2-fast":{id:"accounts/fireworks/routers/glm-5p2-fast",name:"GLM 5.2 Fast",contextWindow:1048575,maxInputTokens:1048575,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:2.1,output:6.6,cacheRead:0.21,cacheWrite:0},releaseDate:"2026-06-26",family:"glm"},"accounts/fireworks/models/glm-5p2":{id:"accounts/fireworks/models/glm-5p2",name:"GLM 5.2",contextWindow:1048575,maxInputTokens:1048575,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-06-16",family:"glm"},"accounts/fireworks/models/kimi-k2p7-code":{id:"accounts/fireworks/models/kimi-k2p7-code",name:"Kimi K2.7 Code",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"accounts/fireworks/models/minimax-m3":{id:"accounts/fireworks/models/minimax-m3",name:"MiniMax-M3",contextWindow:512000,maxInputTokens:512000,maxTokens:512000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-12",family:"minimax"},"accounts/fireworks/models/qwen3p7-plus":{id:"accounts/fireworks/models/qwen3p7-plus",name:"Qwen 3.7 Plus",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.08,cacheWrite:0},releaseDate:"2026-06-12",family:"qwen"},"accounts/fireworks/routers/kimi-k2p7-code-fast":{id:"accounts/fireworks/routers/kimi-k2p7-code-fast",name:"Kimi K2.7 Code Fast",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.9,output:8,cacheRead:0.38,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"accounts/fireworks/models/deepseek-v4-flash":{id:"accounts/fireworks/models/deepseek-v4-flash",name:"DeepSeek V4 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.028,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"accounts/fireworks/models/deepseek-v4-pro":{id:"accounts/fireworks/models/deepseek-v4-pro",name:"DeepSeek V4 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.74,output:3.48,cacheRead:0.145,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"accounts/fireworks/models/kimi-k2p6":{id:"accounts/fireworks/models/kimi-k2p6",name:"Kimi K2.6",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-17",family:"kimi-thinking"},"accounts/fireworks/routers/kimi-k2p6-fast":{id:"accounts/fireworks/routers/kimi-k2p6-fast",name:"Kimi K2.6 Fast",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.3,cacheWrite:0},releaseDate:"2026-04-17",family:"kimi-thinking"},"accounts/fireworks/routers/kimi-k2p6-turbo":{id:"accounts/fireworks/routers/kimi-k2p6-turbo",name:"Kimi K2.6 Turbo",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.3,cacheWrite:0},releaseDate:"2026-04-17",family:"kimi-thinking"},"accounts/fireworks/models/minimax-m2p7":{id:"accounts/fireworks/models/minimax-m2p7",name:"MiniMax-M2.7",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-04-12",family:"minimax"},"accounts/fireworks/models/glm-5p1":{id:"accounts/fireworks/models/glm-5p1",name:"GLM 5.1",contextWindow:202800,maxInputTokens:202800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"accounts/fireworks/routers/glm-5p1-fast":{id:"accounts/fireworks/routers/glm-5p1-fast",name:"GLM 5.1 Fast",contextWindow:202800,maxInputTokens:202800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:2.8,output:8.8,cacheRead:0.52,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"accounts/fireworks/models/gpt-oss-120b":{id:"accounts/fireworks/models/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"accounts/fireworks/models/gpt-oss-20b":{id:"accounts/fireworks/models/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.07,output:0.3,cacheRead:0.035,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"}},gemini:{"gemini-3.5-flash":{id:"gemini-3.5-flash",name:"Gemini 3.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-05-19",family:"gemini-flash"},"gemini-3.1-flash-lite":{id:"gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0},releaseDate:"2026-05-07",family:"gemini-flash-lite"},"gemma-4-26b-a4b-it":{id:"gemma-4-26b-a4b-it",name:"Gemma 4 26B A4B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"gemma-4-31b-it":{id:"gemma-4-31b-it",name:"Gemma 4 31B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"gemini-3.1-pro-preview-customtools":{id:"gemini-3.1-pro-preview-customtools",name:"Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"gemini-3-flash-preview":{id:"gemini-3-flash-preview",name:"Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"gemini-flash-latest":{id:"gemini-flash-latest",name:"Gemini Flash Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2025-09-25",family:"gemini-flash"},"gemini-flash-lite-latest":{id:"gemini-flash-lite-latest",name:"Gemini Flash-Lite Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-09-25",family:"gemini-flash-lite"},"gemini-2.5-flash":{id:"gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash"},"gemini-2.5-flash-lite":{id:"gemini-2.5-flash-lite",name:"Gemini 2.5 Flash-Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"gemini-2.5-pro":{id:"gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-pro"}},groq:{"openai/gpt-oss-safeguard-20b":{id:"openai/gpt-oss-safeguard-20b",name:"Safety GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.037,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.0375,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"qwen/qwen3-32b":{id:"qwen/qwen3-32b",name:"Qwen3-32B",contextWindow:131072,maxInputTokens:131072,maxTokens:40960,capabilities:["tools","reasoning","temperature"],pricing:{input:0.29,output:0.59,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-11",family:"qwen"},"meta-llama/llama-4-scout-17b-16e-instruct":{id:"meta-llama/llama-4-scout-17b-16e-instruct",name:"Llama 4 Scout 17B 16E",contextWindow:131072,maxInputTokens:131072,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.11,output:0.34,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"llama-3.3-70b-versatile":{id:"llama-3.3-70b-versatile",name:"Llama 3.3 70B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.59,output:0.79,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"llama-3.1-8b-instant":{id:"llama-3.1-8b-instant",name:"Llama 3.1 8B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0.05,output:0.08,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"}},huggingface:{"zai-org/GLM-5.2":{id:"zai-org/GLM-5.2",name:"GLM-5.2",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1.4,output:4.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"moonshotai/Kimi-K2.7-Code":{id:"moonshotai/Kimi-K2.7-Code",name:"Kimi K2.7 Code",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:0.95,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"MiniMaxAI/MiniMax-M3":{id:"MiniMaxAI/MiniMax-M3",name:"MiniMax-M3",contextWindow:524288,maxInputTokens:524288,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-01",family:"minimax"},"stepfun-ai/Step-3.7-Flash":{id:"stepfun-ai/Step-3.7-Flash",name:"Step 3.7 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:256000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.2,output:1.15,cacheRead:0,cacheWrite:0},releaseDate:"2026-05-29"},"deepseek-ai/DeepSeek-V4-Flash":{id:"deepseek-ai/DeepSeek-V4-Flash",name:"DeepSeek V4 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.14,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deepseek-ai/DeepSeek-V4-Pro":{id:"deepseek-ai/DeepSeek-V4-Pro",name:"DeepSeek V4 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:393216,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"Qwen/Qwen3.6-27B":{id:"Qwen/Qwen3.6-27B",name:"Qwen3.6 27B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.47,output:3.19,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"qwen"},"XiaomiMiMo/MiMo-V2.5-Pro":{id:"XiaomiMiMo/MiMo-V2.5-Pro",name:"MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"moonshotai/Kimi-K2.6":{id:"moonshotai/Kimi-K2.6",name:"Kimi-K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-20",family:"kimi-k2"},"Qwen/Qwen3.6-35B-A3B":{id:"Qwen/Qwen3.6-35B-A3B",name:"Qwen3.6 35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.95,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-17",family:"qwen"},"zai-org/GLM-5.1":{id:"zai-org/GLM-5.1",name:"GLM-5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-03",family:"glm"},"google/gemma-4-26B-A4B-it":{id:"google/gemma-4-26B-A4B-it",name:"Gemma 4 26B A4B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.13,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-31B-it":{id:"google/gemma-4-31B-it",name:"Gemma 4 31B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.14,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"MiniMaxAI/MiniMax-M2.7":{id:"MiniMaxAI/MiniMax-M2.7",name:"MiniMax-M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"Qwen/Qwen3.5-122B-A10B":{id:"Qwen/Qwen3.5-122B-A10B",name:"Qwen3.5 122B-A10B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.4,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"Qwen/Qwen3.5-27B":{id:"Qwen/Qwen3.5-27B",name:"Qwen3.5 27B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.3,output:2.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"Qwen/Qwen3.5-35B-A3B":{id:"Qwen/Qwen3.5-35B-A3B",name:"Qwen3.5 35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"Qwen/Qwen3.5-9B":{id:"Qwen/Qwen3.5-9B",name:"Qwen3.5 9B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.17,output:0.25,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"MiniMaxAI/MiniMax-M2.5":{id:"MiniMaxAI/MiniMax-M2.5",name:"MiniMax-M2.5",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0},releaseDate:"2026-02-12",family:"minimax"},"zai-org/GLM-5":{id:"zai-org/GLM-5",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"Qwen/Qwen3-Coder-Next":{id:"Qwen/Qwen3-Coder-Next",name:"Qwen3-Coder-Next",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","temperature"],pricing:{input:0.2,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-03",family:"qwen"},"Qwen/Qwen3.5-397B-A17B":{id:"Qwen/Qwen3.5-397B-A17B",name:"Qwen3.5-397B-A17B",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.6,output:3.6,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-01",family:"qwen"},"stepfun-ai/Step-3.5-Flash":{id:"stepfun-ai/Step-3.5-Flash",name:"Step 3.5 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:256000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-29"},"moonshotai/Kimi-K2.5":{id:"moonshotai/Kimi-K2.5",name:"Kimi-K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-01-01",family:"kimi-k2"},"MiniMaxAI/MiniMax-M2.1":{id:"MiniMaxAI/MiniMax-M2.1",name:"MiniMax-M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"zai-org/GLM-4.7":{id:"zai-org/GLM-4.7",name:"GLM-4.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"XiaomiMiMo/MiMo-V2-Flash":{id:"XiaomiMiMo/MiMo-V2-Flash",name:"MiMo-V2-Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:4096,capabilities:["tools","reasoning","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-16",family:"mimo"},"deepseek-ai/DeepSeek-V3.2":{id:"deepseek-ai/DeepSeek-V3.2",name:"DeepSeek-V3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0.28,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek"},"moonshotai/Kimi-K2-Thinking":{id:"moonshotai/Kimi-K2-Thinking",name:"Kimi-K2-Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"MiniMaxAI/MiniMax-M2":{id:"MiniMaxAI/MiniMax-M2",name:"MiniMax-M2",contextWindow:204800,maxInputTokens:204800,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-27",family:"minimax"},"zai-org/GLM-4.6":{id:"zai-org/GLM-4.6",name:"GLM-4.6",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.55,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"Qwen/Qwen3-Next-80B-A3B-Instruct":{id:"Qwen/Qwen3-Next-80B-A3B-Instruct",name:"Qwen3-Next-80B-A3B-Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:66536,capabilities:["tools","temperature"],pricing:{input:0.25,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11",family:"qwen"},"Qwen/Qwen3-Next-80B-A3B-Thinking":{id:"Qwen/Qwen3-Next-80B-A3B-Thinking",name:"Qwen3-Next-80B-A3B-Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0.3,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11",family:"qwen"},"moonshotai/Kimi-K2-Instruct-0905":{id:"moonshotai/Kimi-K2-Instruct-0905",name:"Kimi-K2-Instruct-0905",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-04",family:"kimi-k2"},"zai-org/GLM-4.5V":{id:"zai-org/GLM-4.5V",name:"GLM-4.5V",contextWindow:65536,maxInputTokens:65536,maxTokens:16384,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.6,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-11",family:"glm"},"zai-org/GLM-4.7-Flash":{id:"zai-org/GLM-4.7-Flash",name:"GLM-4.7-Flash",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-08",family:"glm"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.25,output:0.69,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"zai-org/GLM-4.5":{id:"zai-org/GLM-4.5",name:"GLM-4.5",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0.6,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-28",family:"glm"},"zai-org/GLM-4.5-Air":{id:"zai-org/GLM-4.5-Air",name:"GLM-4.5-Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0.13,output:0.85,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"},"Qwen/Qwen3-235B-A22B-Thinking-2507":{id:"Qwen/Qwen3-235B-A22B-Thinking-2507",name:"Qwen3-235B-A22B-Thinking-2507",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"Qwen/Qwen3-Coder-480B-A35B-Instruct":{id:"Qwen/Qwen3-Coder-480B-A35B-Instruct",name:"Qwen3-Coder-480B-A35B-Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:66536,capabilities:["tools","temperature"],pricing:{input:2,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"moonshotai/Kimi-K2-Instruct":{id:"moonshotai/Kimi-K2-Instruct",name:"Kimi-K2-Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-14",family:"kimi-k2"},"deepseek-ai/DeepSeek-R1-0528":{id:"deepseek-ai/DeepSeek-R1-0528",name:"DeepSeek-R1-0528",contextWindow:163840,maxInputTokens:163840,maxTokens:163840,capabilities:["tools","reasoning","temperature"],pricing:{input:3,output:5,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-28",family:"deepseek-thinking"},"Qwen/Qwen3-235B-A22B":{id:"Qwen/Qwen3-235B-A22B",name:"Qwen3 235B-A22B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.2,output:0.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"Qwen/Qwen3-32B":{id:"Qwen/Qwen3-32B",name:"Qwen3 32B",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.29,output:0.59,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"Qwen/Qwen3-Coder-30B-A3B-Instruct":{id:"Qwen/Qwen3-Coder-30B-A3B-Instruct",name:"Qwen3-Coder 30B-A3B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","structured_output","temperature"],pricing:{input:0.07,output:0.26,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"deepseek-ai/DeepSeek-R1":{id:"deepseek-ai/DeepSeek-R1",name:"DeepSeek-R1",contextWindow:64000,maxInputTokens:64000,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.7,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"meta-llama/Llama-3.3-70B-Instruct":{id:"meta-llama/Llama-3.3-70B-Instruct",name:"Llama-3.3-70B-Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.59,output:0.79,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"}},kilo:{"x-ai/grok-build-0.1":{id:"x-ai/grok-build-0.1",name:"xAI: Grok Build 0.1",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-05-20"},"google/gemini-3.5-flash":{id:"google/gemini-3.5-flash",name:"Google: Gemini 3.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0.08333},releaseDate:"2026-05-19"},"anthropic/claude-opus-4.7-fast":{id:"anthropic/claude-opus-4.7-fast",name:"Anthropic: Claude Opus 4.7 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:30,output:150,cacheRead:3,cacheWrite:37.5},releaseDate:"2026-05-12"},"inclusionai/ring-2.6-1t":{id:"inclusionai/ring-2.6-1t",name:"inclusionAI: Ring-2.6-1T",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.075,output:0.625,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-05-08"},"google/gemini-3.1-flash-lite":{id:"google/gemini-3.1-flash-lite",name:"Google: Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0.08333},releaseDate:"2026-05-07"},"baidu/cobuddy:free":{id:"baidu/cobuddy:free",name:"Baidu: CoBuddy (free)",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-05-06"},"openai/gpt-chat-latest":{id:"openai/gpt-chat-latest",name:"OpenAI: GPT Chat Latest",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-05-05"},"x-ai/grok-4.3":{id:"x-ai/grok-4.3",name:"xAI: Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:4096,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-05-01"},"ibm-granite/granite-4.1-8b":{id:"ibm-granite/granite-4.1-8b",name:"IBM: Granite 4.1 8B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.05,output:0.1,cacheRead:0.05,cacheWrite:0},releaseDate:"2026-04-30"},"mistralai/mistral-medium-3-5":{id:"mistralai/mistral-medium-3-5",name:"Mistral: Mistral Medium 3.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:1.5,output:7.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-30"},"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free":{id:"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",name:"NVIDIA: Nemotron 3 Nano Omni (free)",contextWindow:256000,maxInputTokens:256000,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28",family:"nemotron"},"openrouter/owl-alpha":{id:"openrouter/owl-alpha",name:"Owl Alpha",contextWindow:1048756,maxInputTokens:1048756,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-m.1:free":{id:"poolside/laguna-m.1:free",name:"Poolside: Laguna M.1 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-xs.2:free":{id:"poolside/laguna-xs.2:free",name:"Poolside: Laguna XS.2 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"~anthropic/claude-haiku-latest":{id:"~anthropic/claude-haiku-latest",name:"Anthropic: Claude Haiku Latest",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2026-04-27"},"~anthropic/claude-sonnet-latest":{id:"~anthropic/claude-sonnet-latest",name:"Anthropic: Claude Sonnet Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-04-27"},"~google/gemini-flash-latest":{id:"~google/gemini-flash-latest",name:"Google: Gemini Flash Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0.08333333333333334},releaseDate:"2026-04-27"},"~google/gemini-pro-latest":{id:"~google/gemini-pro-latest",name:"Google: Gemini Pro Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-04-27"},"~moonshotai/kimi-latest":{id:"~moonshotai/kimi-latest",name:"MoonshotAI: Kimi Latest",contextWindow:262142,maxInputTokens:262142,maxTokens:262142,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.74,output:3.49,cacheRead:0.14,cacheWrite:0},releaseDate:"2026-04-27"},"~openai/gpt-latest":{id:"~openai/gpt-latest",name:"OpenAI: GPT Latest",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-27"},"~openai/gpt-mini-latest":{id:"~openai/gpt-mini-latest",name:"OpenAI: GPT Mini Latest",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-04-27"},"qwen/qwen3.5-plus-20260420":{id:"qwen/qwen3.5-plus-20260420",name:"Qwen: Qwen3.5 Plus 2026-04-20",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.4,output:2.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-27"},"qwen/qwen3.6-27b":{id:"qwen/qwen3.6-27b",name:"Qwen: Qwen3.6 27B",contextWindow:256000,maxInputTokens:256000,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.325,output:3.25,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-27"},"qwen/qwen3.6-flash":{id:"qwen/qwen3.6-flash",name:"Qwen: Qwen3.6 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0,cacheWrite:0.3125},releaseDate:"2026-04-27"},"qwen/qwen3.6-max-preview":{id:"qwen/qwen3.6-max-preview",name:"Qwen: Qwen3.6 Max Preview",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.04,output:6.24,cacheRead:0,cacheWrite:1.3},releaseDate:"2026-04-27"},"deepseek/deepseek-v4-flash":{id:"deepseek/deepseek-v4-flash",name:"DeepSeek: DeepSeek V4 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-24"},"deepseek/deepseek-v4-pro":{id:"deepseek/deepseek-v4-pro",name:"DeepSeek: DeepSeek V4 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24"},"openai/gpt-5.5":{id:"openai/gpt-5.5",name:"OpenAI: GPT-5.5",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-24"},"openai/gpt-5.5-pro":{id:"openai/gpt-5.5-pro",name:"OpenAI: GPT-5.5 Pro",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24"},"inclusionai/ling-2.6-1t":{id:"inclusionai/ling-2.6-1t",name:"inclusionAI: Ling-2.6-1T",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-04-23"},"tencent/hy3-preview":{id:"tencent/hy3-preview",name:"Tencent: Hy3 Preview",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.066,output:0.26,cacheRead:0.029,cacheWrite:0},releaseDate:"2026-04-22"},"xiaomi/mimo-v2.5":{id:"xiaomi/mimo-v2.5",name:"Xiaomi: MiMo-V2.5",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.08,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"xiaomi/mimo-v2.5-pro":{id:"xiaomi/mimo-v2.5-pro",name:"Xiaomi: MiMo V2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"inclusionai/ling-2.6-flash":{id:"inclusionai/ling-2.6-flash",name:"inclusionAI: Ling-2.6 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.08,output:0.24,cacheRead:0.016,cacheWrite:0},releaseDate:"2026-04-21"},"moonshotai/kimi-k2.6":{id:"moonshotai/kimi-k2.6",name:"MoonshotAI: Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:65535,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.75,output:3.5,cacheRead:0.375,cacheWrite:0},releaseDate:"2026-04-20"},"~anthropic/claude-opus-latest":{id:"~anthropic/claude-opus-latest",name:"Anthropic: Claude Opus Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16"},"anthropic/claude-opus-4.7":{id:"anthropic/claude-opus-4.7",name:"Anthropic: Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16"},"stealth/claude-opus-4.7":{id:"stealth/claude-opus-4.7",name:"Stealth: Claude Opus 4.7 (20% off)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:4,output:20,cacheRead:0.4,cacheWrite:5},releaseDate:"2026-04-16"},"anthropic/claude-opus-4.6-fast":{id:"anthropic/claude-opus-4.6-fast",name:"Anthropic: Claude Opus 4.6 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:30,output:150,cacheRead:3,cacheWrite:37.5},releaseDate:"2026-04-07"},"google/gemma-4-26b-a4b-it":{id:"google/gemma-4-26b-a4b-it",name:"Google: Gemma 4 26B A4B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.12,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-03"},"google/gemma-4-31b-it":{id:"google/gemma-4-31b-it",name:"Google: Gemma 4 31B",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.14,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02"},"arcee-ai/trinity-large-thinking":{id:"arcee-ai/trinity-large-thinking",name:"Arcee AI: Trinity Large Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature"],pricing:{input:0.22,output:0.85,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-01"},"z-ai/glm-5v-turbo":{id:"z-ai/glm-5v-turbo",name:"Z.ai: GLM 5V Turbo",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-04-01"},"x-ai/grok-4.20":{id:"x-ai/grok-4.20",name:"xAI: Grok 4.20",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:6,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-31"},"kwaipilot/kat-coder-pro-v2":{id:"kwaipilot/kat-coder-pro-v2",name:"Kwaipilot: KAT-Coder-Pro V2",contextWindow:256000,maxInputTokens:256000,maxTokens:80000,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-27"},"z-ai/glm-5.1":{id:"z-ai/glm-5.1",name:"Z.ai: GLM 5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:1.26,output:3.96,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-27"},"rekaai/reka-edge":{id:"rekaai/reka-edge",name:"Reka Edge",contextWindow:16384,maxInputTokens:16384,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-20"},"minimax/minimax-m2.7":{id:"minimax/minimax-m2.7",name:"MiniMax: MiniMax M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax-m2.7"},"xiaomi/mimo-v2-omni":{id:"xiaomi/mimo-v2-omni",name:"Xiaomi: MiMo-V2-Omni",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.08,cacheWrite:0},releaseDate:"2026-03-18",family:"mimo"},"xiaomi/mimo-v2-pro":{id:"xiaomi/mimo-v2-pro",name:"Xiaomi: MiMo-V2-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-18",family:"mimo"},"openai/gpt-5.4-mini":{id:"openai/gpt-5.4-mini",name:"OpenAI: GPT-5.4 Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17"},"openai/gpt-5.4-nano":{id:"openai/gpt-5.4-nano",name:"OpenAI: GPT-5.4 Nano",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-03-17"},"mistralai/mistral-small-2603":{id:"mistralai/mistral-small-2603",name:"Mistral: Mistral Small 4",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-03-16"},"kilo-auto/balanced":{id:"kilo-auto/balanced",name:"Kilo Auto Balanced",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.6,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"kilo-auto/free":{id:"kilo-auto/free",name:"Kilo Auto Free",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"kilo-auto/frontier":{id:"kilo-auto/frontier",name:"Kilo Auto Frontier",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:5,output:25,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"kilo-auto/small":{id:"kilo-auto/small",name:"Kilo Auto Small",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.05,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"openrouter/auto":{id:"openrouter/auto",name:"Auto Router",contextWindow:2000000,maxInputTokens:2000000,maxTokens:32768,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"z-ai/glm-5-turbo":{id:"z-ai/glm-5-turbo",name:"Z.ai: GLM 5 Turbo",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-03-15"},"nvidia/nemotron-3-super-120b-a12b:free":{id:"nvidia/nemotron-3-super-120b-a12b:free",name:"NVIDIA: Nemotron 3 Super (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-12",family:"nemotron"},"nvidia/nemotron-3-super-120b-a12b":{id:"nvidia/nemotron-3-super-120b-a12b",name:"NVIDIA: Nemotron 3 Super",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.5,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"bytedance-seed/seed-2.0-lite":{id:"bytedance-seed/seed-2.0-lite",name:"ByteDance Seed: Seed-2.0-Lite",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-10"},"qwen/qwen3.5-9b":{id:"qwen/qwen3.5-9b",name:"Qwen: Qwen3.5-9B",contextWindow:256000,maxInputTokens:256000,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.05,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-10"},"openai/gpt-5.4":{id:"openai/gpt-5.4",name:"OpenAI: GPT-5.4",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:2.5,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-06"},"openai/gpt-5.4-pro":{id:"openai/gpt-5.4-pro",name:"OpenAI: GPT-5.4 Pro",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-06"},"openai/gpt-5.3-chat":{id:"openai/gpt-5.3-chat",name:"OpenAI: GPT-5.3 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools"],pricing:{input:1.75,output:14,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-04"},"google/gemini-3.1-flash-lite-preview":{id:"google/gemini-3.1-flash-lite-preview",name:"Google: Gemini 3.1 Flash Lite Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.25,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-03"},"bytedance-seed/seed-2.0-mini":{id:"bytedance-seed/seed-2.0-mini",name:"ByteDance Seed: Seed-2.0-Mini",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.1,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-27"},"google/gemini-3.1-pro-preview-customtools":{id:"google/gemini-3.1-pro-preview-customtools",name:"Google: Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:2,output:12,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"qwen/qwen3.5-122b-a10b":{id:"qwen/qwen3.5-122b-a10b",name:"Qwen: Qwen3.5-122B-A10B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.26,output:2.08,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"qwen/qwen3.5-27b":{id:"qwen/qwen3.5-27b",name:"Qwen: Qwen3.5-27B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.195,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"qwen/qwen3.5-35b-a3b":{id:"qwen/qwen3.5-35b-a3b",name:"Qwen: Qwen3.5-35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.1625,output:1.3,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"qwen/qwen3.5-flash-02-23":{id:"qwen/qwen3.5-flash-02-23",name:"Qwen: Qwen3.5-Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.1,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"openai/gpt-5.3-codex":{id:"openai/gpt-5.3-codex",name:"OpenAI: GPT-5.3-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning"],pricing:{input:1.75,output:14,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-25"},"inception/mercury-2":{id:"inception/mercury-2",name:"Inception: Mercury 2",contextWindow:128000,maxInputTokens:128000,maxTokens:50000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:0.75,cacheRead:0.025,cacheWrite:0},releaseDate:"2026-02-24"},"google/gemini-3.1-pro-preview":{id:"google/gemini-3.1-pro-preview",name:"Google: Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:2,output:12,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-19"},"anthropic/claude-sonnet-4.6":{id:"anthropic/claude-sonnet-4.6",name:"Anthropic: Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:3,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-17"},"stealth/claude-sonnet-4.6":{id:"stealth/claude-sonnet-4.6",name:"Stealth: Claude Sonnet 4.6 (20% off)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2.4,output:12,cacheRead:0.24,cacheWrite:3},releaseDate:"2026-02-17"},"qwen/qwen3.5-397b-a17b":{id:"qwen/qwen3.5-397b-a17b",name:"Qwen: Qwen3.5 397B A17B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.39,output:2.34,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-15"},"qwen/qwen3.5-plus-02-15":{id:"qwen/qwen3.5-plus-02-15",name:"Qwen: Qwen3.5 Plus 2026-02-15",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.26,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-15"},"minimax/minimax-m2.5":{id:"minimax/minimax-m2.5",name:"MiniMax: MiniMax M2.5",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:1.2,cacheRead:0.029,cacheWrite:0},releaseDate:"2026-02-12"},"z-ai/glm-5":{id:"z-ai/glm-5",name:"Z.ai: GLM 5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.72,output:2.3,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-12"},"anthropic/claude-opus-4.6":{id:"anthropic/claude-opus-4.6",name:"Anthropic: Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05"},"stealth/claude-opus-4.6":{id:"stealth/claude-opus-4.6",name:"Stealth: Claude Opus 4.6 (20% off)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:4,output:20,cacheRead:0.4,cacheWrite:5},releaseDate:"2026-02-05"},"qwen/qwen3-coder-next":{id:"qwen/qwen3-coder-next",name:"Qwen: Qwen3 Coder Next",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.12,output:0.75,cacheRead:0.035,cacheWrite:0},releaseDate:"2026-02-02"},"openrouter/free":{id:"openrouter/free",name:"Free Models Router",contextWindow:200000,maxInputTokens:200000,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-01"},"stepfun/step-3.5-flash":{id:"stepfun/step-3.5-flash",name:"StepFun: Step 3.5 Flash",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-01-29"},"moonshotai/kimi-k2.5":{id:"moonshotai/kimi-k2.5",name:"MoonshotAI: Kimi K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:65535,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.45,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27"},"upstage/solar-pro-3":{id:"upstage/solar-pro-3",name:"Upstage: Solar Pro 3",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27"},"qwen/qwen3-max-thinking":{id:"qwen/qwen3-max-thinking",name:"Qwen: Qwen3 Max Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.78,output:3.9,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-23"},"z-ai/glm-4.7-flash":{id:"z-ai/glm-4.7-flash",name:"Z.ai: GLM 4.7 Flash",contextWindow:202752,maxInputTokens:202752,maxTokens:40551,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.06,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2026-01-19"},"openai/gpt-5.2-codex":{id:"openai/gpt-5.2-codex",name:"OpenAI: GPT-5.2-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-01-14"},"mistralai/mistral-small-24b-instruct-2501":{id:"mistralai/mistral-small-24b-instruct-2501",name:"Mistral: Mistral Small 3",contextWindow:32768,maxInputTokens:32768,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.05,output:0.08,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-29"},"bytedance-seed/seed-1.6-flash":{id:"bytedance-seed/seed-1.6-flash",name:"ByteDance Seed: Seed 1.6 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.075,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23"},"minimax/minimax-m2.1":{id:"minimax/minimax-m2.1",name:"MiniMax: MiniMax M2.1",contextWindow:196608,maxInputTokens:196608,maxTokens:39322,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.27,output:0.95,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-12-23"},"z-ai/glm-4.7":{id:"z-ai/glm-4.7",name:"Z.ai: GLM 4.7",contextWindow:202752,maxInputTokens:202752,maxTokens:65535,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.38,output:1.98,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-12-22"},"google/gemini-3-flash-preview":{id:"google/gemini-3-flash-preview",name:"Google: Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0.083333},releaseDate:"2025-12-17"},"mistralai/ministral-14b-2512":{id:"mistralai/ministral-14b-2512",name:"Mistral: Ministral 3 14B 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["images","tools","temperature"],pricing:{input:0.2,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-16"},"xiaomi/mimo-v2-flash":{id:"xiaomi/mimo-v2-flash",name:"Xiaomi: MiMo-V2-Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.09,output:0.29,cacheRead:0.045,cacheWrite:0},releaseDate:"2025-12-16",family:"mimo"},"openai/gpt-5.2":{id:"openai/gpt-5.2",name:"OpenAI: GPT-5.2",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11"},"openai/gpt-5.2-chat":{id:"openai/gpt-5.2-chat",name:"OpenAI: GPT-5.2 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11"},"openai/gpt-5.2-pro":{id:"openai/gpt-5.2-pro",name:"OpenAI: GPT-5.2 Pro",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11"},"relace/relace-search":{id:"relace/relace-search",name:"Relace: Relace Search",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09"},"essentialai/rnj-1-instruct":{id:"essentialai/rnj-1-instruct",name:"EssentialAI: Rnj 1 Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:6554,capabilities:["tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-05"},"mistralai/ministral-3b-2512":{id:"mistralai/ministral-3b-2512",name:"Mistral: Ministral 3 3B 2512",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02"},"mistralai/ministral-8b-2512":{id:"mistralai/ministral-8b-2512",name:"Mistral: Ministral 3 8B 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02"},"arcee-ai/trinity-mini":{id:"arcee-ai/trinity-mini",name:"Arcee AI: Trinity Mini",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.045,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12"},"deepseek/deepseek-v3.2":{id:"deepseek/deepseek-v3.2",name:"DeepSeek: DeepSeek V3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.26,output:0.38,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-12-01"},"prime-intellect/intellect-3":{id:"prime-intellect/intellect-3",name:"Prime Intellect: INTELLECT-3",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.2,output:1.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-11-26"},"anthropic/claude-opus-4.5":{id:"anthropic/claude-opus-4.5",name:"Anthropic: Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24"},"openai/gpt-5.1":{id:"openai/gpt-5.1",name:"OpenAI: GPT-5.1",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13"},"openai/gpt-5.1-chat":{id:"openai/gpt-5.1-chat",name:"OpenAI: GPT-5.1 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13"},"openai/gpt-5.1-codex":{id:"openai/gpt-5.1-codex",name:"OpenAI: GPT-5.1-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13"},"openai/gpt-5.1-codex-max":{id:"openai/gpt-5.1-codex-max",name:"OpenAI: GPT-5.1-Codex-Max",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13"},"openai/gpt-5.1-codex-mini":{id:"openai/gpt-5.1-codex-mini",name:"OpenAI: GPT-5.1-Codex-Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:1e5,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13"},"moonshotai/kimi-k2-thinking":{id:"moonshotai/kimi-k2-thinking",name:"MoonshotAI: Kimi K2 Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:65535,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.47,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-11-06"},"amazon/nova-premier-v1":{id:"amazon/nova-premier-v1",name:"Amazon: Nova Premier 1.0",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32000,capabilities:["images","tools","temperature"],pricing:{input:2.5,output:12.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-11-01"},"openai/gpt-oss-safeguard-20b":{id:"openai/gpt-oss-safeguard-20b",name:"OpenAI: gpt-oss-safeguard-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.037,cacheWrite:0},releaseDate:"2025-10-29"},"minimax/minimax-m2":{id:"minimax/minimax-m2",name:"MiniMax: MiniMax M2",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.255,output:1,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-10-23"},"qwen/qwen3-vl-32b-instruct":{id:"qwen/qwen3-vl-32b-instruct",name:"Qwen: Qwen3 VL 32B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.104,output:0.416,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-21"},"openai/gpt-5-image-mini":{id:"openai/gpt-5-image-mini",name:"OpenAI: GPT-5 Image Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:2.5,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-16"},"anthropic/claude-haiku-4.5":{id:"anthropic/claude-haiku-4.5",name:"Anthropic: Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15"},"qwen/qwen3-vl-8b-instruct":{id:"qwen/qwen3-vl-8b-instruct",name:"Qwen: Qwen3 VL 8B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.08,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-15"},"qwen/qwen3-vl-8b-thinking":{id:"qwen/qwen3-vl-8b-thinking",name:"Qwen: Qwen3 VL 8B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.117,output:1.365,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-15"},"openai/gpt-5-image":{id:"openai/gpt-5-image",name:"OpenAI: GPT-5 Image",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:10,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-14"},"qwen/qwen3-vl-30b-a3b-thinking":{id:"qwen/qwen3-vl-30b-a3b-thinking",name:"Qwen: Qwen3 VL 30B A3B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.13,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-11"},"openai/gpt-5-pro":{id:"openai/gpt-5-pro",name:"OpenAI: GPT-5 Pro",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06"},"qwen/qwen3-vl-30b-a3b-instruct":{id:"qwen/qwen3-vl-30b-a3b-instruct",name:"Qwen: Qwen3 VL 30B A3B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.13,output:0.52,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-05"},"z-ai/glm-4.6":{id:"z-ai/glm-4.6",name:"Z.ai: GLM 4.6",contextWindow:204800,maxInputTokens:204800,maxTokens:204800,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.39,output:1.9,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-09-30"},"z-ai/glm-4.6v":{id:"z-ai/glm-4.6v",name:"Z.ai: GLM 4.6V",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-30"},"anthropic/claude-sonnet-4.5":{id:"anthropic/claude-sonnet-4.5",name:"Anthropic: Claude Sonnet 4.5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29"},"google/gemini-2.5-flash-lite-preview-09-2025":{id:"google/gemini-2.5-flash-lite-preview-09-2025",name:"Google: Gemini 2.5 Flash Lite Preview 09-2025",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0.083333},releaseDate:"2025-09-25"},"qwen/qwen3-vl-235b-a22b-thinking":{id:"qwen/qwen3-vl-235b-a22b-thinking",name:"Qwen: Qwen3 VL 235B A22B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.26,output:2.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-24"},"qwen/qwen3-vl-235b-a22b-instruct":{id:"qwen/qwen3-vl-235b-a22b-instruct",name:"Qwen: Qwen3 VL 235B A22B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.2,output:0.88,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-09-23"},"deepseek/deepseek-v3.1-terminus":{id:"deepseek/deepseek-v3.1-terminus",name:"DeepSeek: DeepSeek V3.1 Terminus",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.21,output:0.79,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-09-22"},"openai/gpt-5-codex":{id:"openai/gpt-5-codex",name:"OpenAI: GPT-5 Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15"},"mistralai/devstral-2512":{id:"mistralai/devstral-2512",name:"Mistral: Devstral 2 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-09-12"},"qwen/qwen3-next-80b-a3b-instruct":{id:"qwen/qwen3-next-80b-a3b-instruct",name:"Qwen: Qwen3 Next 80B A3B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:52429,capabilities:["tools","temperature"],pricing:{input:0.09,output:1.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11"},"qwen/qwen3-next-80b-a3b-thinking":{id:"qwen/qwen3-next-80b-a3b-thinking",name:"Qwen: Qwen3 Next 80B A3B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.0975,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11"},"qwen/qwen-plus-2025-07-28":{id:"qwen/qwen-plus-2025-07-28",name:"Qwen: Qwen Plus 0728",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.26,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-09"},"qwen/qwen-plus-2025-07-28:thinking":{id:"qwen/qwen-plus-2025-07-28:thinking",name:"Qwen: Qwen Plus 0728 (thinking)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.26,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-09"},"moonshotai/kimi-k2-0905":{id:"moonshotai/kimi-k2-0905",name:"MoonshotAI: Kimi K2 0905",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-09-05"},"qwen/qwen3-max":{id:"qwen/qwen3-max",name:"Qwen: Qwen3 Max",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:1.2,output:6,cacheRead:0.24,cacheWrite:0},releaseDate:"2025-09-05"},"bytedance-seed/seed-1.6":{id:"bytedance-seed/seed-1.6",name:"ByteDance Seed: Seed 1.6",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09"},"qwen/qwen3.6-plus":{id:"qwen/qwen3.6-plus",name:"Qwen: Qwen3.6 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.325,output:1.95,cacheRead:0.0325,cacheWrite:0.40625},releaseDate:"2025-08-26"},"qwen/qwen3.7-max":{id:"qwen/qwen3.7-max",name:"Qwen: Qwen3.7 Max",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.625,output:4.875,cacheRead:0.1625,cacheWrite:2.03125},releaseDate:"2025-08-26"},"deepseek/deepseek-chat-v3.1":{id:"deepseek/deepseek-chat-v3.1",name:"DeepSeek: DeepSeek V3.1",contextWindow:32768,maxInputTokens:32768,maxTokens:7168,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:0.75,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-21"},"nvidia/nemotron-nano-9b-v2":{id:"nvidia/nemotron-nano-9b-v2",name:"NVIDIA: Nemotron Nano 9B V2",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","reasoning","temperature"],pricing:{input:0.04,output:0.16,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-18",family:"nemotron"},"openai/gpt-4o-audio-preview":{id:"openai/gpt-4o-audio-preview",name:"OpenAI: GPT-4o Audio",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-15"},"mistralai/mistral-medium-3.1":{id:"mistralai/mistral-medium-3.1",name:"Mistral: Mistral Medium 3.1",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["images","tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-12"},"z-ai/glm-4.5v":{id:"z-ai/glm-4.5v",name:"Z.ai: GLM 4.5V",contextWindow:65536,maxInputTokens:65536,maxTokens:16384,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:1.8,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-08-11"},"ai21/jamba-large-1.7":{id:"ai21/jamba-large-1.7",name:"AI21: Jamba Large 1.7",contextWindow:256000,maxInputTokens:256000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:2,output:8,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-09"},"openai/gpt-5":{id:"openai/gpt-5",name:"OpenAI: GPT-5",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07"},"openai/gpt-5-mini":{id:"openai/gpt-5-mini",name:"OpenAI: GPT-5 Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07"},"openai/gpt-5-nano":{id:"openai/gpt-5-nano",name:"OpenAI: GPT-5 Nano",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.005,cacheWrite:0},releaseDate:"2025-08-07"},"anthropic/claude-opus-4.1":{id:"anthropic/claude-opus-4.1",name:"Anthropic: Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"OpenAI: gpt-oss-120b",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","reasoning","temperature"],pricing:{input:0.039,output:0.19,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"OpenAI: gpt-oss-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","reasoning","temperature"],pricing:{input:0.03,output:0.14,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05"},"mistralai/codestral-2508":{id:"mistralai/codestral-2508",name:"Mistral: Codestral 2508",contextWindow:256000,maxInputTokens:256000,maxTokens:51200,capabilities:["tools","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-01"},"qwen/qwen3-coder-30b-a3b-instruct":{id:"qwen/qwen3-coder-30b-a3b-instruct",name:"Qwen: Qwen3 Coder 30B A3B Instruct",contextWindow:160000,maxInputTokens:160000,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.07,output:0.27,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-31"},"qwen/qwen3-30b-a3b-instruct-2507":{id:"qwen/qwen3-30b-a3b-instruct-2507",name:"Qwen: Qwen3 30B A3B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.09,output:0.3,cacheRead:0.04,cacheWrite:0},releaseDate:"2025-07-29"},"qwen/qwen3-30b-a3b-thinking-2507":{id:"qwen/qwen3-30b-a3b-thinking-2507",name:"Qwen: Qwen3 30B A3B Thinking 2507",contextWindow:32768,maxInputTokens:32768,maxTokens:6554,capabilities:["tools","reasoning","temperature"],pricing:{input:0.051,output:0.34,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-29"},"z-ai/glm-4.5":{id:"z-ai/glm-4.5",name:"Z.ai: GLM 4.5",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-07-28"},"z-ai/glm-4.5-air":{id:"z-ai/glm-4.5-air",name:"Z.ai: GLM 4.5 Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.13,output:0.85,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-07-28"},"qwen/qwen3-235b-a22b-thinking-2507":{id:"qwen/qwen3-235b-a22b-thinking-2507",name:"Qwen: Qwen3 235B A22B Thinking 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature"],pricing:{input:0.11,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25"},"z-ai/glm-4-32b":{id:"z-ai/glm-4-32b",name:"Z.ai: GLM 4 32B ",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25"},"qwen/qwen3-coder":{id:"qwen/qwen3-coder",name:"Qwen: Qwen3 Coder 480B A35B",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.22,output:1,cacheRead:0.022,cacheWrite:0},releaseDate:"2025-07-23"},"qwen/qwen3-coder-flash":{id:"qwen/qwen3-coder-flash",name:"Qwen: Qwen3 Coder Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.195,output:0.975,cacheRead:0.06,cacheWrite:0},releaseDate:"2025-07-23"},"google/gemini-2.5-flash":{id:"google/gemini-2.5-flash",name:"Google: Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0.083333},releaseDate:"2025-07-17"},"moonshotai/kimi-k2":{id:"moonshotai/kimi-k2",name:"MoonshotAI: Kimi K2 0711",contextWindow:131000,maxInputTokens:131000,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:0.55,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-11"},"mistralai/devstral-medium":{id:"mistralai/devstral-medium",name:"Mistral: Devstral Medium",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-10"},"mistralai/voxtral-small-24b-2507":{id:"mistralai/voxtral-small-24b-2507",name:"Mistral: Voxtral Small 24B 2507",contextWindow:32000,maxInputTokens:32000,maxTokens:6400,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-01"},"qwen/qwen3-coder-plus":{id:"qwen/qwen3-coder-plus",name:"Qwen: Qwen3 Coder Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.65,output:3.25,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-07-01"},"baidu/ernie-4.5-21b-a3b":{id:"baidu/ernie-4.5-21b-a3b",name:"Baidu: ERNIE 4.5 21B A3B",contextWindow:120000,maxInputTokens:120000,maxTokens:8000,capabilities:["tools","temperature"],pricing:{input:0.07,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-30"},"baidu/ernie-4.5-vl-28b-a3b":{id:"baidu/ernie-4.5-vl-28b-a3b",name:"Baidu: ERNIE 4.5 VL 28B A3B",contextWindow:30000,maxInputTokens:30000,maxTokens:8000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.14,output:0.56,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-30"},"mistralai/mistral-small-3.2-24b-instruct":{id:"mistralai/mistral-small-3.2-24b-instruct",name:"Mistral: Mistral Small 3.2 24B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.06,output:0.18,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-06-20"},"google/gemini-2.5-flash-lite":{id:"google/gemini-2.5-flash-lite",name:"Google: Gemini 2.5 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0.083333},releaseDate:"2025-06-17"},"minimax/minimax-m1":{id:"minimax/minimax-m1",name:"MiniMax: MiniMax M1",contextWindow:1e6,maxInputTokens:1e6,maxTokens:40000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.4,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-17"},"google/gemini-2.5-pro-preview":{id:"google/gemini-2.5-pro-preview",name:"Google: Gemini 2.5 Pro Preview 06-05",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-06-05"},"deepseek/deepseek-r1-0528":{id:"deepseek/deepseek-r1-0528",name:"DeepSeek: R1 0528",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.45,output:2.15,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-05-28"},"anthropic/claude-opus-4":{id:"anthropic/claude-opus-4",name:"Anthropic: Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22"},"anthropic/claude-sonnet-4":{id:"anthropic/claude-sonnet-4",name:"Anthropic: Claude Sonnet 4",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22"},"mistralai/devstral-small":{id:"mistralai/devstral-small",name:"Mistral: Devstral Small 1.1",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-07"},"mistralai/mistral-medium-3":{id:"mistralai/mistral-medium-3",name:"Mistral: Mistral Medium 3",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["images","tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-07"},"arcee-ai/virtuoso-large":{id:"arcee-ai/virtuoso-large",name:"Arcee AI: Virtuoso Large",contextWindow:131072,maxInputTokens:131072,maxTokens:64000,capabilities:["tools","temperature"],pricing:{input:0.75,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-06"},"google/gemini-2.5-pro-preview-05-06":{id:"google/gemini-2.5-pro-preview-05-06",name:"Google: Gemini 2.5 Pro Preview 05-06",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-05-06"},"openai/o4-mini-high":{id:"openai/o4-mini-high",name:"OpenAI: o4 Mini High",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning"],pricing:{input:1.1,output:4.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-17"},"openai/o3":{id:"openai/o3",name:"OpenAI: o3",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-16"},"openai/o3-pro":{id:"openai/o3-pro",name:"OpenAI: o3 Pro",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning"],pricing:{input:20,output:80,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-16"},"openai/o4-mini":{id:"openai/o4-mini",name:"OpenAI: o4 Mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16"},"openai/gpt-4.1":{id:"openai/gpt-4.1",name:"OpenAI: GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14"},"openai/gpt-4.1-mini":{id:"openai/gpt-4.1-mini",name:"OpenAI: GPT-4.1 Mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14"},"openai/gpt-4.1-nano":{id:"openai/gpt-4.1-nano",name:"OpenAI: GPT-4.1 Nano",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04-14"},"meta-llama/llama-4-maverick":{id:"meta-llama/llama-4-maverick",name:"Meta: Llama 4 Maverick",contextWindow:1048576,maxInputTokens:1048576,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05"},"meta-llama/llama-4-scout":{id:"meta-llama/llama-4-scout",name:"Meta: Llama 4 Scout",contextWindow:327680,maxInputTokens:327680,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.08,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05"},"qwen/qwen3-14b":{id:"qwen/qwen3-14b",name:"Qwen: Qwen3 14B",contextWindow:40960,maxInputTokens:40960,maxTokens:40960,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04"},"qwen/qwen3-235b-a22b-2507":{id:"qwen/qwen3-235b-a22b-2507",name:"Qwen: Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["tools","temperature"],pricing:{input:0.071,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-04"},"qwen/qwen3-30b-a3b":{id:"qwen/qwen3-30b-a3b",name:"Qwen: Qwen3 30B A3B",contextWindow:40960,maxInputTokens:40960,maxTokens:40960,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.08,output:0.28,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-04"},"qwen/qwen3-8b":{id:"qwen/qwen3-8b",name:"Qwen: Qwen3 8B",contextWindow:40960,maxInputTokens:40960,maxTokens:8192,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-04"},"deepseek/deepseek-chat-v3-0324":{id:"deepseek/deepseek-chat-v3-0324",name:"DeepSeek: DeepSeek V3 0324",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.2,output:0.77,cacheRead:0.095,cacheWrite:0},releaseDate:"2025-03-24"},"google/gemini-2.5-pro":{id:"google/gemini-2.5-pro",name:"Google: Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-03-20"},"nvidia/llama-3.3-nemotron-super-49b-v1.5":{id:"nvidia/llama-3.3-nemotron-super-49b-v1.5",name:"NVIDIA: Llama 3.3 Nemotron Super 49B V1.5",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","reasoning","temperature"],pricing:{input:0.1,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-16",family:"nemotron"},"google/gemma-3-27b-it":{id:"google/gemma-3-27b-it",name:"Google: Gemma 3 27B",contextWindow:128000,maxInputTokens:128000,maxTokens:65536,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.03,output:0.11,cacheRead:0.02,cacheWrite:0},releaseDate:"2025-03-12"},"mistralai/mistral-saba":{id:"mistralai/mistral-saba",name:"Mistral: Saba",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-02-17"},"openai/o3-mini-high":{id:"openai/o3-mini-high",name:"OpenAI: o3 Mini High",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["files","tools","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2025-01-31"},"deepseek/deepseek-r1":{id:"deepseek/deepseek-r1",name:"DeepSeek: R1",contextWindow:64000,maxInputTokens:64000,maxTokens:16000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.7,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20"},"deepseek/deepseek-v3.2-exp":{id:"deepseek/deepseek-v3.2-exp",name:"DeepSeek: DeepSeek V3.2 Exp",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0.27,output:0.41,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-01"},"nex-agi/deepseek-v3.1-nex-n1":{id:"nex-agi/deepseek-v3.1-nex-n1",name:"Nex AGI: DeepSeek V3.1 Nex N1",contextWindow:131072,maxInputTokens:131072,maxTokens:163840,capabilities:["tools","temperature"],pricing:{input:0.27,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-01"},"openai/o3-mini":{id:"openai/o3-mini",name:"OpenAI: o3 Mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["files","tools","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2024-12-20"},"google/gemini-2.0-flash-001":{id:"google/gemini-2.0-flash-001",name:"Google: Gemini 2.0 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:8192,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0.083333},releaseDate:"2024-12-11"},"google/gemini-2.0-flash-lite-001":{id:"google/gemini-2.0-flash-lite-001",name:"Google: Gemini 2.0 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:8192,capabilities:["images","files","tools","temperature"],pricing:{input:0.075,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-11"},"amazon/nova-lite-v1":{id:"amazon/nova-lite-v1",name:"Amazon: Nova Lite 1.0",contextWindow:300000,maxInputTokens:300000,maxTokens:5120,capabilities:["images","tools","temperature"],pricing:{input:0.06,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06"},"amazon/nova-micro-v1":{id:"amazon/nova-micro-v1",name:"Amazon: Nova Micro 1.0",contextWindow:128000,maxInputTokens:128000,maxTokens:5120,capabilities:["tools","temperature"],pricing:{input:0.035,output:0.14,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06"},"openai/o1":{id:"openai/o1",name:"OpenAI: o1",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","prompt-cache"],pricing:{input:15,output:60,cacheRead:7.5,cacheWrite:0},releaseDate:"2024-12-05"},"amazon/nova-pro-v1":{id:"amazon/nova-pro-v1",name:"Amazon: Nova Pro 1.0",contextWindow:300000,maxInputTokens:300000,maxTokens:5120,capabilities:["images","tools","temperature"],pricing:{input:0.8,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-03"},"cohere/command-r7b-12-2024":{id:"cohere/command-r7b-12-2024",name:"Cohere: Command R7B (12-2024)",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","temperature"],pricing:{input:0.0375,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-02"},"amazon/nova-2-lite-v1":{id:"amazon/nova-2-lite-v1",name:"Amazon: Nova 2 Lite",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.3,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01"},"deepseek/deepseek-chat":{id:"deepseek/deepseek-chat",name:"DeepSeek: DeepSeek V3",contextWindow:163840,maxInputTokens:163840,maxTokens:163840,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.32,output:0.89,cacheRead:0.15,cacheWrite:0},releaseDate:"2024-12-01"},"nvidia/nemotron-3-nano-30b-a3b":{id:"nvidia/nemotron-3-nano-30b-a3b",name:"NVIDIA: Nemotron 3 Nano 30B A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["tools","reasoning","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2024-12",family:"nemotron"},"qwen/qwen3-235b-a22b":{id:"qwen/qwen3-235b-a22b",name:"Qwen: Qwen3 235B A22B",contextWindow:131072,maxInputTokens:131072,maxTokens:8192,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.455,output:1.82,cacheRead:0.15,cacheWrite:0},releaseDate:"2024-12-01"},"qwen/qwen3-32b":{id:"qwen/qwen3-32b",name:"Qwen: Qwen3 32B",contextWindow:40960,maxInputTokens:40960,maxTokens:40960,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.08,output:0.24,cacheRead:0.04,cacheWrite:0},releaseDate:"2024-12-01"},"openai/gpt-4o-2024-11-20":{id:"openai/gpt-4o-2024-11-20",name:"OpenAI: GPT-4o (2024-11-20)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-11-20"},"mistralai/mistral-large-2407":{id:"mistralai/mistral-large-2407",name:"Mistral Large 2407",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-19"},"mistralai/pixtral-large-2411":{id:"mistralai/pixtral-large-2411",name:"Mistral: Pixtral Large 2411",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-19"},"thedrummer/unslopnemo-12b":{id:"thedrummer/unslopnemo-12b",name:"TheDrummer: UnslopNemo 12B",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-09"},"mistralai/mistral-large-2512":{id:"mistralai/mistral-large-2512",name:"Mistral: Mistral Large 3 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["images","tools","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-01"},"anthropic/claude-3.5-haiku":{id:"anthropic/claude-3.5-haiku",name:"Anthropic: Claude 3.5 Haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.8,output:4,cacheRead:0.08,cacheWrite:1},releaseDate:"2024-10-22"},"thedrummer/rocinante-12b":{id:"thedrummer/rocinante-12b",name:"TheDrummer: Rocinante 12B",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.17,output:0.43,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-30"},"qwen/qwen-2.5-72b-instruct":{id:"qwen/qwen-2.5-72b-instruct",name:"Qwen2.5 72B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.12,output:0.39,cacheRead:0,cacheWrite:0},releaseDate:"2024-09"},"qwen/qwen-2.5-7b-instruct":{id:"qwen/qwen-2.5-7b-instruct",name:"Qwen: Qwen2.5 7B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:6554,capabilities:["tools","temperature"],pricing:{input:0.04,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2024-09"},"cohere/command-r-08-2024":{id:"cohere/command-r-08-2024",name:"Cohere: Command R (08-2024)",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-30"},"cohere/command-r-plus-08-2024":{id:"cohere/command-r-plus-08-2024",name:"Cohere: Command R+ (08-2024)",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-30"},"sao10k/l3.1-euryale-70b":{id:"sao10k/l3.1-euryale-70b",name:"Sao10K: Llama 3.1 Euryale 70B v2.2",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.85,output:0.85,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-28"},"openai/gpt-4o-2024-08-06":{id:"openai/gpt-4o-2024-08-06",name:"OpenAI: GPT-4o (2024-08-06)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-08-06"},"meta-llama/llama-3.3-70b-instruct":{id:"meta-llama/llama-3.3-70b-instruct",name:"Meta: Llama 3.3 70B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.32,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-01"},"mistralai/mistral-large":{id:"mistralai/mistral-large",name:"Mistral Large",contextWindow:128000,maxInputTokens:128000,maxTokens:25600,capabilities:["tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-24"},"mistralai/mistral-large-2411":{id:"mistralai/mistral-large-2411",name:"Mistral Large 2411",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-24"},"meta-llama/llama-3.1-8b-instruct":{id:"meta-llama/llama-3.1-8b-instruct",name:"Meta: Llama 3.1 8B Instruct",contextWindow:16384,maxInputTokens:16384,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.02,output:0.05,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23"},"openai/gpt-4o-mini":{id:"openai/gpt-4o-mini",name:"OpenAI: GPT-4o-mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18"},"openai/gpt-4o-mini-2024-07-18":{id:"openai/gpt-4o-mini-2024-07-18",name:"OpenAI: GPT-4o-mini (2024-07-18)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-18"},"meta-llama/llama-3.1-70b-instruct":{id:"meta-llama/llama-3.1-70b-instruct",name:"Meta: Llama 3.1 70B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-16"},"mistralai/mistral-nemo":{id:"mistralai/mistral-nemo",name:"Mistral: Mistral Nemo",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.02,output:0.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-01"},"openai/o3-deep-research":{id:"openai/o3-deep-research",name:"OpenAI: o3 Deep Research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:10,output:40,cacheRead:2.5,cacheWrite:0},releaseDate:"2024-06-26"},"openai/o4-mini-deep-research":{id:"openai/o4-mini-deep-research",name:"OpenAI: o4 Mini Deep Research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2024-06-26"},"sao10k/l3-euryale-70b":{id:"sao10k/l3-euryale-70b",name:"Sao10k: Llama 3 Euryale 70B v2.1",contextWindow:8192,maxInputTokens:8192,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:1.48,output:1.48,cacheRead:0,cacheWrite:0},releaseDate:"2024-06-18"},"openai/gpt-4o":{id:"openai/gpt-4o",name:"OpenAI: GPT-4o",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-05-13"},"openai/gpt-4o-2024-05-13":{id:"openai/gpt-4o-2024-05-13",name:"OpenAI: GPT-4o (2024-05-13)",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","files","tools","temperature"],pricing:{input:5,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-13"},"meta-llama/llama-3-8b-instruct":{id:"meta-llama/llama-3-8b-instruct",name:"Meta: Llama 3 8B Instruct",contextWindow:8192,maxInputTokens:8192,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.03,output:0.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-04-25"},"mistralai/mixtral-8x22b-instruct":{id:"mistralai/mixtral-8x22b-instruct",name:"Mistral: Mixtral 8x22B Instruct",contextWindow:65536,maxInputTokens:65536,maxTokens:13108,capabilities:["tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-04-17"},"anthropic/claude-3-haiku":{id:"anthropic/claude-3-haiku",name:"Anthropic: Claude 3 Haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.25,output:1.25,cacheRead:0.03,cacheWrite:0.3},releaseDate:"2024-03-07"},"openai/gpt-4-turbo-preview":{id:"openai/gpt-4-turbo-preview",name:"OpenAI: GPT-4 Turbo Preview",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2024-01-25"},"qwen/qwen-plus":{id:"qwen/qwen-plus",name:"Qwen: Qwen-Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.4,output:1.2,cacheRead:0.08,cacheWrite:0},releaseDate:"2024-01-25"},"openai/gpt-4-1106-preview":{id:"openai/gpt-4-1106-preview",name:"OpenAI: GPT-4 Turbo (older v1106)",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06"},"openai/gpt-4-turbo":{id:"openai/gpt-4-turbo",name:"OpenAI: GPT-4 Turbo",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-09-13"},"openai/gpt-3.5-turbo-16k":{id:"openai/gpt-3.5-turbo-16k",name:"OpenAI: GPT-3.5 Turbo 16k",contextWindow:16385,maxInputTokens:16385,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:3,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2023-08-28"},"openai/gpt-3.5-turbo-0613":{id:"openai/gpt-3.5-turbo-0613",name:"OpenAI: GPT-3.5 Turbo (older v0613)",contextWindow:4095,maxInputTokens:4095,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:1,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2023-06-13"},"openai/gpt-4-0314":{id:"openai/gpt-4-0314",name:"OpenAI: GPT-4 (older v0314)",contextWindow:8191,maxInputTokens:8191,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:30,output:60,cacheRead:0,cacheWrite:0},releaseDate:"2023-05-28"},"openai/gpt-4":{id:"openai/gpt-4",name:"OpenAI: GPT-4",contextWindow:8191,maxInputTokens:8191,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:30,output:60,cacheRead:0,cacheWrite:0},releaseDate:"2023-03-14"},"openai/gpt-3.5-turbo":{id:"openai/gpt-3.5-turbo",name:"OpenAI: GPT-3.5 Turbo",contextWindow:16385,maxInputTokens:16385,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2023-03-01"}},lmstudio:{"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"qwen/qwen3-30b-a3b-2507":{id:"qwen/qwen3-30b-a3b-2507",name:"Qwen3 30B A3B 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-30",family:"qwen"},"qwen/qwen3-coder-30b":{id:"qwen/qwen3-coder-30b",name:"Qwen3 Coder 30B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"}},minimax:{"MiniMax-M3":{id:"MiniMax-M3",name:"MiniMax-M3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-01",family:"minimax"},"MiniMax-M2.7":{id:"MiniMax-M2.7",name:"MiniMax-M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"MiniMax-M2.7-highspeed":{id:"MiniMax-M2.7-highspeed",name:"MiniMax-M2.7-highspeed",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"MiniMax-M2.5-highspeed":{id:"MiniMax-M2.5-highspeed",name:"MiniMax-M2.5-highspeed",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-02-13",family:"minimax"},"MiniMax-M2.5":{id:"MiniMax-M2.5",name:"MiniMax-M2.5",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2026-02-12",family:"minimax"},"MiniMax-M2.1":{id:"MiniMax-M2.1",name:"MiniMax-M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"MiniMax-M2":{id:"MiniMax-M2",name:"MiniMax-M2",contextWindow:196608,maxInputTokens:196608,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-27",family:"minimax"}},moonshot:{"kimi-k2.7-code":{id:"kimi-k2.7-code",name:"Kimi K2.7 Code",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"kimi-k2.7-code-highspeed":{id:"kimi-k2.7-code-highspeed",name:"Kimi K2.7 Code HighSpeed",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.9,output:8,cacheRead:0.38,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"kimi-k2.6":{id:"kimi-k2.6",name:"Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"kimi-k2.5":{id:"kimi-k2.5",name:"Kimi K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-01",family:"kimi-k2"},"kimi-k2-thinking":{id:"kimi-k2-thinking",name:"Kimi K2 Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"kimi-k2-thinking-turbo":{id:"kimi-k2-thinking-turbo",name:"Kimi K2 Thinking Turbo",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.15,output:8,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"kimi-k2-0905-preview":{id:"kimi-k2-0905-preview",name:"Kimi K2 0905",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-09-05",family:"kimi-k2"},"kimi-k2-turbo-preview":{id:"kimi-k2-turbo-preview",name:"Kimi K2 Turbo",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","temperature","prompt-cache"],pricing:{input:2.4,output:10,cacheRead:0.6,cacheWrite:0},releaseDate:"2025-09-05",family:"kimi-k2"},"kimi-k2-0711-preview":{id:"kimi-k2-0711-preview",name:"Kimi K2 0711",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-07-14",family:"kimi-k2"}},nebius:{"zai-org/GLM-5.2":{id:"zai-org/GLM-5.2",name:"GLM-5.2",contextWindow:432000,maxInputTokens:432000,maxTokens:432000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1.4,output:4.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"deepseek-ai/DeepSeek-V4-Pro":{id:"deepseek-ai/DeepSeek-V4-Pro",name:"DeepSeek V4 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:3.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"nvidia/nemotron-3-super-120b-a12b":{id:"nvidia/nemotron-3-super-120b-a12b",name:"Nemotron-3-Super-120B-A12B",contextWindow:256000,maxInputTokens:256000,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"NousResearch/Hermes-4-405B":{id:"NousResearch/Hermes-4-405B",name:"Hermes-4-405B",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2026-01-30"},"NousResearch/Hermes-4-70B":{id:"NousResearch/Hermes-4-70B",name:"Hermes-4-70B",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.13,output:0.4,cacheRead:0.013,cacheWrite:0.16},releaseDate:"2026-01-30"},"Qwen/Qwen3-30B-A3B-Instruct-2507":{id:"Qwen/Qwen3-30B-A3B-Instruct-2507",name:"Qwen3-30B-A3B-Instruct-2507",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0.125},releaseDate:"2026-01-28"},"Qwen/Qwen3-32B":{id:"Qwen/Qwen3-32B",name:"Qwen3-32B",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0.125},releaseDate:"2026-01-28"},"Qwen/Qwen3-Next-80B-A3B-Thinking":{id:"Qwen/Qwen3-Next-80B-A3B-Thinking",name:"Qwen3-Next-80B-A3B-Thinking",contextWindow:128000,maxInputTokens:120000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:1.2,cacheRead:0.015,cacheWrite:0.18},releaseDate:"2026-01-28"},"google/gemma-3-27b-it":{id:"google/gemma-3-27b-it",name:"Gemma-3-27b-it",contextWindow:110000,maxInputTokens:1e5,maxTokens:8192,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0.125},releaseDate:"2026-01-20"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"gpt-oss-120b",contextWindow:128000,maxInputTokens:124000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0.18},releaseDate:"2026-01-10"},"meta-llama/Llama-3.3-70B-Instruct":{id:"meta-llama/Llama-3.3-70B-Instruct",name:"Llama-3.3-70B-Instruct",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.13,output:0.4,cacheRead:0.013,cacheWrite:0.16},releaseDate:"2025-12-05"},"nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B":{id:"nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B",name:"Nemotron-3-Nano-30B-A3B",contextWindow:32000,maxInputTokens:30000,maxTokens:4096,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.006,cacheWrite:0.075},releaseDate:"2025-08-10",family:"nemotron"},"Qwen/Qwen3-235B-A22B-Instruct-2507":{id:"Qwen/Qwen3-235B-A22B-Instruct-2507",name:"Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"Qwen/Qwen3.5-397B-A17B":{id:"Qwen/Qwen3.5-397B-A17B",name:"Qwen3.5-397B-A17B",contextWindow:262144,maxInputTokens:250000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:3.6,cacheRead:0.06,cacheWrite:0.75},releaseDate:"2025-07-15"},"MiniMaxAI/MiniMax-M2.5":{id:"MiniMaxAI/MiniMax-M2.5",name:"MiniMax-M2.5",contextWindow:196608,maxInputTokens:190000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2025-01-20"},"nvidia/Nemotron-3-Nano-Omni":{id:"nvidia/Nemotron-3-Nano-Omni",name:"Nemotron-3-Nano-Omni",contextWindow:65536,maxInputTokens:60000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.006,cacheWrite:0.075},releaseDate:"2025-01-20",family:"nemotron"},"Qwen/Qwen2.5-VL-72B-Instruct":{id:"Qwen/Qwen2.5-VL-72B-Instruct",name:"Qwen2.5-VL-72B-Instruct",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:0.75,cacheRead:0.025,cacheWrite:0.31},releaseDate:"2025-01-20"},"nvidia/Llama-3_1-Nemotron-Ultra-253B-v1":{id:"nvidia/Llama-3_1-Nemotron-Ultra-253B-v1",name:"Llama-3.1-Nemotron-Ultra-253B-v1",contextWindow:128000,maxInputTokens:120000,maxTokens:4096,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:1.8,cacheRead:0.06,cacheWrite:0.75},releaseDate:"2025-01-15",family:"nemotron"}},ollama:{"glm-5.2":{id:"glm-5.2",name:"GLM-5.2",contextWindow:976000,maxInputTokens:976000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"kimi-k2.7-code":{id:"kimi-k2.7-code",name:"kimi-k2.7-code",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"nemotron-3-ultra":{id:"nemotron-3-ultra",name:"nemotron-3-ultra",contextWindow:262144,maxInputTokens:262144,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"minimax-m3":{id:"minimax-m3",name:"minimax-m3",contextWindow:512000,maxInputTokens:512000,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-05-31",family:"minimax-m3"},"deepseek-v4-flash":{id:"deepseek-v4-flash",name:"deepseek-v4-flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:1048576,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deepseek-v4-pro":{id:"deepseek-v4-pro",name:"deepseek-v4-pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:1048576,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"kimi-k2.6":{id:"kimi-k2.6",name:"kimi-k2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-20",family:"kimi-k2"},"gemma4:31b":{id:"gemma4:31b",name:"gemma4:31b",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"glm-5.1":{id:"glm-5.1",name:"glm-5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-27",family:"glm"},"minimax-m2.7":{id:"minimax-m2.7",name:"minimax-m2.7",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"nemotron-3-super":{id:"nemotron-3-super",name:"nemotron-3-super",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"qwen3.5:397b":{id:"qwen3.5:397b",name:"qwen3.5:397b",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-15",family:"qwen"},"minimax-m2.5":{id:"minimax-m2.5",name:"minimax-m2.5",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-12",family:"minimax"},"glm-5":{id:"glm-5",name:"glm-5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"qwen3-coder-next":{id:"qwen3-coder-next",name:"qwen3-coder-next",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-02",family:"qwen"},"kimi-k2.5":{id:"kimi-k2.5",name:"kimi-k2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27",family:"kimi-k2"},"minimax-m2.1":{id:"minimax-m2.1",name:"minimax-m2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"glm-4.7":{id:"glm-4.7",name:"glm-4.7",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"gemini-3-flash-preview":{id:"gemini-3-flash-preview",name:"gemini-3-flash-preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"nemotron-3-nano:30b":{id:"nemotron-3-nano:30b",name:"nemotron-3-nano:30b",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-15",family:"nemotron"},"devstral-2:123b":{id:"devstral-2:123b",name:"devstral-2:123b",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09",family:"devstral"},"devstral-small-2:24b":{id:"devstral-small-2:24b",name:"devstral-small-2:24b",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09",family:"devstral"},"rnj-1:8b":{id:"rnj-1:8b",name:"rnj-1:8b",contextWindow:32768,maxInputTokens:32768,maxTokens:4096,capabilities:["tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-06",family:"rnj"},"mistral-large-3:675b":{id:"mistral-large-3:675b",name:"mistral-large-3:675b",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"mistral-large"},"deepseek-v3.1:671b":{id:"deepseek-v3.1:671b",name:"deepseek-v3.1:671b",contextWindow:163840,maxInputTokens:163840,maxTokens:163840,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-21",family:"deepseek"},"gpt-oss:120b":{id:"gpt-oss:120b",name:"gpt-oss:120b",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"gpt-oss:20b":{id:"gpt-oss:20b",name:"gpt-oss:20b",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"qwen3-coder:480b":{id:"qwen3-coder:480b",name:"qwen3-coder:480b",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-22",family:"qwen"},"deepseek-v3.2":{id:"deepseek-v3.2",name:"deepseek-v3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-15",family:"deepseek"},"ministral-3:14b":{id:"ministral-3:14b",name:"ministral-3:14b",contextWindow:262144,maxInputTokens:262144,maxTokens:128000,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"ministral"},"ministral-3:8b":{id:"ministral-3:8b",name:"ministral-3:8b",contextWindow:262144,maxInputTokens:262144,maxTokens:128000,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"ministral"},"ministral-3:3b":{id:"ministral-3:3b",name:"ministral-3:3b",contextWindow:262144,maxInputTokens:262144,maxTokens:128000,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-10-22",family:"ministral"}},"openai-native":{"gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"gpt-5.5-pro":{id:"gpt-5.5-pro",name:"GPT-5.5 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt-pro"},"gpt-5.4-mini":{id:"gpt-5.4-mini",name:"GPT-5.4 mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-mini"},"gpt-5.4-nano":{id:"gpt-5.4-nano",name:"GPT-5.4 nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-nano"},"gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"gpt-5.4-pro":{id:"gpt-5.4-pro",name:"GPT-5.4 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","tools","reasoning"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt-pro"},"gpt-5.3-chat-latest":{id:"gpt-5.3-chat-latest",name:"GPT-5.3 Chat (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-03-03",family:"gpt"},"gpt-5.3-codex":{id:"gpt-5.3-codex",name:"GPT-5.3 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt-codex"},"gpt-5.3-codex-spark":{id:"gpt-5.3-codex-spark",name:"GPT-5.3 Codex Spark",contextWindow:128000,maxInputTokens:1e5,maxTokens:32000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt-codex-spark"},"gpt-5.2":{id:"gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"gpt-5.2-chat-latest":{id:"gpt-5.2-chat-latest",name:"GPT-5.2 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"gpt-5.2-codex":{id:"gpt-5.2-codex",name:"GPT-5.2 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"gpt-5.2-pro":{id:"gpt-5.2-pro",name:"GPT-5.2 Pro",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-pro"},"gpt-5.1":{id:"gpt-5.1",name:"GPT-5.1",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt"},"gpt-5.1-chat-latest":{id:"gpt-5.1-chat-latest",name:"GPT-5.1 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5.1-codex":{id:"gpt-5.1-codex",name:"GPT-5.1 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5.1-codex-max":{id:"gpt-5.1-codex-max",name:"GPT-5.1 Codex Max",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5.1-codex-mini":{id:"gpt-5.1-codex-mini",name:"GPT-5.1 Codex mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5-pro":{id:"gpt-5-pro",name:"GPT-5 Pro",contextWindow:400000,maxInputTokens:272000,maxTokens:272000,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"gpt-pro"},"gpt-5-codex":{id:"gpt-5-codex",name:"GPT-5-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15",family:"gpt-codex"},"gpt-5":{id:"gpt-5",name:"GPT-5",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"gpt-5-mini":{id:"gpt-5-mini",name:"GPT-5 Mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"gpt-5-nano":{id:"gpt-5-nano",name:"GPT-5 Nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.005,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"o3-pro":{id:"o3-pro",name:"o3-pro",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:20,output:80,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-10",family:"o-pro"},o3:{id:"o3",name:"o3",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-16",family:"o"},"o4-mini":{id:"o4-mini",name:"o4-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16",family:"o-mini"},"gpt-4.1":{id:"gpt-4.1",name:"GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"gpt-4.1-mini":{id:"gpt-4.1-mini",name:"GPT-4.1 mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"gpt-4.1-nano":{id:"gpt-4.1-nano",name:"GPT-4.1 nano",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-nano"},"o1-pro":{id:"o1-pro",name:"o1-pro",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:150,output:600,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-19",family:"o-pro"},"o3-mini":{id:"o3-mini",name:"o3-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2024-12-20",family:"o-mini"},o1:{id:"o1",name:"o1",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:15,output:60,cacheRead:7.5,cacheWrite:0},releaseDate:"2024-12-05",family:"o"},"gpt-4o-2024-11-20":{id:"gpt-4o-2024-11-20",name:"GPT-4o (2024-11-20)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-11-20",family:"gpt"},"gpt-4o-2024-08-06":{id:"gpt-4o-2024-08-06",name:"GPT-4o (2024-08-06)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-08-06",family:"gpt"},"gpt-4o-mini":{id:"gpt-4o-mini",name:"GPT-4o mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18",family:"gpt-mini"},"o3-deep-research":{id:"o3-deep-research",name:"o3-deep-research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:10,output:40,cacheRead:2.5,cacheWrite:0},releaseDate:"2024-06-26",family:"o"},"o4-mini-deep-research":{id:"o4-mini-deep-research",name:"o4-mini-deep-research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2024-06-26",family:"o-mini"},"gpt-4o":{id:"gpt-4o",name:"GPT-4o",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"gpt-4o-2024-05-13":{id:"gpt-4o-2024-05-13",name:"GPT-4o (2024-05-13)",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","structured_output","temperature"],pricing:{input:5,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"gpt-4":{id:"gpt-4",name:"GPT-4",contextWindow:8192,maxInputTokens:8192,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:30,output:60,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"},"gpt-4-turbo":{id:"gpt-4-turbo",name:"GPT-4 Turbo",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"}},openrouter:{"sakana/fugu-ultra":{id:"sakana/fugu-ultra",name:"Fugu Ultra",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-06-24"},"google/gemini-3-pro-image":{id:"google/gemini-3-pro-image",name:"Nano Banana Pro (Gemini 3 Pro Image)",contextWindow:65536,maxInputTokens:65536,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-06-18",family:"gemini"},"cohere/north-mini-code:free":{id:"cohere/north-mini-code:free",name:"North Mini Code (free)",contextWindow:256000,maxInputTokens:256000,maxTokens:64000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-17",family:"north"},"z-ai/glm-5.2":{id:"z-ai/glm-5.2",name:"GLM-5.2",contextWindow:1048576,maxInputTokens:1048576,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:3,cacheRead:0.18,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"moonshotai/kimi-k2.7-code":{id:"moonshotai/kimi-k2.7-code",name:"Kimi K2.7 Code",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.74,output:3.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"~anthropic/claude-fable-latest":{id:"~anthropic/claude-fable-latest",name:"Claude Fable Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"nvidia/nemotron-3-ultra-550b-a55b":{id:"nvidia/nemotron-3-ultra-550b-a55b",name:"Nemotron 3 Ultra 550B A55B",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:2.2,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"nvidia/nemotron-3-ultra-550b-a55b:free":{id:"nvidia/nemotron-3-ultra-550b-a55b:free",name:"Nemotron 3 Ultra (free)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"qwen/qwen3.7-plus":{id:"qwen/qwen3.7-plus",name:"Qwen3.7 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.32,output:1.28,cacheRead:0.064,cacheWrite:0.4},releaseDate:"2026-06-02",family:"qwen"},"minimax/minimax-m3":{id:"minimax/minimax-m3",name:"MiniMax-M3",contextWindow:524288,maxInputTokens:524288,maxTokens:512000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-01",family:"minimax"},"stepfun/step-3.7-flash":{id:"stepfun/step-3.7-flash",name:"Step 3.7 Flash",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:1.15,cacheRead:0.04,cacheWrite:0},releaseDate:"2026-05-29"},"anthropic/claude-opus-4.8":{id:"anthropic/claude-opus-4.8",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"anthropic/claude-opus-4.8-fast":{id:"anthropic/claude-opus-4.8-fast",name:"Claude Opus 4.8 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-05-27",family:"claude-opus"},"qwen/qwen3.7-max":{id:"qwen/qwen3.7-max",name:"Qwen3.7 Max",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:3.75,cacheRead:0.25,cacheWrite:1.5625},releaseDate:"2026-05-21",family:"qwen"},"google/gemini-3.5-flash":{id:"google/gemini-3.5-flash",name:"Gemini 3.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0.083333},releaseDate:"2026-05-19",family:"gemini-flash"},"anthropic/claude-opus-4.7-fast":{id:"anthropic/claude-opus-4.7-fast",name:"Claude Opus 4.7 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:30,output:150,cacheRead:3,cacheWrite:37.5},releaseDate:"2026-05-12",family:"claude-opus"},"inclusionai/ring-2.6-1t":{id:"inclusionai/ring-2.6-1t",name:"Ring-2.6-1T",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.075,output:0.625,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-05-08",family:"ring"},"google/gemini-3.1-flash-lite":{id:"google/gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0.083333},releaseDate:"2026-05-07",family:"gemini-flash-lite"},"openai/gpt-chat-latest":{id:"openai/gpt-chat-latest",name:"GPT Chat Latest",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-05-05",family:"gpt"},"ibm-granite/granite-4.1-8b":{id:"ibm-granite/granite-4.1-8b",name:"Granite 4.1 8B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.05,output:0.1,cacheRead:0.05,cacheWrite:0},releaseDate:"2026-04-30",family:"granite"},"mistralai/mistral-medium-3-5":{id:"mistralai/mistral-medium-3-5",name:"Mistral Medium 3.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:1.5,output:7.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-30",family:"mistral-medium"},"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free":{id:"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",name:"Nemotron 3 Nano Omni (free)",contextWindow:256000,maxInputTokens:256000,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28",family:"nemotron"},"openrouter/owl-alpha":{id:"openrouter/owl-alpha",name:"Owl Alpha",contextWindow:1048756,maxInputTokens:1048756,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28",family:"alpha"},"poolside/laguna-m.1":{id:"poolside/laguna-m.1",name:"Laguna M.1",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:0.4,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-m.1:free":{id:"poolside/laguna-m.1:free",name:"Laguna M.1 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-xs.2":{id:"poolside/laguna-xs.2",name:"Laguna XS.2",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.2,cacheRead:0.05,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-xs.2:free":{id:"poolside/laguna-xs.2:free",name:"Laguna XS.2 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"~anthropic/claude-haiku-latest":{id:"~anthropic/claude-haiku-latest",name:"Anthropic Claude Haiku Latest",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2026-04-27",family:"claude-haiku"},"~anthropic/claude-sonnet-latest":{id:"~anthropic/claude-sonnet-latest",name:"Anthropic Claude Sonnet Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-04-27",family:"claude-sonnet"},"~google/gemini-flash-latest":{id:"~google/gemini-flash-latest",name:"Google Gemini Flash Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0.083333},releaseDate:"2026-04-27",family:"gemini-flash"},"~google/gemini-pro-latest":{id:"~google/gemini-pro-latest",name:"Google Gemini Pro Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-04-27",family:"gemini-pro"},"~moonshotai/kimi-latest":{id:"~moonshotai/kimi-latest",name:"MoonshotAI Kimi Latest",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.55,output:3.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2026-04-27",family:"kimi"},"~openai/gpt-latest":{id:"~openai/gpt-latest",name:"OpenAI GPT Latest",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-27",family:"gpt"},"~openai/gpt-mini-latest":{id:"~openai/gpt-mini-latest",name:"OpenAI GPT Mini Latest",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-04-27",family:"gpt-mini"},"qwen/qwen3.5-plus-20260420":{id:"qwen/qwen3.5-plus-20260420",name:"Qwen3.5 Plus 2026-04-20",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.8,cacheRead:0,cacheWrite:0.375},releaseDate:"2026-04-27",family:"qwen3.5"},"qwen/qwen3.6-flash":{id:"qwen/qwen3.6-flash",name:"Qwen3.6 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1875,output:1.125,cacheRead:0,cacheWrite:0.234375},releaseDate:"2026-04-27",family:"qwen3.6"},"deepseek/deepseek-v4-flash":{id:"deepseek/deepseek-v4-flash",name:"DeepSeek V4 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.09,output:0.18,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deepseek/deepseek-v4-pro":{id:"deepseek/deepseek-v4-pro",name:"DeepSeek V4 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"inclusionai/ling-2.6-1t":{id:"inclusionai/ling-2.6-1t",name:"Ling-2.6-1T",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.075,output:0.625,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-04-23",family:"ling"},"openai/gpt-5.5":{id:"openai/gpt-5.5",name:"GPT-5.5",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"openai/gpt-5.5-pro":{id:"openai/gpt-5.5-pro",name:"GPT-5.5 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt-pro"},"qwen/qwen3.6-27b":{id:"qwen/qwen3.6-27b",name:"Qwen3.6 27B",contextWindow:262140,maxInputTokens:262140,maxTokens:262140,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.2596,output:2.385,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"qwen"},"xiaomi/mimo-v2.5":{id:"xiaomi/mimo-v2.5",name:"MiMo-V2.5",contextWindow:32000,maxInputTokens:32000,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.105,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"xiaomi/mimo-v2.5-pro":{id:"xiaomi/mimo-v2.5-pro",name:"MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"~anthropic/claude-opus-latest":{id:"~anthropic/claude-opus-latest",name:"Claude Opus Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-21",family:"claude-opus"},"inclusionai/ling-2.6-flash":{id:"inclusionai/ling-2.6-flash",name:"Ling-2.6-flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.01,output:0.03,cacheRead:0.002,cacheWrite:0},releaseDate:"2026-04-21",family:"ling"},"moonshotai/kimi-k2.6":{id:"moonshotai/kimi-k2.6",name:"Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.55,output:3.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"qwen/qwen3.6-max-preview":{id:"qwen/qwen3.6-max-preview",name:"Qwen3.6 Max Preview",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.04,output:6.24,cacheRead:0,cacheWrite:1.3},releaseDate:"2026-04-20",family:"qwen"},"tencent/hy3-preview":{id:"tencent/hy3-preview",name:"Hy3 preview",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.063,output:0.21,cacheRead:0.021,cacheWrite:0},releaseDate:"2026-04-20",family:"Hy"},"qwen/qwen3.6-35b-a3b":{id:"qwen/qwen3.6-35b-a3b",name:"Qwen3.6 35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.14,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-17",family:"qwen"},"x-ai/grok-4.3":{id:"x-ai/grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-17",family:"grok"},"anthropic/claude-opus-4.7":{id:"anthropic/claude-opus-4.7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"x-ai/grok-build-0.1":{id:"x-ai/grok-build-0.1",name:"Grok Build 0.1",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-16",family:"grok-build"},"anthropic/claude-opus-4.6-fast":{id:"anthropic/claude-opus-4.6-fast",name:"Claude Opus 4.6 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:30,output:150,cacheRead:3,cacheWrite:37.5},releaseDate:"2026-04-07",family:"claude-opus"},"z-ai/glm-5.1":{id:"z-ai/glm-5.1",name:"GLM-5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.98,output:3.08,cacheRead:0.182,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"google/gemma-4-26b-a4b-it":{id:"google/gemma-4-26b-a4b-it",name:"Gemma 4 26B A4B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.06,output:0.33,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-26b-a4b-it:free":{id:"google/gemma-4-26b-a4b-it:free",name:"Gemma 4 26B A4B (free)",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-31b-it":{id:"google/gemma-4-31b-it",name:"Gemma 4 31B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.12,output:0.35,cacheRead:0.09,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-31b-it:free":{id:"google/gemma-4-31b-it:free",name:"Gemma 4 31B (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:8192,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"qwen/qwen3.6-plus":{id:"qwen/qwen3.6-plus",name:"Qwen3.6 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.325,output:1.95,cacheRead:0,cacheWrite:0.40625},releaseDate:"2026-04-02",family:"qwen"},"arcee-ai/trinity-large-thinking":{id:"arcee-ai/trinity-large-thinking",name:"Trinity Large Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:80000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:0.8,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-04-01",family:"trinity"},"z-ai/glm-5v-turbo":{id:"z-ai/glm-5v-turbo",name:"GLM-5V-Turbo",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"x-ai/grok-4.20":{id:"x-ai/grok-4.20",name:"Grok 4.20",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-31",family:"grok"},"kwaipilot/kat-coder-pro-v2":{id:"kwaipilot/kat-coder-pro-v2",name:"KAT-Coder-Pro V2",contextWindow:256000,maxInputTokens:256000,maxTokens:80000,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-27",family:"kat-coder"},"rekaai/reka-edge":{id:"rekaai/reka-edge",name:"Reka Edge",contextWindow:16384,maxInputTokens:16384,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-20",family:"reka"},"minimax/minimax-m2.7":{id:"minimax/minimax-m2.7",name:"MiniMax-M2.7",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.18,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"openai/gpt-5.4-mini":{id:"openai/gpt-5.4-mini",name:"GPT-5.4 mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-mini"},"openai/gpt-5.4-nano":{id:"openai/gpt-5.4-nano",name:"GPT-5.4 nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-nano"},"mistralai/mistral-small-2603":{id:"mistralai/mistral-small-2603",name:"Mistral Small 4",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-03-16",family:"mistral-small"},"z-ai/glm-5-turbo":{id:"z-ai/glm-5-turbo",name:"GLM-5-Turbo",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-03-16",family:"glm"},"nvidia/nemotron-3-super-120b-a12b":{id:"nvidia/nemotron-3-super-120b-a12b",name:"Nemotron 3 Super 120B A12B",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.085,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"nvidia/nemotron-3-super-120b-a12b:free":{id:"nvidia/nemotron-3-super-120b-a12b:free",name:"Nemotron 3 Super (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"bytedance-seed/seed-2.0-lite":{id:"bytedance-seed/seed-2.0-lite",name:"Seed-2.0-Lite",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-10",family:"seed"},"openai/gpt-5.4":{id:"openai/gpt-5.4",name:"GPT-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"openai/gpt-5.4-pro":{id:"openai/gpt-5.4-pro",name:"GPT-5.4 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt-pro"},"inception/mercury-2":{id:"inception/mercury-2",name:"Mercury 2",contextWindow:128000,maxInputTokens:128000,maxTokens:50000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:0.75,cacheRead:0.025,cacheWrite:0},releaseDate:"2026-03-04",family:"mercury"},"google/gemini-3.1-flash-lite-preview":{id:"google/gemini-3.1-flash-lite-preview",name:"Gemini 3.1 Flash Lite Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0.083333},releaseDate:"2026-03-03",family:"gemini-flash-lite"},"openai/gpt-5.3-chat":{id:"openai/gpt-5.3-chat",name:"GPT-5.3 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-03-03",family:"gpt"},"bytedance-seed/seed-2.0-mini":{id:"bytedance-seed/seed-2.0-mini",name:"Seed-2.0-Mini",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26",family:"seed"},"qwen/qwen3.5-flash-02-23":{id:"qwen/qwen3.5-flash-02-23",name:"Qwen3.5-Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.065,output:0.26,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-25",family:"qwen"},"qwen/qwen3.5-122b-a10b":{id:"qwen/qwen3.5-122b-a10b",name:"Qwen3.5 122B-A10B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.26,output:2.08,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"qwen/qwen3.5-27b":{id:"qwen/qwen3.5-27b",name:"Qwen3.5 27B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.195,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"qwen/qwen3.5-35b-a3b":{id:"qwen/qwen3.5-35b-a3b",name:"Qwen3.5 35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:81920,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:1,cacheRead:0.05,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"qwen/qwen3.5-9b":{id:"qwen/qwen3.5-9b",name:"Qwen3.5 9B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"google/gemini-3.1-pro-preview":{id:"google/gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-02-19",family:"gemini-pro"},"google/gemini-3.1-pro-preview-customtools":{id:"google/gemini-3.1-pro-preview-customtools",name:"Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-02-19",family:"gemini-pro"},"anthropic/claude-sonnet-4.6":{id:"anthropic/claude-sonnet-4.6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"qwen/qwen3.5-plus-02-15":{id:"qwen/qwen3.5-plus-02-15",name:"Qwen3.5 Plus 2026-02-15",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.26,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-16",family:"qwen"},"qwen/qwen3.5-397b-a17b":{id:"qwen/qwen3.5-397b-a17b",name:"Qwen3.5 397B-A17B",contextWindow:131072,maxInputTokens:131072,maxTokens:64000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.385,output:2.45,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-15",family:"qwen"},"minimax/minimax-m2.5":{id:"minimax/minimax-m2.5",name:"MiniMax-M2.5",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.12,output:0.48,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-12",family:"minimax"},"z-ai/glm-5":{id:"z-ai/glm-5",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:1.92,cacheRead:0.12,cacheWrite:0},releaseDate:"2026-02-12",family:"glm"},"qwen/qwen3-max-thinking":{id:"qwen/qwen3-max-thinking",name:"Qwen3 Max Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.78,output:3.9,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-09",family:"qwen"},"anthropic/claude-opus-4.6":{id:"anthropic/claude-opus-4.6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"openai/gpt-5.3-codex":{id:"openai/gpt-5.3-codex",name:"GPT-5.3 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt-codex"},"qwen/qwen3-coder-next":{id:"qwen/qwen3-coder-next",name:"Qwen3 Coder Next",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.11,output:0.8,cacheRead:0.07,cacheWrite:0},releaseDate:"2026-02-04",family:"qwen"},"openrouter/free":{id:"openrouter/free",name:"Free Models Router",contextWindow:200000,maxInputTokens:200000,maxTokens:8000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-01"},"stepfun/step-3.5-flash":{id:"stepfun/step-3.5-flash",name:"Step 3.5 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.09,output:0.3,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-01-29"},"upstage/solar-pro-3":{id:"upstage/solar-pro-3",name:"Solar Pro 3",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-01-27",family:"solar-pro"},"liquid/lfm-2.5-1.2b-thinking:free":{id:"liquid/lfm-2.5-1.2b-thinking:free",name:"LFM2.5-1.2B-Thinking (free)",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-20",family:"liquid"},"openai/gpt-audio":{id:"openai/gpt-audio",name:"GPT Audio",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"gpt"},"openai/gpt-audio-mini":{id:"openai/gpt-audio-mini",name:"GPT Audio Mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.6,output:2.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"o-mini"},"z-ai/glm-4.7-flash":{id:"z-ai/glm-4.7-flash",name:"GLM-4.7-Flash",contextWindow:202752,maxInputTokens:202752,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.06,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"moonshotai/kimi-k2.5":{id:"moonshotai/kimi-k2.5",name:"Kimi K2.5",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.375,output:2.025,cacheRead:0,cacheWrite:0},releaseDate:"2026-01",family:"kimi-k2"},"bytedance-seed/seed-1.6":{id:"bytedance-seed/seed-1.6",name:"Seed 1.6",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"seed"},"bytedance-seed/seed-1.6-flash":{id:"bytedance-seed/seed-1.6-flash",name:"Seed 1.6 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.075,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"seed"},"minimax/minimax-m2.1":{id:"minimax/minimax-m2.1",name:"MiniMax-M2.1",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.29,output:0.95,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"z-ai/glm-4.7":{id:"z-ai/glm-4.7",name:"GLM-4.7",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.75,cacheRead:0.08,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"google/gemini-3-flash-preview":{id:"google/gemini-3-flash-preview",name:"Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0.083333},releaseDate:"2025-12-17",family:"gemini-flash"},"nvidia/nemotron-3-nano-30b-a3b":{id:"nvidia/nemotron-3-nano-30b-a3b",name:"Nemotron 3 Nano 30B A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:228000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-15",family:"nemotron"},"nvidia/nemotron-3-nano-30b-a3b:free":{id:"nvidia/nemotron-3-nano-30b-a3b:free",name:"Nemotron 3 Nano 30B A3B (free)",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-15",family:"nemotron"},"openai/gpt-5.2":{id:"openai/gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"openai/gpt-5.2-codex":{id:"openai/gpt-5.2-codex",name:"GPT-5.2 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"openai/gpt-5.2-pro":{id:"openai/gpt-5.2-pro",name:"GPT-5.2 Pro",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-pro"},"openai/gpt-5.2-chat":{id:"openai/gpt-5.2-chat",name:"GPT-5.2 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-10",family:"gpt-codex"},"relace/relace-search":{id:"relace/relace-search",name:"Relace Search",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-08"},"z-ai/glm-4.6v":{id:"z-ai/glm-4.6v",name:"GLM-4.6V",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:0.9,cacheRead:0.055,cacheWrite:0},releaseDate:"2025-12-08",family:"glm"},"amazon/nova-2-lite-v1":{id:"amazon/nova-2-lite-v1",name:"Nova 2 Lite",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.3,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"nova"},"mistralai/ministral-14b-2512":{id:"mistralai/ministral-14b-2512",name:"Ministral 3 14B 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:0.2,cacheRead:0.02,cacheWrite:0},releaseDate:"2025-12-02",family:"ministral"},"mistralai/ministral-3b-2512":{id:"mistralai/ministral-3b-2512",name:"Ministral 3 3B 2512",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.1,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-12-02",family:"ministral"},"mistralai/ministral-8b-2512":{id:"mistralai/ministral-8b-2512",name:"Ministral 3 8B 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.15,cacheRead:0.015,cacheWrite:0},releaseDate:"2025-12-02",family:"ministral"},"arcee-ai/trinity-mini":{id:"arcee-ai/trinity-mini",name:"Trinity Mini",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.045,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-01",family:"trinity-mini"},"deepseek/deepseek-chat":{id:"deepseek/deepseek-chat",name:"DeepSeek Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.2002,output:0.8001,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek"},"deepseek/deepseek-v3.2":{id:"deepseek/deepseek-v3.2",name:"DeepSeek V3.2",contextWindow:128000,maxInputTokens:128000,maxTokens:64000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.2288,output:0.3432,cacheRead:0.02288,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek"},"anthropic/claude-opus-4.5":{id:"anthropic/claude-opus-4.5",name:"Claude Opus 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"openai/gpt-5.1":{id:"openai/gpt-5.1",name:"GPT-5.1",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt"},"openai/gpt-5.1-chat":{id:"openai/gpt-5.1-chat",name:"GPT-5.1 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["images","files","tools","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex":{id:"openai/gpt-5.1-codex",name:"GPT-5.1 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex-max":{id:"openai/gpt-5.1-codex-max",name:"GPT-5.1 Codex Max",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex-mini":{id:"openai/gpt-5.1-codex-mini",name:"GPT-5.1 Codex mini",contextWindow:400000,maxInputTokens:272000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"moonshotai/kimi-k2-thinking":{id:"moonshotai/kimi-k2-thinking",name:"Kimi K2 Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.6,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"amazon/nova-premier-v1":{id:"amazon/nova-premier-v1",name:"Nova Premier 1.0",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32000,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:2.5,output:12.5,cacheRead:0.625,cacheWrite:0},releaseDate:"2025-10-31",family:"nova"},"mistralai/voxtral-small-24b-2507":{id:"mistralai/voxtral-small-24b-2507",name:"Voxtral Small 24B 2507",contextWindow:32000,maxInputTokens:32000,maxTokens:32000,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-10-30",family:"mistral"},"openai/gpt-oss-safeguard-20b":{id:"openai/gpt-oss-safeguard-20b",name:"gpt-oss-safeguard-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.0375,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"nvidia/nemotron-nano-12b-v2-vl:free":{id:"nvidia/nemotron-nano-12b-v2-vl:free",name:"Nemotron Nano 12B 2 VL (free)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-28",family:"nemotron"},"minimax/minimax-m2":{id:"minimax/minimax-m2",name:"MiniMax-M2",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.255,output:1,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-10-27",family:"minimax"},"qwen/qwen3-vl-32b-instruct":{id:"qwen/qwen3-vl-32b-instruct",name:"Qwen3 VL 32B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.104,output:0.416,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-23",family:"qwen"},"anthropic/claude-haiku-4.5":{id:"anthropic/claude-haiku-4.5",name:"Claude Haiku 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"qwen/qwen3-vl-8b-instruct":{id:"qwen/qwen3-vl-8b-instruct",name:"Qwen3 VL 8B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.08,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-14",family:"qwen"},"qwen/qwen3-vl-8b-thinking":{id:"qwen/qwen3-vl-8b-thinking",name:"Qwen3 VL 8B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.117,output:1.365,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-14",family:"qwen"},"openai/gpt-5-pro":{id:"openai/gpt-5-pro",name:"GPT-5 Pro",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"gpt-pro"},"qwen/qwen3-vl-30b-a3b-instruct":{id:"qwen/qwen3-vl-30b-a3b-instruct",name:"Qwen3 VL 30B A3B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.13,output:0.52,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"qwen"},"qwen/qwen3-vl-30b-a3b-thinking":{id:"qwen/qwen3-vl-30b-a3b-thinking",name:"Qwen3 VL 30B A3B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.13,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"qwen"},"z-ai/glm-4.6":{id:"z-ai/glm-4.6",name:"GLM-4.6",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.43,output:1.74,cacheRead:0.08,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"anthropic/claude-sonnet-4.5":{id:"anthropic/claude-sonnet-4.5",name:"Claude Sonnet 4.5 (latest)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"deepseek/deepseek-v3.2-exp":{id:"deepseek/deepseek-v3.2-exp",name:"DeepSeek V3.2 Exp",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.27,output:0.41,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-29",family:"deepseek"},"google/gemini-2.5-flash-lite-preview-09-2025":{id:"google/gemini-2.5-flash-lite-preview-09-2025",name:"Gemini 2.5 Flash Lite Preview 09-2025",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0.083333},releaseDate:"2025-09-25",family:"gemini-flash-lite"},"qwen/qwen3-max":{id:"qwen/qwen3-max",name:"Qwen3 Max",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.78,output:3.9,cacheRead:0.156,cacheWrite:0.975},releaseDate:"2025-09-23",family:"qwen"},"qwen/qwen3-vl-235b-a22b-instruct":{id:"qwen/qwen3-vl-235b-a22b-instruct",name:"Qwen3 VL 235B A22B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:0.88,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"qwen/qwen3-vl-235b-a22b-thinking":{id:"qwen/qwen3-vl-235b-a22b-thinking",name:"Qwen3 VL 235B A22B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.26,output:2.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"deepseek/deepseek-v3.1-terminus":{id:"deepseek/deepseek-v3.1-terminus",name:"DeepSeek V3.1 Terminus",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.27,output:0.95,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-09-22",family:"deepseek"},"openai/gpt-5-codex":{id:"openai/gpt-5-codex",name:"GPT-5-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15",family:"gpt-codex"},"qwen/qwen-plus-2025-07-28":{id:"qwen/qwen-plus-2025-07-28",name:"Qwen Plus 0728",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.26,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-08",family:"qwen"},"qwen/qwen-plus-2025-07-28:thinking":{id:"qwen/qwen-plus-2025-07-28:thinking",name:"Qwen Plus 0728 (thinking)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.26,output:0.78,cacheRead:0,cacheWrite:0.325},releaseDate:"2025-09-08",family:"qwen"},"moonshotai/kimi-k2-0905":{id:"moonshotai/kimi-k2-0905",name:"Kimi K2 0905",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:0.6,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-04",family:"kimi-k2"},"qwen/qwen3-next-80b-a3b-instruct":{id:"qwen/qwen3-next-80b-a3b-instruct",name:"Qwen3-Next 80B-A3B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.09,output:1.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-09",family:"qwen"},"qwen/qwen3-next-80b-a3b-instruct:free":{id:"qwen/qwen3-next-80b-a3b-instruct:free",name:"Qwen3 Next 80B A3B Instruct (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-09",family:"qwen"},"qwen/qwen3-next-80b-a3b-thinking":{id:"qwen/qwen3-next-80b-a3b-thinking",name:"Qwen3-Next 80B-A3B (Thinking)",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.0975,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09",family:"qwen"},"qwen/qwen3-30b-a3b-thinking-2507":{id:"qwen/qwen3-30b-a3b-thinking-2507",name:"Qwen3 30B A3B Thinking 2507",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.08,output:0.4,cacheRead:0.08,cacheWrite:0},releaseDate:"2025-08-28",family:"qwen"},"deepseek/deepseek-chat-v3.1":{id:"deepseek/deepseek-chat-v3.1",name:"DeepSeek V3.1",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.21,output:0.79,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-08-21",family:"deepseek"},"nvidia/nemotron-nano-9b-v2:free":{id:"nvidia/nemotron-nano-9b-v2:free",name:"Nemotron Nano 9B V2 (free)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-18",family:"nemotron"},"mistralai/mistral-medium-3.1":{id:"mistralai/mistral-medium-3.1",name:"Mistral Medium 3.1",contextWindow:131072,maxInputTokens:131072,maxTokens:262144,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.04,cacheWrite:0},releaseDate:"2025-08-13",family:"mistral-medium"},"z-ai/glm-4.5v":{id:"z-ai/glm-4.5v",name:"GLM-4.5V",contextWindow:65536,maxInputTokens:65536,maxTokens:16384,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:1.8,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-08-11",family:"glm"},"ai21/jamba-large-1.7":{id:"ai21/jamba-large-1.7",name:"Jamba Large 1.7",contextWindow:256000,maxInputTokens:256000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:2,output:8,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-08",family:"jamba"},"openai/gpt-5":{id:"openai/gpt-5",name:"GPT-5",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"openai/gpt-5-mini":{id:"openai/gpt-5-mini",name:"GPT-5 Mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"openai/gpt-5-nano":{id:"openai/gpt-5-nano",name:"GPT-5 Nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"anthropic/claude-opus-4.1":{id:"anthropic/claude-opus-4.1",name:"Claude Opus 4.1 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.03,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-120b:free":{id:"openai/gpt-oss-120b:free",name:"gpt-oss-120b (free)",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"gpt-oss-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.029,output:0.14,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b:free":{id:"openai/gpt-oss-20b:free",name:"gpt-oss-20b (free)",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"mistralai/codestral-2508":{id:"mistralai/codestral-2508",name:"Codestral 2508",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:0.9,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-08-01",family:"codestral"},"qwen/qwen3-30b-a3b-instruct-2507":{id:"qwen/qwen3-30b-a3b-instruct-2507",name:"Qwen3 30B A3B Instruct 2507",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.04815,output:0.19305,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-29",family:"qwen"},"qwen/qwen3-coder-flash":{id:"qwen/qwen3-coder-flash",name:"Qwen3 Coder Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.195,output:0.975,cacheRead:0.039,cacheWrite:0.24375},releaseDate:"2025-07-28",family:"qwen"},"z-ai/glm-4.5":{id:"z-ai/glm-4.5",name:"GLM-4.5",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-07-28",family:"glm"},"z-ai/glm-4.5-air":{id:"z-ai/glm-4.5-air",name:"GLM-4.5-Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.13,output:0.85,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"},"nvidia/llama-3.3-nemotron-super-49b-v1.5":{id:"nvidia/llama-3.3-nemotron-super-49b-v1.5",name:"Llama 3.3 Nemotron Super 49B v1.5",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"nemotron"},"qwen/qwen3-235b-a22b-thinking-2507":{id:"qwen/qwen3-235b-a22b-thinking-2507",name:"Qwen3 235B A22B Thinking 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.1,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"qwen/qwen3-coder":{id:"qwen/qwen3-coder",name:"Qwen3 Coder 480B A35B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","structured_output","temperature"],pricing:{input:0.22,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"qwen/qwen3-coder-plus":{id:"qwen/qwen3-coder-plus",name:"Qwen3 Coder Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.65,output:3.25,cacheRead:0.13,cacheWrite:0.8125},releaseDate:"2025-07-23",family:"qwen"},"qwen/qwen3-coder:free":{id:"qwen/qwen3-coder:free",name:"Qwen3 Coder 480B A35B (free)",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"qwen/qwen3-235b-a22b-2507":{id:"qwen/qwen3-235b-a22b-2507",name:"Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.09,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-21",family:"qwen"},"moonshotai/kimi-k2":{id:"moonshotai/kimi-k2",name:"Kimi K2 0711",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.57,output:2.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-11",family:"kimi-k2"},"mistralai/mistral-small-3.2-24b-instruct":{id:"mistralai/mistral-small-3.2-24b-instruct",name:"Mistral Small 3.2 24B",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.075,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-20",family:"mistral-small"},"google/gemini-2.5-flash":{id:"google/gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0.083333},releaseDate:"2025-06-17",family:"gemini-flash"},"google/gemini-2.5-flash-lite":{id:"google/gemini-2.5-flash-lite",name:"Gemini 2.5 Flash-Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0.083333},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"google/gemini-2.5-pro":{id:"google/gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-06-17",family:"gemini-pro"},"minimax/minimax-m1":{id:"minimax/minimax-m1",name:"MiniMax M1",contextWindow:1e6,maxInputTokens:1e6,maxTokens:40000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.4,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-17",family:"minimax"},"openai/o3-pro":{id:"openai/o3-pro",name:"o3-pro",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:20,output:80,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-10",family:"o-pro"},"google/gemini-2.5-pro-preview":{id:"google/gemini-2.5-pro-preview",name:"Gemini 2.5 Pro Preview 06-05",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-06-05",family:"gemini"},"deepseek/deepseek-r1-0528":{id:"deepseek/deepseek-r1-0528",name:"R1 0528",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:2.15,cacheRead:0.35,cacheWrite:0},releaseDate:"2025-05-28",family:"deepseek"},"anthropic/claude-opus-4":{id:"anthropic/claude-opus-4",name:"Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"anthropic/claude-sonnet-4":{id:"anthropic/claude-sonnet-4",name:"Claude Sonnet 4",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"google/gemini-2.5-pro-preview-05-06":{id:"google/gemini-2.5-pro-preview-05-06",name:"Gemini 2.5 Pro Preview 05-06",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-05-07",family:"gemini-pro"},"mistralai/mistral-medium-3":{id:"mistralai/mistral-medium-3",name:"Mistral Medium 3",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.04,cacheWrite:0},releaseDate:"2025-05-07",family:"mistral-medium"},"arcee-ai/virtuoso-large":{id:"arcee-ai/virtuoso-large",name:"Virtuoso Large",contextWindow:131072,maxInputTokens:131072,maxTokens:64000,capabilities:["tools","temperature"],pricing:{input:0.75,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-05"},"qwen/qwen3-14b":{id:"qwen/qwen3-14b",name:"Qwen3 14B",contextWindow:40960,maxInputTokens:40960,maxTokens:40960,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"qwen/qwen3-30b-a3b":{id:"qwen/qwen3-30b-a3b",name:"Qwen3 30B A3B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.12,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"qwen/qwen3-8b":{id:"qwen/qwen3-8b",name:"Qwen3 8B",contextWindow:40960,maxInputTokens:40960,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"openai/o3":{id:"openai/o3",name:"o3",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-16",family:"o"},"openai/o4-mini":{id:"openai/o4-mini",name:"o4-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16",family:"o-mini"},"openai/o4-mini-high":{id:"openai/o4-mini-high",name:"o4 Mini High",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16",family:"o"},"openai/gpt-4.1":{id:"openai/gpt-4.1",name:"GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"openai/gpt-4.1-mini":{id:"openai/gpt-4.1-mini",name:"GPT-4.1 mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"openai/gpt-4.1-nano":{id:"openai/gpt-4.1-nano",name:"GPT-4.1 nano",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-nano"},"meta-llama/llama-4-maverick":{id:"meta-llama/llama-4-maverick",name:"Llama 4 Maverick",contextWindow:1048576,maxInputTokens:1048576,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"meta-llama/llama-4-scout":{id:"meta-llama/llama-4-scout",name:"Llama 4 Scout",contextWindow:327680,maxInputTokens:327680,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"qwen/qwen3-235b-a22b":{id:"qwen/qwen3-235b-a22b",name:"Qwen3 235B-A22B",contextWindow:131072,maxInputTokens:131072,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.455,output:1.82,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"qwen/qwen3-32b":{id:"qwen/qwen3-32b",name:"Qwen3 32B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.08,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"qwen/qwen3-coder-30b-a3b-instruct":{id:"qwen/qwen3-coder-30b-a3b-instruct",name:"Qwen3-Coder 30B-A3B Instruct",contextWindow:160000,maxInputTokens:160000,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.07,output:0.27,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"deepseek/deepseek-chat-v3-0324":{id:"deepseek/deepseek-chat-v3-0324",name:"DeepSeek V3 0324",contextWindow:163840,maxInputTokens:163840,maxTokens:16384,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:0.77,cacheRead:0.135,cacheWrite:0},releaseDate:"2025-03-24",family:"deepseek"},"google/gemma-3-12b-it":{id:"google/gemma-3-12b-it",name:"Gemma 3 12B",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.05,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-13",family:"gemma"},"google/gemma-3-27b-it":{id:"google/gemma-3-27b-it",name:"Gemma 3 27B",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.08,output:0.16,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-12",family:"gemma"},"mistralai/mistral-saba":{id:"mistralai/mistral-saba",name:"Saba",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:0.6,cacheRead:0.02,cacheWrite:0},releaseDate:"2025-02-17",family:"mistral"},"openai/o3-mini-high":{id:"openai/o3-mini-high",name:"o3 Mini High",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2025-02-12",family:"o"},"deepseek/deepseek-r1":{id:"deepseek/deepseek-r1",name:"DeepSeek-R1",contextWindow:64000,maxInputTokens:64000,maxTokens:16000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.7,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"openai/o3-mini":{id:"openai/o3-mini",name:"o3-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2024-12-20",family:"o-mini"},"meta-llama/llama-3.3-70b-instruct":{id:"meta-llama/llama-3.3-70b-instruct",name:"Llama-3.3-70B-Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.1,output:0.32,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"meta-llama/llama-3.3-70b-instruct:free":{id:"meta-llama/llama-3.3-70b-instruct:free",name:"Llama 3.3 70B Instruct (free)",contextWindow:65536,maxInputTokens:65536,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"amazon/nova-lite-v1":{id:"amazon/nova-lite-v1",name:"Nova Lite 1.0",contextWindow:300000,maxInputTokens:300000,maxTokens:5120,capabilities:["images","tools","temperature"],pricing:{input:0.06,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-05",family:"nova-lite"},"amazon/nova-micro-v1":{id:"amazon/nova-micro-v1",name:"Nova Micro 1.0",contextWindow:128000,maxInputTokens:128000,maxTokens:5120,capabilities:["tools","temperature"],pricing:{input:0.035,output:0.14,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-05",family:"nova-micro"},"amazon/nova-pro-v1":{id:"amazon/nova-pro-v1",name:"Nova Pro 1.0",contextWindow:300000,maxInputTokens:300000,maxTokens:5120,capabilities:["images","tools","temperature"],pricing:{input:0.8,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-05",family:"nova-pro"},"openai/o1":{id:"openai/o1",name:"o1",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:15,output:60,cacheRead:7.5,cacheWrite:0},releaseDate:"2024-12-05",family:"o"},"openai/gpt-4o-2024-11-20":{id:"openai/gpt-4o-2024-11-20",name:"GPT-4o (2024-11-20)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-11-20",family:"gpt"},"mistralai/mistral-large-2407":{id:"mistralai/mistral-large-2407",name:"Mistral Large 2407",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:6,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-11-19",family:"mistral-large"},"thedrummer/unslopnemo-12b":{id:"thedrummer/unslopnemo-12b",name:"UnslopNemo 12B",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-08"},"mistralai/mistral-large-2512":{id:"mistralai/mistral-large-2512",name:"Mistral Large 3",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:1.5,cacheRead:0.05,cacheWrite:0},releaseDate:"2024-11-01",family:"mistral-large"},"qwen/qwen-2.5-7b-instruct":{id:"qwen/qwen-2.5-7b-instruct",name:"Qwen2.5 7B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.04,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2024-10-16",family:"qwen"},"qwen/qwen-2.5-72b-instruct":{id:"qwen/qwen-2.5-72b-instruct",name:"Qwen2.5 72B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.36,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-19",family:"qwen"},"cohere/command-r-08-2024":{id:"cohere/command-r-08-2024",name:"Command R",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-30",family:"command-r"},"cohere/command-r-plus-08-2024":{id:"cohere/command-r-plus-08-2024",name:"Command R+",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","structured_output","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-30",family:"command-r"},"sao10k/l3.1-euryale-70b":{id:"sao10k/l3.1-euryale-70b",name:"Llama 3.1 Euryale 70B v2.2",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.85,output:0.85,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-28",family:"llama"},"openai/gpt-4o-2024-08-06":{id:"openai/gpt-4o-2024-08-06",name:"GPT-4o (2024-08-06)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-08-06",family:"gpt"},"meta-llama/llama-3.1-70b-instruct":{id:"meta-llama/llama-3.1-70b-instruct",name:"Llama 3.1 70B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"meta-llama/llama-3.1-8b-instruct":{id:"meta-llama/llama-3.1-8b-instruct",name:"Llama 3.1 8B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.02,output:0.03,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"openai/gpt-4o-mini":{id:"openai/gpt-4o-mini",name:"GPT-4o mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18",family:"gpt-mini"},"openai/gpt-4o-mini-2024-07-18":{id:"openai/gpt-4o-mini-2024-07-18",name:"GPT-4o-mini (2024-07-18)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18",family:"o-mini"},"mistralai/mistral-nemo":{id:"mistralai/mistral-nemo",name:"Mistral Nemo",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","structured_output","temperature"],pricing:{input:0.02,output:0.03,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-01",family:"mistral-nemo"},"openai/o3-deep-research":{id:"openai/o3-deep-research",name:"o3-deep-research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:10,output:40,cacheRead:2.5,cacheWrite:0},releaseDate:"2024-06-26",family:"o"},"openai/o4-mini-deep-research":{id:"openai/o4-mini-deep-research",name:"o4-mini-deep-research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2024-06-26",family:"o-mini"},"openai/gpt-4o":{id:"openai/gpt-4o",name:"GPT-4o",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"openai/gpt-4o-2024-05-13":{id:"openai/gpt-4o-2024-05-13",name:"GPT-4o (2024-05-13)",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","files","tools","structured_output","temperature"],pricing:{input:5,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"mistralai/mixtral-8x22b-instruct":{id:"mistralai/mixtral-8x22b-instruct",name:"Mixtral 8x22B Instruct",contextWindow:65536,maxInputTokens:65536,maxTokens:65536,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:6,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-04-17",family:"mistral"},"anthropic/claude-3-haiku":{id:"anthropic/claude-3-haiku",name:"Claude 3 Haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.25,output:1.25,cacheRead:0.03,cacheWrite:0.3},releaseDate:"2024-03-13",family:"claude"},"mistralai/mistral-large":{id:"mistralai/mistral-large",name:"Mistral Large",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:6,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-02-26",family:"mistral-large"},"openai/gpt-3.5-turbo-0613":{id:"openai/gpt-3.5-turbo-0613",name:"GPT-3.5 Turbo (older v0613)",contextWindow:4095,maxInputTokens:4095,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:1,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2024-01-25",family:"gpt"},"openai/gpt-4-turbo-preview":{id:"openai/gpt-4-turbo-preview",name:"GPT-4 Turbo Preview",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2024-01-25",family:"gpt"},"qwen/qwen-plus":{id:"qwen/qwen-plus",name:"Qwen Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.26,output:0.78,cacheRead:0.052,cacheWrite:0.325},releaseDate:"2024-01-25",family:"qwen"},"openrouter/auto":{id:"openrouter/auto",name:"Auto Router",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-08",family:"auto"},"openai/gpt-4":{id:"openai/gpt-4",name:"GPT-4",contextWindow:8191,maxInputTokens:8191,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:30,output:60,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"},"openai/gpt-4-turbo":{id:"openai/gpt-4-turbo",name:"GPT-4 Turbo",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","structured_output","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"},"openai/gpt-3.5-turbo-16k":{id:"openai/gpt-3.5-turbo-16k",name:"GPT-3.5 Turbo 16k",contextWindow:16385,maxInputTokens:16385,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:3,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2023-08-28",family:"gpt"},"openai/gpt-3.5-turbo":{id:"openai/gpt-3.5-turbo",name:"GPT-3.5-turbo",contextWindow:16385,maxInputTokens:16385,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2023-03-01",family:"gpt"}},requesty:{"openai/gpt-5.4":{id:"openai/gpt-5.4",name:"GPT-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"openai/gpt-5.4-pro":{id:"openai/gpt-5.4-pro",name:"GPT-5.4 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:30,output:180,cacheRead:30,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt-pro"},"openai/gpt-5.3-codex":{id:"openai/gpt-5.3-codex",name:"GPT-5.3-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-24",family:"gpt-codex"},"anthropic/claude-sonnet-4-6":{id:"anthropic/claude-sonnet-4-6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"anthropic/claude-opus-4-6":{id:"anthropic/claude-opus-4-6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"openai/gpt-5.2-codex":{id:"openai/gpt-5.2-codex",name:"GPT-5.2-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-01-14",family:"gpt-codex"},"google/gemini-3-flash-preview":{id:"google/gemini-3-flash-preview",name:"Gemini 3 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:1},releaseDate:"2025-12-17"},"openai/gpt-5.2":{id:"openai/gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"openai/gpt-5.2-chat":{id:"openai/gpt-5.2-chat",name:"GPT-5.2 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"openai/gpt-5.2-pro":{id:"openai/gpt-5.2-pro",name:"GPT-5.2 Pro",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-pro"},"anthropic/claude-opus-4-5":{id:"anthropic/claude-opus-4-5",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"google/gemini-3-pro-preview":{id:"google/gemini-3-pro-preview",name:"Gemini 3 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:4.5},releaseDate:"2025-11-18",family:"gemini-pro"},"openai/gpt-5.1":{id:"openai/gpt-5.1",name:"GPT-5.1",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt"},"openai/gpt-5.1-chat":{id:"openai/gpt-5.1-chat",name:"GPT-5.1 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex":{id:"openai/gpt-5.1-codex",name:"GPT-5.1-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex-max":{id:"openai/gpt-5.1-codex-max",name:"GPT-5.1-Codex-Max",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.1,output:9,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex-mini":{id:"openai/gpt-5.1-codex-mini",name:"GPT-5.1-Codex-Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"anthropic/claude-haiku-4-5":{id:"anthropic/claude-haiku-4-5",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:62000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"openai/gpt-5-image":{id:"openai/gpt-5-image",name:"GPT-5 Image",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2025-10-14",family:"gpt"},"openai/gpt-5-pro":{id:"openai/gpt-5-pro",name:"GPT-5 Pro",contextWindow:400000,maxInputTokens:400000,maxTokens:272000,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"gpt-pro"},"anthropic/claude-sonnet-4-5":{id:"anthropic/claude-sonnet-4-5",name:"Claude Sonnet 4.5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"xai/grok-4-fast":{id:"xai/grok-4-fast",name:"Grok 4 Fast",contextWindow:2000000,maxInputTokens:2000000,maxTokens:64000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:0.5,cacheRead:0.05,cacheWrite:0.2},releaseDate:"2025-09-19",family:"grok"},"openai/gpt-5-codex":{id:"openai/gpt-5-codex",name:"GPT-5 Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15",family:"gpt-codex"},"xai/grok-4":{id:"xai/grok-4",name:"Grok 4",contextWindow:256000,maxInputTokens:256000,maxTokens:64000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.75,cacheWrite:3},releaseDate:"2025-09-09",family:"grok"},"openai/gpt-5":{id:"openai/gpt-5",name:"GPT-5",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"openai/gpt-5-mini":{id:"openai/gpt-5-mini",name:"GPT-5 Mini",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"openai/gpt-5-nano":{id:"openai/gpt-5-nano",name:"GPT-5 Nano",contextWindow:16000,maxInputTokens:16000,maxTokens:4000,capabilities:["tools","reasoning","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"anthropic/claude-opus-4-1":{id:"anthropic/claude-opus-4-1",name:"Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"google/gemini-2.5-flash":{id:"google/gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.075,cacheWrite:0.55},releaseDate:"2025-06-17",family:"gemini-flash"},"google/gemini-2.5-pro":{id:"google/gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.31,cacheWrite:2.375},releaseDate:"2025-06-17",family:"gemini-pro"},"anthropic/claude-opus-4":{id:"anthropic/claude-opus-4",name:"Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"anthropic/claude-sonnet-4":{id:"anthropic/claude-sonnet-4",name:"Claude Sonnet 4",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"openai/o4-mini":{id:"openai/o4-mini",name:"o4 Mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.28,cacheWrite:0},releaseDate:"2025-04-16",family:"o-mini"},"openai/gpt-4.1":{id:"openai/gpt-4.1",name:"GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"openai/gpt-4.1-mini":{id:"openai/gpt-4.1-mini",name:"GPT-4.1 Mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"anthropic/claude-3-7-sonnet":{id:"anthropic/claude-3-7-sonnet",name:"Claude Sonnet 3.7",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-02-19",family:"claude-sonnet"},"openai/gpt-4o-mini":{id:"openai/gpt-4o-mini",name:"GPT-4o Mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.08,cacheWrite:0},releaseDate:"2024-07-18",family:"gpt-mini"}},sapaicore:{"gpt-5.5":{id:"gpt-5.5",name:"gpt-5.5",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"anthropic--claude-4.7-opus":{id:"anthropic--claude-4.7-opus",name:"anthropic--claude-4.7-opus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"gpt-5.4":{id:"gpt-5.4",name:"gpt-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"anthropic--claude-4.6-sonnet":{id:"anthropic--claude-4.6-sonnet",name:"anthropic--claude-4.6-sonnet",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"anthropic--claude-4.6-opus":{id:"anthropic--claude-4.6-opus",name:"anthropic--claude-4.6-opus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"anthropic--claude-4.5-opus":{id:"anthropic--claude-4.5-opus",name:"anthropic--claude-4.5-opus",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"anthropic--claude-4.5-haiku":{id:"anthropic--claude-4.5-haiku",name:"anthropic--claude-4.5-haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"anthropic--claude-4.5-sonnet":{id:"anthropic--claude-4.5-sonnet",name:"anthropic--claude-4.5-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"gpt-5":{id:"gpt-5",name:"gpt-5",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"gpt-5-mini":{id:"gpt-5-mini",name:"gpt-5-mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"gpt-5-nano":{id:"gpt-5-nano",name:"gpt-5-nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.005,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"gemini-2.5-flash-lite":{id:"gemini-2.5-flash-lite",name:"gemini-2.5-flash-lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"anthropic--claude-4-opus":{id:"anthropic--claude-4-opus",name:"anthropic--claude-4-opus",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"anthropic--claude-4-sonnet":{id:"anthropic--claude-4-sonnet",name:"anthropic--claude-4-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"gemini-2.5-flash":{id:"gemini-2.5-flash",name:"gemini-2.5-flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-04-17",family:"gemini-flash"},"gpt-4.1":{id:"gpt-4.1",name:"gpt-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"gpt-4.1-mini":{id:"gpt-4.1-mini",name:"gpt-4.1-mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"gemini-2.5-pro":{id:"gemini-2.5-pro",name:"gemini-2.5-pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-03-25",family:"gemini-pro"},"anthropic--claude-3.7-sonnet":{id:"anthropic--claude-3.7-sonnet",name:"anthropic--claude-3.7-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-02-24",family:"claude-sonnet"},"anthropic--claude-3.5-sonnet":{id:"anthropic--claude-3.5-sonnet",name:"anthropic--claude-3.5-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:8192,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2024-10-22",family:"claude-sonnet"},"anthropic--claude-3-haiku":{id:"anthropic--claude-3-haiku",name:"anthropic--claude-3-haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.25,output:1.25,cacheRead:0.03,cacheWrite:0.3},releaseDate:"2024-03-13",family:"claude-haiku"},"anthropic--claude-3-sonnet":{id:"anthropic--claude-3-sonnet",name:"anthropic--claude-3-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2024-03-04",family:"claude-sonnet"},"anthropic--claude-3-opus":{id:"anthropic--claude-3-opus",name:"anthropic--claude-3-opus",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2024-02-29",family:"claude-opus"}},together:{"zai-org/GLM-5.2":{id:"zai-org/GLM-5.2",name:"GLM-5.2",contextWindow:262144,maxInputTokens:262144,maxTokens:164000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-06-16",family:"glm"},"moonshotai/Kimi-K2.7-Code":{id:"moonshotai/Kimi-K2.7-Code",name:"Kimi K2.7 Code",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},releaseDate:"2026-06-14",family:"kimi-k2"},"MiniMaxAI/MiniMax-M3":{id:"MiniMaxAI/MiniMax-M3",name:"MiniMax-M3",contextWindow:524288,maxInputTokens:524288,maxTokens:250000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-12",family:"minimax"},"nvidia/nemotron-3-ultra-550b-a55b":{id:"nvidia/nemotron-3-ultra-550b-a55b",name:"Nemotron 3 Ultra 550B A55B",contextWindow:512300,maxInputTokens:512300,maxTokens:512300,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:3.6,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"Qwen/Qwen3.7-Max":{id:"Qwen/Qwen3.7-Max",name:"Qwen3.7 Max",contextWindow:1e6,maxInputTokens:1e6,maxTokens:500000,capabilities:["tools","temperature"],pricing:{input:1.25,output:3.75,cacheRead:0,cacheWrite:0},releaseDate:"2026-05-21",family:"qwen"},"Qwen/Qwen3.6-Plus":{id:"Qwen/Qwen3.6-Plus",name:"Qwen3.6 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:500000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.5,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-30",family:"qwen"},"deepseek-ai/DeepSeek-V4-Pro":{id:"deepseek-ai/DeepSeek-V4-Pro",name:"DeepSeek V4 Pro",contextWindow:512000,maxInputTokens:512000,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.74,output:3.48,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek"},"moonshotai/Kimi-K2.6":{id:"moonshotai/Kimi-K2.6",name:"Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:131000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.2,output:4.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"google/gemma-4-31B-it":{id:"google/gemma-4-31B-it",name:"Gemma 4 31B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.39,output:0.97,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-07",family:"gemma"},"zai-org/GLM-5.1":{id:"zai-org/GLM-5.1",name:"GLM-5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1.4,output:4.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"MiniMaxAI/MiniMax-M2.7":{id:"MiniMaxAI/MiniMax-M2.7",name:"MiniMax-M2.7",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"Qwen/Qwen3.5-9B":{id:"Qwen/Qwen3.5-9B",name:"Qwen3.5 9B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.17,output:0.25,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-03",family:"qwen"},"Qwen/Qwen3.5-397B-A17B":{id:"Qwen/Qwen3.5-397B-A17B",name:"Qwen3.5 397B A17B",contextWindow:262144,maxInputTokens:262144,maxTokens:130000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.6,output:3.6,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-16",family:"qwen"},"zai-org/GLM-5":{id:"zai-org/GLM-5",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"essentialai/Rnj-1-Instruct":{id:"essentialai/Rnj-1-Instruct",name:"Rnj-1 Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-05",family:"rnj"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"Qwen/Qwen3-235B-A22B-Instruct-2507-tput":{id:"Qwen/Qwen3-235B-A22B-Instruct-2507-tput",name:"Qwen3 235B A22B Instruct 2507 FP8",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"meta-llama/Llama-3.3-70B-Instruct-Turbo":{id:"meta-llama/Llama-3.3-70B-Instruct-Turbo",name:"Llama 3.3 70B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0.88,output:0.88,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"Qwen/Qwen2.5-7B-Instruct-Turbo":{id:"Qwen/Qwen2.5-7B-Instruct-Turbo",name:"Qwen 2.5 7B Instruct Turbo",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.3,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-19",family:"qwen"}},v0:{"v0-1.5-lg":{id:"v0-1.5-lg",name:"v0-1.5-lg",contextWindow:512000,maxInputTokens:512000,maxTokens:32000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:15,output:75,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-09",family:"v0"},"v0-1.5-md":{id:"v0-1.5-md",name:"v0-1.5-md",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:3,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-09",family:"v0"},"v0-1.0-md":{id:"v0-1.0-md",name:"v0-1.0-md",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:3,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-22",family:"v0"}},"vercel-ai-gateway":{"sakana/fugu-ultra":{id:"sakana/fugu-ultra",name:"Fugu Ultra",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-06-21",family:"aura"},"zai/glm-5.2":{id:"zai/glm-5.2",name:"GLM 5.2",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:4.5,cacheRead:0.3,cacheWrite:0},releaseDate:"2026-06-16",family:"glm"},"zai/glm-5.2-fast":{id:"zai/glm-5.2-fast",name:"GLM 5.2 Fast",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:10.25,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-06-16",family:"glm"},"moonshotai/kimi-k2.7-code-highspeed":{id:"moonshotai/kimi-k2.7-code-highspeed",name:"Kimi K2.7 Code High Speed",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.9,output:8,cacheRead:0.38,cacheWrite:0},releaseDate:"2026-06-15",family:"kimi-k2"},"moonshotai/kimi-k2.7-code":{id:"moonshotai/kimi-k2.7-code",name:"Kimi K2.7 Code",contextWindow:256000,maxInputTokens:256000,maxTokens:32768,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"nvidia/nemotron-3-ultra-550b-a55b":{id:"nvidia/nemotron-3-ultra-550b-a55b",name:"Nemotron 3 Ultra",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.12,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"alibaba/qwen3.7-plus":{id:"alibaba/qwen3.7-plus",name:"Qwen 3.7 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.08,cacheWrite:0.5},releaseDate:"2026-06-02",family:"qwen3.7-plus"},"minimax/minimax-m3":{id:"minimax/minimax-m3",name:"MiniMax M3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-05-31",family:"minimax-m3"},"anthropic/claude-opus-4.8":{id:"anthropic/claude-opus-4.8",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"stepfun/step-3.7-flash":{id:"stepfun/step-3.7-flash",name:"Step 3.7 Flash",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:1.15,cacheRead:0.04,cacheWrite:0},releaseDate:"2026-05-28",family:"step"},"alibaba/qwen3.7-max":{id:"alibaba/qwen3.7-max",name:"Qwen 3.7 Max",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:3.75,cacheRead:0.25,cacheWrite:1.5625},releaseDate:"2026-05-21",family:"qwen"},"xai/grok-build-0.1":{id:"xai/grok-build-0.1",name:"Grok Build 0.1",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-05-20",family:"grok-build"},"google/gemini-3.5-flash":{id:"google/gemini-3.5-flash",name:"Gemini 3.5 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-05-19",family:"gemini"},"google/gemini-3.1-flash-lite":{id:"google/gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2026-05-07",family:"gemini"},"xai/grok-4.3":{id:"xai/grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-30",family:"grok"},"mistral/mistral-medium-3.5":{id:"mistral/mistral-medium-3.5",name:"Mistral Medium Latest",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:1.5,output:7.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-29",family:"mistral-medium"},"openai/gpt-5.5":{id:"openai/gpt-5.5",name:"GPT 5.5",contextWindow:1e6,maxInputTokens:872000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-24",family:"gpt"},"openai/gpt-5.5-pro":{id:"openai/gpt-5.5-pro",name:"GPT 5.5 Pro",contextWindow:1e6,maxInputTokens:872000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24",family:"gpt"},"deepseek/deepseek-v4-flash":{id:"deepseek/deepseek-v4-flash",name:"DeepSeek V4 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-23",family:"deepseek"},"deepseek/deepseek-v4-pro":{id:"deepseek/deepseek-v4-pro",name:"DeepSeek V4 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-23",family:"deepseek"},"alibaba/qwen3.6-27b":{id:"alibaba/qwen3.6-27b",name:"Qwen 3.6 27B",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:3.6,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"qwen3.6"},"xiaomi/mimo-v2.5":{id:"xiaomi/mimo-v2.5",name:"MiMo M2.5",contextWindow:1050000,maxInputTokens:1050000,maxTokens:131100,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5"},"xiaomi/mimo-v2.5-pro":{id:"xiaomi/mimo-v2.5-pro",name:"MiMo V2.5 Pro",contextWindow:1050000,maxInputTokens:1050000,maxTokens:131000,capabilities:["files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5-pro"},"alibaba/qwen-3.6-max-preview":{id:"alibaba/qwen-3.6-max-preview",name:"Qwen 3.6 Max Preview",contextWindow:240000,maxInputTokens:240000,maxTokens:64000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.3,output:7.8,cacheRead:0.26,cacheWrite:1.625},releaseDate:"2026-04-20",family:"qwen"},"moonshotai/kimi-k2.6":{id:"moonshotai/kimi-k2.6",name:"Kimi K2.6",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-20",family:"kimi-k2"},"anthropic/claude-opus-4.7":{id:"anthropic/claude-opus-4.7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"zai/glm-5.1":{id:"zai/glm-5.1",name:"GLM 5.1",contextWindow:202000,maxInputTokens:202000,maxTokens:202000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.3,output:4.3,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"alibaba/qwen3.6-plus":{id:"alibaba/qwen3.6-plus",name:"Qwen 3.6 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.1,cacheWrite:0.625},releaseDate:"2026-04-02",family:"qwen"},"google/gemma-4-26b-a4b-it":{id:"google/gemma-4-26b-a4b-it",name:"Gemma 4 26B A4B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-31b-it":{id:"google/gemma-4-31b-it",name:"Gemma 4 31B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","files","tools","structured_output","temperature"],pricing:{input:0.14,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"arcee-ai/trinity-large-thinking":{id:"arcee-ai/trinity-large-thinking",name:"Trinity Large Thinking",contextWindow:262100,maxInputTokens:262100,maxTokens:80000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.25,output:0.8999999999999999,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-01",family:"trinity"},"zai/glm-5v-turbo":{id:"zai/glm-5v-turbo",name:"GLM 5V Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"kwaipilot/kat-coder-pro-v2":{id:"kwaipilot/kat-coder-pro-v2",name:"Kat Coder Pro V2",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-27",family:"kat-coder"},"minimax/minimax-m2.7":{id:"minimax/minimax-m2.7",name:"Minimax M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"minimax/minimax-m2.7-highspeed":{id:"minimax/minimax-m2.7-highspeed",name:"MiniMax M2.7 High Speed",contextWindow:204800,maxInputTokens:204800,maxTokens:131100,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"xiaomi/mimo-v2-pro":{id:"xiaomi/mimo-v2-pro",name:"MiMo V2 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-18",family:"mimo"},"openai/gpt-5.4-mini":{id:"openai/gpt-5.4-mini",name:"GPT 5.4 Mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt"},"openai/gpt-5.4-nano":{id:"openai/gpt-5.4-nano",name:"GPT 5.4 Nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt"},"zai/glm-5-turbo":{id:"zai/glm-5-turbo",name:"GLM 5 Turbo",contextWindow:202800,maxInputTokens:202800,maxTokens:131100,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-03-15",family:"glm"},"xai/grok-4.20-multi-agent-beta":{id:"xai/grok-4.20-multi-agent-beta",name:"Grok 4.20 Multi Agent Beta",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-11",family:"grok"},"xai/grok-4.20-non-reasoning-beta":{id:"xai/grok-4.20-non-reasoning-beta",name:"Grok 4.20 Beta Non-Reasoning",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.4,cacheWrite:0},releaseDate:"2026-03-11",family:"grok"},"xai/grok-4.20-reasoning-beta":{id:"xai/grok-4.20-reasoning-beta",name:"Grok 4.20 Beta Reasoning",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-11",family:"grok"},"xai/grok-4.20-multi-agent":{id:"xai/grok-4.20-multi-agent",name:"Grok 4.20 Multi-Agent",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-10",family:"grok"},"xai/grok-4.20-non-reasoning":{id:"xai/grok-4.20-non-reasoning",name:"Grok 4.20 Non-Reasoning",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-10",family:"grok"},"xai/grok-4.20-reasoning":{id:"xai/grok-4.20-reasoning",name:"Grok 4.20 Reasoning",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-10",family:"grok"},"openai/gpt-5.4":{id:"openai/gpt-5.4",name:"GPT 5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"openai/gpt-5.4-pro":{id:"openai/gpt-5.4-pro",name:"GPT 5.4 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"google/gemini-3.1-flash-lite-preview":{id:"google/gemini-3.1-flash-lite-preview",name:"Gemini 3.1 Flash Lite Preview",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2026-03-03",family:"gemini"},"openai/gpt-5.3-chat":{id:"openai/gpt-5.3-chat",name:"GPT-5.3 Chat",contextWindow:128000,maxInputTokens:111616,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-03-03",family:"gpt"},"alibaba/qwen3.5-flash":{id:"alibaba/qwen3.5-flash",name:"Qwen 3.5 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.001,cacheWrite:0.125},releaseDate:"2026-02-24",family:"qwen"},"inception/mercury-2":{id:"inception/mercury-2",name:"Mercury 2",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:0.75,cacheRead:0.024999999999999998,cacheWrite:0},releaseDate:"2026-02-24",family:"mercury"},"anthropic/claude-sonnet-4.6":{id:"anthropic/claude-sonnet-4.6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"alibaba/qwen3.5-plus":{id:"alibaba/qwen3.5-plus",name:"Qwen 3.5 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:2.4,cacheRead:0.04,cacheWrite:0.5},releaseDate:"2026-02-16",family:"qwen"},"minimax/minimax-m2.5":{id:"minimax/minimax-m2.5",name:"MiniMax M2.5",contextWindow:204800,maxInputTokens:204800,maxTokens:131000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2026-02-12",family:"minimax"},"minimax/minimax-m2.5-highspeed":{id:"minimax/minimax-m2.5-highspeed",name:"MiniMax M2.5 High Speed",contextWindow:204800,maxInputTokens:204800,maxTokens:131000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2026-02-12",family:"minimax"},"zai/glm-5":{id:"zai/glm-5",name:"GLM-5",contextWindow:202800,maxInputTokens:202800,maxTokens:131100,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.95,output:3.15,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-12",family:"glm"},"anthropic/claude-opus-4.6":{id:"anthropic/claude-opus-4.6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"openai/gpt-5.3-codex":{id:"openai/gpt-5.3-codex",name:"GPT 5.3 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt"},"stepfun/step-3.5-flash":{id:"stepfun/step-3.5-flash",name:"StepFun 3.5 Flash",contextWindow:262114,maxInputTokens:262114,maxTokens:262114,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.09,output:0.3,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-01-29",family:"step"},"arcee-ai/trinity-large-preview":{id:"arcee-ai/trinity-large-preview",name:"Trinity Large Preview",contextWindow:131000,maxInputTokens:131000,maxTokens:131000,capabilities:["tools","temperature"],pricing:{input:0.25,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27",family:"trinity"},"moonshotai/kimi-k2.5":{id:"moonshotai/kimi-k2.5",name:"Kimi K2.5",contextWindow:262114,maxInputTokens:262114,maxTokens:262114,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-01-26",family:"kimi-k2"},"alibaba/qwen3-max-thinking":{id:"alibaba/qwen3-max-thinking",name:"Qwen 3 Max Thinking",contextWindow:256000,maxInputTokens:256000,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:6,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-01-23",family:"qwen"},"zai/glm-4.7-flash":{id:"zai/glm-4.7-flash",name:"GLM 4.7 Flash",contextWindow:200000,maxInputTokens:200000,maxTokens:131000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.07,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"glm"},"zai/glm-4.7-flashx":{id:"zai/glm-4.7-flashx",name:"GLM 4.7 FlashX",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.06,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"minimax/minimax-m2.1":{id:"minimax/minimax-m2.1",name:"MiniMax M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2025-12-23",family:"minimax"},"minimax/minimax-m2.1-lightning":{id:"minimax/minimax-m2.1-lightning",name:"MiniMax M2.1 Lightning",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.4,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2025-12-23",family:"minimax"},"zai/glm-4.7":{id:"zai/glm-4.7",name:"GLM 4.7",contextWindow:200000,maxInputTokens:200000,maxTokens:120000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.12,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"openai/gpt-5.2-codex":{id:"openai/gpt-5.2-codex",name:"GPT-5.2-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-18",family:"gpt-codex"},"google/gemini-3-flash":{id:"google/gemini-3-flash",name:"Gemini 3 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"xiaomi/mimo-v2-flash":{id:"xiaomi/mimo-v2-flash",name:"MiMo V2 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-12-16",family:"mimo"},"openai/gpt-5.2":{id:"openai/gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"openai/gpt-5.2-chat":{id:"openai/gpt-5.2-chat",name:"GPT-5.2 Chat",contextWindow:128000,maxInputTokens:111616,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"openai/gpt-5.2-pro":{id:"openai/gpt-5.2-pro",name:"GPT 5.2 ",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"mistral/devstral-2":{id:"mistral/devstral-2",name:"Devstral 2",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09",family:"devstral"},"mistral/devstral-small-2":{id:"mistral/devstral-small-2",name:"Devstral Small 2",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09",family:"devstral"},"deepseek/deepseek-v3.2-thinking":{id:"deepseek/deepseek-v3.2-thinking",name:"DeepSeek V3.2 Thinking",contextWindow:128000,maxInputTokens:128000,maxTokens:8000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.62,output:1.85,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek-thinking"},"anthropic/claude-opus-4.5":{id:"anthropic/claude-opus-4.5",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"openai/gpt-5.1-codex-max":{id:"openai/gpt-5.1-codex-max",name:"GPT 5.1 Codex Max",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-19",family:"gpt"},"xai/grok-4.1-fast-non-reasoning":{id:"xai/grok-4.1-fast-non-reasoning",name:"Grok 4.1 Fast Non-Reasoning",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.2,output:0.5,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-11-19",family:"grok"},"xai/grok-4.1-fast-reasoning":{id:"xai/grok-4.1-fast-reasoning",name:"Grok 4.1 Fast Reasoning",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:0.5,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-11-19",family:"grok"},"google/gemini-3-pro-preview":{id:"google/gemini-3-pro-preview",name:"Gemini 3 Pro Preview",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-11-18",family:"gemini-pro"},"google/gemini-3.1-pro-preview":{id:"google/gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-11-18",family:"gemini"},"openai/gpt-5.1-codex":{id:"openai/gpt-5.1-codex",name:"GPT-5.1-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-12",family:"gpt"},"openai/gpt-5.1-codex-mini":{id:"openai/gpt-5.1-codex-mini",name:"GPT-5.1 Codex mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-12",family:"gpt"},"openai/gpt-5.1-instant":{id:"openai/gpt-5.1-instant",name:"GPT-5.1 Instant",contextWindow:128000,maxInputTokens:111616,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-12",family:"gpt"},"openai/gpt-5.1-thinking":{id:"openai/gpt-5.1-thinking",name:"GPT 5.1 Thinking",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-12",family:"gpt"},"moonshotai/kimi-k2-thinking":{id:"moonshotai/kimi-k2-thinking",name:"Kimi K2 Thinking",contextWindow:216144,maxInputTokens:216144,maxTokens:216144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.47,output:2,cacheRead:0.141,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"openai/gpt-oss-safeguard-20b":{id:"openai/gpt-oss-safeguard-20b",name:"gpt-oss-safeguard-20b",contextWindow:131072,maxInputTokens:65536,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.037,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"nvidia/nemotron-nano-12b-v2-vl":{id:"nvidia/nemotron-nano-12b-v2-vl",name:"Nvidia Nemotron Nano 12B V2 VL",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-28",family:"nemotron"},"minimax/minimax-m2":{id:"minimax/minimax-m2",name:"MiniMax M2",contextWindow:205000,maxInputTokens:205000,maxTokens:205000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2025-10-27",family:"minimax"},"anthropic/claude-haiku-4.5":{id:"anthropic/claude-haiku-4.5",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"openai/gpt-5-pro":{id:"openai/gpt-5-pro",name:"GPT-5 pro",contextWindow:400000,maxInputTokens:128000,maxTokens:272000,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"gpt"},"zai/glm-4.6":{id:"zai/glm-4.6",name:"GLM 4.6",contextWindow:200000,maxInputTokens:200000,maxTokens:96000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"zai/glm-4.6v":{id:"zai/glm-4.6v",name:"GLM-4.6V",contextWindow:128000,maxInputTokens:128000,maxTokens:24000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:0.9,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"zai/glm-4.6v-flash":{id:"zai/glm-4.6v-flash",name:"GLM-4.6V-Flash",contextWindow:128000,maxInputTokens:128000,maxTokens:24000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"anthropic/claude-sonnet-4.5":{id:"anthropic/claude-sonnet-4.5",name:"Claude Sonnet 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"alibaba/qwen3-235b-a22b-thinking":{id:"alibaba/qwen3-235b-a22b-thinking",name:"Qwen3 235B A22B Thinking 2507",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.4,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"alibaba/qwen3-max":{id:"alibaba/qwen3-max",name:"Qwen3 Max",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:1.2,output:6,cacheRead:0.24,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"alibaba/qwen3-vl-instruct":{id:"alibaba/qwen3-vl-instruct",name:"Qwen3 VL Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:129024,capabilities:["images","tools","temperature"],pricing:{input:0.4,output:1.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"alibaba/qwen3-vl-thinking":{id:"alibaba/qwen3-vl-thinking",name:"Qwen3 VL Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.4,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"deepseek/deepseek-v3.1-terminus":{id:"deepseek/deepseek-v3.1-terminus",name:"DeepSeek V3.1 Terminus",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.27,output:1,cacheRead:0.135,cacheWrite:0},releaseDate:"2025-09-22",family:"deepseek"},"openai/gpt-5-codex":{id:"openai/gpt-5-codex",name:"GPT-5-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15",family:"gpt-codex"},"alibaba/qwen3-next-80b-a3b-instruct":{id:"alibaba/qwen3-next-80b-a3b-instruct",name:"Qwen3 Next 80B A3B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.15,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11",family:"qwen"},"alibaba/qwen3-next-80b-a3b-thinking":{id:"alibaba/qwen3-next-80b-a3b-thinking",name:"Qwen3 Next 80B A3B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11",family:"qwen"},"alibaba/qwen3-max-preview":{id:"alibaba/qwen3-max-preview",name:"Qwen3 Max Preview",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:1.2,output:6,cacheRead:0.24,cacheWrite:0},releaseDate:"2025-09-05",family:"qwen"},"bytedance/seed-1.6":{id:"bytedance/seed-1.6",name:"Seed 1.6",contextWindow:256000,maxInputTokens:256000,maxTokens:32000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-09-01",family:"seed"},"bytedance/seed-1.8":{id:"bytedance/seed-1.8",name:"Seed 1.8",contextWindow:256000,maxInputTokens:256000,maxTokens:64000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-09-01",family:"seed"},"meituan/longcat-flash-chat":{id:"meituan/longcat-flash-chat",name:"LongCat Flash Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:1e5,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-01",family:"longcat"},"deepseek/deepseek-v3.1":{id:"deepseek/deepseek-v3.1",name:"DeepSeek-V3.1",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.6,output:1.7,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-21",family:"deepseek"},"nvidia/nemotron-nano-9b-v2":{id:"nvidia/nemotron-nano-9b-v2",name:"Nvidia Nemotron Nano 9B V2",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.06,output:0.23,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-18",family:"nemotron"},"zai/glm-4.5v":{id:"zai/glm-4.5v",name:"GLM 4.5V",contextWindow:66000,maxInputTokens:66000,maxTokens:16000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:1.8,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-08-11",family:"glm"},"openai/gpt-5":{id:"openai/gpt-5",name:"GPT-5",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"openai/gpt-5-chat":{id:"openai/gpt-5-chat",name:"GPT-5 Chat",contextWindow:128000,maxInputTokens:111616,maxTokens:16384,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"openai/gpt-5-mini":{id:"openai/gpt-5-mini",name:"GPT-5 Mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"openai/gpt-5-nano":{id:"openai/gpt-5-nano",name:"GPT-5 Nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.005,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"anthropic/claude-opus-4.1":{id:"anthropic/claude-opus-4.1",name:"Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:122880,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"alibaba/qwen3-coder-30b-a3b":{id:"alibaba/qwen3-coder-30b-a3b",name:"Qwen 3 Coder 30B A3B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-31",family:"qwen"},"zai/glm-4.5":{id:"zai/glm-4.5",name:"GLM 4.5",contextWindow:128000,maxInputTokens:128000,maxTokens:96000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-07-28",family:"glm"},"zai/glm-4.5-air":{id:"zai/glm-4.5-air",name:"GLM 4.5 Air",contextWindow:128000,maxInputTokens:128000,maxTokens:96000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:1.1,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"},"alibaba/qwen3-coder-plus":{id:"alibaba/qwen3-coder-plus",name:"Qwen3 Coder Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"alibaba/qwen3-coder":{id:"alibaba/qwen3-coder",name:"Qwen3 Coder 480B A35B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.5,output:7.5,cacheRead:0.3,cacheWrite:0},releaseDate:"2025-07-22",family:"qwen"},"alibaba/qwen3-coder-next":{id:"alibaba/qwen3-coder-next",name:"Qwen3 Coder Next",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.5,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-22",family:"qwen"},"moonshotai/kimi-k2":{id:"moonshotai/kimi-k2",name:"Kimi K2 Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0.57,output:2.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-11",family:"kimi-k2"},"openai/o3-deep-research":{id:"openai/o3-deep-research",name:"o3-deep-research",contextWindow:200000,maxInputTokens:1e5,maxTokens:1e5,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:10,output:40,cacheRead:2.5,cacheWrite:0},releaseDate:"2025-06-26",family:"o"},"google/gemini-2.5-flash":{id:"google/gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash"},"google/gemini-2.5-flash-lite":{id:"google/gemini-2.5-flash-lite",name:"Gemini 2.5 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"google/gemini-2.5-pro":{id:"google/gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-pro"},"openai/o3-pro":{id:"openai/o3-pro",name:"o3 Pro",contextWindow:200000,maxInputTokens:1e5,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:20,output:80,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-10",family:"o-pro"},"anthropic/claude-opus-4":{id:"anthropic/claude-opus-4",name:"Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"anthropic/claude-sonnet-4":{id:"anthropic/claude-sonnet-4",name:"Claude Sonnet 4",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"mistral/devstral-small":{id:"mistral/devstral-small",name:"Devstral Small 1.1",contextWindow:128000,maxInputTokens:128000,maxTokens:64000,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-21",family:"devstral"},"mistral/mistral-medium":{id:"mistral/mistral-medium",name:"Mistral Medium 3.1",contextWindow:128000,maxInputTokens:128000,maxTokens:64000,capabilities:["images","tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-07",family:"mistral-medium"},"alibaba/qwen-3-14b":{id:"alibaba/qwen-3-14b",name:"Qwen3-14B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:0.12,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"alibaba/qwen-3-235b":{id:"alibaba/qwen-3-235b",name:"Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:0.22,output:0.88,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"alibaba/qwen-3-30b":{id:"alibaba/qwen-3-30b",name:"Qwen3-30B-A3B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:0.12,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"alibaba/qwen-3-32b":{id:"alibaba/qwen-3-32b",name:"Qwen 3.32B",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.16,output:0.64,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"openai/o3":{id:"openai/o3",name:"o3",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-16",family:"o"},"openai/o4-mini":{id:"openai/o4-mini",name:"o4-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16",family:"o-mini"},"openai/gpt-4.1":{id:"openai/gpt-4.1",name:"GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"openai/gpt-4.1-mini":{id:"openai/gpt-4.1-mini",name:"GPT-4.1 mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"openai/gpt-4.1-nano":{id:"openai/gpt-4.1-nano",name:"GPT-4.1 nano",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-nano"},"meta/llama-4-maverick":{id:"meta/llama-4-maverick",name:"Llama-4-Maverick-17B-128E-Instruct-FP8",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"meta/llama-4-scout":{id:"meta/llama-4-scout",name:"Llama-4-Scout-17B-16E-Instruct-FP8",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"mistral/magistral-medium":{id:"mistral/magistral-medium",name:"Magistral Medium (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:2,output:5,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-17",family:"magistral-medium"},"mistral/magistral-small":{id:"mistral/magistral-small",name:"Magistral Small",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-17",family:"magistral-small"},"cohere/command-a":{id:"cohere/command-a",name:"Command A",contextWindow:256000,maxInputTokens:256000,maxTokens:8000,capabilities:["tools","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-13",family:"command"},"inception/mercury-coder-small":{id:"inception/mercury-coder-small",name:"Mercury Coder Small Beta",contextWindow:32000,maxInputTokens:32000,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.25,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2025-02-26",family:"mercury"},"perplexity/sonar":{id:"perplexity/sonar",name:"Sonar",contextWindow:127000,maxInputTokens:127000,maxTokens:8000,capabilities:["images","tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-02-19",family:"sonar"},"perplexity/sonar-pro":{id:"perplexity/sonar-pro",name:"Sonar Pro",contextWindow:200000,maxInputTokens:200000,maxTokens:8000,capabilities:["images","tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-02-19",family:"sonar-pro"},"deepseek/deepseek-r1":{id:"deepseek/deepseek-r1",name:"DeepSeek-R1",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:1.35,output:5.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"deepseek/deepseek-v3":{id:"deepseek/deepseek-v3",name:"DeepSeek V3 0324",contextWindow:163840,maxInputTokens:163840,maxTokens:163840,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.27,output:1.12,cacheRead:0.135,cacheWrite:0},releaseDate:"2024-12-26",family:"deepseek"},"openai/o3-mini":{id:"openai/o3-mini",name:"o3-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2024-12-20",family:"o-mini"},"meta/llama-3.3-70b":{id:"meta/llama-3.3-70b",name:"Llama-3.3-70B-Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"openai/o1":{id:"openai/o1",name:"o1",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:15,output:60,cacheRead:7.5,cacheWrite:0},releaseDate:"2024-12-05",family:"o"},"amazon/nova-lite":{id:"amazon/nova-lite",name:"Nova Lite",contextWindow:300000,maxInputTokens:300000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.015,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-lite"},"amazon/nova-micro":{id:"amazon/nova-micro",name:"Nova Micro",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.035,output:0.14,cacheRead:0.00875,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-micro"},"amazon/nova-pro":{id:"amazon/nova-pro",name:"Nova Pro",contextWindow:300000,maxInputTokens:300000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.8,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-pro"},"anthropic/claude-3.5-haiku":{id:"anthropic/claude-3.5-haiku",name:"Claude 3.5 Haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:8192,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.8,output:4,cacheRead:0.08,cacheWrite:1},releaseDate:"2024-11-04",family:"claude-haiku"},"mistral/pixtral-large":{id:"mistral/pixtral-large",name:"Pixtral Large (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["images","tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-01",family:"pixtral"},"mistral/ministral-3b":{id:"mistral/ministral-3b",name:"Ministral 3B (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:0.04,output:0.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-10-01",family:"ministral"},"mistral/ministral-8b":{id:"mistral/ministral-8b",name:"Ministral 8B (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2024-10-01",family:"ministral"},"meta/llama-3.2-11b":{id:"meta/llama-3.2-11b",name:"Llama 3.2 11B Vision Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["images","tools","temperature"],pricing:{input:0.16,output:0.16,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-25",family:"llama"},"meta/llama-3.2-90b":{id:"meta/llama-3.2-90b",name:"Llama 3.2 90B Vision Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["images","tools","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-25",family:"llama"},"mistral/mistral-small":{id:"mistral/mistral-small",name:"Mistral Small (latest)",contextWindow:32000,maxInputTokens:32000,maxTokens:4000,capabilities:["images","tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-17",family:"mistral-small"},"mistral/pixtral-12b":{id:"mistral/pixtral-12b",name:"Pixtral 12B",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["images","tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-01",family:"pixtral"},"meta/llama-3.1-70b":{id:"meta/llama-3.1-70b",name:"Llama 3.1 70B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"meta/llama-3.1-8b":{id:"meta/llama-3.1-8b",name:"Llama 3.1 8B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:0.22,output:0.22,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"mistral/mistral-nemo":{id:"mistral/mistral-nemo",name:"Mistral Nemo",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-18",family:"mistral-nemo"},"openai/gpt-4o-mini":{id:"openai/gpt-4o-mini",name:"GPT-4o mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18",family:"gpt-mini"},"mistral/codestral":{id:"mistral/codestral",name:"Codestral (latest)",contextWindow:256000,maxInputTokens:256000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-29",family:"codestral"},"openai/gpt-4o":{id:"openai/gpt-4o",name:"GPT-4o",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"openai/gpt-4-turbo":{id:"openai/gpt-4-turbo",name:"GPT-4 Turbo",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"}},vertex:{"claude-opus-4-8@default":{id:"claude-opus-4-8@default",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"gemini-3.5-flash":{id:"gemini-3.5-flash",name:"Gemini 3.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-05-19",family:"gemini-flash"},"gemini-3.1-flash-lite":{id:"gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0},releaseDate:"2026-05-07",family:"gemini-flash-lite"},"claude-opus-4-7@default":{id:"claude-opus-4-7@default",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"gemini-3.1-pro-preview-customtools":{id:"gemini-3.1-pro-preview-customtools",name:"Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"claude-sonnet-4-6@default":{id:"claude-sonnet-4-6@default",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"zai-org/glm-5-maas":{id:"zai-org/glm-5-maas",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3.2,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"claude-opus-4-6@default":{id:"claude-opus-4-6@default",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"zai-org/glm-4.7-maas":{id:"zai-org/glm-4.7-maas",name:"GLM-4.7",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["files","tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-06",family:"glm"},"deepseek-ai/deepseek-v3.2-maas":{id:"deepseek-ai/deepseek-v3.2-maas",name:"DeepSeek V3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.56,output:1.68,cacheRead:0.056,cacheWrite:0},releaseDate:"2025-12-17",family:"deepseek"},"gemini-3-flash-preview":{id:"gemini-3-flash-preview",name:"Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"moonshotai/kimi-k2-thinking-maas":{id:"moonshotai/kimi-k2-thinking-maas",name:"Kimi K2 Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-11-13",family:"kimi-thinking"},"claude-opus-4-5@20251101":{id:"claude-opus-4-5@20251101",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-01",family:"claude-opus"},"claude-haiku-4-5@20251001":{id:"claude-haiku-4-5@20251001",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"claude-sonnet-4-5@20250929":{id:"claude-sonnet-4-5@20250929",name:"Claude Sonnet 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"gemini-flash-latest":{id:"gemini-flash-latest",name:"Gemini Flash Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.075,cacheWrite:0.383},releaseDate:"2025-09-25",family:"gemini-flash"},"gemini-flash-lite-latest":{id:"gemini-flash-lite-latest",name:"Gemini Flash-Lite Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-09-25",family:"gemini-flash-lite"},"deepseek-ai/deepseek-v3.1-maas":{id:"deepseek-ai/deepseek-v3.1-maas",name:"DeepSeek V3.1",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["files","tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:1.7,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-28",family:"deepseek"},"qwen/qwen3-235b-a22b-instruct-2507-maas":{id:"qwen/qwen3-235b-a22b-instruct-2507-maas",name:"Qwen3 235B A22B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.22,output:0.88,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-13",family:"qwen"},"openai/gpt-oss-120b-maas":{id:"openai/gpt-oss-120b-maas",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.09,output:0.36,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b-maas":{id:"openai/gpt-oss-20b-maas",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.07,output:0.25,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"gemini-2.5-flash":{id:"gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.075,cacheWrite:0.383},releaseDate:"2025-06-17",family:"gemini-flash"},"gemini-2.5-flash-lite":{id:"gemini-2.5-flash-lite",name:"Gemini 2.5 Flash-Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"gemini-2.5-pro":{id:"gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-pro"},"meta/llama-3.3-70b-instruct-maas":{id:"meta/llama-3.3-70b-instruct-maas",name:"Llama 3.3 70B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","structured_output","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-29",family:"llama"},"meta/llama-4-maverick-17b-128e-instruct-maas":{id:"meta/llama-4-maverick-17b-128e-instruct-maas",name:"Llama 4 Maverick 17B 128E Instruct",contextWindow:524288,maxInputTokens:524288,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.35,output:1.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-29",family:"llama"}},wandb:{"zai-org/GLM-5.1":{id:"zai-org/GLM-5.1",name:"GLM-5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8":{id:"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8",name:"NVIDIA Nemotron 3 Super 120B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.2,output:0.8,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"MiniMaxAI/MiniMax-M2.5":{id:"MiniMaxAI/MiniMax-M2.5",name:"MiniMax M2.5",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-12",family:"minimax"},"zai-org/GLM-5-FP8":{id:"zai-org/GLM-5-FP8",name:"GLM 5",contextWindow:200000,maxInputTokens:200000,maxTokens:200000,capabilities:["tools","structured_output","temperature"],pricing:{input:1,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"moonshotai/Kimi-K2.5":{id:"moonshotai/Kimi-K2.5",name:"Kimi K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.5,output:2.85,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27",family:"kimi-k2"},"deepseek-ai/DeepSeek-V3.1":{id:"deepseek-ai/DeepSeek-V3.1",name:"DeepSeek V3.1",contextWindow:161000,maxInputTokens:161000,maxTokens:161000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.55,output:1.65,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-21",family:"deepseek"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"gpt-oss-120b",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"gpt-oss-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"Qwen/Qwen3-30B-A3B-Instruct-2507":{id:"Qwen/Qwen3-30B-A3B-Instruct-2507",name:"Qwen3 30B A3B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-29",family:"qwen"},"Qwen/Qwen3-235B-A22B-Thinking-2507":{id:"Qwen/Qwen3-235B-A22B-Thinking-2507",name:"Qwen3-235B-A22B-Thinking-2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"Qwen/Qwen3-Coder-480B-A35B-Instruct":{id:"Qwen/Qwen3-Coder-480B-A35B-Instruct",name:"Qwen3-Coder-480B-A35B-Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:1,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"OpenPipe/Qwen3-14B-Instruct":{id:"OpenPipe/Qwen3-14B-Instruct",name:"OpenPipe Qwen3 14B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.05,output:0.22,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-29",family:"qwen"},"Qwen/Qwen3-235B-A22B-Instruct-2507":{id:"Qwen/Qwen3-235B-A22B-Instruct-2507",name:"Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"meta-llama/Llama-4-Scout-17B-16E-Instruct":{id:"meta-llama/Llama-4-Scout-17B-16E-Instruct",name:"Llama 4 Scout 17B 16E Instruct",contextWindow:64000,maxInputTokens:64000,maxTokens:64000,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.17,output:0.66,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-31",family:"llama"},"microsoft/Phi-4-mini-instruct":{id:"microsoft/Phi-4-mini-instruct",name:"Phi-4-mini-instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.08,output:0.35,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-11",family:"phi"},"meta-llama/Llama-3.3-70B-Instruct":{id:"meta-llama/Llama-3.3-70B-Instruct",name:"Llama-3.3-70B-Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.71,output:0.71,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"meta-llama/Llama-3.1-70B-Instruct":{id:"meta-llama/Llama-3.1-70B-Instruct",name:"Llama 3.1 70B",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.8,output:0.8,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"meta-llama/Llama-3.1-8B-Instruct":{id:"meta-llama/Llama-3.1-8B-Instruct",name:"Meta-Llama-3.1-8B-Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.22,output:0.22,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"}},xai:{"grok-4.3":{id:"grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:30000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-17",family:"grok"},"grok-build-0.1":{id:"grok-build-0.1",name:"Grok Build 0.1",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-16",family:"grok-build"},"grok-4.20-0309-non-reasoning":{id:"grok-4.20-0309-non-reasoning",name:"Grok 4.20 (Non-Reasoning)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:30000,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-09",family:"grok"},"grok-4.20-0309-reasoning":{id:"grok-4.20-0309-reasoning",name:"Grok 4.20 (Reasoning)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:30000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-09",family:"grok"}},xiaomi:{"mimo-v2.5-pro-ultraspeed":{id:"mimo-v2.5-pro-ultraspeed",name:"MiMo-V2.5-Pro-UltraSpeed",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.305,output:2.61,cacheRead:0.0108,cacheWrite:0},releaseDate:"2026-06-08",family:"mimo"},"mimo-v2.5":{id:"mimo-v2.5",name:"MiMo-V2.5",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.08,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"mimo-v2.5-pro":{id:"mimo-v2.5-pro",name:"MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"}},zai:{"glm-5.2":{id:"glm-5.2",name:"GLM-5.2",contextWindow:1e6,maxInputTokens:1e6,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"glm-5.1":{id:"glm-5.1",name:"GLM-5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"glm-5v-turbo":{id:"glm-5v-turbo",name:"GLM-5V-Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"glm-5-turbo":{id:"glm-5-turbo",name:"GLM-5-Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-03-16",family:"glm"},"glm-5":{id:"glm-5",name:"GLM-5",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-12",family:"glm"},"glm-4.7-flash":{id:"glm-4.7-flash",name:"GLM-4.7-Flash",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"glm-4.7-flashx":{id:"glm-4.7-flashx",name:"GLM-4.7-FlashX",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.07,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"glm-4.7":{id:"glm-4.7",name:"GLM-4.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"glm-4.6v":{id:"glm-4.6v",name:"GLM-4.6V",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-08",family:"glm"},"glm-4.6":{id:"glm-4.6",name:"GLM-4.6",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"glm-4.5v":{id:"glm-4.5v",name:"GLM-4.5V",contextWindow:64000,maxInputTokens:64000,maxTokens:16384,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.6,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-11",family:"glm"},"glm-4.5":{id:"glm-4.5",name:"GLM-4.5",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-07-28",family:"glm"},"glm-4.5-air":{id:"glm-4.5-air",name:"GLM-4.5-Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:1.1,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"},"glm-4.5-flash":{id:"glm-4.5-flash",name:"GLM-4.5-Flash",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-flash"}},"zai-coding-plan":{"glm-5.2":{id:"glm-5.2",name:"GLM-5.2",contextWindow:1e6,maxInputTokens:1e6,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"glm-5v-turbo":{id:"glm-5v-turbo",name:"GLM-5V-Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"glm-5.1":{id:"glm-5.1",name:"GLM-5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-27",family:"glm"},"glm-5-turbo":{id:"glm-5-turbo",name:"GLM-5-Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-16",family:"glm"},"glm-4.7":{id:"glm-4.7",name:"GLM-4.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"glm-4.5-air":{id:"glm-4.5-air",name:"GLM-4.5-Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"}}}};var ey=[{modelsDevKey:"openai",generatedProviderId:"openai-native",runtimeProviderId:"openai-native"},{modelsDevKey:"openai",generatedProviderId:"openai-native",runtimeProviderId:"openai-codex-cli"},{modelsDevKey:"openai",generatedProviderId:"openai-native",runtimeProviderId:"openai-codex"},{modelsDevKey:"anthropic",generatedProviderId:"anthropic"},{modelsDevKey:"anthropic",generatedProviderId:"anthropic",runtimeProviderId:"claude-code"},{modelsDevKey:"google",generatedProviderId:"gemini"},{modelsDevKey:"deepseek",generatedProviderId:"deepseek",runtimeProviderId:"deepseek"},{modelsDevKey:"xai",generatedProviderId:"xai"},{modelsDevKey:"togetherai",generatedProviderId:"together",runtimeProviderId:"together"},{modelsDevKey:"sap-ai-core",generatedProviderId:"sapaicore",runtimeProviderId:"sapaicore"},{modelsDevKey:"ollama",runtimeProviderId:"ollama-cloud"},{modelsDevKey:"ollama-cloud",generatedProviderId:"ollama"},{modelsDevKey:"fireworks-ai",generatedProviderId:"fireworks",runtimeProviderId:"fireworks"},{modelsDevKey:"groq",generatedProviderId:"groq",runtimeProviderId:"groq"},{modelsDevKey:"cerebras",generatedProviderId:"cerebras",runtimeProviderId:"cerebras"},{modelsDevKey:"sambanova",generatedProviderId:"sambanova",runtimeProviderId:"sambanova"},{modelsDevKey:"nebius",generatedProviderId:"nebius",runtimeProviderId:"nebius"},{modelsDevKey:"huggingface",generatedProviderId:"huggingface",runtimeProviderId:"huggingface"},{modelsDevKey:"openrouter",generatedProviderId:"openrouter"},{modelsDevKey:"vercel",generatedProviderId:"vercel-ai-gateway",runtimeProviderId:"dify"},{modelsDevKey:"vercel",generatedProviderId:"vercel-ai-gateway"},{modelsDevKey:"openrouter",generatedProviderId:"openrouter",runtimeProviderId:"cline"},{modelsDevKey:"aihubmix",generatedProviderId:"aihubmix",runtimeProviderId:"aihubmix"},{modelsDevKey:"hicap",runtimeProviderId:"hicap"},{modelsDevKey:"nous-research",runtimeProviderId:"nousResearch"},{modelsDevKey:"huawei-cloud-maas",runtimeProviderId:"huawei-cloud-maas"},{modelsDevKey:"baseten",generatedProviderId:"baseten",runtimeProviderId:"baseten"},{modelsDevKey:"zai-coding-plan",generatedProviderId:"zai-coding-plan"},{modelsDevKey:"google-vertex",generatedProviderId:"vertex"},{modelsDevKey:"lmstudio",generatedProviderId:"lmstudio"},{modelsDevKey:"zai",generatedProviderId:"zai"},{modelsDevKey:"requesty",generatedProviderId:"requesty"},{modelsDevKey:"amazon-bedrock",generatedProviderId:"bedrock"},{modelsDevKey:"moonshotai",generatedProviderId:"moonshot"},{modelsDevKey:"minimax",generatedProviderId:"minimax"},{modelsDevKey:"wandb",generatedProviderId:"wandb"},{modelsDevKey:"kilo",generatedProviderId:"kilo"},{modelsDevKey:"xiaomi",generatedProviderId:"xiaomi"},{modelsDevKey:"v0",generatedProviderId:"v0"}];function qg(e){return[...new Set(e)]}var ty=Object.fromEntries(ey.flatMap((e)=>e.generatedProviderId?[[e.modelsDevKey,e.generatedProviderId]]:[]));function uT(e){let t=ey.flatMap((n)=>{if(!n.generatedProviderId)return[];if(n.generatedProviderId===e||n.runtimeProviderId===e)return[n.generatedProviderId];return[]});if(e==="nousResearch")return qg([...t,"nousresearch",e]);return qg([...t,e])}we();var fz="cline-pass",iy={contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0}};function pz(e,t){if(!t)return iy;let n=e.id.split("/").at(-1)??e.id;return t[n]||iy}function vz(e){let t={};for(let n of Object.values(e)){let r=n.id.split("/").at(-1)??n.id;t[r]=n}return t}function ny(e,t){let n=e.clinePass??[];if(n.length===0)return{};let r={},i=vz(t);if(n.forEach((a)=>{let o=pz(a,i);r[a.id]={name:a.name,...o,id:a.id,description:a.description}}),Object.keys(r).length===0)return{};return{[fz]:r}}async function ry(e=fetch){let t=`${at().apiBaseUrl}/api/v1/ai/cline/recommended-models`,n=await e(t);if(!n.ok)throw Error(`Failed to load Cline recommended models from ${t}: HTTP ${n.status}`);return await n.json()}var hz=4096,gz=4096;function ay(e){if(!e)return Number.NEGATIVE_INFINITY;let t=Date.parse(e);return Number.isNaN(t)?Number.NEGATIVE_INFINITY:t}function vr(e){return Object.fromEntries(Object.entries(e).sort(([t,n],[r,i])=>{let a=ay(n.releaseDate),o=ay(i.releaseDate);if(a!==o)return o-a;return t.localeCompare(r)}))}function yz(e){let t=[];if(e.modalities?.input?.includes("image"))t.push("images");if(e.modalities?.input?.includes("pdf"))t.push("files");if(e.tool_call===!0)t.push("tools");if(e.reasoning===!0)t.push("reasoning");if(e.structured_output===!0)t.push("structured_output");if(e.temperature===!0)t.push("temperature");if(e.cost?.cache_read&&e.cost?.cache_read>=0||e.cost?.cache_write&&e.cost?.cache_write>=0)t.push("prompt-cache");return Array.from(new Set(t))}function bz(e){if(e==="active"||e==="preview"||e==="deprecated"||e==="legacy")return e;return}function $z(e){let t=e?.context,n=e?.input;if(typeof t==="number"&&typeof n==="number")return Math.min(t,n);return n??t??hz}function _z(e,t){let n=$z(t.limit),r=t.limit?.output??gz,i=t.limit?.context;return{id:e,name:t.name||e,contextWindow:i,maxInputTokens:n,maxTokens:Math.floor(r),capabilities:yz(t),pricing:{input:t.cost?.input??0,output:t.cost?.output??0,cacheRead:t.cost?.cache_read??0,cacheWrite:t.cost?.cache_write??0},status:bz(t.status),releaseDate:t.release_date,family:t.family}}function kz(e){return e.status==="deprecated"}function wz(e){let t={};for(let[n,r]of Object.entries(ty)){let i=e[n];if(!i?.models)continue;let a={};for(let[o,s]of Object.entries(i.models)){if(s.tool_call!==!0||kz(s))continue;a[o]=_z(o,s)}if(Object.keys(a).length>0)t[r]=vr(a)}return t}async function Sz(e,t=fetch){let n=await t(e);if(!n.ok)throw Error(`Failed to load model catalog from ${e}: HTTP ${n.status}`);let r=await n.json();return wz(r)}async function pT(e,t=fetch){let n={},[r,i]=await Promise.all([Sz(e,t).catch(()=>n),ry(t).catch(()=>{return})]),a=i?ny(i,r.openrouter??{}):{};return{...r,...a}}var oy,sy=new Map;function yT(){return oy??=Object.fromEntries(Object.entries(zs.providers).map(([e,t])=>[e,vr(t)])),oy}function uy(e){let t=sy.get(e);if(t)return t;let n=vr(zs.providers[e]??{});return sy.set(e,n),n}var Us=[{canonicalPrefix:"zai/",aliasPrefix:"z-ai/"}];function ly(e,t){return t.some((n)=>e.startsWith(n.canonicalPrefix))}function dy(e,t){return Object.fromEntries(Object.entries(e).filter(([n])=>{for(let r of t){if(!n.startsWith(r.aliasPrefix))continue;if(`${r.canonicalPrefix}${n.slice(r.aliasPrefix.length)}`in e)return!1}return!0}))}we();var Iz="the user is not subscribed to required model plan",xz="no access to clinepass subscription models yet. subscribe to clinepass",zz="organization accounts cannot use individual model inference subscriptions";function cy(){return`${new URL("/dashboard/subscription?personal=true",at().appBaseUrl).toString()}`}function my(){return`No access to ClinePass subscription models yet. Subscribe to ClinePass, the low cost open weights model coding plan: ${cy()}`}class Ni extends Error{providerId;constructor(e){super(my());this.name="ClineNotSubscribedError",this.providerId=e}}function fy(){return"Organization accounts cannot use ClinePass subscriptions. Go to /account -> change account to switch to your personal account for ClinePass"}class Ei extends Error{providerId;constructor(e){super(fy());this.name="ClineOrgIndividualInferenceSubscriptionError",this.providerId=e}}function Uz(e){return e instanceof Ni}function Tz(e){return e instanceof Ei}function Ts(e){let t=e.trim().toLowerCase();return t.includes(Iz)||t.includes(xz)}function js(e){return e.toLowerCase().includes(zz)}var jz=new Set(["gpt-5.5","gpt-5.4","gpt-5.4-mini"]);function Oz(e){if(jz.has(e))return!0;let t=e.match(/^gpt-(\d+\.\d+)/);return t?Number.parseFloat(t[1])>5.4:!1}function Nz(e,t){if(!e.includes("gpt-5.5"))return t;return{...t,contextWindow:400000,maxInputTokens:272000,maxTokens:128000}}function py(e){return Object.fromEntries(Object.entries(e).filter(([t])=>Oz(t)).map(([t,n])=>[t,Nz(t,n)]))}Pt();vs();hs();var Ez="https://code.aiservice.us-chicago-1.oci.oraclecloud.com/20250206/app/litellm",Az="anthropic/claude-sonnet-4.6",hr="cline-pass",Pz="gpt-5.4",Dz={stickySession:{transport:"json-body",field:"session_id",metadataKey:"sessionId"}},gr={path:"apiKey",label:"API Key",type:"password",placeholder:"Enter API key...",description:"API key issued by the provider.",secret:!0},hy={path:"baseUrl",label:"Base URL",type:"url",placeholder:"https://...",description:"Base endpoint used for provider requests."},Zz=[{path:"gcp.projectId",label:"Google Cloud Project ID",type:"text",placeholder:"my-gcp-project",description:"Google Cloud project that owns the Vertex AI resources.",required:!0},{path:"gcp.region",label:"Vertex Region",type:"text",placeholder:"us-central1",description:"Vertex AI location to run models in.",defaultValue:"us-central1"},{...gr,label:"API Key",description:"Optional Google API key for Gemini models. Vertex Anthropic models use Google Cloud credentials."}],Cz=[{path:"aws.authentication",label:"Authentication",type:"select",description:"Credential source for Amazon Bedrock requests.",options:[{label:"AWS SDK / IAM",value:"iam"},{label:"AWS Profile",value:"profile"},{label:"API Key",value:"api-key"}],defaultValue:"iam"},{path:"aws.region",label:"AWS Region",type:"text",placeholder:"us-east-1",description:"AWS region for Bedrock runtime requests."},{path:"aws.profile",label:"AWS Profile",type:"text",placeholder:"default",description:"Named AWS profile when using profile authentication."},{path:"aws.accessKey",label:"Access Key ID",type:"password",placeholder:"AKIA...",secret:!0},{path:"aws.secretKey",label:"Secret Access Key",type:"password",secret:!0},{path:"aws.sessionToken",label:"Session Token",type:"password",secret:!0},{path:"apiKey",label:"Bedrock API Key",type:"password",description:"Optional Bedrock bearer token for API key authentication.",secret:!0},{path:"aws.endpoint",label:"Endpoint URL",type:"url",placeholder:"https://bedrock-runtime.us-east-1.amazonaws.com",description:"Optional custom Bedrock runtime endpoint."},{path:"aws.useCrossRegionInference",label:"Cross-Region Inference",type:"boolean"},{path:"aws.useGlobalInference",label:"Global Inference",type:"boolean"},{path:"aws.usePromptCache",label:"Prompt Cache",type:"boolean"}],Rz=[{path:"oca.mode",label:"OCA Mode",type:"select",options:[{label:"External",value:"external"},{label:"Internal",value:"internal"}],defaultValue:"external"},gr,{path:"oca.usePromptCache",label:"Prompt Cache",type:"boolean"}],vy=[gr,hy,{path:"apiLine",label:"API Line",type:"select",description:"Regional API line for Qwen routing.",options:[{label:"International",value:"international"},{label:"China",value:"china"}]}];function Lz(e){let t=[];if(e.apiKeyEnv?.length)t.push(gr);if(e.defaults?.baseUrl?.trim())t.push(hy);return t}function Jz(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,{...n}]))}function Mz(e){if(!e?.length)return;return[...new Set(e)]}function gy(e){return Mz([...e.capabilities??[],...e.popular!==void 0?["popular"]:[]])}function yy(e){let t=e.configFields??Lz(e),n={...e.metadata,configFields:t};if(e.popular!==void 0)n.popularRank=e.popular;return n}function Ct(e){return Jz(uy(e))}function Fz(e){let t=Object.keys(Ct(e));if(!t.length)return"";return t[0]}function Os(e){let t=Object.entries(Ct("anthropic")).find(([n])=>e(n));if(t)return t[1];return{id:"sonnet",name:"Claude Sonnet",capabilities:["streaming","reasoning"]}}function Bz(){function e(t){return{...t==="opus"?Os((r)=>r.includes("opus")):t==="haiku"?Os((r)=>r.includes("haiku")):Os((r)=>r.includes("sonnet")),id:t,name:`Claude ${t.charAt(0).toUpperCase()}${t.slice(1)}`}}return{opus:e("opus"),sonnet:e("sonnet"),haiku:e("haiku")}}function Wz(){return py(Ct("openai-native"))}function Kz(){let e=Object.fromEntries(Object.entries(Ct("vercel-ai-gateway")).filter(([t])=>ly(t,Us)));return dy({...Ct("openrouter"),...e},Us)}function Hz(e,t){let n={id:e,name:e};if(t?.family==="openai-compatible")n.contextWindow=128000,n.maxInputTokens=128000,n.capabilities=["streaming","tools","images"];if(t?.id==="qwen"||t?.id==="qwen-code")n.family="qwen",n.capabilities=["prompt-cache"];return n}function Gz(e,t){let n=new Set(["text"]);for(let i of t.capabilities??[])switch(i){case"tools":n.add("tools");break;case"reasoning":n.add("reasoning");break;case"prompt-cache":n.add("prompt-cache");break;case"images":n.add("images");break;case"structured_output":n.add("structured-output");break}let r={};if(t.family)r.family=t.family;if(t.pricing)r.pricing=t.pricing;if(t.status)r.status=t.status;if(t.releaseDate)r.releaseDate=t.releaseDate;if(typeof t.metadata?.reasoningDefaultOn==="boolean")r.reasoningDefaultOn=t.metadata.reasoningDefaultOn;return{id:t.id,name:t.name??t.id,providerId:e,description:t.description,contextWindow:t.contextWindow,maxInputTokens:t.maxInputTokens,maxOutputTokens:t.maxTokens,capabilities:[...n],metadata:Object.keys(r).length>0?r:void 0}}function Xz(e){if(e.client==="openai")return"openai-responses";switch(e.family){case"openai":return"openai-responses";case"anthropic":case"bedrock":return"anthropic";case"google":case"vertex":return"gemini";default:return"openai-chat"}}function Yz(e){if(e.protocol==="openai-responses")return"openai";switch(e.family){case"openai":return"openai";case"anthropic":return"anthropic";case"google":return"gemini";case"vertex":return"vertex";case"bedrock":return"bedrock";case"mistral":case"claude-code":case"openai-codex":case"opencode":case"dify":case"sap-ai-core":return"ai-sdk-community";default:return"openai-compatible"}}function by(e){return{id:e.id,name:e.name,description:e.description??"Cline API endpoint",family:"openai-compatible",popular:e.popular,capabilities:["reasoning","prompt-cache","tools","oauth"],modelsProviderId:e.modelsProviderId,modelsFactory:e.modelsFactory,defaultModelId:e.defaultModelId,apiKeyEnv:["CLINE_API_KEY"],defaults:{get baseUrl(){return`${at().apiBaseUrl}/api/v1`},...e.defaults},metadata:{...nr,...e.metadata}}}async function $y(e,t){if(e.status!==403)return;let n=await e.clone().text().catch(()=>"");if(js(n))throw new Ei(t);if(Ts(n))throw new Ni(t)}var Vz=by({id:"cline",name:"Cline Usage-Billing",popular:1,modelsFactory:Kz,defaultModelId:Az,defaults:{options:{onResponseError:async(e)=>{await $y(e,"cline")}}}}),Qz=by({id:hr,name:"ClinePass",popular:2,description:"Cline API endpoint with ClinePass models",modelsProviderId:hr,defaultModelId:Fz(hr),metadata:{usageCostDisplay:"subscription"},defaults:{options:{onResponseError:async(e)=>{await $y(e,hr)}}}}),qz=[{id:"openai-compatible",name:"OpenAI Compatible",description:"OpenAI-compatible chat completions endpoint",family:"openai-compatible",popular:35,capabilities:["tools"],defaultModelId:"gpt-4o",apiKeyEnv:["OPENAI_API_KEY"],defaults:{baseUrl:"https://api.openai.com/v1"}},Vz,Qz,{id:"deepseek",name:"DeepSeek",description:"Advanced AI models with reasoning capabilities",family:"openai-compatible",popular:10,capabilities:["reasoning","prompt-cache"],defaultModelId:"deepseek-v4-flash",apiKeyEnv:["DEEPSEEK_API_KEY"],defaults:{baseUrl:"https://api.deepseek.com/v1"}},{id:"xai",name:"xAI",description:"Creator of Grok AI assistant",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"grok-4.20-0309-non-reasoning",apiKeyEnv:["XAI_API_KEY"],defaults:{baseUrl:"https://api.x.ai/v1"}},{id:"together",name:"Together AI",description:"Fast inference for open-source models",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"Qwen/Qwen3.5-397B-A17B",apiKeyEnv:["TOGETHER_API_KEY"],defaults:{baseUrl:"https://api.together.xyz/v1"}},{id:"fireworks",name:"Fireworks AI",description:"High-performance inference platform",family:"openai-compatible",defaultModelId:"accounts/fireworks/models/kimi-k2p6",apiKeyEnv:["FIREWORKS_API_KEY"],defaults:{baseUrl:"https://api.fireworks.ai/inference/v1"}},{id:"groq",name:"Groq",description:"Ultra-fast LPU inference",family:"openai-compatible",defaultModelId:"moonshotai/kimi-k2-instruct-0905",apiKeyEnv:["GROQ_API_KEY"],defaults:{baseUrl:"https://api.groq.com/openai/v1"}},{id:"poolside",name:"Poolside",description:"OpenAI-compatible code intelligence models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"poolside/laguna-m.1",apiKeyEnv:["POOLSIDE_API_KEY"],defaults:{baseUrl:"https://inference.poolside.ai/v1"}},{id:"cerebras",name:"Cerebras",description:"Fast inference on Cerebras wafer-scale chips",family:"openai-compatible",defaultModelId:"zai-glm-4.7",apiKeyEnv:["CEREBRAS_API_KEY"],defaults:{baseUrl:"https://api.cerebras.ai/v1"}},{id:"sambanova",name:"SambaNova",description:"High-performance AI inference",family:"openai-compatible",apiKeyEnv:["SAMBANOVA_API_KEY"],modelsProviderId:"sambanova",defaults:{baseUrl:"https://api.sambanova.ai/v1"}},{id:"nebius",name:"Nebius",description:"European cloud AI infrastructure",family:"openai-compatible",defaultModelId:"nvidia/nemotron-3-super-120b-a12b",apiKeyEnv:["NEBIUS_API_KEY"],defaults:{baseUrl:"https://api.studio.nebius.ai/v1"}},{id:"baseten",name:"Baseten",description:"ML inference platform",family:"openai-compatible",apiKeyEnv:["BASETEN_API_KEY"],modelsProviderId:"baseten",defaults:{baseUrl:"https://model-api.baseten.co/v1"}},{id:"requesty",name:"Requesty",description:"AI router with multiple provider support",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"openai/gpt-5.4",apiKeyEnv:["REQUESTY_API_KEY"],modelsProviderId:"requesty",defaults:{baseUrl:"https://router.requesty.ai/v1"}},{id:"litellm",name:"LiteLLM",description:"Self-hosted LLM proxy",family:"openai-compatible",protocol:"openai-responses",popular:40,capabilities:["prompt-cache"],defaultModelId:"gpt-5.4",apiKeyEnv:["LITELLM_API_KEY"],defaults:{baseUrl:"http://localhost:4000/v1"}},{id:"huggingface",name:"Hugging Face",description:"Hugging Face inference API",family:"openai-compatible",defaultModelId:"MiniMaxAI/MiniMax-M2.5",apiKeyEnv:["HF_TOKEN"],modelsProviderId:"huggingface",defaults:{baseUrl:"https://router.huggingface.co/v1"}},{id:"vercel-ai-gateway",name:"Vercel AI Gateway",description:"Vercel's AI gateway service",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"alibaba/qwen3.6-plus",apiKeyEnv:["AI_GATEWAY_API_KEY"],modelsProviderId:"vercel-ai-gateway",defaults:{baseUrl:"https://ai-gateway.vercel.sh/v1"},metadata:nr},{id:"v0",name:"Vercel V0",description:"The Vercel provider gives you access to the v0 API, designed for building modern web applications.",family:"openai-compatible",capabilities:["reasoning","tools"],defaultModelId:"v0-1.5-md",apiKeyEnv:["V0_API_KEY"],modelsProviderId:"v0",defaults:{baseUrl:"https://api.v0.dev/v1"}},{id:"aihubmix",name:"AI Hub Mix",description:"AI model aggregator",family:"openai-compatible",defaultModelId:"gpt-4o",apiKeyEnv:["AIHUBMIX_API_KEY"],modelsProviderId:"aihubmix",defaults:{baseUrl:"https://api.aihubmix.com/v1"},metadata:st},{id:"hicap",name:"HiCap",description:"HiCap AI platform",family:"openai-compatible",defaultModelId:"hicap-pro",apiKeyEnv:["HICAP_API_KEY"],defaults:{baseUrl:"https://api.hicap.ai/v1"}},{id:"nousResearch",name:"Nous Research",description:"Open-source AI research lab",family:"openai-compatible",defaultModelId:"DeepHermes-3-Llama-3-3-70B-Preview",apiKeyEnv:["NOUS_RESEARCH_API_KEY","NOUSRESEARCH_API_KEY"],modelsProviderId:"nousResearch",defaults:{baseUrl:"https://inference-api.nousresearch.com/v1"}},{id:"huawei-cloud-maas",name:"Huawei Cloud MaaS",description:"Huawei's model-as-a-service platform",family:"openai-compatible",defaultModelId:"DeepSeek-R1",apiKeyEnv:["HUAWEI_CLOUD_MAAS_API_KEY"],defaults:{baseUrl:"https://infer-modelarts.cn-southwest-2.myhuaweicloud.com/v1"}},{id:"qwen",name:"Alibaba Qwen",description:"Alibaba Qwen platform models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"qwen-plus-latest",apiKeyEnv:["QWEN_API_KEY"],modelsProviderId:"qwen",defaults:{baseUrl:"https://dashscope.aliyuncs.com/compatible-mode/v1"},configFields:vy,metadata:ds},{id:"qwen-code",name:"Alibaba Qwen Code",description:"Qwen OAuth coding models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"qwen3-coder-plus",modelsProviderId:"qwen-code",defaults:{baseUrl:"https://dashscope.aliyuncs.com/compatible-mode/v1"},configFields:vy,metadata:ds},{id:"doubao",name:"Doubao",description:"Volcengine Ark platform models",family:"openai-compatible",capabilities:["tools"],defaultModelId:"doubao-1-5-pro-256k-250115",apiKeyEnv:["DOUBAO_API_KEY"],modelsProviderId:"doubao",defaults:{baseUrl:"https://ark.cn-beijing.volces.com/api/v3"}},{id:"zai",name:"Z.AI",description:"Z.AI's family of LLMs",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"glm-5v-turbo",apiKeyEnv:["ZHIPU_API_KEY"],modelsProviderId:"zai",defaults:{baseUrl:"https://api.z.ai/api/paas/v4"},metadata:ps},{id:"zai-coding-plan",name:"Z.AI Coding Plan",description:"Z.AI's coding-focused models",family:"openai-compatible",capabilities:["reasoning","tools"],defaultModelId:"glm-5.2",apiKeyEnv:["ZHIPU_API_KEY"],modelsProviderId:"zai-coding-plan",defaults:{baseUrl:"https://api.z.ai/api/coding/paas/v4"},metadata:ps},{id:"moonshot",name:"Moonshot",description:"Moonshot AI Studio models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"kimi-k2-0905-preview",apiKeyEnv:["MOONSHOT_API_KEY"],modelsProviderId:"moonshot",defaults:{baseUrl:"https://api.moonshot.ai/v1"}},{id:"wandb",name:"W&B by CoreWeave",description:"Weights & Biases",family:"openai-compatible",capabilities:["reasoning","prompt-cache","tools"],defaultModelId:"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8",apiKeyEnv:["WANDB_API_KEY"],modelsProviderId:"wandb",defaults:{baseUrl:"https://api.inference.wandb.ai/v1"}},{id:"xiaomi",name:"Xiaomi",description:"Xiaomi",family:"openai-compatible",capabilities:["prompt-cache","tools","reasoning"],defaultModelId:"mimo-v2-omni",apiKeyEnv:["XIAOMI_API_KEY"],modelsProviderId:"xiaomi",defaults:{baseUrl:"https://api.xiaomimimo.com/v1"}},{id:"kilo",name:"Kilo Gateway",description:"Kilo Gateway",family:"openai-compatible",protocol:"openai-responses",capabilities:["prompt-cache","reasoning","tools"],defaultModelId:"gpt-4o",apiKeyEnv:["KILO_GATEWAY_API_KEY"],modelsProviderId:"kilo",defaults:{baseUrl:"https://api.kilo.ai/api/gateway"}},{id:"openrouter",name:"OpenRouter",description:"OpenRouter AI platform",family:"openai-compatible",popular:20,capabilities:["reasoning","prompt-cache"],defaultModelId:"anthropic/claude-sonnet-4.6",apiKeyEnv:["OPENROUTER_API_KEY"],modelsProviderId:"openrouter",docsUrl:"https://openrouter.ai/models",defaults:{baseUrl:"https://openrouter.ai/api/v1"},metadata:{...nr,...Dz}},{id:"ollama",name:"Ollama",description:"Ollama Cloud and local LLM hosting",family:"openai-compatible",popular:25,defaultModelId:"",apiKeyEnv:["OLLAMA_API_KEY"],defaults:{baseUrl:"http://localhost:11434/v1"},modelsSourceUrl:"http://localhost:11434/api/tags"},{id:"lmstudio",name:"LM Studio",description:"Local model inference with LM Studio",family:"openai-compatible",defaultModelId:"",apiKeyEnv:["LMSTUDIO_API_KEY"],modelsProviderId:"lmstudio",defaults:{baseUrl:"http://localhost:1234/v1"},modelsSourceUrl:"http://localhost:1234/v1/models"},{id:"oca",name:"Oracle Code Assist",description:"Oracle Code Assist (OCA) LiteLLM gateway",family:"openai-compatible",capabilities:["reasoning","prompt-cache","tools"],defaultModelId:"anthropic/claude-3-7-sonnet-20250219",apiKeyEnv:["OCA_API_KEY"],modelsProviderId:"oca",defaults:{baseUrl:Ez},configFields:Rz,metadata:st},{id:"asksage",name:"AskSage",description:"AskSage platform",family:"openai-compatible",client:"fetch",capabilities:["tools"],defaultModelId:"gpt-4o",apiKeyEnv:["ASKSAGE_API_KEY"],modelsFactory:()=>({}),defaults:{baseUrl:"https://api.asksage.ai/server"}}],Ns=[{id:"openai-native",name:"OpenAI",description:"Creator of GPT and ChatGPT",family:"openai",capabilities:["reasoning"],modelsProviderId:"openai-native",defaultModelId:"gpt-5.4",apiKeyEnv:["OPENAI_API_KEY"],defaults:{baseUrl:"https://api.openai.com/v1"}},{id:"openai-codex",name:"OpenAI ChatGPT Subscription",description:"OpenAI ChatGPT subscription access uses an OAuth device code flow.",family:"openai",popular:5,capabilities:["reasoning","oauth"],defaultModelId:Pz,modelsFactory:Wz,defaults:{baseUrl:"https://chatgpt.com/backend-api/codex"},configFields:[],metadata:{usageCostDisplay:"subscription"}},{id:"openai-codex-cli",name:"OpenAI Codex CLI",description:"OpenAI Codex via the local Codex CLI provider",family:"openai-codex",capabilities:["reasoning","provider-tools","local-auth"],defaultModelId:"gpt-5.3-codex",modelsProviderId:"openai",defaults:{baseUrl:"https://chatgpt.com/backend-api/codex"},configFields:[],metadata:{usageCostDisplay:"subscription"}},{id:"anthropic",name:"Anthropic",description:"Creator of Claude, the AI assistant",family:"anthropic",popular:15,capabilities:["reasoning","prompt-cache"],defaultModelId:"claude-sonnet-4-6",apiKeyEnv:["ANTHROPIC_API_KEY"],modelsProviderId:"anthropic",defaults:{baseUrl:"https://api.anthropic.com/v1"},metadata:st},{id:"claude-code",name:"Claude Code",description:"Use Claude Code SDK with Claude Pro/Max subscription",family:"claude-code",capabilities:["reasoning"],defaultModelId:"sonnet",modelsFactory:Bz,defaults:{baseUrl:""},configFields:[]},{id:"gemini",name:"Google Gemini",description:"Google Gemini API",family:"google",popular:45,capabilities:["reasoning","prompt-cache"],defaultModelId:"gemma-4-26b",apiKeyEnv:["GOOGLE_GENERATIVE_AI_API_KEY","GEMINI_API_KEY"],modelsProviderId:"gemini",defaults:{baseUrl:"https://generativelanguage.googleapis.com/v1beta"}},{id:"vertex",name:"Google Vertex AI",description:"Google Cloud Vertex AI",family:"vertex",capabilities:["reasoning","prompt-cache"],apiKeyEnv:["GCP_PROJECT_ID","GOOGLE_CLOUD_PROJECT","GOOGLE_APPLICATION_CREDENTIALS","GEMINI_API_KEY","GOOGLE_API_KEY","GOOGLE_VERTEX_PROJECT","GOOGLE_VERTEX_LOCATION"],modelsProviderId:"vertex",configFields:Zz,metadata:st},{id:"bedrock",name:"AWS Bedrock",description:"Amazon Bedrock managed foundation models",family:"bedrock",popular:30,capabilities:["reasoning","prompt-cache"],defaultModelId:"minimax.minimax-m2.5",apiKeyEnv:["AWS_BEARER_TOKEN_BEDROCK","AWS_REGION","AWS_ACCESS_KEY_ID","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN"],modelsProviderId:"bedrock",configFields:Cz,metadata:st},{id:"mistral",name:"Mistral",description:"Mistral AI models via AI SDK provider",family:"mistral",capabilities:["reasoning"],defaultModelId:"mistral-medium-latest",apiKeyEnv:["MISTRAL_API_KEY"],modelsFactory:()=>({}),defaults:{baseUrl:"https://api.mistral.ai/v1"}},{id:"minimax",name:"MiniMax",description:"MiniMax models via Anthropic-compatible API",family:"anthropic",capabilities:["tools","reasoning","prompt-cache"],defaultModelId:"MiniMax-M2.5",apiKeyEnv:["MINIMAX_API_KEY"],modelsProviderId:"minimax",defaults:{baseUrl:"https://api.minimax.io/anthropic/v1"},metadata:ng},{id:"opencode",name:"OpenCode",description:"OpenCode SDK multi-provider runtime",family:"opencode",capabilities:["reasoning","oauth"],defaultModelId:"openai/gpt-5.4",modelsProviderId:"opencode",defaults:{baseUrl:""},configFields:[]},{id:"dify",name:"Dify",description:"Dify workflow/application provider via AI SDK",family:"dify",defaultModelId:"default",apiKeyEnv:["DIFY_API_KEY"],modelsFactory:()=>({})},{id:"sapaicore",name:"SAP AI Core",description:"SAP AI Core inference and orchestration platform",family:"sap-ai-core",client:"ai-sdk-community",capabilities:["tools","reasoning","prompt-cache"],defaultModelId:"anthropic--claude-3.5-sonnet",apiKeyEnv:["AICORE_SERVICE_KEY","VCAP_SERVICES"],modelsProviderId:"sapaicore",metadata:st},...qz];function eU(e){if(e.modelsFactory)return e.modelsFactory();if(e.modelsProviderId)return Ct(e.modelsProviderId);return{}}function _y(e){let t=eU(e),n=gy(e),r=yy(e),i=Object.keys(t).length>0?t:e.defaultModelId?{[e.defaultModelId]:Hz(e.defaultModelId,e)}:{},a=Object.keys(i),o=e.defaultModelId||a[0]||"default";return{provider:{id:e.id,name:e.name,description:e.description,protocol:e.protocol??Xz(e),baseUrl:e.defaults?.baseUrl,modelsSourceUrl:e.modelsSourceUrl,defaultModelId:o,capabilities:n,env:e.apiKeyEnv?[...e.apiKeyEnv]:void 0,client:e.client??Yz(e),source:"system",metadata:r},models:i}}function ky(e){let t=_y(e),n=gy(e),r=yy(e),i=Object.values(t.models).map((o)=>Gz(e.id,o)),a=i.length>0?i:[{id:t.provider.defaultModelId||"default",name:t.provider.defaultModelId||"Default",providerId:e.id,capabilities:["text"]}];return{id:e.id,name:e.name,description:e.description,defaultModelId:t.provider.defaultModelId||a[0]?.id||"default",models:a,capabilities:n,env:e.env??["browser","node"],api:e.defaults?.baseUrl,apiKeyEnv:e.apiKeyEnv,docsUrl:e.docsUrl,metadata:r}}var Es=Ns.map(_y),NT=Object.fromEntries(Es.map((e)=>[e.provider.id,e]));var wy=new Map;async function tU(e){let t=wy.get(e);if(t)return t;let n=(async()=>{switch(e){case"openai":return(await Promise.resolve().then(() => (ie(),ue))).createOpenAIProvider;case"openai-compatible":return(await Promise.resolve().then(() => (ie(),ue))).createOpenAICompatibleProvider;case"anthropic":return(await Promise.resolve().then(() => (ie(),ue))).createAnthropicProvider;case"google":return(await Promise.resolve().then(() => (ie(),ue))).createGoogleProvider;case"vertex":return(await Promise.resolve().then(() => (ie(),ue))).createVertexProvider;case"bedrock":return(await Promise.resolve().then(() => (ie(),ue))).createBedrockProvider;case"mistral":return(await Promise.resolve().then(() => (ie(),ue))).createMistralProvider;case"claude-code":return(await Promise.resolve().then(() => (ie(),ue))).createClaudeCodeProvider;case"openai-codex":return(await Promise.resolve().then(() => (ie(),ue))).createOpenAICodexProvider;case"opencode":return(await Promise.resolve().then(() => (ie(),ue))).createOpenCodeProvider;case"dify":return(await Promise.resolve().then(() => (ie(),ue))).createDifyProvider;case"sap-ai-core":return(await Promise.resolve().then(() => (ie(),ue))).createSapAiCoreProvider}})();return wy.set(e,n),n}function iU(e){if(e.family==="openai"||e.protocol==="openai-responses"||e.client==="openai")return"openai";return e.family}var Ai=Ns.map((e)=>({manifest:ky(e),defaults:{...e.defaults,apiKeyEnv:e.apiKeyEnv,baseUrl:e.defaults?.baseUrl},loadProvider:async()=>({createProvider:await tU(iU(e))})}));we();async function*Sy(e){for await(let t of e)yield t}function Iy(e){return{...e,models:e.models.map((t)=>({...t})),capabilities:e.capabilities?[...e.capabilities]:void 0,env:e.env?[...e.env]:void 0,api:e.api,apiKeyEnv:e.apiKeyEnv?[...e.apiKeyEnv]:void 0,docsUrl:e.docsUrl,metadata:e.metadata?{...e.metadata}:void 0}}function nU(e,t){let n=new Map;for(let r of e.models)n.set(r.id,{...r});for(let r of t?.models??[])n.set(r.id,{...r,providerId:e.id});return Array.from(n.values())}function xy(e,t){let n=e?.routing||t?.routing?{...e?.routing??{},...t?.routing??{}}:void 0,r={...e??{},...t??{},...n?{routing:n}:{}};return Object.keys(r).length>0?r:void 0}function rU(e,t){return{id:t,name:t,providerId:e.id}}class As{providers=new Map;providerConfigs=new Map;fallbackFetch;constructor(e){this.fallbackFetch=e}registerProvider(e){if(!e.createProvider&&!e.loadProvider)throw Error(`Provider "${e.manifest.id}" must include createProvider or loadProvider.`);this.providers.set(e.manifest.id,{manifest:Iy(e.manifest),defaults:e.defaults?{providerId:e.manifest.id,apiKey:e.defaults.apiKey,apiKeyResolver:e.defaults.apiKeyResolver,apiKeyEnv:e.defaults.apiKeyEnv,baseUrl:e.defaults.baseUrl,headers:e.defaults.headers?{...e.defaults.headers}:void 0,timeoutMs:e.defaults.timeoutMs,fetch:e.defaults.fetch,options:e.defaults.options?{...e.defaults.options}:void 0,metadata:e.defaults.metadata?{...e.defaults.metadata}:void 0}:void 0,createProvider:e.createProvider,loadProvider:e.loadProvider})}configureProvider(e){this.providerConfigs.set(e.providerId,{providerId:e.providerId,apiKey:e.apiKey,apiKeyResolver:e.apiKeyResolver,apiKeyEnv:e.apiKeyEnv,baseUrl:e.baseUrl,headers:e.headers?{...e.headers}:void 0,timeoutMs:e.timeoutMs,fetch:e.fetch,options:e.options?{...e.options}:void 0,metadata:e.metadata?{...e.metadata}:void 0,enabled:e.enabled??!0,defaultModelId:e.defaultModelId,models:e.models?.map((t)=>({...t}))})}listProviders(){return Array.from(this.providers.values()).map((e)=>this.getManifest(e.manifest.id)).filter((e)=>e!==void 0)}listModels(e){if(e)return[...this.getManifest(e)?.models??[]];return this.listProviders().flatMap((t)=>t.models.map((n)=>({...n})))}getManifest(e){let t=this.providers.get(e);if(!t)return;let n=this.providerConfigs.get(e);if(n&&!n.enabled)return;let r=nU(t.manifest,n),i=n?.defaultModelId??t.manifest.defaultModelId??r[0]?.id;if(!i)return;return{...Iy(t.manifest),defaultModelId:i,models:r,metadata:xy(t.manifest.metadata,n?.metadata)}}resolveModel(e){let t=this.getManifest(e.providerId);if(!t)throw Error(`Unknown or disabled provider "${e.providerId}".`);let n=e.modelId??t.defaultModelId,r=t.models.find((i)=>i.id===n)??rU(t,n);return{provider:t,model:r}}async createProvider(e){let t=this.providers.get(e);if(!t)throw Error(`Unknown provider "${e}".`);if(!t.createProvider){let a=await t.loadProvider?.();if(!a?.createProvider)throw Error(`Provider "${e}" could not be loaded.`);t.createProvider=a.createProvider}let n=this.getManifest(e);if(!n)throw Error(`Provider "${e}" is disabled.`);let r=this.providerConfigs.get(e),i=xy(t.defaults?.metadata,r?.metadata);return{manifest:n,config:{providerId:e,apiKey:r?.apiKey??t.defaults?.apiKey,apiKeyResolver:r?.apiKeyResolver??t.defaults?.apiKeyResolver,apiKeyEnv:r?.apiKeyEnv??t.defaults?.apiKeyEnv,baseUrl:r?.baseUrl??t.defaults?.baseUrl,headers:{...t.defaults?.headers??{},...r?.headers??{}},timeoutMs:r?.timeoutMs??t.defaults?.timeoutMs,fetch:r?.fetch??t.defaults?.fetch??this.fallbackFetch,options:{...t.defaults?.options??{},...r?.options??{}},metadata:i},createProvider:t.createProvider}}}var aU=1024;function oU(e,t){if(!e&&!t)return;return{...e??{},...t??{}}}class zy{gateway;selection;defaults;constructor(e,t,n){this.gateway=e;this.selection=t;this.defaults=n}stream(e){let t=e.options?.reasoning,n=e.options?.thinking,r=e.options?.reasoningEffort,i=e.options?.thinkingBudgetTokens,a=r==="low"||r==="medium"||r==="high"?r:void 0,o=typeof n==="boolean"||a!==void 0||typeof i==="number"?{enabled:typeof n==="boolean"?n:void 0,effort:a,budgetTokens:typeof i==="number"?i:void 0}:void 0;return this.gateway.stream({providerId:this.selection.providerId,modelId:this.selection.modelId??"",systemPrompt:e.systemPrompt,messages:e.messages,tools:this.defaults?.tools??e.tools,temperature:e.options?.temperature??this.defaults?.temperature,maxTokens:e.options?.maxTokens??this.defaults?.maxTokens,metadata:oU(this.defaults?.metadata,e.options?.metadata),reasoning:t??o??this.defaults?.reasoning,signal:e.signal??this.defaults?.signal})}}function yr(e){return typeof e==="number"&&Number.isFinite(e)&&e>0}function Ps(e){let t=new WeakSet;try{return JSON.stringify(e,(n,r)=>{if(typeof r==="bigint")return r.toString();if(typeof r!=="object"||r===null)return r;if(t.has(r))return"[Circular]";return t.add(r),r})??""}catch{return String(e??"")}}function sU(e){let t;try{t=JSON.stringify({systemPrompt:e.systemPrompt,messages:e.messages,tools:e.tools})}catch{t=[Ps(e.systemPrompt),Ps(e.messages),Ps(e.tools)].join(`
168
+ `,{encoding:"utf8",mode:384}),x0(s,o),w0(s))Lh(s,{force:!0})}catch{}}function ss(e){try{let t=j0();if(t==="off")return;let n=e.payload&&typeof e.payload==="object"?e.payload:{value:e.payload},r=C0(n),i=Nt(e.payload);F0({timestamp:new Date().toISOString(),captureStage:e.stage,mode:t,correlation:R0(e.request),summary:{payloadBytes:Oe(i),estimatedTokens:rt(Oe(i)),sha256:Ti(i),messages:D0(r)},...t==="full"?{payload:P0(e.payload,N0())}:{}})}catch{}}async function B0(e,t){let n=t?.body;if(n!==void 0&&n!==null){if(typeof n==="string")return n;if(n instanceof URLSearchParams)return n.toString();if(n instanceof ArrayBuffer)return Buffer.from(n).toString("utf8");if(ArrayBuffer.isView(n))return Buffer.from(n.buffer,n.byteOffset,n.byteLength).toString("utf8");return{type:n.constructor?.name??typeof n}}if(e instanceof Request)try{return await e.clone().text()}catch{return{type:"Request",bodyReadable:!1}}return}function Bh(e,t){if(!O0())return e;let n=e??globalThis.fetch;if(!n)return e;let r=async(a,o)=>{return B0(a,o).then((s)=>{ss({stage:"wire_request",request:t,payload:{url:a instanceof Request?a.url:String(a),method:o?.method??(a instanceof Request?a.method:void 0)??"GET",body:s}})}).catch(()=>{}),n(a,o)},i=n;if(typeof i.preconnect==="function")r.preconnect=i.preconnect.bind(n);return r}var Mh=65536,os=".provider-request.json",Fh=".tmp",T0=86400000,Zh,Ch;var Wh=M(()=>{we();Zh=new Set,Ch=new Map});function tr(e){return e.replace(/-([a-z0-9])/gi,(t,n)=>n.toUpperCase())}function Be(){return{cache_control:{type:"ephemeral"}}}function We(e){let{providerId:t,providerOptionsKey:n,bucketOptions:r}=e,i=n!==t&&n!=="anthropic";return{[t]:r,...i?{[n]:r}:{}}}function ir(e){let t={thinking:{type:e.thinkingType}};return{...We({providerId:e.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:t}),openaiCompatible:t}}function ls(e){let t=e?.promptCacheRoutes??[us],n=e?.reasoningRoutes??[us];return{routing:{...t.length>0?{promptCache:{format:"anthropic-cache-control",routes:t.map((r)=>({...r}))}}:{},...n.length>0?{reasoning:{format:"anthropic-thinking",routes:n.map((r)=>({...r}))}}:{}}}}function Kh(e,t){let n={openaiCompatible:Be(),[e]:Be()},r=tr(e);if(r!==e)n[r]=Be();if(t)n.anthropic=Be();return n}function Gh(e,t,n){if(!e)return;let r=e.content;if(typeof r==="string"){let a=[{type:"text",text:r,providerOptions:Kh(t,n)}];if(!n)a.push({type:"text",text:" "});e.content=a;return}if(!Array.isArray(r))return;let i=r.filter((a)=>a&&typeof a==="object"&&a.type==="text").length;for(let a=r.length-1;a>=0;a--){let o=r[a];if(o&&typeof o==="object"&&o.type==="text"){let s=i===1&&!n;if(r[a]={...o,providerOptions:Kh(t,n)},s)r.push({type:"text",text:" "});return}}}function At(e,t){return Yh(e,t)!==void 0}function H0(e,t){return Yh(e,t)?.matcher==="anthropic-compatible"}function Xh(e){return e.metadata?.promptCacheStrategy==="anthropic-automatic"?"anthropic-automatic":void 0}function G0(e,t){if(Xh(t.provider)!=="anthropic-automatic")return;let n=F(t);if(ee({modelId:e.modelId,family:n}))return{matcher:"anthropic-compatible"};if(Ot({modelId:e.modelId,family:n}))return n?{matcher:"model-family",family:n}:{matcher:"model-id",modelId:e.modelId};return}function X0(e,t){if(Xh(t.provider)!=="anthropic-automatic")return;let n=F(t);return ee({modelId:e.modelId,family:n})?{matcher:"anthropic-compatible"}:void 0}function Y0(e,t){if(t.provider.metadata?.routing)return;let n=F(t);return ee({modelId:e.modelId,family:n})?{matcher:"anthropic-compatible"}:void 0}function Yh(e,t){let n=t.provider.metadata?.routing?.promptCache;if(n){if(n.format!=="anthropic-cache-control")return;return n.routes.find((r)=>qn(r,{modelId:e.modelId,family:F(t),capabilities:t.model.capabilities}))}return G0(e,t)}function ji(e,t){let n=t.provider.metadata?.routing?.reasoning;if(!n)return X0(e,t)??Y0(e,t);if(n.format!=="anthropic-thinking")return;return n.routes.find((r)=>qn(r,{modelId:e.modelId,family:F(t),capabilities:t.model.capabilities}))}function V0(e){let t=e.model.capabilities;return!t||t.includes("reasoning")}function Q0(e,t){let n=t?.toLowerCase()??"",r=e?.toLowerCase()??"";if(n.includes("opus")||r.includes("opus"))return"opus";if(n.includes("sonnet")||r.includes("sonnet"))return"sonnet";if(n.includes("haiku")||r.includes("haiku"))return"haiku";return}function q0(e){let t=e?.toLowerCase()??"",n=/claude-(\d+)[.-](\d{1,2})-(?:opus|sonnet|haiku)/i.exec(t),i=/claude-(?:opus|sonnet|haiku)-(.+)/i.exec(t)?.[1]?.match(/\d+/g)??[],a=n?.[1]??i[0],o=n?.[2]??(i[1]?.length<=2?i[1]:void 0);if(!a||!o)return;let s=Number.parseInt(a,10),d=Number.parseInt(o,10);if(!Number.isFinite(s)||!Number.isFinite(d))return;return{major:s,minor:d}}function e6(e){let t=Q0(e.modelId,e.family),n=q0(e.modelId);if(!t||!n)return!1;if(n.major!==4)return n.major>4;return(t==="opus"||t==="sonnet")&&n.minor>=6}function Ke(e,t){let n=F(t);if(!ji(e,t)||!V0(t))return{kind:"none"};return e6({modelId:e.modelId,family:n})?{kind:"anthropic-adaptive"}:{kind:"anthropic-manual"}}function Vh(e,t){let n=Ke(e,t),i=e.reasoning?.enabled===!0||e.reasoning?.effort!==void 0||typeof e.reasoning?.budgetTokens==="number"&&e.reasoning.budgetTokens>0?n.kind==="anthropic-adaptive"?{type:"adaptive"}:n.kind==="anthropic-manual"?{type:"enabled",budgetTokens:cs({modelId:e.modelId,family:F(t),effort:e.reasoning?.effort,maxTokens:e.maxTokens,explicitBudgetTokens:e.reasoning?.budgetTokens})}:void 0:void 0;return{...n.kind==="anthropic-adaptive"&&e.reasoning?.effort?{effort:e.reasoning.effort}:{},...i?{thinking:i}:{},...H0(e,t)?Be():{}}}function cs(e){if(typeof e.explicitBudgetTokens==="number"&&e.explicitBudgetTokens>0)return e.explicitBudgetTokens;if(!e.modelId&&!e.family||!ee({modelId:e.modelId,family:e.family}))return;if(!e.effort)return Et;if(typeof e.maxTokens!=="number")return Et;if(e.maxTokens<=Et)return Et;let t=K0[e.effort];if(!t)return Et;let n=Math.min(e.maxTokens-1,W0);return Math.max(Et,Math.floor(n*t))}function Qh(e,t){let n=Ke(e,t);if(n.kind==="none"||!e.reasoning?.enabled&&!e.reasoning?.effort&&typeof e.reasoning?.budgetTokens!=="number")return;let r=cs({modelId:e.modelId,family:F(t),effort:e.reasoning?.effort,maxTokens:e.maxTokens,explicitBudgetTokens:e.reasoning?.budgetTokens}),i={};if(e.reasoning?.enabled===!0)i.enabled=!0;if(n.kind==="anthropic-adaptive"&&e.reasoning?.effort)i.effort=e.reasoning.effort;if(typeof e.reasoning?.budgetTokens==="number")i.max_tokens=e.reasoning.budgetTokens;else if(n.kind==="anthropic-manual"&&typeof r==="number"&&r>=0)i.max_tokens=r;return Object.keys(i).length>0?i:void 0}function qh(e,t){if(e.reasoning?.enabled===void 0&&!e.reasoning?.effort&&typeof e.reasoning?.budgetTokens!=="number")return;let n=Ke(e,t),r=ji(e,t),i=F(t),a=n.kind==="none"&&r!==void 0,o=n.kind==="none"&&r===void 0&&(At(e,t)||Ot({modelId:e.modelId,family:i})||ee({modelId:e.modelId,family:i}));if(a||o)return;let s=n.kind==="anthropic-manual"?cs({modelId:e.modelId,family:i,effort:e.reasoning?.effort,maxTokens:e.maxTokens,explicitBudgetTokens:e.reasoning?.budgetTokens}):e.reasoning?.budgetTokens,d=e.reasoning?.enabled===!1&&!t6(e.modelId),l={...e.reasoning?.enabled===!0?{enabled:!0}:d?{enabled:!1}:e.reasoning?.effort?{enabled:!0}:{},...e.reasoning?.effort&&n.kind!=="anthropic-manual"?{effort:e.reasoning.effort}:{}};if(typeof s==="number"&&s>=0)l.max_tokens=s;return Object.keys(l).length>0?l:void 0}function t6(e){let t=e.toLowerCase();return t.includes("claude-fable")||t.includes("stepfun/step-3.7-flash")}var Et=1024,W0=128000,K0,us,Hh,st,ds,nr;var Pt=M(()=>{K0={low:0.2,medium:0.5,high:0.8},us={matcher:"anthropic-compatible"},Hh={matcher:"model-family",family:"qwen",requiredCapability:"prompt-cache"};st=ls(),ds=ls({promptCacheRoutes:[Hh],reasoningRoutes:[]}),nr=ls({promptCacheRoutes:[us,Hh]})});function ms(e){return["openai-native","openai"].includes(e.providerId)?{truncation:"auto"}:{}}function i6(e){let{request:t,context:n,suppressions:r}=e;if(r.genericThinking)return{};if(t.reasoning?.enabled!==!0)return{};let i=F(n),a=Ke(t,n),o=ji(t,n)!==void 0,s=At(t,n),d=ee({modelId:t.modelId,family:i}),l=Ot({modelId:t.modelId,family:i});if(!o&&(s||l||d))return{};if(o&&a.kind!=="anthropic-adaptive")return{};return{thinking:{type:"adaptive"}}}function n6(e){let t=e.reasoning?.effort;if(e.suppressions.genericEffort||!t||e.reasoning?.enabled===!1||e.suppressEffortOptions)return{};if(!(!e.usesAnthropicReasoningRoute||e.anthropicReasoningPolicyKind==="anthropic-adaptive"))return{};return{effort:t,reasoningEffort:t,...e.usesAnthropicReasoningRoute?{}:{reasoningSummary:"auto"}}}function eg(e){let{request:t,context:n,target:r,suppressions:i}=e,a=F(n),o=Ke(t,n),s=ji(t,n)!==void 0,d=At(t,n),l=ee({modelId:t.modelId,family:a}),c=Ot({modelId:t.modelId,family:a}),m=!s&&(d||c||l),v=Qh(t,n),p=d?Be():{};return{...r==="openai-compatible"?{strictJsonSchema:!1}:{},...i6({request:t,context:n,suppressions:i}),...n6({reasoning:t.reasoning,usesAnthropicReasoningRoute:s,suppressEffortOptions:m,suppressions:i,anthropicReasoningPolicyKind:o.kind}),...v?{reasoning:v}:{},...p,...ms(t)}}var fs=M(()=>{Pt()});function r6(e){if(e.reasoning?.enabled===void 0)return;return{thinking:{type:e.reasoning.enabled?"enabled":"disabled"}}}function a6(e){if(e.reasoning?.enabled===!0)return{reasoning:{enabled:!0}};if(e.reasoning?.enabled===!1)return{reasoning:{exclude:!0}};return}function tg(e,t){let n=r6(e);return n?{openaiCompatible:n,[e.providerId]:n,...t!==e.providerId?{[t]:n}:{}}:void 0}function ig(e,t,n,r){if(!er(e,t))return;let i=a6(e);if(!i)return;return{openaiCompatible:i,...r?.includeProviderBuckets===!1?{}:{[e.providerId]:i,...n!==e.providerId?{[n]:i}:{}}}}var ps;var vs=M(()=>{ps={routing:{reasoning:{format:"glm-thinking",routes:[{matcher:"model-family",family:"glm"},{matcher:"model-family",family:"glm-air"},{matcher:"model-family",family:"glm-flash"}]}}}});function o6(e){if(e.reasoning?.enabled===!0)return{thinking:{type:"adaptive"}};if(e.reasoning?.enabled===!1)return{thinking:{type:"disabled"}};return}function s6(e){if(e.reasoning?.enabled===!0)return{reasoning:{enabled:!0}};if(e.reasoning?.enabled===!1)return{reasoning:{exclude:!0}};return}function rg(e,t){let n=o6(e);if(!n)return;return{openaiCompatible:n,[e.providerId]:n,...t!==e.providerId?{[t]:n}:{}}}function ag(e,t){let n=s6(e);return n?We({providerId:e.providerId,providerOptionsKey:t,bucketOptions:n}):void 0}var ng;var hs=M(()=>{ng={routing:{promptCache:{format:"anthropic-cache-control",routes:[{matcher:"anthropic-compatible"}]},reasoning:{format:"minimax-thinking",routes:[{matcher:"model-id",modelId:"MiniMax-M3",requiredCapability:"reasoning"}]}}}});function u6(e){return e?.enabled!==void 0||!!e?.effort||typeof e?.budgetTokens==="number"}function og(e){let t=e.reasoning;if(!u6(t))return;if(t?.enabled===!1)return{effort:"none"};if(typeof t?.budgetTokens==="number")return{max_tokens:t.budgetTokens};if(t?.effort)return{effort:t.effort};if(t?.enabled===!0)return{enabled:!0};return}function sg(e){return Oh(e.context)}function l6(e){return Nh(e.request)}function d6(e){return Eh(e.context)||e.request.providerId==="deepseek"}function ug(e){return jh(e.request,e.context)}function lg(e){return e.request.providerId==="ollama"&&e.request.reasoning?.enabled===!1&&Ph({request:e.request,context:e.context})}function gs(e){return rs("glm-thinking",e.request,e.context)}function c6(e){return e.context.provider.metadata?.routing?.reasoning?.format==="glm-thinking"}function m6(e){return rs("minimax-thinking",e.request,e.context)}function dg(e,t){let n=e.request.reasoning?.enabled;if(n===!0)return"enabled";if(n===!1)return"disabled";return t}function cg(e,t){if(!t)return;return We({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:{reasoning:t}})}function p6(e){let t=e.request.reasoning;if(!t)return;if(ns(e)){if(t.enabled===!1)return{thinkingLevel:Uh(e)?"minimal":"low",includeThoughts:!1};if(!t.effort)return;return{thinkingLevel:t.effort,includeThoughts:!0}}if(t.enabled===!1)return{thinkingBudget:zh(e)?128:0,includeThoughts:!1};if(typeof t.budgetTokens==="number")return{thinkingBudget:t.budgetTokens,includeThoughts:!0};if(!t.effort)return;return{thinkingBudget:f6[t.effort],includeThoughts:!0}}function fg(e,t){let n=[];for(let r of e)if(r.applies(t))n.push({rule:r});return n}function pg(e){return e.reduce((t,{rule:n})=>{if(!n.suppresses)return t;return{genericThinking:t.genericThinking||n.suppresses.genericThinking||void 0,genericEffort:t.genericEffort||n.suppresses.genericEffort||void 0,genericFanout:t.genericFanout||n.suppresses.genericFanout||void 0}},{})}function vg(e,t){return e.map(({rule:n})=>n.build(t))}var f6,v6,h6,g6,y6,b6,$6,_6,k6,w6,S6,I6,x6,z6,U6,T6,j6,O6,N6,mg;var hg=M(()=>{we();Pt();fs();vs();hs();f6={low:1024,medium:8192,high:24576};v6={id:"provider.anthropic.direct",phase:"provider",description:"Direct Anthropic owns the anthropic bucket built by the base patch.",applies:(e)=>e.request.providerId==="anthropic",suppresses:{genericFanout:!0},build:()=>{return}},h6={id:"provider.google.direct",phase:"provider",description:"Direct Google owns the google bucket through Gemini thinkingConfig.",applies:(e)=>e.request.providerId==="google",suppresses:{genericFanout:!0},build:()=>{return}},g6={id:"adapter.openai",phase:"adapter",description:"OpenAI adapter targets the AI SDK openai bucket, not provider-id buckets.",applies:(e)=>e.target==="openai",build:(e)=>({openai:{strictJsonSchema:!1,...ms(e.request)}})},y6={id:"provider.openai-codex",phase:"provider",description:"Codex CLI uses OpenAI Responses options plus provider-id aliases.",applies:(e)=>e.request.providerId==="openai-codex",suppresses:{genericFanout:!0},build:(e)=>{let t={...e.compatibleOptions,instructions:e.request.systemPrompt,store:!1,strictJsonSchema:!1,systemMessageMode:"remove"};return{openai:t,...We({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:t})}}},b6={id:"provider.generic-fanout",phase:"provider-fanout",description:"Default OpenAI-compatible providers receive provider-id and camelCase alias buckets.",applies:(e)=>e.target!=="openai",build:(e)=>e.suppressions.genericFanout?void 0:We({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:e.compatibleOptions})},$6={id:"provider.cline.reasoning",phase:"provider-reasoning",description:"Cline gateway accepts the shared gateway reasoning shape.",applies:(e)=>jt(e.request.providerId),build:(e)=>cg(e,qh(e.request,e.context))},_6={id:"provider.openrouter.reasoning",phase:"provider-reasoning",description:"OpenRouter expects reasoning controls under its first-class reasoning object.",applies:(e)=>e.request.providerId==="openrouter",suppresses:{genericThinking:!0,genericEffort:!0},build:(e)=>cg(e,og(e.request))},k6={id:"provider.cline.minimax-m3.gateway-reasoning",phase:"provider-reasoning",description:"Cline-routed MiniMax M3 keeps the gateway reasoning shape instead of leaking generic thinking.",applies:(e)=>jt(e.request.providerId)&&ug(e),suppresses:{genericThinking:!0,genericEffort:!0},build:()=>{return}},w6={id:"provider.vercel-ai-gateway.minimax-m3.gateway-reasoning",phase:"provider-reasoning",description:"Vercel-routed MiniMax M3 uses the gateway reasoning include/exclude shape.",applies:(e)=>e.request.providerId==="vercel-ai-gateway"&&ug(e),suppresses:{genericThinking:!0,genericEffort:!0},build:(e)=>ag(e.request,e.providerOptionsKey)},S6={id:"provider.google-gemini.thinking-config",phase:"provider",description:"Google/Gemini/Vertex maps reasoning to thinkingConfig.",suppresses:{genericThinking:!0,genericEffort:!0},applies:(e)=>(e.request.providerId==="google"||e.request.providerId==="gemini"||e.request.providerId==="vertex")&&Th(e)&&(!!e.request.reasoning?.effort||typeof e.request.reasoning?.budgetTokens==="number"||e.request.reasoning?.enabled===!1),build:(e)=>{let t=e.request.providerId==="vertex"?"vertex":"google",n=p6(e);if(!n)return;return{[t]:{thinkingConfig:n}}}},I6={id:"provider.cline.disable-thinking",phase:"provider",description:"Cline-routed non-Kimi-K2.6 Moonshot Kimi models use thinking.type=disabled when reasoning is disabled.",applies:(e)=>jt(e.request.providerId)&&l6(e)&&e.request.reasoning?.enabled===!1&&!sg(e),build:(e)=>ir({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,thinkingType:"disabled"})},x6={id:"family.kimi-k2.6.thinking",phase:"model-family",description:"Kimi K2.6 uses thinking.type and defaults to enabled when reasoning is unset.",applies:(e)=>sg(e)&&e.request.providerId!=="openrouter",suppresses:{genericThinking:!0},build:(e)=>{let t=dg(e,"enabled");return t?ir({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,thinkingType:t}):void 0}},z6={id:"family.deepseek.thinking",phase:"model-family",description:"DeepSeek models use thinking.type only for explicit reasoning enabled/disabled.",applies:(e)=>e.request.providerId!=="openrouter"&&d6(e)&&!lg(e),suppresses:{genericThinking:!0},build:(e)=>{let t=dg(e,void 0);return t?ir({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,thinkingType:t}):void 0}},U6={id:"provider.ollama.reasoning-default-on.disable-none",phase:"provider-reasoning",description:"Ollama models whose reasoning defaults on need reasoningEffort=none when request reasoning is disabled.",applies:lg,build:(e)=>{let t={reasoningEffort:"none",reasoning:{effort:"none"}};return{...We({providerId:e.request.providerId,providerOptionsKey:e.providerOptionsKey,bucketOptions:t}),openaiCompatible:t}}},T6={id:"provider.routing.glm-thinking.non-glm.suppress-generic-thinking",phase:"provider",description:"Providers with GLM thinking routing should not apply generic adaptive thinking to non-GLM models.",applies:(e)=>c6(e)&&e.request.reasoning?.enabled!==void 0&&!gs(e),suppresses:{genericThinking:!0},build:()=>{return}},j6={id:"provider.routing.glm-thinking",phase:"model-overlay",description:"Providers routed to the GLM thinking format use thinking.type.",applies:gs,suppresses:{genericThinking:!0},build:(e)=>tg(e.request,e.providerOptionsKey)},O6={id:"provider.routing.minimax-thinking",phase:"model-overlay",description:"Direct MiniMax M3 uses thinking.type adaptive/disabled.",applies:m6,suppresses:{genericThinking:!0,genericEffort:!0},build:(e)=>rg(e.request,e.providerOptionsKey)},N6={id:"family.glm.routed-reasoning",phase:"model-overlay",description:"Routed GLM models use the generic reasoning include/exclude shape, not thinking.type.",applies:(e)=>!gs(e)&&er(e.request,e.context),suppresses:{genericThinking:!0},build:(e)=>ig(e.request,e.context,e.providerOptionsKey,{includeProviderBuckets:e.request.providerId!=="openrouter"})},mg=[v6,h6,g6,y6,b6,$6,_6,k6,w6,S6,I6,x6,z6,U6,T6,j6,O6,N6]});function gg(e){switch(e){case"openai-native":return"openai";case"anthropic":return"anthropic";case"google":case"gemini":return"google";case"vertex":return"vertex";case"bedrock":return"bedrock";case"mistral":return"mistral";case"claude-code":return"claude-code";case"openai-codex":return"openai-codex";case"opencode":return"opencode";case"dify":return"dify";case"sapaicore":return"sapaicore";default:return"openai-compatible"}}function E6(e){let t={};for(let n of e){if(!n)continue;for(let[r,i]of Object.entries(n))t[r]={...t[r]??{},...i}}return t}function A6(e,t){return{anthropic:t,openaiCompatible:e}}function yg(e,t,n=gg(e.providerId)){let r=tr(e.providerId),i=F(t),a=ee({modelId:e.modelId,family:i}),o=a?Ke(e,t):void 0,s={request:e,context:t,providerOptionsKey:r,target:n,isAnthropicCompatibleModelId:a,anthropicReasoningPolicyKind:o?.kind},d=fg(mg,s),l=pg(d),c=eg({request:e,context:t,target:n,suppressions:l}),m=Vh(e,t),v={...s,compatibleOptions:c,anthropicOptions:m,suppressions:l};return E6([A6(c,m),...vg(d,v)])}var bg=M(()=>{Pt();fs();hg()});var Sg={};he(Sg,{resetLangfuseTelemetryForTests:()=>R6,hasLangfuseTelemetryConfig:()=>kg,ensureLangfuseTelemetry:()=>P6,disposeLangfuseTelemetry:()=>wg,debugLangfuse:()=>be});function _g(){let e=process?.env,t=e?.LANGFUSE_BASE_URL?.trim(),n=e?.LANGFUSE_PUBLIC_KEY?.trim(),r=e?.LANGFUSE_SECRET_KEY?.trim();if(!t||!n||!r)return;return{baseUrl:t,publicKey:n,secretKey:r}}function kg(){return _g()!==void 0}async function P6(e){if(!kg())return!1;if(ut!==void 0)return be(`cached readiness=${String(ut)}`),ut;if(!rr)rr=D6();return ut=await rr,be(`initialized readiness=${String(ut)}`),ut}async function D6(){let{registerDisposable:e}=await Promise.resolve().then(() => (we(),Sh));e(wg);let t=_g();if(!t)return!1;try{let[{LangfuseSpanProcessor:n},{trace:r},{NodeTracerProvider:i}]=await Promise.all([import("@langfuse/otel"),import("@opentelemetry/api"),import("@opentelemetry/sdk-trace-node")]),a=new n({baseUrl:t.baseUrl,publicKey:t.publicKey,secretKey:t.secretKey});be(`creating span processor baseUrl=${t.baseUrl}`);let o=r.getTracerProvider();if(typeof o?.addSpanProcessor==="function"){o.addSpanProcessor(a);let c=$g(r);return be(`attached processor to existing tracer provider delegateReady=${String(c)}`),c}let s=o?.constructor?.name;if(s&&s!=="ProxyTracerProvider"&&s!=="NoopTracerProvider")return!1;new i({spanProcessors:[a]}).register();let l=$g(r);return be(`registered NodeTracerProvider delegateReady=${String(l)}`),l}catch(n){return be(`initialization failed error=${n instanceof Error?n.message:String(n)}`),!1}}function $g(e){let r=e.getTracerProvider().getDelegate?.()?.constructor?.name;return Boolean(r&&r!=="NoopTracerProvider")}async function Z6(){try{let{trace:e}=await import("@opentelemetry/api");await e.getTracerProvider().getDelegate?.()?.forceFlush?.(),be("forceFlush completed")}catch(e){be(`forceFlush failed error=${e instanceof Error?e.message:String(e)}`)}}async function wg(){try{await Z6();let{trace:e}=await import("@opentelemetry/api");await e.getTracerProvider().getDelegate?.()?.shutdown?.(),be("shutdown completed")}catch(e){be(`shutdown failed error=${e instanceof Error?e.message:String(e)}`)}}function be(e){if(!C6())return;console.warn(`[langfuse-debug] ${e}`)}function C6(){let e=process.env.CLINE_DEBUG_LANGFUSE;if(!e)return!1;let t=e.trim().toLowerCase();return t==="1"||t==="true"||t==="yes"}function R6(){ut=void 0,rr=void 0}var ut,rr;function ar(e){let t=e??globalThis.fetch;if(!t)throw Error("No fetch implementation is available. Pass one in the gateway or provider config.");return t}async function te(e){let t=e.apiKey?.trim();if(t)return t;let r=(await e.apiKeyResolver?.())?.trim();if(r)return r;for(let i of e.apiKeyEnv??[]){let a=L6(i);if(a)return a}return}function L6(e){let t=globalThis.process?.env;if(!t)return;let n=t[e];if(typeof n!=="string")return;let r=n.trim();return r.length>0?r:void 0}var Ig={};he(Ig,{createOpenAIProviderModule:()=>M6});import{createOpenAI as J6}from"@ai-sdk/openai";async function M6(e,t){let n=await te(e),r=J6({apiKey:n,baseURL:e.baseUrl,headers:e.headers,fetch:e.fetch,name:t.provider.id});return{model:(i)=>r.responses(i)}}var xg=()=>{};function B6(e){switch(e.type){case"image-data":case"image-url":case"file-data":case"file-url":case"image-file-id":return!0;default:return!1}}function W6(e){switch(e.type){case"image-data":return{type:"file",data:e.data,mediaType:e.mediaType,...e.providerOptions?{providerOptions:e.providerOptions}:{}};case"image-url":return{type:"file",data:e.url,mediaType:"image/*",...e.providerOptions?{providerOptions:e.providerOptions}:{}};case"file-data":return{type:"file",data:e.data,mediaType:e.mediaType,...e.filename?{filename:e.filename}:{},...e.providerOptions?{providerOptions:e.providerOptions}:{}};case"file-url":return{type:"file",data:e.url,mediaType:"application/octet-stream",...e.providerOptions?{providerOptions:e.providerOptions}:{}};case"image-file-id":return null}}function or(){return{type:"text",text:xe}}function zg(e,t){let n;try{n=new URL(e)}catch{return!1}if(n.protocol==="data:"){let r=e.indexOf(",");if(r===-1)return!1;if(!e.slice(5,r).toLowerCase().endsWith(";base64"))return!1;let a=e.slice(r+1);if(!Vo(a))return!1;return Fe(a.length,0,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t)===null}if(n.protocol!=="http:"&&n.protocol!=="https:")return!1;return Fe(q,0,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t)===null}function K6(e){try{return new URL(e).protocol==="data:"}catch{return!1}}function H6(e){if(typeof e==="string")return e.length;if(e instanceof Uint8Array)return e.byteLength;if(e instanceof ArrayBuffer)return e.byteLength;return Number.POSITIVE_INFINITY}function G6(e,t){return Fe(H6(e),0,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t)===null}function X6(e,t){if(e.type!=="content")return null;let n=[],r=[],i=!1;for(let a of e.value){if(!B6(a)){r.push(a);continue}let o=a;if(o.type==="image-data"){let l=tt(o.mediaType,o.data,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t);if(!l.ok){r.push({type:"text",text:xe}),i=!0;continue}o={...o,data:l.base64,mediaType:l.mediaType}}else if(o.type==="image-url"){if(K6(o.url)){let l=tt(void 0,o.url,{maxImageEncodedBytes:q,maxImageDecodedBytes:me},t);if(!l.ok){r.push(or()),i=!0;continue}o={...o,url:`data:${l.mediaType};base64,${l.base64}`}}else if(!zg(o.url,t)){r.push(or()),i=!0;continue}}else if(o.type==="file-url"){if(!zg(o.url,t)){r.push(or()),i=!0;continue}}else if(o.type==="file-data"){if(!G6(o.data,t)){r.push(or()),i=!0;continue}}let s=W6(o);if(!s){r.push(o);continue}n.push(s),i=!0;let d={type:"text",text:F6};r.push(d)}if(!i)return null;return{stripped:{type:"content",value:r},media:n}}function Y6(e){let t=[],n=!1,r=Ui();for(let i of e){if(i.role!=="tool"){t.push(i);continue}let a=[],o=i.content.map((s)=>{if(s.type!=="tool-result")return s;let d=X6(s.output,r);if(!d)return s;return a.push(...d.media),n=!0,{...s,output:d.stripped}});if(t.push({...i,content:o}),a.length>0)t.push({role:"user",content:a})}return{prompt:t,mutated:n}}var F6="(see following user message for image)",sr;var ys=M(()=>{we();sr={specificationVersion:"v3",transformParams:async({params:e})=>{let{prompt:t,mutated:n}=Y6(e.prompt);if(!n)return e;return{...e,prompt:t}}}});var Ug={};he(Ug,{createOpenAICompatibleProviderModule:()=>a4});import{createOpenAICompatible as V6}from"@ai-sdk/openai-compatible";import{wrapLanguageModel as Q6}from"ai";function q6(e){let t=e.options?.apiVersion;if(typeof t!=="string")return;let n=t.trim();return n.length>0?n:void 0}function e4(e){return e.pathname.startsWith("/openai/deployments/")&&!e.searchParams.has("api-version")}function t4(e,t){let n;try{n=new URL(e instanceof Request?e.url:e.toString())}catch{return e}if(!e4(n))return e;if(n.searchParams.set("api-version",t),e instanceof Request)return new Request(n.toString(),e);return typeof e==="string"?n.toString():n}function i4(e){let t=q6(e);if(!t)return e.fetch;let n=e.fetch??globalThis.fetch;if(!n)return e.fetch;let r=(a,o)=>n(t4(a,t),o),i=n;return r.preconnect=typeof i.preconnect==="function"?i.preconnect.bind(n):()=>{return},r}function n4(e){let t=e.options?.onResponseError;return typeof t==="function"?t:void 0}function r4(e){let t=async(r,i)=>{let a=await e.fetch(r,i);return await e.onResponseError(a),a},n=e.fetch;return t.preconnect=typeof n.preconnect==="function"?n.preconnect.bind(e.fetch):()=>{return},t}async function a4(e,t){let n=await te(e),r=i4(e),i=n4(e),a=i?r4({fetch:ar(r),onResponseError:i}):r,o=V6({name:t.provider.id,apiKey:n,...e.baseUrl?{baseURL:e.baseUrl}:{},...e.headers?{headers:e.headers}:{},...a?{fetch:a}:{},includeUsage:!0});return{model:(s)=>Q6({model:o(s),middleware:sr})}}var Tg=M(()=>{ys()});function o4(e){let t=e&&typeof e==="object"?e:{},n=t.minimax&&typeof t.minimax==="object"?t.minimax:void 0,r=n?.thinking&&typeof n.thinking==="object"?n.thinking:void 0;return typeof r?.type==="string"?r.type:void 0}async function s4(e){if(typeof e==="string")return JSON.parse(e);if(e instanceof Uint8Array)return JSON.parse(new TextDecoder().decode(e));if(e instanceof ArrayBuffer)return JSON.parse(new TextDecoder().decode(e));return}function u4(e){return JSON.stringify(e)}function Og(e=fetch){let t=async(r,i)=>{let a=new Headers(i?.headers);if(a.get("x-cline-minimax-thinking-disabled")!=="1")return e(r,i);a.delete("x-cline-minimax-thinking-disabled");let s=await s4(i?.body),d=s&&typeof s==="object"&&!Array.isArray(s)?s:void 0,l=d&&d.thinking===void 0?u4({...d,thinking:{type:"disabled"}}):i?.body;return e(r,{...i,headers:a,body:l})},n=e;return t.preconnect=typeof n.preconnect==="function"?n.preconnect.bind(e):()=>{},t}var jg;var Ng=M(()=>{jg={specificationVersion:"v3",transformParams:async({params:e})=>{if(o4(e.providerOptions)!=="disabled")return e;return{...e,headers:{...e.headers,["x-cline-minimax-thinking-disabled"]:"1"}}}}});var Eg={};he(Eg,{createAnthropicProviderModule:()=>c4});import{createAnthropic as l4}from"@ai-sdk/anthropic";import{wrapLanguageModel as d4}from"ai";async function c4(e,t){let n=await te(e),r=t.provider.id==="minimax",i=l4({apiKey:n,baseURL:e.baseUrl,headers:e.headers,fetch:r?Og(e.fetch):e.fetch,name:t.provider.id});return{model:(a)=>{let o=i(a);return r?d4({model:o,middleware:jg}):o}}}var Ag=M(()=>{Ng()});var Pg={};he(Pg,{createGoogleProviderModule:()=>f4});import{createGoogleGenerativeAI as m4}from"@ai-sdk/google";async function f4(e,t){let n=await te(e),r=m4({apiKey:n,headers:e.headers,fetch:e.fetch,name:t.provider.id});return{model:(i)=>r(i)}}var Dg=()=>{};var Cg={};he(Cg,{createVertexProviderModule:()=>h4});import{createVertex as p4}from"@ai-sdk/google-vertex";import{createVertexAnthropic as v4}from"@ai-sdk/google-vertex/anthropic";function ur(e,t){let n=e?.[t];return typeof n==="string"&&n.trim().length>0?n:void 0}function Zg(e,t,n){let r=e?.[t];if(!r||typeof r!=="object"||Array.isArray(r))return;let i=r[n];return typeof i==="string"&&i.trim().length>0?i:void 0}async function h4(e,t){let n=ur(e.options,"project")??ur(e.options,"projectId")??Zg(e.options,"gcp","projectId")??"",r=ur(e.options,"location")??ur(e.options,"region")??Zg(e.options,"gcp","region")??"us-central1",i=n||void 0,a=ar(e.fetch);if(xh(t.model.id)){let s=v4({project:n,location:r,baseURL:e.baseUrl,headers:e.headers,fetch:a});return{model:(d)=>s(d)}}let o=p4({project:n,location:r,apiKey:i?void 0:await te(e),googleAuthOptions:i?{projectId:i}:void 0,baseURL:e.baseUrl,headers:e.headers,fetch:a});return{model:(s)=>o(s)}}var Rg=()=>{};var Lg={};he(Lg,{createBedrockProviderModule:()=>b4});import{createAmazonBedrock as g4}from"@ai-sdk/amazon-bedrock";import{fromNodeProviderChain as bs}from"@aws-sdk/credential-providers";async function b4(e){let t=k4(e.options?.authentication),n=t==="api-key"||t==="apikey",r=K(e.options?.accessKeyId)!==void 0&&K(e.options?.secretAccessKey)!==void 0,i=K(e.options?.profile)!==void 0,o=!n&&(t==="iam"||t==="profile"||i)?void 0:await _4(e,{includeEnvironment:n||!r}),s=$4(e,{authentication:t,apiKey:o,hasDirectCredentials:r,hasProfile:i}),d=t==="iam"||t==="profile"||r||s!==void 0,l=g4({region:K(e.options?.region),apiKey:n?o??"":o??(d?"":void 0),accessKeyId:s?void 0:K(e.options?.accessKeyId),secretAccessKey:s?void 0:K(e.options?.secretAccessKey),sessionToken:s?void 0:K(e.options?.sessionToken),baseURL:e.baseUrl??K(e.options?.endpoint),headers:e.headers,fetch:e.fetch,credentialProvider:s});return{model:(c)=>l(c)}}function $4(e,t){let n=K(e.options?.region);if(typeof e.options?.credentialProvider==="function")return e.options.credentialProvider;if(t.authentication==="api-key"||t.authentication==="apikey"||t.apiKey)return;if(t.authentication==="profile"||t.hasProfile){let r=K(e.options?.profile);return bs({ignoreCache:!0,...r?{profile:r}:{},...n?{clientConfig:{region:n}}:{}})}if(t.hasDirectCredentials)return;return n?bs({clientConfig:{region:n}}):bs()}async function _4(e,t){let n=K(e.apiKey)??K(e.options?.apiKey)??K(e.options?.bedrockApiKey)??K(e.options?.awsBedrockApiKey);if(n)return n;let r=K(await e.apiKeyResolver?.());if(r)return r;if(!t.includeEnvironment)return;for(let i of e.apiKeyEnv??[]){if(y4.has(i))continue;let a=K(process.env[i]);if(a)return a}return K(process.env.AWS_BEARER_TOKEN_BEDROCK)}function k4(e){return e==="iam"||e==="api-key"||e==="apikey"||e==="profile"?e:void 0}function K(e){if(typeof e!=="string")return;let t=e.trim();return t.length>0?t:void 0}var y4;var Jg=M(()=>{y4=new Set(["AWS_ACCESS_KEY_ID","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN","AWS_REGION","AWS_DEFAULT_REGION","AWS_PROFILE"])});var Mg={};he(Mg,{createMistralProviderModule:()=>I4});import{createMistral as w4}from"@ai-sdk/mistral";import{wrapLanguageModel as S4}from"ai";async function I4(e){let t=w4({apiKey:await te(e),baseURL:e.baseUrl,headers:e.headers,fetch:e.fetch});return{model:(n)=>S4({model:t(n),middleware:sr})}}var Fg=M(()=>{ys()});var Dt={};he(Dt,{createSapAiCoreProviderModule:()=>B4,createOpenCodeProviderModule:()=>A4,createOpenAICodexProviderModule:()=>N4,createDifyProviderModule:()=>P4,createClaudeCodeProviderModule:()=>O4});import{createSAPAIProvider as x4}from"@jerome-benoit/sap-ai-provider";import{createClaudeCode as z4}from"ai-sdk-provider-claude-code";import{createCodexExec as U4}from"ai-sdk-provider-codex-cli";import{createDifyProvider as T4}from"dify-ai-provider";function Oi(e){return e.options??{}}async function O4(e){let t=z4(Oi(e));return{model:(n)=>t(n)}}async function N4(e){let t=U4(Oi(e));return{model:(n)=>t(n)}}async function E4(e){let t=["SIGINT","SIGTERM"],n=new Map(t.map((i)=>[i,new Set(process.listeners(i))])),r=await e();for(let i of t)for(let a of process.listeners(i))if(!n.get(i)?.has(a))process.removeListener(i,a);return r}async function A4(e){let t=await E4(async()=>{let{createOpencode:n}=await import("ai-sdk-provider-opencode-sdk");return n(Oi(e))});return{model:(n)=>t(n)}}async function P4(e){let t=await te(e),n=T4({baseURL:e.baseUrl,headers:e.headers,fetch:e.fetch,...Oi(e)});return{model:(r)=>n(r,{apiKey:t})}}function He(e,t){let n=e[t];return typeof n==="string"&&n.trim().length>0?n.trim():void 0}function D4(e){return e.replace(/\/+$/,"").replace(/\/oauth\/token$/i,"")}function Z4(e,t){return Boolean(e.apiKey?.trim()||e.baseUrl?.trim()||He(t,"clientId")||He(t,"clientSecret")||He(t,"tokenUrl"))}function C4(e,t){let n=He(t,"clientId"),r=He(t,"clientSecret")??e.apiKey?.trim(),i=He(t,"tokenUrl"),a=e.baseUrl?.trim();if(!n||!r||!i||!a){if(!Z4(e,t))return;let o=[!n?"sap.clientId":void 0,!r?"sap.clientSecret":void 0,!i?"sap.tokenUrl":void 0,!a?"baseUrl":void 0].filter(Boolean);throw Error(`SAP AI Core provider is missing required configuration: ${o.join(", ")}.`)}return JSON.stringify({clientid:n,clientsecret:r,serviceurls:{AI_API_URL:a.replace(/\/+$/,"")},url:D4(i)})}function R4(e){let t=e.api;if(t==="orchestration"||t==="foundation-models")return t;if(e.useOrchestrationMode===!1)return"foundation-models";return"orchestration"}async function L4(e,t){if(!e)return await t();let n=Bg.catch(()=>{}),r;Bg=new Promise((a)=>{r=a}),await n;let i=process.env.AICORE_SERVICE_KEY;process.env.AICORE_SERVICE_KEY=e;try{return await t()}catch(a){throw a}finally{M4(i),r()}}function J4(e){return j4.has(e)}function M4(e){if(e===void 0){delete process.env.AICORE_SERVICE_KEY;return}process.env.AICORE_SERVICE_KEY=e}function F4(e,t){if(!t||!e||typeof e!=="object")return e;return new Proxy(e,{get(n,r,i){let a=Reflect.get(n,r,i);if(typeof a!=="function"||!J4(r))return a;return(...o)=>L4(t,()=>a.apply(n,o))}})}async function B4(e){let t=Oi(e),n=C4(e,t),r=He(t,"deploymentId"),i=x4({name:e.providerId,...r?{deploymentId:r}:{resourceGroup:He(t,"resourceGroup")},api:R4(t),...typeof t.defaultSettings==="object"&&t.defaultSettings!==null&&!Array.isArray(t.defaultSettings)?{defaultSettings:t.defaultSettings}:{}});return{model:(a)=>F4(i(a),n)}}var j4,Bg;var Zt=M(()=>{j4=new Set(["doGenerate","doStream","doEmbed"]),Bg=Promise.resolve()});var ue={};he(ue,{normalizeUsage:()=>Qg,createVertexProvider:()=>fr,createSapAiCoreProvider:()=>xs,createOpenCodeProvider:()=>Ss,createOpenAIProvider:()=>lr,createOpenAICompatibleProvider:()=>dr,createOpenAICodexProvider:()=>ws,createMistralProvider:()=>_s,createGoogleProvider:()=>mr,createDifyProvider:()=>Is,createClaudeCodeProvider:()=>ks,createBedrockProvider:()=>pr,createAnthropicProvider:()=>cr});import{jsonSchema as W4,streamText as K4}from"ai";import{nanoid as Wg}from"nanoid";import{z as H4}from"zod";function G4(e,t,n){let r=Gg(e.messages,n,{includeReasoning:Hg(e,t)}),i=ee({modelId:e.modelId,family:F(t)});for(let a=r.length-1;a>=0;a--)if(r[a]?.role==="user"){Gh(r[a],e.providerId,i);break}return r}function X4(e,t){let n=t.provider.metadata?.stickySession;if(!n)return;let r=e.metadata,i=r&&typeof r==="object"?r[n.metadataKey]:void 0;if(typeof i!=="string")return;let a=i.trim();if(!a)return;return{transport:n.transport,field:n.field,value:a}}async function Y4(e,t){let n=t?.body;if(n===null)return;if(typeof n==="string")return{source:"init-body",text:n};if(n instanceof URLSearchParams)return{source:"init-body",text:n.toString()};if(n instanceof ArrayBuffer)return{source:"init-body",text:Buffer.from(n).toString("utf8")};if(ArrayBuffer.isView(n))return{source:"init-body",text:Buffer.from(n.buffer,n.byteOffset,n.byteLength).toString("utf8")};if(n!==void 0)return;if(e instanceof Request)try{return{request:e,source:"request",text:await e.clone().text()}}catch{return}return}async function V4(e,t,n){let r=await Y4(e,t);if(!r?.text.trim().startsWith("{"))return[e,t];let i;try{i=JSON.parse(r.text)}catch{return[e,t]}if(!i||typeof i!=="object"||Array.isArray(i))return[e,t];let a=i,o=a[n.field];if(typeof o!=="string"||!o.trim())a[n.field]=n.value;let s=JSON.stringify(a);if(r.source==="init-body")return[e,{...t,body:s}];return[new Request(r.request,{body:s}),t]}function Q4(e,t,n){let r=new Headers(e instanceof Request?e.headers:void 0);if(new Headers(t?.headers).forEach((i,a)=>{r.set(a,i)}),!r.get(n.field)?.trim())r.set(n.field,n.value);return[e,{...t,headers:r}]}function q4(e,t,n){let r=X4(t,n);if(!r)return e;let i=e??globalThis.fetch;if(!i)return e;let a=async(s,d)=>{let[l,c]=r.transport==="json-body"?await V4(s,d,r):Q4(s,d,r);return i(l,c)},o=i;if(typeof o.preconnect==="function")a.preconnect=o.preconnect.bind(i);return a}function Hg(e,t){return!Ah(e,t)}async function ez(e){try{return(await Promise.resolve().then(() => Sg)).ensureLangfuseTelemetry(e)}catch{return!1}}function Gg(e,t,n){let r=n?.includeReasoning??!0,i=[];for(let a of e){let o=[],s=!1;for(let d of a.content){if(d.type==="text"){o.push({type:"text",text:Q(d.text)});continue}if(d.type==="reasoning"){if(!r){s=!0;continue}let l=d.metadata,c=l?.signature,m=l?.redactedData;o.push({type:"reasoning",text:Q(d.text),...typeof c==="string"||typeof m==="string"?{providerOptions:{anthropic:{...typeof c==="string"?{signature:c}:{},...typeof m==="string"?{redactedData:m}:{}}}}:{}});continue}if(d.type==="file"){o.push({type:"file",path:d.path,content:d.content});continue}if(d.type==="image"){o.push({type:"image",image:d.image,mediaType:d.mediaType});continue}if(d.type==="tool-call"){let l=d.metadata,c=l?.thoughtSignature??l?.signature??l?.thought_signature;o.push({type:"tool-call",toolCallId:d.toolCallId,toolName:d.toolName,input:d.input,...typeof c==="string"?{providerOptions:{google:{thoughtSignature:c}}}:{}});continue}if(d.type==="tool-result")o.push({type:"tool-result",toolCallId:d.toolCallId,toolName:d.toolName,output:d.output,isError:d.isError??!1})}if(o.length>0)i.push({role:a.role,content:o});else if(!r&&s)continue;else if(a.role==="user"||a.role==="assistant")i.push({role:a.role,content:""})}return Qo(t,i,{assistantToolCallArgKey:"input"})}function tz(e){if(!e.tools?.length)return;return Object.fromEntries(e.tools.map((t)=>[t.name,{description:t.description,inputSchema:W4(iz(t.inputSchema),{validate:async(n)=>{let r=await H4.fromJSONSchema(t.inputSchema).safeParseAsync(n);return r.success?{success:!0,value:r.data}:{success:!1,error:r.error}}})}]))}function iz(e){if(e.type==="object")return e;return{type:"object",...e}}function Xg(e){return e.provider.capabilities?.includes("provider-tools")??!1}function Yg(e,t){if(!e||typeof e!=="object"||Array.isArray(e))return t;return{...e,...t}}function Vg(e){return Yg(e.metadata,{toolSource:{providerId:e.request.providerId,modelId:e.request.modelId,executionMode:Xg(e.context)?"provider":"runtime"}})}function nz(e){return Vg({metadata:Yg($s(e.part),{inputParseError:`Tool call ${e.toolName} was rejected before execution: ${e.errorMessage}`,aiSdkToolError:e.errorMessage}),request:e.request,context:e.context})}function rz(e){return e.providerId==="openai-codex"?void 0:e.systemPrompt}function az(e,t){if(e==="tool-calls"||e==="tool_calls"||t)return"tool-calls";if(e==="length"||e==="max_tokens")return"max-tokens";if(e==="error")return"error";return"stop"}function Se(e,...t){for(let n of t){let r=e[n];if(typeof r==="number"&&Number.isFinite(r))return r;if(typeof r==="string"&&r.trim().length>0&&Number.isFinite(Number(r)))return Number(r)}return 0}function se(e){if(typeof e==="number"&&Number.isFinite(e))return e;if(typeof e==="string"&&e.trim().length>0&&Number.isFinite(Number(e)))return Number(e);return}function Ie(e,...t){let n=e;for(let r of t){if(!n||typeof n!=="object")return 0;n=n[r]}return se(n)??0}function sz(e,t){let n=e;for(let r of t){if(!n||typeof n!=="object")return 0;n=n[r]}return se(n)??0}function uz(e,t){for(let n of e)for(let r of t){let i=sz(n,r);if(i>0)return i}return 0}function lz(e){if(!e||typeof e!=="object")return;let t=e;for(let n of Object.values(t)){if(!n||typeof n!=="object")continue;let r=n;if(r.usage&&typeof r.usage==="object")return r.usage}return}function dz(e,t){if(!t||typeof t!=="object")return;let n=t,r=se(n.input),i=se(n.output);if(r===void 0||i===void 0)return;let a=se(n.cacheRead)??0,o=se(n.cacheWrite)??r*1.25;return Math.max(0,e.inputTokens-e.cacheReadTokens-e.cacheWriteTokens)/1e6*r+e.outputTokens/1e6*i+e.cacheReadTokens/1e6*a+e.cacheWriteTokens/1e6*o}function Qg(e,t,n){let r=e&&typeof e==="object"?e:{},i=lz(t),a=t&&typeof t==="object"?t:{},o=a.gateway&&typeof a.gateway==="object"?a.gateway:{},s=r.raw&&typeof r.raw==="object"?r.raw:r,d=se(s.cost_details?.upstream_inference_cost)??se(s.upstream_inference_cost),l=se(s.market_cost)??se(s.marketCost)??se(o.marketCost),c=se(s.cost)??se(o.cost),m=l!==void 0||c!==void 0||d!==void 0,p=(s.is_byok===!0||s.isByok===!0||o.is_byok===!0||o.isByok===!0)&&c!==void 0&&d!==void 0,g=c!==void 0&&c>0?c:d??c,$=l??(p?c+d:g),N={inputTokens:Ie(r,"inputTokens","total")||Se(r,"inputTokens","input_tokens","prompt_tokens")||Se(s,"promptTokenCount","prompt_token_count"),outputTokens:Ie(r,"outputTokens","total")||Se(r,"outputTokens","output_tokens","completion_tokens")||Se(s,"candidatesTokenCount","candidates_token_count"),cacheReadTokens:Ie(r,"inputTokens","cacheRead")||Ie(r,"inputTokenDetails","cacheReadTokens")||Se(r,"cachedInputTokens","cacheReadTokens","cache_read_tokens","cache_read_input_tokens")||Ie(r,"prompt_tokens_details","cached_tokens")||Ie(s,"prompt_tokens_details","cached_tokens")||Se(s,"cachedContentTokenCount")||Se(i??{},"cachedInputTokens","cacheReadTokens","cache_read_tokens","cache_read_input_tokens"),cacheWriteTokens:Ie(r,"inputTokens","cacheWrite")||Ie(r,"inputTokenDetails","cacheWriteTokens")||Ie(r,"prompt_tokens_details","cache_write_tokens")||Se(r,"cacheWriteTokens","cache_write_tokens","cache_creation_input_tokens")||Ie(s,"prompt_tokens_details","cache_write_tokens")||Se(s,"cacheWriteTokens","cache_write_tokens","cache_creation_input_tokens")||Se(i??{},"cacheWriteTokens","cache_write_tokens","cache_creation_input_tokens")},T=uz([r,s,i??{}],oz),P=$!==void 0?$:m?void 0:dz(N,n);return{...N,...T>0?{reasoningTokenCount:T}:{},...typeof P==="number"?{totalCost:P}:{}}}function Kg(e){if(!e)return;let t=()=>{},n=(i)=>{if(i&&typeof i.catch==="function")i.catch(t)},r=e;for(let i of Object.keys(e))try{n(r[i])}catch{}}function $s(e){let t={};if(typeof e.thoughtSignature==="string")t.thoughtSignature=e.thoughtSignature;if(typeof e.thought_signature==="string")t.thought_signature=e.thought_signature;let n=e.providerMetadata&&typeof e.providerMetadata==="object"?e.providerMetadata:void 0,r=n?.google&&typeof n.google==="object"?n.google:void 0,i=n?.vertex&&typeof n.vertex==="object"?n.vertex:void 0;if(typeof t.thoughtSignature!=="string"&&typeof(r?.thoughtSignature??i?.thoughtSignature)==="string")t.thoughtSignature=r?.thoughtSignature??i?.thoughtSignature;if(typeof t.thought_signature!=="string"&&typeof r?.thought_signature==="string")t.thought_signature=r.thought_signature;return Object.keys(t).length>0?t:void 0}async function*cz(e,t,n,r,i){let a=!1,o=new Set,s,d,l,c;try{if(e.fullStream)for await(let p of e.fullStream){if(p.type==="text-delta"){let g=p.textDelta??p.text??p.delta;if(g)yield{type:"text-delta",text:g};continue}if(p.type==="reasoning-delta"||p.type==="reasoning"){let g=p.textDelta??p.text??p.reasoning;if(g)yield{type:"reasoning-delta",text:g,metadata:$s(p)};continue}if(p.type==="tool-call"){a=!0;let g=p.toolCallId??p.id??`tool_${Wg()}`;o.add(g);let $=p.input??p.args??{},N=typeof $==="string"?$:JSON.stringify($);yield{type:"tool-call-delta",toolCallId:g,toolName:p.toolName??p.name??"tool",input:typeof $==="string"?void 0:$,inputText:N,metadata:Vg({metadata:$s(p),request:t,context:n})};continue}if(p.type==="tool-error"){a=!0;let g=p.toolCallId??p.id??`tool_${Wg()}`,$=o.has(g);o.add(g);let N=p.toolName??p.name??"tool",T=p.input??p.args??{},P=typeof T==="string"?T:JSON.stringify(T),I=p.error===void 0?"Tool input was rejected by the model adapter":ot(p.error);yield{type:"tool-call-delta",toolCallId:g,toolName:N,input:$?void 0:typeof T==="string"?void 0:T,inputText:$?void 0:P,metadata:nz({part:p,errorMessage:I,request:t,context:n,toolName:N})};continue}if(p.type==="finish")l=p.usage??p.totalUsage,c=p.providerMetadata,s=p.finishReason??p.rawFinishReason??p.reason;if(p.type==="error"){d=i?.current??ot(p.error);break}if(p.type==="abort")break}else if(e.textStream)for await(let p of e.textStream)yield{type:"text-delta",text:p}}catch(p){d=i?.current??ot(p)}let m,v;if(d)m=l,v=c;else if(e.usage)try{m=await e.usage}catch(p){if(!d)d=i?.current??ot(p);m=l,v=c}else m=l,v=c;if(m)yield{type:"usage",usage:Qg(m,v,r)};yield{type:"finish",reason:d?"error":az(s,a),error:d}}async function mz(e,t,n){switch(e){case"openai":{let{createOpenAIProviderModule:r}=await Promise.resolve().then(() => (xg(),Ig));return r(t,n)}case"openai-compatible":{let{createOpenAICompatibleProviderModule:r}=await Promise.resolve().then(() => (Tg(),Ug));return r(t,n)}case"anthropic":{let{createAnthropicProviderModule:r}=await Promise.resolve().then(() => (Ag(),Eg));return r(t,n)}case"google":{let{createGoogleProviderModule:r}=await Promise.resolve().then(() => (Dg(),Pg));return r(t,n)}case"vertex":{let{createVertexProviderModule:r}=await Promise.resolve().then(() => (Rg(),Cg));return r(t,n)}case"bedrock":{let{createBedrockProviderModule:r}=await Promise.resolve().then(() => (Jg(),Lg));return r(t)}case"mistral":{let{createMistralProviderModule:r}=await Promise.resolve().then(() => (Fg(),Mg));return r(t)}case"claude-code":{let{createClaudeCodeProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}case"openai-codex":{let{createOpenAICodexProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}case"opencode":{let{createOpenCodeProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}case"dify":{let{createDifyProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}case"sapaicore":{let{createSapAiCoreProviderModule:r}=await Promise.resolve().then(() => (Zt(),Dt));return r(t)}}}function ve(e){return async(t)=>({async*stream(n,r){let i=r.logger,a,o={current:void 0};try{let s=await mz(e,{...t,fetch:q4(Bh(t.fetch,n),n,r)},r),d=await ez(t.providerId),l=Xg(r)?void 0:tz(n),c=rz(n),m=typeof c==="string"&&c.trim().length>0,v=m?void 0:c,p=At(n,r)?G4(n,r,v):Gg(n.messages,v,{includeReasoning:Hg(n,r)}),g=yg(n,r,e);ss({stage:"ai_sdk_prompt",request:n,payload:{messages:p,...m?{system:c}:{},tools:l,providerOptions:g,maxOutputTokens:n.maxTokens,temperature:n.temperature}}),a=K4({model:s.model(r.model.id),messages:p,...m?{system:c}:{},tools:l,temperature:n.temperature,...n.maxTokens!==void 0?{maxOutputTokens:n.maxTokens}:{},abortSignal:n.signal,experimental_telemetry:{isEnabled:d},providerOptions:g,onError:({error:$})=>{let N=ot($);if(o.current=N,i?.error)i.error("[ai-sdk] stream error",{providerId:n.providerId,error:$,severity:"error"});else if(i)i.log(`[ai-sdk] stream error: ${N}`,{providerId:n.providerId,severity:"error"});Xn(r.telemetry,{component:"llms",operation:"provider.stream",error:$,severity:"error",handled:!0,context:{providerId:n.providerId,modelId:n.modelId,providerKind:e}})}}),Kg(a),yield*cz(a,n,r,r.model.metadata?.pricing,o)}catch(s){Kg(a);let d=o.current??ot(s);if(i?.error)i.error("[ai-sdk] provider error",{providerId:n.providerId,error:s,severity:"error"});else if(i)i.log(`[ai-sdk] provider error: ${d}`,{providerId:n.providerId,severity:"error"});Xn(r.telemetry,{component:"llms",operation:"provider.create_or_stream",error:s,severity:"error",handled:!0,context:{providerId:n.providerId,modelId:n.modelId,providerKind:e}}),yield{type:"finish",reason:"error",error:d}}}})}var oz,lr,dr,cr,mr,fr,pr,_s,ks,ws,Ss,Is,xs;var ie=M(()=>{we();Wh();Pt();bg();oz=[["outputTokenDetails","reasoningTokens"],["output_tokens_details","reasoning_tokens"],["completion_tokens_details","reasoning_tokens"],["reasoningTokens"],["reasoning_tokens"]];lr=ve("openai"),dr=ve("openai-compatible"),cr=ve("anthropic"),mr=ve("google"),fr=ve("vertex"),pr=ve("bedrock"),_s=ve("mistral"),ks=ve("claude-code"),ws=ve("openai-codex"),Ss=ve("opencode"),Is=ve("dify"),xs=ve("sapaicore")});var Mt;((x)=>{x.ANTHROPIC="anthropic";x.CLAUDE_CODE="claude-code";x.CLINE="cline";x.CLINE_PASS="cline-pass";x.OPENAI_COMPATIBLE="openai-compatible";x.OPENAI_NATIVE="openai-native";x.OPENAI_CODEX="openai-codex";x.OPENAI_CODEX_CLI="openai-codex-cli";x.OPENCODE="opencode";x.BEDROCK="bedrock";x.VERTEX="vertex";x.GEMINI="gemini";x.OLLAMA="ollama";x.LMSTUDIO="lmstudio";x.DEEPSEEK="deepseek";x.XAI="xai";x.TOGETHER="together";x.FIREWORKS="fireworks";x.GROQ="groq";x.POOLSIDE="poolside";x.CEREBRAS="cerebras";x.SAMBANOVA="sambanova";x.NEBIUS="nebius";x.BASETEN="baseten";x.REQUESTY="requesty";x.LITELLM="litellm";x.HUGGINGFACE="huggingface";x.VERCEL_AI_GATEWAY="vercel-ai-gateway";x.V0="v0";x.AIHUBMIX="aihubmix";x.HICAP="hicap";x.NOUS_RESEARCH="nousResearch";x.HUAWEI_CLOUD_MAAS="huawei-cloud-maas";x.WANDB="wandb";x.XIAOMI="xiaomi";x.TENCENT_TOKENHUB="tencent-tokenhub";x.KILO="kilo";x.ZAI="zai";x.ZAI_CODING_PLAN="zai-coding-plan";x.QWEN="qwen";x.QWEN_CODE="qwen-code";x.DOUBAO="doubao";x.MISTRAL="mistral";x.MOONSHOT="moonshot";x.ASKSAGE="asksage";x.MINIMAX="minimax";x.DIFY="dify";x.OCA="oca";x.SAPAICORE="sapaicore";x.OPENROUTER="openrouter"})(Mt||={});var Ky={openai:"openai-compatible",togetherai:"together","sap-ai-core":"sapaicore"},Li=Object.values(Mt);function $r(e){return Li.includes(e)}function G(e){let t=e.trim();return Ky[t]??t}function Ji(e){return G(e.routingProviderId??e.providerId)}ie();import{nanoid as Ls}from"nanoid";we();var zs={version:1783097653299,providers:{aihubmix:{"glm-5.2":{id:"glm-5.2",name:"GLM-5.2",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.1268,output:3.9438,cacheRead:0.2817,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"qwen3.7-plus":{id:"qwen3.7-plus",name:"Qwen3.7 Plus",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.282,output:1.128,cacheRead:0.0564,cacheWrite:0.3525},releaseDate:"2026-06-02",family:"qwen"},"claude-opus-4-8":{id:"claude-opus-4-8",name:"Claude Opus 4.8",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"claude-opus-4-8-think":{id:"claude-opus-4-8-think",name:"Claude Opus 4.8",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"qwen3.7-max":{id:"qwen3.7-max",name:"Qwen3.7 Max",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.69,output:5.07,cacheRead:0.169,cacheWrite:2.1125},releaseDate:"2026-05-21",family:"qwen"},"glm-5v-turbo":{id:"glm-5v-turbo",name:"GLM 5 Vision Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.7042,output:3.09848,cacheRead:0.169008,cacheWrite:0},releaseDate:"2026-05-09",family:"glmv"},"qwen3.6-max-preview":{id:"qwen3.6-max-preview",name:"Qwen3.6 Max Preview",contextWindow:240000,maxInputTokens:240000,maxTokens:64000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.27,output:7.61,cacheRead:0.1268,cacheWrite:1.585},releaseDate:"2026-05-09",family:"qwen3.6"},"qwen3.6-plus":{id:"qwen3.6-plus",name:"Qwen3.6 Plus",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.28,output:1.69,cacheRead:0.0282,cacheWrite:0.3525},releaseDate:"2026-05-09",family:"qwen3.6"},"gemini-3.1-flash-lite":{id:"gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:1},releaseDate:"2026-05-07",family:"gemini-flash-lite"},"grok-4.3":{id:"grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-05-01",family:"grok"},"doubao-seed-2-0-lite-260428":{id:"doubao-seed-2-0-lite-260428",name:"Doubao Seed 2.0 Lite 260428",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.08,output:0.51,cacheRead:0.01692,cacheWrite:0},releaseDate:"2026-04-28",family:"seed"},"doubao-seed-2-0-mini-260428":{id:"doubao-seed-2-0-mini-260428",name:"Doubao Seed 2.0 Mini 260428",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.03,output:0.28,cacheRead:0.00564,cacheWrite:0},releaseDate:"2026-04-28",family:"seed"},"alicloud-deepseek-v4-flash":{id:"alicloud-deepseek-v4-flash",name:"DeepSeek V4 Flash (Alibaba Cloud)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.028,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"alicloud-deepseek-v4-pro":{id:"alicloud-deepseek-v4-pro",name:"DeepSeek V4 Pro (Alibaba Cloud)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.69,output:3.38,cacheRead:0.13,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"deep-deepseek-v4-flash":{id:"deep-deepseek-v4-flash",name:"DeepSeek V4 Flash (DeepSeek)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.154,output:0.308,cacheRead:0.0308,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deep-deepseek-v4-pro":{id:"deep-deepseek-v4-pro",name:"DeepSeek V4 Pro (DeepSeek)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.478,output:0.956,cacheRead:0.004302,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"coding-xiaomi-mimo-v2.5":{id:"coding-xiaomi-mimo-v2.5",name:"Coding Xiaomi MiMo-V2.5",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.08,output:0.4,cacheRead:0.016,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5"},"coding-xiaomi-mimo-v2.5-pro":{id:"coding-xiaomi-mimo-v2.5-pro",name:"Coding Xiaomi MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:0.6,cacheRead:0.04,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5-pro"},"xiaomi-mimo-v2.5":{id:"xiaomi-mimo-v2.5",name:"Xiaomi MiMo-V2.5",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.44,output:2.2,cacheRead:0.088,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5"},"xiaomi-mimo-v2.5-free":{id:"xiaomi-mimo-v2.5-free",name:"Xiaomi MiMo-V2.5 (free)",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5"},"xiaomi-mimo-v2.5-pro":{id:"xiaomi-mimo-v2.5-pro",name:"Xiaomi MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.1,output:3.3,cacheRead:0.22,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5-pro"},"xiaomi-mimo-v2.5-pro-free":{id:"xiaomi-mimo-v2.5-pro-free",name:"Xiaomi MiMo-V2.5-Pro (free)",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5-pro"},"kimi-k2.6":{id:"kimi-k2.6",name:"Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"claude-opus-4-7":{id:"claude-opus-4-7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"claude-opus-4-7-think":{id:"claude-opus-4-7-think",name:"Claude Opus 4.7 Thinking",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"coding-glm-5.1":{id:"coding-glm-5.1",name:"Coding GLM 5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.06,output:0.22,cacheRead:0.013,cacheWrite:0},releaseDate:"2026-04-11",family:"glm"},"coding-glm-5.1-free":{id:"coding-glm-5.1-free",name:"Coding GLM 5.1 (free)",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-11",family:"glm-free"},"qwen3.6-flash":{id:"qwen3.6-flash",name:"Qwen3.6 Flash",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.17,output:1.01,cacheRead:0.0169,cacheWrite:0.21125},releaseDate:"2026-04-02",family:"qwen3.6"},"alicloud-glm-5.1":{id:"alicloud-glm-5.1",name:"GLM-5.1 (Alibaba Cloud)",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.84,output:3.38,cacheRead:0.169,cacheWrite:1.05625},releaseDate:"2026-03-27",family:"glm"},"zai-glm-5.1":{id:"zai-glm-5.1",name:"GLM-5.1 (Z.ai)",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.845,output:3.38,cacheRead:0.183112,cacheWrite:0},releaseDate:"2026-03-27",family:"glm"},"coding-minimax-m2.7":{id:"coding-minimax-m2.7",name:"Coding MiniMax M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:128100,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.2,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"coding-minimax-m2.7-free":{id:"coding-minimax-m2.7-free",name:"Coding MiniMax M2.7 (Free)",contextWindow:204800,maxInputTokens:204800,maxTokens:128100,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax-free"},"coding-minimax-m2.7-highspeed":{id:"coding-minimax-m2.7-highspeed",name:"Coding MiniMax M2.7 Highspeed",contextWindow:204800,maxInputTokens:204800,maxTokens:128100,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.2,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"minimax-m2.7":{id:"minimax-m2.7",name:"MiniMax M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"gpt-5.4-mini":{id:"gpt-5.4-mini",name:"GPT-5.4 mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-mini"},"gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"gemini-3.1-pro-preview-customtools":{id:"gemini-3.1-pro-preview-customtools",name:"Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"claude-sonnet-4-6":{id:"claude-sonnet-4-6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"claude-sonnet-4-6-think":{id:"claude-sonnet-4-6-think",name:"Claude Sonnet 4.6 Thinking",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"doubao-seed-2-0-code-preview":{id:"doubao-seed-2-0-code-preview",name:"Doubao Seed 2.0 Code Preview",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.48,output:2.41,cacheRead:0.09644,cacheWrite:0},releaseDate:"2026-02-14",family:"seed"},"doubao-seed-2-0-pro":{id:"doubao-seed-2-0-pro",name:"Doubao Seed 2.0 Pro",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.48,output:2.41,cacheRead:0.09644,cacheWrite:0},releaseDate:"2026-02-14",family:"seed"},"claude-opus-4-6":{id:"claude-opus-4-6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"claude-opus-4-6-think":{id:"claude-opus-4-6-think",name:"Claude Opus 4.6 Thinking",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"gpt-5.3-codex":{id:"gpt-5.3-codex",name:"GPT-5.3 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt-codex"},"kimi-k2.5":{id:"kimi-k2.5",name:"Kimi K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-01",family:"kimi-k2"},"gemini-3-flash-preview":{id:"gemini-3-flash-preview",name:"Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"gpt-5.2":{id:"gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"gpt-5.2-codex":{id:"gpt-5.2-codex",name:"GPT-5.2 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"gpt-5.1":{id:"gpt-5.1",name:"GPT-5.1",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt"},"gpt-5.1-codex":{id:"gpt-5.1-codex",name:"GPT-5.1 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5.1-codex-mini":{id:"gpt-5.1-codex-mini",name:"GPT-5.1 Codex mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gemini-2.5-flash":{id:"gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-03-20",family:"gemini-flash"},"gemini-2.5-pro":{id:"gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-03-20",family:"gemini-pro"}},anthropic:{"claude-sonnet-5":{id:"claude-sonnet-5",name:"Claude Sonnet 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-30",family:"claude-sonnet"},"claude-fable-5":{id:"claude-fable-5",name:"Claude Fable 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"claude-opus-4-8":{id:"claude-opus-4-8",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"claude-opus-4-7":{id:"claude-opus-4-7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"claude-sonnet-4-6":{id:"claude-sonnet-4-6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"claude-opus-4-6":{id:"claude-opus-4-6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"claude-opus-4-5":{id:"claude-opus-4-5",name:"Claude Opus 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"claude-opus-4-5-20251101":{id:"claude-opus-4-5-20251101",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-01",family:"claude-opus"},"claude-haiku-4-5":{id:"claude-haiku-4-5",name:"Claude Haiku 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"claude-haiku-4-5-20251001":{id:"claude-haiku-4-5-20251001",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"claude-sonnet-4-5":{id:"claude-sonnet-4-5",name:"Claude Sonnet 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"claude-sonnet-4-5-20250929":{id:"claude-sonnet-4-5-20250929",name:"Claude Sonnet 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"claude-opus-4-1":{id:"claude-opus-4-1",name:"Claude Opus 4.1 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"claude-opus-4-1-20250805":{id:"claude-opus-4-1-20250805",name:"Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"claude-opus-4-0":{id:"claude-opus-4-0",name:"Claude Opus 4 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"claude-opus-4-20250514":{id:"claude-opus-4-20250514",name:"Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"claude-sonnet-4-0":{id:"claude-sonnet-4-0",name:"Claude Sonnet 4 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"claude-sonnet-4-20250514":{id:"claude-sonnet-4-20250514",name:"Claude Sonnet 4",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"}},baseten:{"zai-org/GLM-5.2":{id:"zai-org/GLM-5.2",name:"GLM 5.2",contextWindow:202720,maxInputTokens:202720,maxTokens:202720,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.3,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"moonshotai/Kimi-K2.7-Code":{id:"moonshotai/Kimi-K2.7-Code",name:"Kimi K2.7 Code",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B":{id:"nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B",name:"Nemotron Ultra",contextWindow:202800,maxInputTokens:202800,maxTokens:202800,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.12,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"deepseek-ai/DeepSeek-V4-Pro":{id:"deepseek-ai/DeepSeek-V4-Pro",name:"Deepseek V4 Pro",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.74,output:3.48,cacheRead:0.145,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"moonshotai/Kimi-K2.6":{id:"moonshotai/Kimi-K2.6",name:"Kimi K2.6",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"zai-org/GLM-5.1":{id:"zai-org/GLM-5.1",name:"GLM 5.1",contextWindow:202800,maxInputTokens:202800,maxTokens:202800,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.3,output:4.3,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"nvidia/Nemotron-120B-A12B":{id:"nvidia/Nemotron-120B-A12B",name:"Nemotron Super",contextWindow:202800,maxInputTokens:202800,maxTokens:202800,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:0.75,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"zai-org/GLM-5":{id:"zai-org/GLM-5",name:"GLM 5",contextWindow:202800,maxInputTokens:202800,maxTokens:202800,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:3.15,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-12",family:"glm"},"moonshotai/Kimi-K2.5":{id:"moonshotai/Kimi-K2.5",name:"Kimi K2.5",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.12,cacheWrite:0},releaseDate:"2026-01-30",family:"kimi-k2"},"zai-org/GLM-4.7":{id:"zai-org/GLM-4.7",name:"GLM 4.7",contextWindow:200000,maxInputTokens:200000,maxTokens:200000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.12,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"OpenAI GPT 120B",contextWindow:128072,maxInputTokens:128072,maxTokens:128072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"}},bedrock:{"anthropic.claude-sonnet-5":{id:"anthropic.claude-sonnet-5",name:"Claude Sonnet 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-30",family:"claude-sonnet"},"au.anthropic.claude-sonnet-5":{id:"au.anthropic.claude-sonnet-5",name:"Claude Sonnet 5 (AU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-30",family:"claude-sonnet"},"eu.anthropic.claude-sonnet-5":{id:"eu.anthropic.claude-sonnet-5",name:"Claude Sonnet 5 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.2,output:11,cacheRead:0.22,cacheWrite:2.75},releaseDate:"2026-06-30",family:"claude-sonnet"},"global.anthropic.claude-sonnet-5":{id:"global.anthropic.claude-sonnet-5",name:"Claude Sonnet 5 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-30",family:"claude-sonnet"},"jp.anthropic.claude-sonnet-5":{id:"jp.anthropic.claude-sonnet-5",name:"Claude Sonnet 5 (JP)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-30",family:"claude-sonnet"},"us.anthropic.claude-sonnet-5":{id:"us.anthropic.claude-sonnet-5",name:"Claude Sonnet 5 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-30",family:"claude-sonnet"},"anthropic.claude-fable-5":{id:"anthropic.claude-fable-5",name:"Claude Fable 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"eu.anthropic.claude-fable-5":{id:"eu.anthropic.claude-fable-5",name:"Claude Fable 5 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:11,output:55,cacheRead:1.1,cacheWrite:13.75},releaseDate:"2026-06-09",family:"claude-fable"},"global.anthropic.claude-fable-5":{id:"global.anthropic.claude-fable-5",name:"Claude Fable 5 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"us.anthropic.claude-fable-5":{id:"us.anthropic.claude-fable-5",name:"Claude Fable 5 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"anthropic.claude-opus-4-8":{id:"anthropic.claude-opus-4-8",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"au.anthropic.claude-opus-4-8":{id:"au.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (AU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"eu.anthropic.claude-opus-4-8":{id:"eu.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5.5,output:27.5,cacheRead:0.55,cacheWrite:6.875},releaseDate:"2026-05-28",family:"claude-opus"},"global.anthropic.claude-opus-4-8":{id:"global.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"jp.anthropic.claude-opus-4-8":{id:"jp.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (JP)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"us.anthropic.claude-opus-4-8":{id:"us.anthropic.claude-opus-4-8",name:"Claude Opus 4.8 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"openai.gpt-5.5":{id:"openai.gpt-5.5",name:"GPT-5.5",contextWindow:272000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5.5,output:33,cacheRead:0.55,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"xai.grok-4.3":{id:"xai.grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-17",family:"grok"},"anthropic.claude-opus-4-7":{id:"anthropic.claude-opus-4-7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"eu.anthropic.claude-opus-4-7":{id:"eu.anthropic.claude-opus-4-7",name:"Claude Opus 4.7 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5.5,output:27.5,cacheRead:0.55,cacheWrite:6.875},releaseDate:"2026-04-16",family:"claude-opus"},"global.anthropic.claude-opus-4-7":{id:"global.anthropic.claude-opus-4-7",name:"Claude Opus 4.7 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"jp.anthropic.claude-opus-4-7":{id:"jp.anthropic.claude-opus-4-7",name:"Claude Opus 4.7 (JP)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"us.anthropic.claude-opus-4-7":{id:"us.anthropic.claude-opus-4-7",name:"Claude Opus 4.7 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"minimax.minimax-m2.5":{id:"minimax.minimax-m2.5",name:"MiniMax M2.5",contextWindow:196608,maxInputTokens:196608,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"zai.glm-5":{id:"zai.glm-5",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:101376,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"glm"},"nvidia.nemotron-super-3-120b":{id:"nvidia.nemotron-super-3-120b",name:"NVIDIA Nemotron 3 Super 120B A12B",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.65,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"openai.gpt-5.4":{id:"openai.gpt-5.4",name:"GPT-5.4",contextWindow:272000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.75,output:16.5,cacheRead:0.275,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"anthropic.claude-sonnet-4-6":{id:"anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"au.anthropic.claude-sonnet-4-6":{id:"au.anthropic.claude-sonnet-4-6",name:"AU Anthropic Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3.3,output:16.5,cacheRead:0.33,cacheWrite:4.125},releaseDate:"2026-02-17",family:"claude-sonnet"},"eu.anthropic.claude-sonnet-4-6":{id:"eu.anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3.3,output:16.5,cacheRead:0.33,cacheWrite:4.125},releaseDate:"2026-02-17",family:"claude-sonnet"},"global.anthropic.claude-sonnet-4-6":{id:"global.anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"jp.anthropic.claude-sonnet-4-6":{id:"jp.anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6 (JP)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"mistral.devstral-2-123b":{id:"mistral.devstral-2-123b",name:"Devstral 2 123B",contextWindow:256000,maxInputTokens:256000,maxTokens:8192,capabilities:["tools","structured_output","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-17",family:"devstral"},"us.anthropic.claude-sonnet-4-6":{id:"us.anthropic.claude-sonnet-4-6",name:"Claude Sonnet 4.6 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"deepseek.v3.2":{id:"deepseek.v3.2",name:"DeepSeek-V3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:81920,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.62,output:1.85,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-06",family:"deepseek"},"moonshotai.kimi-k2.5":{id:"moonshotai.kimi-k2.5",name:"Kimi K2.5",contextWindow:262143,maxInputTokens:262143,maxTokens:16000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-06",family:"kimi"},"qwen.qwen3-coder-next":{id:"qwen.qwen3-coder-next",name:"Qwen3 Coder Next",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.22,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-06",family:"qwen"},"anthropic.claude-opus-4-6-v1":{id:"anthropic.claude-opus-4-6-v1",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"au.anthropic.claude-opus-4-6-v1":{id:"au.anthropic.claude-opus-4-6-v1",name:"AU Anthropic Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:16.5,output:82.5,cacheRead:1.65,cacheWrite:20.625},releaseDate:"2026-02-05",family:"claude-opus"},"eu.anthropic.claude-opus-4-6-v1":{id:"eu.anthropic.claude-opus-4-6-v1",name:"Claude Opus 4.6 (EU)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5.5,output:27.5,cacheRead:0.55,cacheWrite:6.875},releaseDate:"2026-02-05",family:"claude-opus"},"global.anthropic.claude-opus-4-6-v1":{id:"global.anthropic.claude-opus-4-6-v1",name:"Claude Opus 4.6 (Global)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"us.anthropic.claude-opus-4-6-v1":{id:"us.anthropic.claude-opus-4-6-v1",name:"Claude Opus 4.6 (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"zai.glm-4.7-flash":{id:"zai.glm-4.7-flash",name:"GLM-4.7-Flash",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.07,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"minimax.minimax-m2.1":{id:"minimax.minimax-m2.1",name:"MiniMax M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"nvidia.nemotron-nano-3-30b":{id:"nvidia.nemotron-nano-3-30b",name:"NVIDIA Nemotron Nano 3 30B",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.06,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"nemotron"},"zai.glm-4.7":{id:"zai.glm-4.7",name:"GLM-4.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"mistral.magistral-small-2509":{id:"mistral.magistral-small-2509",name:"Magistral Small 1.2",contextWindow:128000,maxInputTokens:128000,maxTokens:40000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"magistral"},"mistral.ministral-3-3b-instruct":{id:"mistral.ministral-3-3b-instruct",name:"Ministral 3 3B",contextWindow:256000,maxInputTokens:256000,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"ministral"},"mistral.mistral-large-3-675b-instruct":{id:"mistral.mistral-large-3-675b-instruct",name:"Mistral Large 3",contextWindow:256000,maxInputTokens:256000,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"mistral"},"moonshot.kimi-k2-thinking":{id:"moonshot.kimi-k2-thinking",name:"Kimi K2 Thinking",contextWindow:262143,maxInputTokens:262143,maxTokens:16000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"kimi-thinking"},"anthropic.claude-opus-4-5-20251101-v1:0":{id:"anthropic.claude-opus-4-5-20251101-v1:0",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"eu.anthropic.claude-opus-4-5-20251101-v1:0":{id:"eu.anthropic.claude-opus-4-5-20251101-v1:0",name:"Claude Opus 4.5 (EU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5.5,output:27.5,cacheRead:0.55,cacheWrite:6.875},releaseDate:"2025-11-24",family:"claude-opus"},"global.anthropic.claude-opus-4-5-20251101-v1:0":{id:"global.anthropic.claude-opus-4-5-20251101-v1:0",name:"Claude Opus 4.5 (Global)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"us.anthropic.claude-opus-4-5-20251101-v1:0":{id:"us.anthropic.claude-opus-4-5-20251101-v1:0",name:"Claude Opus 4.5 (US)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"openai.gpt-oss-safeguard-120b":{id:"openai.gpt-oss-safeguard-120b",name:"GPT OSS Safeguard 120B",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"openai.gpt-oss-safeguard-20b":{id:"openai.gpt-oss-safeguard-20b",name:"GPT OSS Safeguard 20B",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.07,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"minimax.minimax-m2":{id:"minimax.minimax-m2",name:"MiniMax M2",contextWindow:204608,maxInputTokens:204608,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-27",family:"minimax"},"anthropic.claude-haiku-4-5-20251001-v1:0":{id:"anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"au.anthropic.claude-haiku-4-5-20251001-v1:0":{id:"au.anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5 (AU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"eu.anthropic.claude-haiku-4-5-20251001-v1:0":{id:"eu.anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5 (EU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.1,output:5.5,cacheRead:0.11,cacheWrite:1.375},releaseDate:"2025-10-15",family:"claude-haiku"},"global.anthropic.claude-haiku-4-5-20251001-v1:0":{id:"global.anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5 (Global)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"us.anthropic.claude-haiku-4-5-20251001-v1:0":{id:"us.anthropic.claude-haiku-4-5-20251001-v1:0",name:"Claude Haiku 4.5 (US)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"qwen.qwen3-vl-235b-a22b":{id:"qwen.qwen3-vl-235b-a22b",name:"Qwen/Qwen3-VL-235B-A22B-Instruct",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.3,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-04",family:"qwen"},"anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"au.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"au.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (AU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"eu.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"eu.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (EU)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3.3,output:16.5,cacheRead:0.33,cacheWrite:4.125},releaseDate:"2025-09-29",family:"claude-sonnet"},"global.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"global.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (Global)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"jp.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"jp.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (JP)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"us.anthropic.claude-sonnet-4-5-20250929-v1:0":{id:"us.anthropic.claude-sonnet-4-5-20250929-v1:0",name:"Claude Sonnet 4.5 (US)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"deepseek.v3-v1:0":{id:"deepseek.v3-v1:0",name:"DeepSeek-V3.1",contextWindow:163840,maxInputTokens:163840,maxTokens:81920,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.58,output:1.68,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"deepseek"},"qwen.qwen3-235b-a22b-2507-v1:0":{id:"qwen.qwen3-235b-a22b-2507-v1:0",name:"Qwen3 235B A22B 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","structured_output","temperature"],pricing:{input:0.22,output:0.88,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"qwen.qwen3-32b-v1:0":{id:"qwen.qwen3-32b-v1:0",name:"Qwen3 32B (dense)",contextWindow:16384,maxInputTokens:16384,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"qwen.qwen3-coder-30b-a3b-v1:0":{id:"qwen.qwen3-coder-30b-a3b-v1:0",name:"Qwen3 Coder 30B A3B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"qwen.qwen3-coder-480b-a35b-v1:0":{id:"qwen.qwen3-coder-480b-a35b-v1:0",name:"Qwen3 Coder 480B A35B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","structured_output","temperature"],pricing:{input:0.22,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"qwen.qwen3-next-80b-a3b":{id:"qwen.qwen3-next-80b-a3b",name:"Qwen/Qwen3-Next-80B-A3B-Instruct",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.14,output:1.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-18",family:"qwen"},"anthropic.claude-opus-4-1-20250805-v1:0":{id:"anthropic.claude-opus-4-1-20250805-v1:0",name:"Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"openai.gpt-oss-120b":{id:"openai.gpt-oss-120b",name:"gpt-oss-120b",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai.gpt-oss-120b-1:0":{id:"openai.gpt-oss-120b-1:0",name:"gpt-oss-120b",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai.gpt-oss-20b":{id:"openai.gpt-oss-20b",name:"gpt-oss-20b",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.07,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai.gpt-oss-20b-1:0":{id:"openai.gpt-oss-20b-1:0",name:"gpt-oss-20b",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.07,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"us.anthropic.claude-opus-4-1-20250805-v1:0":{id:"us.anthropic.claude-opus-4-1-20250805-v1:0",name:"Claude Opus 4.1 (US)",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"google.gemma-3-27b-it":{id:"google.gemma-3-27b-it",name:"Google Gemma 3 27B Instruct",contextWindow:202752,maxInputTokens:202752,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.12,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-27",family:"gemma"},"mistral.voxtral-small-24b-2507":{id:"mistral.voxtral-small-24b-2507",name:"Voxtral Small 24B 2507",contextWindow:32000,maxInputTokens:32000,maxTokens:8192,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.35,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-01",family:"mistral"},"writer.palmyra-x4-v1:0":{id:"writer.palmyra-x4-v1:0",name:"Palmyra X4",contextWindow:122880,maxInputTokens:122880,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"palmyra"},"writer.palmyra-x5-v1:0":{id:"writer.palmyra-x5-v1:0",name:"Palmyra X5",contextWindow:1040000,maxInputTokens:1040000,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.6,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"palmyra"},"mistral.pixtral-large-2502-v1:0":{id:"mistral.pixtral-large-2502-v1:0",name:"Pixtral Large (25.02)",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["images","tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-08",family:"mistral"},"meta.llama4-maverick-17b-instruct-v1:0":{id:"meta.llama4-maverick-17b-instruct-v1:0",name:"Llama 4 Maverick 17B Instruct",contextWindow:1e6,maxInputTokens:1e6,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.24,output:0.97,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"meta.llama4-scout-17b-instruct-v1:0":{id:"meta.llama4-scout-17b-instruct-v1:0",name:"Llama 4 Scout 17B Instruct",contextWindow:3500000,maxInputTokens:3500000,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.17,output:0.66,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"us.meta.llama4-maverick-17b-instruct-v1:0":{id:"us.meta.llama4-maverick-17b-instruct-v1:0",name:"Llama 4 Maverick 17B Instruct (US)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.24,output:0.97,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"us.meta.llama4-scout-17b-instruct-v1:0":{id:"us.meta.llama4-scout-17b-instruct-v1:0",name:"Llama 4 Scout 17B Instruct (US)",contextWindow:3500000,maxInputTokens:3500000,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.17,output:0.66,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"deepseek.r1-v1:0":{id:"deepseek.r1-v1:0",name:"DeepSeek-R1",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:1.35,output:5.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"us.deepseek.r1-v1:0":{id:"us.deepseek.r1-v1:0",name:"DeepSeek-R1 (US)",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:1.35,output:5.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"meta.llama3-3-70b-instruct-v1:0":{id:"meta.llama3-3-70b-instruct-v1:0",name:"Llama 3.3 70B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"amazon.nova-lite-v1:0":{id:"amazon.nova-lite-v1:0",name:"Nova Lite",contextWindow:300000,maxInputTokens:300000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.015,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-lite"},"amazon.nova-micro-v1:0":{id:"amazon.nova-micro-v1:0",name:"Nova Micro",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.035,output:0.14,cacheRead:0.00875,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-micro"},"amazon.nova-pro-v1:0":{id:"amazon.nova-pro-v1:0",name:"Nova Pro",contextWindow:300000,maxInputTokens:300000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.8,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-pro"},"amazon.nova-2-lite-v1:0":{id:"amazon.nova-2-lite-v1:0",name:"Nova 2 Lite",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.33,output:2.75,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"nova"},"google.gemma-3-4b-it":{id:"google.gemma-3-4b-it",name:"Gemma 3 4B IT",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:0.04,output:0.08,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"gemma"},"mistral.ministral-3-14b-instruct":{id:"mistral.ministral-3-14b-instruct",name:"Ministral 14B 3.0",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.2,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"ministral"},"mistral.ministral-3-8b-instruct":{id:"mistral.ministral-3-8b-instruct",name:"Ministral 3 8B",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"ministral"},"mistral.voxtral-mini-3b-2507":{id:"mistral.voxtral-mini-3b-2507",name:"Voxtral Mini 3B 2507",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.04,output:0.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"mistral"},"nvidia.nemotron-nano-12b-v2":{id:"nvidia.nemotron-nano-12b-v2",name:"NVIDIA Nemotron Nano 12B v2 VL BF16",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"nemotron"},"nvidia.nemotron-nano-9b-v2":{id:"nvidia.nemotron-nano-9b-v2",name:"NVIDIA Nemotron Nano 9B v2",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.06,output:0.23,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"nemotron"},"meta.llama3-1-70b-instruct-v1:0":{id:"meta.llama3-1-70b-instruct-v1:0",name:"Llama 3.1 70B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"meta.llama3-1-8b-instruct-v1:0":{id:"meta.llama3-1-8b-instruct-v1:0",name:"Llama 3.1 8B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.22,output:0.22,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"}},cerebras:{"gemma-4-31b":{id:"gemma-4-31b",name:"Gemma 4 31B IT",contextWindow:131072,maxInputTokens:131072,maxTokens:40960,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.99,output:1.49,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"zai-glm-4.7":{id:"zai-glm-4.7",name:"Z.AI GLM-4.7",contextWindow:131072,maxInputTokens:131072,maxTokens:40960,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:2.25,output:2.75,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-07"},"gpt-oss-120b":{id:"gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:40960,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.35,output:0.75,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"}},"cline-pass":{"cline-pass/qwen3.7-max":{name:"Qwen3.7 Max",id:"cline-pass/qwen3.7-max",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:3.75,cacheRead:0.25,cacheWrite:1.5625},releaseDate:"2026-05-21",family:"qwen",description:""},"cline-pass/qwen3.7-plus":{name:"Qwen3.7 Plus",id:"cline-pass/qwen3.7-plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.32,output:1.28,cacheRead:0.064,cacheWrite:0.4},releaseDate:"2026-06-02",family:"qwen",description:""},"cline-pass/minimax-m3":{name:"MiniMax-M3",id:"cline-pass/minimax-m3",contextWindow:524288,maxInputTokens:524288,maxTokens:512000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-01",family:"minimax",description:""},"cline-pass/mimo-v2.5-pro":{name:"MiMo-V2.5-Pro",id:"cline-pass/mimo-v2.5-pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo",description:""},"cline-pass/glm-5.2":{name:"GLM-5.2",id:"cline-pass/glm-5.2",contextWindow:1048576,maxInputTokens:1048576,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.93,output:3,cacheRead:0.18,cacheWrite:0},releaseDate:"2026-06-13",family:"glm",description:""},"cline-pass/mimo-v2.5":{name:"MiMo-V2.5",id:"cline-pass/mimo-v2.5",contextWindow:32000,maxInputTokens:32000,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.105,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo",description:""},"cline-pass/kimi-k2.7-code":{name:"Kimi K2.7 Code",id:"cline-pass/kimi-k2.7-code",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.74,output:3.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2",description:""},"cline-pass/deepseek-v4-flash":{name:"DeepSeek V4 Flash",id:"cline-pass/deepseek-v4-flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.09,output:0.18,cacheRead:0.018,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash",description:""},"cline-pass/deepseek-v4-pro":{name:"DeepSeek V4 Pro",id:"cline-pass/deepseek-v4-pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking",description:""},"cline-pass/kimi-k2.6":{name:"Kimi K2.6",id:"cline-pass/kimi-k2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.66,output:3.41,cacheRead:0.14,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2",description:""}},deepseek:{"deepseek-v4-flash":{id:"deepseek-v4-flash",name:"DeepSeek V4 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deepseek-v4-pro":{id:"deepseek-v4-pro",name:"DeepSeek V4 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"deepseek-chat":{id:"deepseek-chat",name:"DeepSeek Chat",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek"},"deepseek-reasoner":{id:"deepseek-reasoner",name:"DeepSeek Reasoner",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek-thinking"}},fireworks:{"accounts/fireworks/routers/glm-5p2-fast":{id:"accounts/fireworks/routers/glm-5p2-fast",name:"GLM 5.2 Fast",contextWindow:1048575,maxInputTokens:1048575,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:2.1,output:6.6,cacheRead:0.21,cacheWrite:0},releaseDate:"2026-06-26",family:"glm"},"accounts/fireworks/models/glm-5p2":{id:"accounts/fireworks/models/glm-5p2",name:"GLM 5.2",contextWindow:1048575,maxInputTokens:1048575,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-06-16",family:"glm"},"accounts/fireworks/models/kimi-k2p7-code":{id:"accounts/fireworks/models/kimi-k2p7-code",name:"Kimi K2.7 Code",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"accounts/fireworks/models/minimax-m3":{id:"accounts/fireworks/models/minimax-m3",name:"MiniMax-M3",contextWindow:512000,maxInputTokens:512000,maxTokens:512000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-12",family:"minimax"},"accounts/fireworks/models/qwen3p7-plus":{id:"accounts/fireworks/models/qwen3p7-plus",name:"Qwen 3.7 Plus",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.08,cacheWrite:0},releaseDate:"2026-06-12",family:"qwen"},"accounts/fireworks/routers/kimi-k2p7-code-fast":{id:"accounts/fireworks/routers/kimi-k2p7-code-fast",name:"Kimi K2.7 Code Fast",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.9,output:8,cacheRead:0.38,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"accounts/fireworks/models/deepseek-v4-flash":{id:"accounts/fireworks/models/deepseek-v4-flash",name:"DeepSeek V4 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.028,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"accounts/fireworks/models/deepseek-v4-pro":{id:"accounts/fireworks/models/deepseek-v4-pro",name:"DeepSeek V4 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.74,output:3.48,cacheRead:0.145,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"accounts/fireworks/models/kimi-k2p6":{id:"accounts/fireworks/models/kimi-k2p6",name:"Kimi K2.6",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-17",family:"kimi-thinking"},"accounts/fireworks/routers/kimi-k2p6-fast":{id:"accounts/fireworks/routers/kimi-k2p6-fast",name:"Kimi K2.6 Fast",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.3,cacheWrite:0},releaseDate:"2026-04-17",family:"kimi-thinking"},"accounts/fireworks/routers/kimi-k2p6-turbo":{id:"accounts/fireworks/routers/kimi-k2p6-turbo",name:"Kimi K2.6 Turbo",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.3,cacheWrite:0},releaseDate:"2026-04-17",family:"kimi-thinking"},"accounts/fireworks/models/minimax-m2p7":{id:"accounts/fireworks/models/minimax-m2p7",name:"MiniMax-M2.7",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-04-12",family:"minimax"},"accounts/fireworks/models/glm-5p1":{id:"accounts/fireworks/models/glm-5p1",name:"GLM 5.1",contextWindow:202800,maxInputTokens:202800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"accounts/fireworks/routers/glm-5p1-fast":{id:"accounts/fireworks/routers/glm-5p1-fast",name:"GLM 5.1 Fast",contextWindow:202800,maxInputTokens:202800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:2.8,output:8.8,cacheRead:0.52,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"accounts/fireworks/models/gpt-oss-120b":{id:"accounts/fireworks/models/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"accounts/fireworks/models/gpt-oss-20b":{id:"accounts/fireworks/models/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.07,output:0.3,cacheRead:0.035,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"}},gemini:{"gemini-3.5-flash":{id:"gemini-3.5-flash",name:"Gemini 3.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-05-19",family:"gemini-flash"},"gemini-3.1-flash-lite":{id:"gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0},releaseDate:"2026-05-07",family:"gemini-flash-lite"},"gemma-4-26b-a4b-it":{id:"gemma-4-26b-a4b-it",name:"Gemma 4 26B A4B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"gemma-4-31b-it":{id:"gemma-4-31b-it",name:"Gemma 4 31B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"gemini-3.1-pro-preview-customtools":{id:"gemini-3.1-pro-preview-customtools",name:"Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"gemini-3-flash-preview":{id:"gemini-3-flash-preview",name:"Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"gemini-flash-latest":{id:"gemini-flash-latest",name:"Gemini Flash Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2025-09-25",family:"gemini-flash"},"gemini-flash-lite-latest":{id:"gemini-flash-lite-latest",name:"Gemini Flash-Lite Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-09-25",family:"gemini-flash-lite"},"gemini-2.5-flash":{id:"gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash"},"gemini-2.5-flash-lite":{id:"gemini-2.5-flash-lite",name:"Gemini 2.5 Flash-Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"gemini-2.5-pro":{id:"gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-pro"}},groq:{"openai/gpt-oss-safeguard-20b":{id:"openai/gpt-oss-safeguard-20b",name:"Safety GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.075,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.0375,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"qwen/qwen3-32b":{id:"qwen/qwen3-32b",name:"Qwen3-32B",contextWindow:131072,maxInputTokens:131072,maxTokens:40960,capabilities:["tools","reasoning","temperature"],pricing:{input:0.29,output:0.59,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-11",family:"qwen"},"meta-llama/llama-4-scout-17b-16e-instruct":{id:"meta-llama/llama-4-scout-17b-16e-instruct",name:"Llama 4 Scout 17B 16E",contextWindow:131072,maxInputTokens:131072,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.11,output:0.34,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"llama-3.3-70b-versatile":{id:"llama-3.3-70b-versatile",name:"Llama 3.3 70B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.59,output:0.79,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"llama-3.1-8b-instant":{id:"llama-3.1-8b-instant",name:"Llama 3.1 8B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0.05,output:0.08,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"}},huggingface:{"zai-org/GLM-5.2":{id:"zai-org/GLM-5.2",name:"GLM-5.2",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1.4,output:4.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"moonshotai/Kimi-K2.7-Code":{id:"moonshotai/Kimi-K2.7-Code",name:"Kimi K2.7 Code",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:0.95,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"MiniMaxAI/MiniMax-M3":{id:"MiniMaxAI/MiniMax-M3",name:"MiniMax-M3",contextWindow:524288,maxInputTokens:524288,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-01",family:"minimax"},"stepfun-ai/Step-3.7-Flash":{id:"stepfun-ai/Step-3.7-Flash",name:"Step 3.7 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:256000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.2,output:1.15,cacheRead:0,cacheWrite:0},releaseDate:"2026-05-29"},"deepseek-ai/DeepSeek-V4-Flash":{id:"deepseek-ai/DeepSeek-V4-Flash",name:"DeepSeek V4 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.14,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deepseek-ai/DeepSeek-V4-Pro":{id:"deepseek-ai/DeepSeek-V4-Pro",name:"DeepSeek V4 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:393216,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"Qwen/Qwen3.6-27B":{id:"Qwen/Qwen3.6-27B",name:"Qwen3.6 27B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.47,output:3.19,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"qwen"},"XiaomiMiMo/MiMo-V2.5-Pro":{id:"XiaomiMiMo/MiMo-V2.5-Pro",name:"MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"moonshotai/Kimi-K2.6":{id:"moonshotai/Kimi-K2.6",name:"Kimi-K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-20",family:"kimi-k2"},"Qwen/Qwen3.6-35B-A3B":{id:"Qwen/Qwen3.6-35B-A3B",name:"Qwen3.6 35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.95,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-17",family:"qwen"},"zai-org/GLM-5.1":{id:"zai-org/GLM-5.1",name:"GLM-5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-03",family:"glm"},"google/gemma-4-26B-A4B-it":{id:"google/gemma-4-26B-A4B-it",name:"Gemma 4 26B A4B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.13,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-31B-it":{id:"google/gemma-4-31B-it",name:"Gemma 4 31B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.14,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"MiniMaxAI/MiniMax-M2.7":{id:"MiniMaxAI/MiniMax-M2.7",name:"MiniMax-M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"Qwen/Qwen3.5-122B-A10B":{id:"Qwen/Qwen3.5-122B-A10B",name:"Qwen3.5 122B-A10B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.4,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"Qwen/Qwen3.5-27B":{id:"Qwen/Qwen3.5-27B",name:"Qwen3.5 27B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.3,output:2.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"Qwen/Qwen3.5-35B-A3B":{id:"Qwen/Qwen3.5-35B-A3B",name:"Qwen3.5 35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"Qwen/Qwen3.5-9B":{id:"Qwen/Qwen3.5-9B",name:"Qwen3.5 9B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.17,output:0.25,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"MiniMaxAI/MiniMax-M2.5":{id:"MiniMaxAI/MiniMax-M2.5",name:"MiniMax-M2.5",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0},releaseDate:"2026-02-12",family:"minimax"},"zai-org/GLM-5":{id:"zai-org/GLM-5",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"Qwen/Qwen3-Coder-Next":{id:"Qwen/Qwen3-Coder-Next",name:"Qwen3-Coder-Next",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","temperature"],pricing:{input:0.2,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-03",family:"qwen"},"Qwen/Qwen3.5-397B-A17B":{id:"Qwen/Qwen3.5-397B-A17B",name:"Qwen3.5-397B-A17B",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.6,output:3.6,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-01",family:"qwen"},"stepfun-ai/Step-3.5-Flash":{id:"stepfun-ai/Step-3.5-Flash",name:"Step 3.5 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:256000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-29"},"moonshotai/Kimi-K2.5":{id:"moonshotai/Kimi-K2.5",name:"Kimi-K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-01-01",family:"kimi-k2"},"MiniMaxAI/MiniMax-M2.1":{id:"MiniMaxAI/MiniMax-M2.1",name:"MiniMax-M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"zai-org/GLM-4.7":{id:"zai-org/GLM-4.7",name:"GLM-4.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"XiaomiMiMo/MiMo-V2-Flash":{id:"XiaomiMiMo/MiMo-V2-Flash",name:"MiMo-V2-Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:4096,capabilities:["tools","reasoning","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-16",family:"mimo"},"deepseek-ai/DeepSeek-V3.2":{id:"deepseek-ai/DeepSeek-V3.2",name:"DeepSeek-V3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0.28,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek"},"moonshotai/Kimi-K2-Thinking":{id:"moonshotai/Kimi-K2-Thinking",name:"Kimi-K2-Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"MiniMaxAI/MiniMax-M2":{id:"MiniMaxAI/MiniMax-M2",name:"MiniMax-M2",contextWindow:204800,maxInputTokens:204800,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-27",family:"minimax"},"zai-org/GLM-4.6":{id:"zai-org/GLM-4.6",name:"GLM-4.6",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.55,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"Qwen/Qwen3-Next-80B-A3B-Instruct":{id:"Qwen/Qwen3-Next-80B-A3B-Instruct",name:"Qwen3-Next-80B-A3B-Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:66536,capabilities:["tools","temperature"],pricing:{input:0.25,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11",family:"qwen"},"Qwen/Qwen3-Next-80B-A3B-Thinking":{id:"Qwen/Qwen3-Next-80B-A3B-Thinking",name:"Qwen3-Next-80B-A3B-Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0.3,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11",family:"qwen"},"moonshotai/Kimi-K2-Instruct-0905":{id:"moonshotai/Kimi-K2-Instruct-0905",name:"Kimi-K2-Instruct-0905",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-04",family:"kimi-k2"},"zai-org/GLM-4.5V":{id:"zai-org/GLM-4.5V",name:"GLM-4.5V",contextWindow:65536,maxInputTokens:65536,maxTokens:16384,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.6,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-11",family:"glm"},"zai-org/GLM-4.7-Flash":{id:"zai-org/GLM-4.7-Flash",name:"GLM-4.7-Flash",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-08",family:"glm"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.25,output:0.69,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"zai-org/GLM-4.5":{id:"zai-org/GLM-4.5",name:"GLM-4.5",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0.6,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-28",family:"glm"},"zai-org/GLM-4.5-Air":{id:"zai-org/GLM-4.5-Air",name:"GLM-4.5-Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0.13,output:0.85,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"},"Qwen/Qwen3-235B-A22B-Thinking-2507":{id:"Qwen/Qwen3-235B-A22B-Thinking-2507",name:"Qwen3-235B-A22B-Thinking-2507",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"Qwen/Qwen3-Coder-480B-A35B-Instruct":{id:"Qwen/Qwen3-Coder-480B-A35B-Instruct",name:"Qwen3-Coder-480B-A35B-Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:66536,capabilities:["tools","temperature"],pricing:{input:2,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"moonshotai/Kimi-K2-Instruct":{id:"moonshotai/Kimi-K2-Instruct",name:"Kimi-K2-Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-14",family:"kimi-k2"},"deepseek-ai/DeepSeek-R1-0528":{id:"deepseek-ai/DeepSeek-R1-0528",name:"DeepSeek-R1-0528",contextWindow:163840,maxInputTokens:163840,maxTokens:163840,capabilities:["tools","reasoning","temperature"],pricing:{input:3,output:5,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-28",family:"deepseek-thinking"},"Qwen/Qwen3-235B-A22B":{id:"Qwen/Qwen3-235B-A22B",name:"Qwen3 235B-A22B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.2,output:0.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"Qwen/Qwen3-32B":{id:"Qwen/Qwen3-32B",name:"Qwen3 32B",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.29,output:0.59,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"Qwen/Qwen3-Coder-30B-A3B-Instruct":{id:"Qwen/Qwen3-Coder-30B-A3B-Instruct",name:"Qwen3-Coder 30B-A3B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","structured_output","temperature"],pricing:{input:0.07,output:0.26,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"deepseek-ai/DeepSeek-R1":{id:"deepseek-ai/DeepSeek-R1",name:"DeepSeek-R1",contextWindow:64000,maxInputTokens:64000,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.7,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"meta-llama/Llama-3.3-70B-Instruct":{id:"meta-llama/Llama-3.3-70B-Instruct",name:"Llama-3.3-70B-Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.59,output:0.79,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"}},kilo:{"x-ai/grok-build-0.1":{id:"x-ai/grok-build-0.1",name:"xAI: Grok Build 0.1",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-05-20"},"google/gemini-3.5-flash":{id:"google/gemini-3.5-flash",name:"Google: Gemini 3.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0.08333},releaseDate:"2026-05-19"},"anthropic/claude-opus-4.7-fast":{id:"anthropic/claude-opus-4.7-fast",name:"Anthropic: Claude Opus 4.7 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:30,output:150,cacheRead:3,cacheWrite:37.5},releaseDate:"2026-05-12"},"inclusionai/ring-2.6-1t":{id:"inclusionai/ring-2.6-1t",name:"inclusionAI: Ring-2.6-1T",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.075,output:0.625,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-05-08"},"google/gemini-3.1-flash-lite":{id:"google/gemini-3.1-flash-lite",name:"Google: Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0.08333},releaseDate:"2026-05-07"},"baidu/cobuddy:free":{id:"baidu/cobuddy:free",name:"Baidu: CoBuddy (free)",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-05-06"},"openai/gpt-chat-latest":{id:"openai/gpt-chat-latest",name:"OpenAI: GPT Chat Latest",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-05-05"},"x-ai/grok-4.3":{id:"x-ai/grok-4.3",name:"xAI: Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:4096,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-05-01"},"ibm-granite/granite-4.1-8b":{id:"ibm-granite/granite-4.1-8b",name:"IBM: Granite 4.1 8B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.05,output:0.1,cacheRead:0.05,cacheWrite:0},releaseDate:"2026-04-30"},"mistralai/mistral-medium-3-5":{id:"mistralai/mistral-medium-3-5",name:"Mistral: Mistral Medium 3.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:1.5,output:7.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-30"},"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free":{id:"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",name:"NVIDIA: Nemotron 3 Nano Omni (free)",contextWindow:256000,maxInputTokens:256000,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28",family:"nemotron"},"openrouter/owl-alpha":{id:"openrouter/owl-alpha",name:"Owl Alpha",contextWindow:1048756,maxInputTokens:1048756,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-m.1:free":{id:"poolside/laguna-m.1:free",name:"Poolside: Laguna M.1 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-xs.2:free":{id:"poolside/laguna-xs.2:free",name:"Poolside: Laguna XS.2 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"~anthropic/claude-haiku-latest":{id:"~anthropic/claude-haiku-latest",name:"Anthropic: Claude Haiku Latest",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2026-04-27"},"~anthropic/claude-sonnet-latest":{id:"~anthropic/claude-sonnet-latest",name:"Anthropic: Claude Sonnet Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-04-27"},"~google/gemini-flash-latest":{id:"~google/gemini-flash-latest",name:"Google: Gemini Flash Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0.08333333333333334},releaseDate:"2026-04-27"},"~google/gemini-pro-latest":{id:"~google/gemini-pro-latest",name:"Google: Gemini Pro Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-04-27"},"~moonshotai/kimi-latest":{id:"~moonshotai/kimi-latest",name:"MoonshotAI: Kimi Latest",contextWindow:262142,maxInputTokens:262142,maxTokens:262142,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.74,output:3.49,cacheRead:0.14,cacheWrite:0},releaseDate:"2026-04-27"},"~openai/gpt-latest":{id:"~openai/gpt-latest",name:"OpenAI: GPT Latest",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-27"},"~openai/gpt-mini-latest":{id:"~openai/gpt-mini-latest",name:"OpenAI: GPT Mini Latest",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-04-27"},"qwen/qwen3.5-plus-20260420":{id:"qwen/qwen3.5-plus-20260420",name:"Qwen: Qwen3.5 Plus 2026-04-20",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.4,output:2.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-27"},"qwen/qwen3.6-27b":{id:"qwen/qwen3.6-27b",name:"Qwen: Qwen3.6 27B",contextWindow:256000,maxInputTokens:256000,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.325,output:3.25,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-27"},"qwen/qwen3.6-flash":{id:"qwen/qwen3.6-flash",name:"Qwen: Qwen3.6 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0,cacheWrite:0.3125},releaseDate:"2026-04-27"},"qwen/qwen3.6-max-preview":{id:"qwen/qwen3.6-max-preview",name:"Qwen: Qwen3.6 Max Preview",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.04,output:6.24,cacheRead:0,cacheWrite:1.3},releaseDate:"2026-04-27"},"deepseek/deepseek-v4-flash":{id:"deepseek/deepseek-v4-flash",name:"DeepSeek: DeepSeek V4 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-24"},"deepseek/deepseek-v4-pro":{id:"deepseek/deepseek-v4-pro",name:"DeepSeek: DeepSeek V4 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24"},"openai/gpt-5.5":{id:"openai/gpt-5.5",name:"OpenAI: GPT-5.5",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-24"},"openai/gpt-5.5-pro":{id:"openai/gpt-5.5-pro",name:"OpenAI: GPT-5.5 Pro",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24"},"inclusionai/ling-2.6-1t":{id:"inclusionai/ling-2.6-1t",name:"inclusionAI: Ling-2.6-1T",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-04-23"},"tencent/hy3-preview":{id:"tencent/hy3-preview",name:"Tencent: Hy3 Preview",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.066,output:0.26,cacheRead:0.029,cacheWrite:0},releaseDate:"2026-04-22"},"xiaomi/mimo-v2.5":{id:"xiaomi/mimo-v2.5",name:"Xiaomi: MiMo-V2.5",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.08,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"xiaomi/mimo-v2.5-pro":{id:"xiaomi/mimo-v2.5-pro",name:"Xiaomi: MiMo V2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"inclusionai/ling-2.6-flash":{id:"inclusionai/ling-2.6-flash",name:"inclusionAI: Ling-2.6 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.08,output:0.24,cacheRead:0.016,cacheWrite:0},releaseDate:"2026-04-21"},"moonshotai/kimi-k2.6":{id:"moonshotai/kimi-k2.6",name:"MoonshotAI: Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:65535,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.75,output:3.5,cacheRead:0.375,cacheWrite:0},releaseDate:"2026-04-20"},"~anthropic/claude-opus-latest":{id:"~anthropic/claude-opus-latest",name:"Anthropic: Claude Opus Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16"},"anthropic/claude-opus-4.7":{id:"anthropic/claude-opus-4.7",name:"Anthropic: Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16"},"stealth/claude-opus-4.7":{id:"stealth/claude-opus-4.7",name:"Stealth: Claude Opus 4.7 (20% off)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:4,output:20,cacheRead:0.4,cacheWrite:5},releaseDate:"2026-04-16"},"anthropic/claude-opus-4.6-fast":{id:"anthropic/claude-opus-4.6-fast",name:"Anthropic: Claude Opus 4.6 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:30,output:150,cacheRead:3,cacheWrite:37.5},releaseDate:"2026-04-07"},"google/gemma-4-26b-a4b-it":{id:"google/gemma-4-26b-a4b-it",name:"Google: Gemma 4 26B A4B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.12,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-03"},"google/gemma-4-31b-it":{id:"google/gemma-4-31b-it",name:"Google: Gemma 4 31B",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.14,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02"},"arcee-ai/trinity-large-thinking":{id:"arcee-ai/trinity-large-thinking",name:"Arcee AI: Trinity Large Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature"],pricing:{input:0.22,output:0.85,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-01"},"z-ai/glm-5v-turbo":{id:"z-ai/glm-5v-turbo",name:"Z.ai: GLM 5V Turbo",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-04-01"},"x-ai/grok-4.20":{id:"x-ai/grok-4.20",name:"xAI: Grok 4.20",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:6,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-31"},"kwaipilot/kat-coder-pro-v2":{id:"kwaipilot/kat-coder-pro-v2",name:"Kwaipilot: KAT-Coder-Pro V2",contextWindow:256000,maxInputTokens:256000,maxTokens:80000,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-27"},"z-ai/glm-5.1":{id:"z-ai/glm-5.1",name:"Z.ai: GLM 5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:1.26,output:3.96,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-27"},"rekaai/reka-edge":{id:"rekaai/reka-edge",name:"Reka Edge",contextWindow:16384,maxInputTokens:16384,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-20"},"minimax/minimax-m2.7":{id:"minimax/minimax-m2.7",name:"MiniMax: MiniMax M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax-m2.7"},"xiaomi/mimo-v2-omni":{id:"xiaomi/mimo-v2-omni",name:"Xiaomi: MiMo-V2-Omni",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.08,cacheWrite:0},releaseDate:"2026-03-18",family:"mimo"},"xiaomi/mimo-v2-pro":{id:"xiaomi/mimo-v2-pro",name:"Xiaomi: MiMo-V2-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-18",family:"mimo"},"openai/gpt-5.4-mini":{id:"openai/gpt-5.4-mini",name:"OpenAI: GPT-5.4 Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17"},"openai/gpt-5.4-nano":{id:"openai/gpt-5.4-nano",name:"OpenAI: GPT-5.4 Nano",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-03-17"},"mistralai/mistral-small-2603":{id:"mistralai/mistral-small-2603",name:"Mistral: Mistral Small 4",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-03-16"},"kilo-auto/balanced":{id:"kilo-auto/balanced",name:"Kilo Auto Balanced",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.6,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"kilo-auto/free":{id:"kilo-auto/free",name:"Kilo Auto Free",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"kilo-auto/frontier":{id:"kilo-auto/frontier",name:"Kilo Auto Frontier",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:5,output:25,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"kilo-auto/small":{id:"kilo-auto/small",name:"Kilo Auto Small",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.05,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"openrouter/auto":{id:"openrouter/auto",name:"Auto Router",contextWindow:2000000,maxInputTokens:2000000,maxTokens:32768,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-15"},"z-ai/glm-5-turbo":{id:"z-ai/glm-5-turbo",name:"Z.ai: GLM 5 Turbo",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-03-15"},"nvidia/nemotron-3-super-120b-a12b:free":{id:"nvidia/nemotron-3-super-120b-a12b:free",name:"NVIDIA: Nemotron 3 Super (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-12",family:"nemotron"},"nvidia/nemotron-3-super-120b-a12b":{id:"nvidia/nemotron-3-super-120b-a12b",name:"NVIDIA: Nemotron 3 Super",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.5,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"bytedance-seed/seed-2.0-lite":{id:"bytedance-seed/seed-2.0-lite",name:"ByteDance Seed: Seed-2.0-Lite",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-10"},"qwen/qwen3.5-9b":{id:"qwen/qwen3.5-9b",name:"Qwen: Qwen3.5-9B",contextWindow:256000,maxInputTokens:256000,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.05,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-10"},"openai/gpt-5.4":{id:"openai/gpt-5.4",name:"OpenAI: GPT-5.4",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:2.5,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-06"},"openai/gpt-5.4-pro":{id:"openai/gpt-5.4-pro",name:"OpenAI: GPT-5.4 Pro",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-06"},"openai/gpt-5.3-chat":{id:"openai/gpt-5.3-chat",name:"OpenAI: GPT-5.3 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools"],pricing:{input:1.75,output:14,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-04"},"google/gemini-3.1-flash-lite-preview":{id:"google/gemini-3.1-flash-lite-preview",name:"Google: Gemini 3.1 Flash Lite Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.25,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-03"},"bytedance-seed/seed-2.0-mini":{id:"bytedance-seed/seed-2.0-mini",name:"ByteDance Seed: Seed-2.0-Mini",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.1,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-27"},"google/gemini-3.1-pro-preview-customtools":{id:"google/gemini-3.1-pro-preview-customtools",name:"Google: Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:2,output:12,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"qwen/qwen3.5-122b-a10b":{id:"qwen/qwen3.5-122b-a10b",name:"Qwen: Qwen3.5-122B-A10B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.26,output:2.08,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"qwen/qwen3.5-27b":{id:"qwen/qwen3.5-27b",name:"Qwen: Qwen3.5-27B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.195,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"qwen/qwen3.5-35b-a3b":{id:"qwen/qwen3.5-35b-a3b",name:"Qwen: Qwen3.5-35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.1625,output:1.3,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"qwen/qwen3.5-flash-02-23":{id:"qwen/qwen3.5-flash-02-23",name:"Qwen: Qwen3.5-Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.1,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26"},"openai/gpt-5.3-codex":{id:"openai/gpt-5.3-codex",name:"OpenAI: GPT-5.3-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning"],pricing:{input:1.75,output:14,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-25"},"inception/mercury-2":{id:"inception/mercury-2",name:"Inception: Mercury 2",contextWindow:128000,maxInputTokens:128000,maxTokens:50000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:0.75,cacheRead:0.025,cacheWrite:0},releaseDate:"2026-02-24"},"google/gemini-3.1-pro-preview":{id:"google/gemini-3.1-pro-preview",name:"Google: Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:2,output:12,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-19"},"anthropic/claude-sonnet-4.6":{id:"anthropic/claude-sonnet-4.6",name:"Anthropic: Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:3,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-17"},"stealth/claude-sonnet-4.6":{id:"stealth/claude-sonnet-4.6",name:"Stealth: Claude Sonnet 4.6 (20% off)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2.4,output:12,cacheRead:0.24,cacheWrite:3},releaseDate:"2026-02-17"},"qwen/qwen3.5-397b-a17b":{id:"qwen/qwen3.5-397b-a17b",name:"Qwen: Qwen3.5 397B A17B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.39,output:2.34,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-15"},"qwen/qwen3.5-plus-02-15":{id:"qwen/qwen3.5-plus-02-15",name:"Qwen: Qwen3.5 Plus 2026-02-15",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.26,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-15"},"minimax/minimax-m2.5":{id:"minimax/minimax-m2.5",name:"MiniMax: MiniMax M2.5",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:1.2,cacheRead:0.029,cacheWrite:0},releaseDate:"2026-02-12"},"z-ai/glm-5":{id:"z-ai/glm-5",name:"Z.ai: GLM 5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.72,output:2.3,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-12"},"anthropic/claude-opus-4.6":{id:"anthropic/claude-opus-4.6",name:"Anthropic: Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05"},"stealth/claude-opus-4.6":{id:"stealth/claude-opus-4.6",name:"Stealth: Claude Opus 4.6 (20% off)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:4,output:20,cacheRead:0.4,cacheWrite:5},releaseDate:"2026-02-05"},"qwen/qwen3-coder-next":{id:"qwen/qwen3-coder-next",name:"Qwen: Qwen3 Coder Next",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.12,output:0.75,cacheRead:0.035,cacheWrite:0},releaseDate:"2026-02-02"},"openrouter/free":{id:"openrouter/free",name:"Free Models Router",contextWindow:200000,maxInputTokens:200000,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-01"},"stepfun/step-3.5-flash":{id:"stepfun/step-3.5-flash",name:"StepFun: Step 3.5 Flash",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-01-29"},"moonshotai/kimi-k2.5":{id:"moonshotai/kimi-k2.5",name:"MoonshotAI: Kimi K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:65535,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.45,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27"},"upstage/solar-pro-3":{id:"upstage/solar-pro-3",name:"Upstage: Solar Pro 3",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27"},"qwen/qwen3-max-thinking":{id:"qwen/qwen3-max-thinking",name:"Qwen: Qwen3 Max Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.78,output:3.9,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-23"},"z-ai/glm-4.7-flash":{id:"z-ai/glm-4.7-flash",name:"Z.ai: GLM 4.7 Flash",contextWindow:202752,maxInputTokens:202752,maxTokens:40551,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.06,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2026-01-19"},"openai/gpt-5.2-codex":{id:"openai/gpt-5.2-codex",name:"OpenAI: GPT-5.2-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-01-14"},"mistralai/mistral-small-24b-instruct-2501":{id:"mistralai/mistral-small-24b-instruct-2501",name:"Mistral: Mistral Small 3",contextWindow:32768,maxInputTokens:32768,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.05,output:0.08,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-29"},"bytedance-seed/seed-1.6-flash":{id:"bytedance-seed/seed-1.6-flash",name:"ByteDance Seed: Seed 1.6 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.075,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23"},"minimax/minimax-m2.1":{id:"minimax/minimax-m2.1",name:"MiniMax: MiniMax M2.1",contextWindow:196608,maxInputTokens:196608,maxTokens:39322,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.27,output:0.95,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-12-23"},"z-ai/glm-4.7":{id:"z-ai/glm-4.7",name:"Z.ai: GLM 4.7",contextWindow:202752,maxInputTokens:202752,maxTokens:65535,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.38,output:1.98,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-12-22"},"google/gemini-3-flash-preview":{id:"google/gemini-3-flash-preview",name:"Google: Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0.083333},releaseDate:"2025-12-17"},"mistralai/ministral-14b-2512":{id:"mistralai/ministral-14b-2512",name:"Mistral: Ministral 3 14B 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["images","tools","temperature"],pricing:{input:0.2,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-16"},"xiaomi/mimo-v2-flash":{id:"xiaomi/mimo-v2-flash",name:"Xiaomi: MiMo-V2-Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.09,output:0.29,cacheRead:0.045,cacheWrite:0},releaseDate:"2025-12-16",family:"mimo"},"openai/gpt-5.2":{id:"openai/gpt-5.2",name:"OpenAI: GPT-5.2",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11"},"openai/gpt-5.2-chat":{id:"openai/gpt-5.2-chat",name:"OpenAI: GPT-5.2 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11"},"openai/gpt-5.2-pro":{id:"openai/gpt-5.2-pro",name:"OpenAI: GPT-5.2 Pro",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11"},"relace/relace-search":{id:"relace/relace-search",name:"Relace: Relace Search",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09"},"essentialai/rnj-1-instruct":{id:"essentialai/rnj-1-instruct",name:"EssentialAI: Rnj 1 Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:6554,capabilities:["tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-05"},"mistralai/ministral-3b-2512":{id:"mistralai/ministral-3b-2512",name:"Mistral: Ministral 3 3B 2512",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02"},"mistralai/ministral-8b-2512":{id:"mistralai/ministral-8b-2512",name:"Mistral: Ministral 3 8B 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02"},"arcee-ai/trinity-mini":{id:"arcee-ai/trinity-mini",name:"Arcee AI: Trinity Mini",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.045,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12"},"deepseek/deepseek-v3.2":{id:"deepseek/deepseek-v3.2",name:"DeepSeek: DeepSeek V3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.26,output:0.38,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-12-01"},"prime-intellect/intellect-3":{id:"prime-intellect/intellect-3",name:"Prime Intellect: INTELLECT-3",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.2,output:1.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-11-26"},"anthropic/claude-opus-4.5":{id:"anthropic/claude-opus-4.5",name:"Anthropic: Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24"},"openai/gpt-5.1":{id:"openai/gpt-5.1",name:"OpenAI: GPT-5.1",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13"},"openai/gpt-5.1-chat":{id:"openai/gpt-5.1-chat",name:"OpenAI: GPT-5.1 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13"},"openai/gpt-5.1-codex":{id:"openai/gpt-5.1-codex",name:"OpenAI: GPT-5.1-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13"},"openai/gpt-5.1-codex-max":{id:"openai/gpt-5.1-codex-max",name:"OpenAI: GPT-5.1-Codex-Max",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13"},"openai/gpt-5.1-codex-mini":{id:"openai/gpt-5.1-codex-mini",name:"OpenAI: GPT-5.1-Codex-Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:1e5,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13"},"moonshotai/kimi-k2-thinking":{id:"moonshotai/kimi-k2-thinking",name:"MoonshotAI: Kimi K2 Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:65535,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.47,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-11-06"},"amazon/nova-premier-v1":{id:"amazon/nova-premier-v1",name:"Amazon: Nova Premier 1.0",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32000,capabilities:["images","tools","temperature"],pricing:{input:2.5,output:12.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-11-01"},"openai/gpt-oss-safeguard-20b":{id:"openai/gpt-oss-safeguard-20b",name:"OpenAI: gpt-oss-safeguard-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.037,cacheWrite:0},releaseDate:"2025-10-29"},"minimax/minimax-m2":{id:"minimax/minimax-m2",name:"MiniMax: MiniMax M2",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.255,output:1,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-10-23"},"qwen/qwen3-vl-32b-instruct":{id:"qwen/qwen3-vl-32b-instruct",name:"Qwen: Qwen3 VL 32B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.104,output:0.416,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-21"},"openai/gpt-5-image-mini":{id:"openai/gpt-5-image-mini",name:"OpenAI: GPT-5 Image Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:2.5,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-16"},"anthropic/claude-haiku-4.5":{id:"anthropic/claude-haiku-4.5",name:"Anthropic: Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15"},"qwen/qwen3-vl-8b-instruct":{id:"qwen/qwen3-vl-8b-instruct",name:"Qwen: Qwen3 VL 8B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.08,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-15"},"qwen/qwen3-vl-8b-thinking":{id:"qwen/qwen3-vl-8b-thinking",name:"Qwen: Qwen3 VL 8B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.117,output:1.365,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-15"},"openai/gpt-5-image":{id:"openai/gpt-5-image",name:"OpenAI: GPT-5 Image",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:10,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-14"},"qwen/qwen3-vl-30b-a3b-thinking":{id:"qwen/qwen3-vl-30b-a3b-thinking",name:"Qwen: Qwen3 VL 30B A3B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.13,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-11"},"openai/gpt-5-pro":{id:"openai/gpt-5-pro",name:"OpenAI: GPT-5 Pro",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06"},"qwen/qwen3-vl-30b-a3b-instruct":{id:"qwen/qwen3-vl-30b-a3b-instruct",name:"Qwen: Qwen3 VL 30B A3B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:0.13,output:0.52,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-05"},"z-ai/glm-4.6":{id:"z-ai/glm-4.6",name:"Z.ai: GLM 4.6",contextWindow:204800,maxInputTokens:204800,maxTokens:204800,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.39,output:1.9,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-09-30"},"z-ai/glm-4.6v":{id:"z-ai/glm-4.6v",name:"Z.ai: GLM 4.6V",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-30"},"anthropic/claude-sonnet-4.5":{id:"anthropic/claude-sonnet-4.5",name:"Anthropic: Claude Sonnet 4.5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29"},"google/gemini-2.5-flash-lite-preview-09-2025":{id:"google/gemini-2.5-flash-lite-preview-09-2025",name:"Google: Gemini 2.5 Flash Lite Preview 09-2025",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0.083333},releaseDate:"2025-09-25"},"qwen/qwen3-vl-235b-a22b-thinking":{id:"qwen/qwen3-vl-235b-a22b-thinking",name:"Qwen: Qwen3 VL 235B A22B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.26,output:2.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-24"},"qwen/qwen3-vl-235b-a22b-instruct":{id:"qwen/qwen3-vl-235b-a22b-instruct",name:"Qwen: Qwen3 VL 235B A22B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.2,output:0.88,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-09-23"},"deepseek/deepseek-v3.1-terminus":{id:"deepseek/deepseek-v3.1-terminus",name:"DeepSeek: DeepSeek V3.1 Terminus",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.21,output:0.79,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-09-22"},"openai/gpt-5-codex":{id:"openai/gpt-5-codex",name:"OpenAI: GPT-5 Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15"},"mistralai/devstral-2512":{id:"mistralai/devstral-2512",name:"Mistral: Devstral 2 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-09-12"},"qwen/qwen3-next-80b-a3b-instruct":{id:"qwen/qwen3-next-80b-a3b-instruct",name:"Qwen: Qwen3 Next 80B A3B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:52429,capabilities:["tools","temperature"],pricing:{input:0.09,output:1.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11"},"qwen/qwen3-next-80b-a3b-thinking":{id:"qwen/qwen3-next-80b-a3b-thinking",name:"Qwen: Qwen3 Next 80B A3B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.0975,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11"},"qwen/qwen-plus-2025-07-28":{id:"qwen/qwen-plus-2025-07-28",name:"Qwen: Qwen Plus 0728",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.26,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-09"},"qwen/qwen-plus-2025-07-28:thinking":{id:"qwen/qwen-plus-2025-07-28:thinking",name:"Qwen: Qwen Plus 0728 (thinking)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.26,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-09"},"moonshotai/kimi-k2-0905":{id:"moonshotai/kimi-k2-0905",name:"MoonshotAI: Kimi K2 0905",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-09-05"},"qwen/qwen3-max":{id:"qwen/qwen3-max",name:"Qwen: Qwen3 Max",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:1.2,output:6,cacheRead:0.24,cacheWrite:0},releaseDate:"2025-09-05"},"bytedance-seed/seed-1.6":{id:"bytedance-seed/seed-1.6",name:"ByteDance Seed: Seed 1.6",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09"},"qwen/qwen3.6-plus":{id:"qwen/qwen3.6-plus",name:"Qwen: Qwen3.6 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.325,output:1.95,cacheRead:0.0325,cacheWrite:0.40625},releaseDate:"2025-08-26"},"qwen/qwen3.7-max":{id:"qwen/qwen3.7-max",name:"Qwen: Qwen3.7 Max",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.625,output:4.875,cacheRead:0.1625,cacheWrite:2.03125},releaseDate:"2025-08-26"},"deepseek/deepseek-chat-v3.1":{id:"deepseek/deepseek-chat-v3.1",name:"DeepSeek: DeepSeek V3.1",contextWindow:32768,maxInputTokens:32768,maxTokens:7168,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:0.75,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-21"},"nvidia/nemotron-nano-9b-v2":{id:"nvidia/nemotron-nano-9b-v2",name:"NVIDIA: Nemotron Nano 9B V2",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","reasoning","temperature"],pricing:{input:0.04,output:0.16,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-18",family:"nemotron"},"openai/gpt-4o-audio-preview":{id:"openai/gpt-4o-audio-preview",name:"OpenAI: GPT-4o Audio",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-15"},"mistralai/mistral-medium-3.1":{id:"mistralai/mistral-medium-3.1",name:"Mistral: Mistral Medium 3.1",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["images","tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-12"},"z-ai/glm-4.5v":{id:"z-ai/glm-4.5v",name:"Z.ai: GLM 4.5V",contextWindow:65536,maxInputTokens:65536,maxTokens:16384,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:1.8,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-08-11"},"ai21/jamba-large-1.7":{id:"ai21/jamba-large-1.7",name:"AI21: Jamba Large 1.7",contextWindow:256000,maxInputTokens:256000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:2,output:8,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-09"},"openai/gpt-5":{id:"openai/gpt-5",name:"OpenAI: GPT-5",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07"},"openai/gpt-5-mini":{id:"openai/gpt-5-mini",name:"OpenAI: GPT-5 Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07"},"openai/gpt-5-nano":{id:"openai/gpt-5-nano",name:"OpenAI: GPT-5 Nano",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.005,cacheWrite:0},releaseDate:"2025-08-07"},"anthropic/claude-opus-4.1":{id:"anthropic/claude-opus-4.1",name:"Anthropic: Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"OpenAI: gpt-oss-120b",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","reasoning","temperature"],pricing:{input:0.039,output:0.19,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"OpenAI: gpt-oss-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","reasoning","temperature"],pricing:{input:0.03,output:0.14,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05"},"mistralai/codestral-2508":{id:"mistralai/codestral-2508",name:"Mistral: Codestral 2508",contextWindow:256000,maxInputTokens:256000,maxTokens:51200,capabilities:["tools","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-01"},"qwen/qwen3-coder-30b-a3b-instruct":{id:"qwen/qwen3-coder-30b-a3b-instruct",name:"Qwen: Qwen3 Coder 30B A3B Instruct",contextWindow:160000,maxInputTokens:160000,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.07,output:0.27,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-31"},"qwen/qwen3-30b-a3b-instruct-2507":{id:"qwen/qwen3-30b-a3b-instruct-2507",name:"Qwen: Qwen3 30B A3B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.09,output:0.3,cacheRead:0.04,cacheWrite:0},releaseDate:"2025-07-29"},"qwen/qwen3-30b-a3b-thinking-2507":{id:"qwen/qwen3-30b-a3b-thinking-2507",name:"Qwen: Qwen3 30B A3B Thinking 2507",contextWindow:32768,maxInputTokens:32768,maxTokens:6554,capabilities:["tools","reasoning","temperature"],pricing:{input:0.051,output:0.34,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-29"},"z-ai/glm-4.5":{id:"z-ai/glm-4.5",name:"Z.ai: GLM 4.5",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-07-28"},"z-ai/glm-4.5-air":{id:"z-ai/glm-4.5-air",name:"Z.ai: GLM 4.5 Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.13,output:0.85,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-07-28"},"qwen/qwen3-235b-a22b-thinking-2507":{id:"qwen/qwen3-235b-a22b-thinking-2507",name:"Qwen: Qwen3 235B A22B Thinking 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature"],pricing:{input:0.11,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25"},"z-ai/glm-4-32b":{id:"z-ai/glm-4-32b",name:"Z.ai: GLM 4 32B ",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25"},"qwen/qwen3-coder":{id:"qwen/qwen3-coder",name:"Qwen: Qwen3 Coder 480B A35B",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.22,output:1,cacheRead:0.022,cacheWrite:0},releaseDate:"2025-07-23"},"qwen/qwen3-coder-flash":{id:"qwen/qwen3-coder-flash",name:"Qwen: Qwen3 Coder Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.195,output:0.975,cacheRead:0.06,cacheWrite:0},releaseDate:"2025-07-23"},"google/gemini-2.5-flash":{id:"google/gemini-2.5-flash",name:"Google: Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0.083333},releaseDate:"2025-07-17"},"moonshotai/kimi-k2":{id:"moonshotai/kimi-k2",name:"MoonshotAI: Kimi K2 0711",contextWindow:131000,maxInputTokens:131000,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:0.55,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-11"},"mistralai/devstral-medium":{id:"mistralai/devstral-medium",name:"Mistral: Devstral Medium",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-10"},"mistralai/voxtral-small-24b-2507":{id:"mistralai/voxtral-small-24b-2507",name:"Mistral: Voxtral Small 24B 2507",contextWindow:32000,maxInputTokens:32000,maxTokens:6400,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-01"},"qwen/qwen3-coder-plus":{id:"qwen/qwen3-coder-plus",name:"Qwen: Qwen3 Coder Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.65,output:3.25,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-07-01"},"baidu/ernie-4.5-21b-a3b":{id:"baidu/ernie-4.5-21b-a3b",name:"Baidu: ERNIE 4.5 21B A3B",contextWindow:120000,maxInputTokens:120000,maxTokens:8000,capabilities:["tools","temperature"],pricing:{input:0.07,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-30"},"baidu/ernie-4.5-vl-28b-a3b":{id:"baidu/ernie-4.5-vl-28b-a3b",name:"Baidu: ERNIE 4.5 VL 28B A3B",contextWindow:30000,maxInputTokens:30000,maxTokens:8000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.14,output:0.56,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-30"},"mistralai/mistral-small-3.2-24b-instruct":{id:"mistralai/mistral-small-3.2-24b-instruct",name:"Mistral: Mistral Small 3.2 24B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.06,output:0.18,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-06-20"},"google/gemini-2.5-flash-lite":{id:"google/gemini-2.5-flash-lite",name:"Google: Gemini 2.5 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0.083333},releaseDate:"2025-06-17"},"minimax/minimax-m1":{id:"minimax/minimax-m1",name:"MiniMax: MiniMax M1",contextWindow:1e6,maxInputTokens:1e6,maxTokens:40000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.4,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-17"},"google/gemini-2.5-pro-preview":{id:"google/gemini-2.5-pro-preview",name:"Google: Gemini 2.5 Pro Preview 06-05",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-06-05"},"deepseek/deepseek-r1-0528":{id:"deepseek/deepseek-r1-0528",name:"DeepSeek: R1 0528",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.45,output:2.15,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-05-28"},"anthropic/claude-opus-4":{id:"anthropic/claude-opus-4",name:"Anthropic: Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22"},"anthropic/claude-sonnet-4":{id:"anthropic/claude-sonnet-4",name:"Anthropic: Claude Sonnet 4",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22"},"mistralai/devstral-small":{id:"mistralai/devstral-small",name:"Mistral: Devstral Small 1.1",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-07"},"mistralai/mistral-medium-3":{id:"mistralai/mistral-medium-3",name:"Mistral: Mistral Medium 3",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["images","tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-07"},"arcee-ai/virtuoso-large":{id:"arcee-ai/virtuoso-large",name:"Arcee AI: Virtuoso Large",contextWindow:131072,maxInputTokens:131072,maxTokens:64000,capabilities:["tools","temperature"],pricing:{input:0.75,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-06"},"google/gemini-2.5-pro-preview-05-06":{id:"google/gemini-2.5-pro-preview-05-06",name:"Google: Gemini 2.5 Pro Preview 05-06",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-05-06"},"openai/o4-mini-high":{id:"openai/o4-mini-high",name:"OpenAI: o4 Mini High",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning"],pricing:{input:1.1,output:4.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-17"},"openai/o3":{id:"openai/o3",name:"OpenAI: o3",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-16"},"openai/o3-pro":{id:"openai/o3-pro",name:"OpenAI: o3 Pro",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning"],pricing:{input:20,output:80,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-16"},"openai/o4-mini":{id:"openai/o4-mini",name:"OpenAI: o4 Mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16"},"openai/gpt-4.1":{id:"openai/gpt-4.1",name:"OpenAI: GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14"},"openai/gpt-4.1-mini":{id:"openai/gpt-4.1-mini",name:"OpenAI: GPT-4.1 Mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14"},"openai/gpt-4.1-nano":{id:"openai/gpt-4.1-nano",name:"OpenAI: GPT-4.1 Nano",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04-14"},"meta-llama/llama-4-maverick":{id:"meta-llama/llama-4-maverick",name:"Meta: Llama 4 Maverick",contextWindow:1048576,maxInputTokens:1048576,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05"},"meta-llama/llama-4-scout":{id:"meta-llama/llama-4-scout",name:"Meta: Llama 4 Scout",contextWindow:327680,maxInputTokens:327680,maxTokens:16384,capabilities:["images","tools","temperature"],pricing:{input:0.08,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05"},"qwen/qwen3-14b":{id:"qwen/qwen3-14b",name:"Qwen: Qwen3 14B",contextWindow:40960,maxInputTokens:40960,maxTokens:40960,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04"},"qwen/qwen3-235b-a22b-2507":{id:"qwen/qwen3-235b-a22b-2507",name:"Qwen: Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["tools","temperature"],pricing:{input:0.071,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-04"},"qwen/qwen3-30b-a3b":{id:"qwen/qwen3-30b-a3b",name:"Qwen: Qwen3 30B A3B",contextWindow:40960,maxInputTokens:40960,maxTokens:40960,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.08,output:0.28,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-04"},"qwen/qwen3-8b":{id:"qwen/qwen3-8b",name:"Qwen: Qwen3 8B",contextWindow:40960,maxInputTokens:40960,maxTokens:8192,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-04"},"deepseek/deepseek-chat-v3-0324":{id:"deepseek/deepseek-chat-v3-0324",name:"DeepSeek: DeepSeek V3 0324",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.2,output:0.77,cacheRead:0.095,cacheWrite:0},releaseDate:"2025-03-24"},"google/gemini-2.5-pro":{id:"google/gemini-2.5-pro",name:"Google: Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-03-20"},"nvidia/llama-3.3-nemotron-super-49b-v1.5":{id:"nvidia/llama-3.3-nemotron-super-49b-v1.5",name:"NVIDIA: Llama 3.3 Nemotron Super 49B V1.5",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","reasoning","temperature"],pricing:{input:0.1,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-16",family:"nemotron"},"google/gemma-3-27b-it":{id:"google/gemma-3-27b-it",name:"Google: Gemma 3 27B",contextWindow:128000,maxInputTokens:128000,maxTokens:65536,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.03,output:0.11,cacheRead:0.02,cacheWrite:0},releaseDate:"2025-03-12"},"mistralai/mistral-saba":{id:"mistralai/mistral-saba",name:"Mistral: Saba",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-02-17"},"openai/o3-mini-high":{id:"openai/o3-mini-high",name:"OpenAI: o3 Mini High",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["files","tools","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2025-01-31"},"deepseek/deepseek-r1":{id:"deepseek/deepseek-r1",name:"DeepSeek: R1",contextWindow:64000,maxInputTokens:64000,maxTokens:16000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.7,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20"},"deepseek/deepseek-v3.2-exp":{id:"deepseek/deepseek-v3.2-exp",name:"DeepSeek: DeepSeek V3.2 Exp",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0.27,output:0.41,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-01"},"nex-agi/deepseek-v3.1-nex-n1":{id:"nex-agi/deepseek-v3.1-nex-n1",name:"Nex AGI: DeepSeek V3.1 Nex N1",contextWindow:131072,maxInputTokens:131072,maxTokens:163840,capabilities:["tools","temperature"],pricing:{input:0.27,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-01"},"openai/o3-mini":{id:"openai/o3-mini",name:"OpenAI: o3 Mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["files","tools","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2024-12-20"},"google/gemini-2.0-flash-001":{id:"google/gemini-2.0-flash-001",name:"Google: Gemini 2.0 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:8192,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0.083333},releaseDate:"2024-12-11"},"google/gemini-2.0-flash-lite-001":{id:"google/gemini-2.0-flash-lite-001",name:"Google: Gemini 2.0 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:8192,capabilities:["images","files","tools","temperature"],pricing:{input:0.075,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-11"},"amazon/nova-lite-v1":{id:"amazon/nova-lite-v1",name:"Amazon: Nova Lite 1.0",contextWindow:300000,maxInputTokens:300000,maxTokens:5120,capabilities:["images","tools","temperature"],pricing:{input:0.06,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06"},"amazon/nova-micro-v1":{id:"amazon/nova-micro-v1",name:"Amazon: Nova Micro 1.0",contextWindow:128000,maxInputTokens:128000,maxTokens:5120,capabilities:["tools","temperature"],pricing:{input:0.035,output:0.14,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06"},"openai/o1":{id:"openai/o1",name:"OpenAI: o1",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","prompt-cache"],pricing:{input:15,output:60,cacheRead:7.5,cacheWrite:0},releaseDate:"2024-12-05"},"amazon/nova-pro-v1":{id:"amazon/nova-pro-v1",name:"Amazon: Nova Pro 1.0",contextWindow:300000,maxInputTokens:300000,maxTokens:5120,capabilities:["images","tools","temperature"],pricing:{input:0.8,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-03"},"cohere/command-r7b-12-2024":{id:"cohere/command-r7b-12-2024",name:"Cohere: Command R7B (12-2024)",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","temperature"],pricing:{input:0.0375,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-02"},"amazon/nova-2-lite-v1":{id:"amazon/nova-2-lite-v1",name:"Amazon: Nova 2 Lite",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.3,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01"},"deepseek/deepseek-chat":{id:"deepseek/deepseek-chat",name:"DeepSeek: DeepSeek V3",contextWindow:163840,maxInputTokens:163840,maxTokens:163840,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.32,output:0.89,cacheRead:0.15,cacheWrite:0},releaseDate:"2024-12-01"},"nvidia/nemotron-3-nano-30b-a3b":{id:"nvidia/nemotron-3-nano-30b-a3b",name:"NVIDIA: Nemotron 3 Nano 30B A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["tools","reasoning","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2024-12",family:"nemotron"},"qwen/qwen3-235b-a22b":{id:"qwen/qwen3-235b-a22b",name:"Qwen: Qwen3 235B A22B",contextWindow:131072,maxInputTokens:131072,maxTokens:8192,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.455,output:1.82,cacheRead:0.15,cacheWrite:0},releaseDate:"2024-12-01"},"qwen/qwen3-32b":{id:"qwen/qwen3-32b",name:"Qwen: Qwen3 32B",contextWindow:40960,maxInputTokens:40960,maxTokens:40960,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.08,output:0.24,cacheRead:0.04,cacheWrite:0},releaseDate:"2024-12-01"},"openai/gpt-4o-2024-11-20":{id:"openai/gpt-4o-2024-11-20",name:"OpenAI: GPT-4o (2024-11-20)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-11-20"},"mistralai/mistral-large-2407":{id:"mistralai/mistral-large-2407",name:"Mistral Large 2407",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-19"},"mistralai/pixtral-large-2411":{id:"mistralai/pixtral-large-2411",name:"Mistral: Pixtral Large 2411",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-19"},"thedrummer/unslopnemo-12b":{id:"thedrummer/unslopnemo-12b",name:"TheDrummer: UnslopNemo 12B",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-09"},"mistralai/mistral-large-2512":{id:"mistralai/mistral-large-2512",name:"Mistral: Mistral Large 3 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:52429,capabilities:["images","tools","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-01"},"anthropic/claude-3.5-haiku":{id:"anthropic/claude-3.5-haiku",name:"Anthropic: Claude 3.5 Haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.8,output:4,cacheRead:0.08,cacheWrite:1},releaseDate:"2024-10-22"},"thedrummer/rocinante-12b":{id:"thedrummer/rocinante-12b",name:"TheDrummer: Rocinante 12B",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.17,output:0.43,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-30"},"qwen/qwen-2.5-72b-instruct":{id:"qwen/qwen-2.5-72b-instruct",name:"Qwen2.5 72B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.12,output:0.39,cacheRead:0,cacheWrite:0},releaseDate:"2024-09"},"qwen/qwen-2.5-7b-instruct":{id:"qwen/qwen-2.5-7b-instruct",name:"Qwen: Qwen2.5 7B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:6554,capabilities:["tools","temperature"],pricing:{input:0.04,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2024-09"},"cohere/command-r-08-2024":{id:"cohere/command-r-08-2024",name:"Cohere: Command R (08-2024)",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-30"},"cohere/command-r-plus-08-2024":{id:"cohere/command-r-plus-08-2024",name:"Cohere: Command R+ (08-2024)",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-30"},"sao10k/l3.1-euryale-70b":{id:"sao10k/l3.1-euryale-70b",name:"Sao10K: Llama 3.1 Euryale 70B v2.2",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.85,output:0.85,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-28"},"openai/gpt-4o-2024-08-06":{id:"openai/gpt-4o-2024-08-06",name:"OpenAI: GPT-4o (2024-08-06)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-08-06"},"meta-llama/llama-3.3-70b-instruct":{id:"meta-llama/llama-3.3-70b-instruct",name:"Meta: Llama 3.3 70B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.32,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-01"},"mistralai/mistral-large":{id:"mistralai/mistral-large",name:"Mistral Large",contextWindow:128000,maxInputTokens:128000,maxTokens:25600,capabilities:["tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-24"},"mistralai/mistral-large-2411":{id:"mistralai/mistral-large-2411",name:"Mistral Large 2411",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-24"},"meta-llama/llama-3.1-8b-instruct":{id:"meta-llama/llama-3.1-8b-instruct",name:"Meta: Llama 3.1 8B Instruct",contextWindow:16384,maxInputTokens:16384,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.02,output:0.05,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23"},"openai/gpt-4o-mini":{id:"openai/gpt-4o-mini",name:"OpenAI: GPT-4o-mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18"},"openai/gpt-4o-mini-2024-07-18":{id:"openai/gpt-4o-mini-2024-07-18",name:"OpenAI: GPT-4o-mini (2024-07-18)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-18"},"meta-llama/llama-3.1-70b-instruct":{id:"meta-llama/llama-3.1-70b-instruct",name:"Meta: Llama 3.1 70B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:26215,capabilities:["tools","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-16"},"mistralai/mistral-nemo":{id:"mistralai/mistral-nemo",name:"Mistral: Mistral Nemo",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.02,output:0.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-01"},"openai/o3-deep-research":{id:"openai/o3-deep-research",name:"OpenAI: o3 Deep Research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:10,output:40,cacheRead:2.5,cacheWrite:0},releaseDate:"2024-06-26"},"openai/o4-mini-deep-research":{id:"openai/o4-mini-deep-research",name:"OpenAI: o4 Mini Deep Research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2024-06-26"},"sao10k/l3-euryale-70b":{id:"sao10k/l3-euryale-70b",name:"Sao10k: Llama 3 Euryale 70B v2.1",contextWindow:8192,maxInputTokens:8192,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:1.48,output:1.48,cacheRead:0,cacheWrite:0},releaseDate:"2024-06-18"},"openai/gpt-4o":{id:"openai/gpt-4o",name:"OpenAI: GPT-4o",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-05-13"},"openai/gpt-4o-2024-05-13":{id:"openai/gpt-4o-2024-05-13",name:"OpenAI: GPT-4o (2024-05-13)",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","files","tools","temperature"],pricing:{input:5,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-13"},"meta-llama/llama-3-8b-instruct":{id:"meta-llama/llama-3-8b-instruct",name:"Meta: Llama 3 8B Instruct",contextWindow:8192,maxInputTokens:8192,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.03,output:0.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-04-25"},"mistralai/mixtral-8x22b-instruct":{id:"mistralai/mixtral-8x22b-instruct",name:"Mistral: Mixtral 8x22B Instruct",contextWindow:65536,maxInputTokens:65536,maxTokens:13108,capabilities:["tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-04-17"},"anthropic/claude-3-haiku":{id:"anthropic/claude-3-haiku",name:"Anthropic: Claude 3 Haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.25,output:1.25,cacheRead:0.03,cacheWrite:0.3},releaseDate:"2024-03-07"},"openai/gpt-4-turbo-preview":{id:"openai/gpt-4-turbo-preview",name:"OpenAI: GPT-4 Turbo Preview",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2024-01-25"},"qwen/qwen-plus":{id:"qwen/qwen-plus",name:"Qwen: Qwen-Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.4,output:1.2,cacheRead:0.08,cacheWrite:0},releaseDate:"2024-01-25"},"openai/gpt-4-1106-preview":{id:"openai/gpt-4-1106-preview",name:"OpenAI: GPT-4 Turbo (older v1106)",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06"},"openai/gpt-4-turbo":{id:"openai/gpt-4-turbo",name:"OpenAI: GPT-4 Turbo",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-09-13"},"openai/gpt-3.5-turbo-16k":{id:"openai/gpt-3.5-turbo-16k",name:"OpenAI: GPT-3.5 Turbo 16k",contextWindow:16385,maxInputTokens:16385,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:3,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2023-08-28"},"openai/gpt-3.5-turbo-0613":{id:"openai/gpt-3.5-turbo-0613",name:"OpenAI: GPT-3.5 Turbo (older v0613)",contextWindow:4095,maxInputTokens:4095,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:1,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2023-06-13"},"openai/gpt-4-0314":{id:"openai/gpt-4-0314",name:"OpenAI: GPT-4 (older v0314)",contextWindow:8191,maxInputTokens:8191,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:30,output:60,cacheRead:0,cacheWrite:0},releaseDate:"2023-05-28"},"openai/gpt-4":{id:"openai/gpt-4",name:"OpenAI: GPT-4",contextWindow:8191,maxInputTokens:8191,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:30,output:60,cacheRead:0,cacheWrite:0},releaseDate:"2023-03-14"},"openai/gpt-3.5-turbo":{id:"openai/gpt-3.5-turbo",name:"OpenAI: GPT-3.5 Turbo",contextWindow:16385,maxInputTokens:16385,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2023-03-01"}},lmstudio:{"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"qwen/qwen3-30b-a3b-2507":{id:"qwen/qwen3-30b-a3b-2507",name:"Qwen3 30B A3B 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-30",family:"qwen"},"qwen/qwen3-coder-30b":{id:"qwen/qwen3-coder-30b",name:"Qwen3 Coder 30B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"}},minimax:{"MiniMax-M3":{id:"MiniMax-M3",name:"MiniMax-M3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-01",family:"minimax"},"MiniMax-M2.7":{id:"MiniMax-M2.7",name:"MiniMax-M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"MiniMax-M2.7-highspeed":{id:"MiniMax-M2.7-highspeed",name:"MiniMax-M2.7-highspeed",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"MiniMax-M2.5-highspeed":{id:"MiniMax-M2.5-highspeed",name:"MiniMax-M2.5-highspeed",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-02-13",family:"minimax"},"MiniMax-M2.5":{id:"MiniMax-M2.5",name:"MiniMax-M2.5",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2026-02-12",family:"minimax"},"MiniMax-M2.1":{id:"MiniMax-M2.1",name:"MiniMax-M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"MiniMax-M2":{id:"MiniMax-M2",name:"MiniMax-M2",contextWindow:196608,maxInputTokens:196608,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-27",family:"minimax"}},moonshot:{"kimi-k2.7-code":{id:"kimi-k2.7-code",name:"Kimi K2.7 Code",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"kimi-k2.7-code-highspeed":{id:"kimi-k2.7-code-highspeed",name:"Kimi K2.7 Code HighSpeed",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.9,output:8,cacheRead:0.38,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"kimi-k2.6":{id:"kimi-k2.6",name:"Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"kimi-k2.5":{id:"kimi-k2.5",name:"Kimi K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-01",family:"kimi-k2"},"kimi-k2-thinking":{id:"kimi-k2-thinking",name:"Kimi K2 Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"kimi-k2-thinking-turbo":{id:"kimi-k2-thinking-turbo",name:"Kimi K2 Thinking Turbo",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.15,output:8,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"kimi-k2-0905-preview":{id:"kimi-k2-0905-preview",name:"Kimi K2 0905",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-09-05",family:"kimi-k2"},"kimi-k2-turbo-preview":{id:"kimi-k2-turbo-preview",name:"Kimi K2 Turbo",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","temperature","prompt-cache"],pricing:{input:2.4,output:10,cacheRead:0.6,cacheWrite:0},releaseDate:"2025-09-05",family:"kimi-k2"},"kimi-k2-0711-preview":{id:"kimi-k2-0711-preview",name:"Kimi K2 0711",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-07-14",family:"kimi-k2"}},nebius:{"zai-org/GLM-5.2":{id:"zai-org/GLM-5.2",name:"GLM-5.2",contextWindow:432000,maxInputTokens:432000,maxTokens:432000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1.4,output:4.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"deepseek-ai/DeepSeek-V4-Pro":{id:"deepseek-ai/DeepSeek-V4-Pro",name:"DeepSeek V4 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:3.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"nvidia/nemotron-3-super-120b-a12b":{id:"nvidia/nemotron-3-super-120b-a12b",name:"Nemotron-3-Super-120B-A12B",contextWindow:256000,maxInputTokens:256000,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"NousResearch/Hermes-4-405B":{id:"NousResearch/Hermes-4-405B",name:"Hermes-4-405B",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2026-01-30"},"NousResearch/Hermes-4-70B":{id:"NousResearch/Hermes-4-70B",name:"Hermes-4-70B",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.13,output:0.4,cacheRead:0.013,cacheWrite:0.16},releaseDate:"2026-01-30"},"Qwen/Qwen3-30B-A3B-Instruct-2507":{id:"Qwen/Qwen3-30B-A3B-Instruct-2507",name:"Qwen3-30B-A3B-Instruct-2507",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0.125},releaseDate:"2026-01-28"},"Qwen/Qwen3-32B":{id:"Qwen/Qwen3-32B",name:"Qwen3-32B",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0.125},releaseDate:"2026-01-28"},"Qwen/Qwen3-Next-80B-A3B-Thinking":{id:"Qwen/Qwen3-Next-80B-A3B-Thinking",name:"Qwen3-Next-80B-A3B-Thinking",contextWindow:128000,maxInputTokens:120000,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:1.2,cacheRead:0.015,cacheWrite:0.18},releaseDate:"2026-01-28"},"google/gemma-3-27b-it":{id:"google/gemma-3-27b-it",name:"Gemma-3-27b-it",contextWindow:110000,maxInputTokens:1e5,maxTokens:8192,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0.125},releaseDate:"2026-01-20"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"gpt-oss-120b",contextWindow:128000,maxInputTokens:124000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0.18},releaseDate:"2026-01-10"},"meta-llama/Llama-3.3-70B-Instruct":{id:"meta-llama/Llama-3.3-70B-Instruct",name:"Llama-3.3-70B-Instruct",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.13,output:0.4,cacheRead:0.013,cacheWrite:0.16},releaseDate:"2025-12-05"},"nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B":{id:"nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B",name:"Nemotron-3-Nano-30B-A3B",contextWindow:32000,maxInputTokens:30000,maxTokens:4096,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.006,cacheWrite:0.075},releaseDate:"2025-08-10",family:"nemotron"},"Qwen/Qwen3-235B-A22B-Instruct-2507":{id:"Qwen/Qwen3-235B-A22B-Instruct-2507",name:"Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"Qwen/Qwen3.5-397B-A17B":{id:"Qwen/Qwen3.5-397B-A17B",name:"Qwen3.5-397B-A17B",contextWindow:262144,maxInputTokens:250000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:3.6,cacheRead:0.06,cacheWrite:0.75},releaseDate:"2025-07-15"},"MiniMaxAI/MiniMax-M2.5":{id:"MiniMaxAI/MiniMax-M2.5",name:"MiniMax-M2.5",contextWindow:196608,maxInputTokens:190000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2025-01-20"},"nvidia/Nemotron-3-Nano-Omni":{id:"nvidia/Nemotron-3-Nano-Omni",name:"Nemotron-3-Nano-Omni",contextWindow:65536,maxInputTokens:60000,maxTokens:8192,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.006,cacheWrite:0.075},releaseDate:"2025-01-20",family:"nemotron"},"Qwen/Qwen2.5-VL-72B-Instruct":{id:"Qwen/Qwen2.5-VL-72B-Instruct",name:"Qwen2.5-VL-72B-Instruct",contextWindow:128000,maxInputTokens:120000,maxTokens:8192,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:0.75,cacheRead:0.025,cacheWrite:0.31},releaseDate:"2025-01-20"},"nvidia/Llama-3_1-Nemotron-Ultra-253B-v1":{id:"nvidia/Llama-3_1-Nemotron-Ultra-253B-v1",name:"Llama-3.1-Nemotron-Ultra-253B-v1",contextWindow:128000,maxInputTokens:120000,maxTokens:4096,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:1.8,cacheRead:0.06,cacheWrite:0.75},releaseDate:"2025-01-15",family:"nemotron"}},ollama:{"glm-5.2":{id:"glm-5.2",name:"GLM-5.2",contextWindow:976000,maxInputTokens:976000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"kimi-k2.7-code":{id:"kimi-k2.7-code",name:"kimi-k2.7-code",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"nemotron-3-ultra":{id:"nemotron-3-ultra",name:"nemotron-3-ultra",contextWindow:262144,maxInputTokens:262144,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"minimax-m3":{id:"minimax-m3",name:"minimax-m3",contextWindow:512000,maxInputTokens:512000,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-05-31",family:"minimax-m3"},"deepseek-v4-flash":{id:"deepseek-v4-flash",name:"deepseek-v4-flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:1048576,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deepseek-v4-pro":{id:"deepseek-v4-pro",name:"deepseek-v4-pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:1048576,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"kimi-k2.6":{id:"kimi-k2.6",name:"kimi-k2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-20",family:"kimi-k2"},"gemma4:31b":{id:"gemma4:31b",name:"gemma4:31b",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"glm-5.1":{id:"glm-5.1",name:"glm-5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-27",family:"glm"},"minimax-m2.7":{id:"minimax-m2.7",name:"minimax-m2.7",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"nemotron-3-super":{id:"nemotron-3-super",name:"nemotron-3-super",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"qwen3.5:397b":{id:"qwen3.5:397b",name:"qwen3.5:397b",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-15",family:"qwen"},"minimax-m2.5":{id:"minimax-m2.5",name:"minimax-m2.5",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-12",family:"minimax"},"glm-5":{id:"glm-5",name:"glm-5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"qwen3-coder-next":{id:"qwen3-coder-next",name:"qwen3-coder-next",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-02",family:"qwen"},"kimi-k2.5":{id:"kimi-k2.5",name:"kimi-k2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27",family:"kimi-k2"},"minimax-m2.1":{id:"minimax-m2.1",name:"minimax-m2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"glm-4.7":{id:"glm-4.7",name:"glm-4.7",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"gemini-3-flash-preview":{id:"gemini-3-flash-preview",name:"gemini-3-flash-preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"nemotron-3-nano:30b":{id:"nemotron-3-nano:30b",name:"nemotron-3-nano:30b",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-15",family:"nemotron"},"devstral-2:123b":{id:"devstral-2:123b",name:"devstral-2:123b",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09",family:"devstral"},"devstral-small-2:24b":{id:"devstral-small-2:24b",name:"devstral-small-2:24b",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09",family:"devstral"},"rnj-1:8b":{id:"rnj-1:8b",name:"rnj-1:8b",contextWindow:32768,maxInputTokens:32768,maxTokens:4096,capabilities:["tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-06",family:"rnj"},"mistral-large-3:675b":{id:"mistral-large-3:675b",name:"mistral-large-3:675b",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"mistral-large"},"deepseek-v3.1:671b":{id:"deepseek-v3.1:671b",name:"deepseek-v3.1:671b",contextWindow:163840,maxInputTokens:163840,maxTokens:163840,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-21",family:"deepseek"},"gpt-oss:120b":{id:"gpt-oss:120b",name:"gpt-oss:120b",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"gpt-oss:20b":{id:"gpt-oss:20b",name:"gpt-oss:20b",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"qwen3-coder:480b":{id:"qwen3-coder:480b",name:"qwen3-coder:480b",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-22",family:"qwen"},"deepseek-v3.2":{id:"deepseek-v3.2",name:"deepseek-v3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-15",family:"deepseek"},"ministral-3:14b":{id:"ministral-3:14b",name:"ministral-3:14b",contextWindow:262144,maxInputTokens:262144,maxTokens:128000,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"ministral"},"ministral-3:8b":{id:"ministral-3:8b",name:"ministral-3:8b",contextWindow:262144,maxInputTokens:262144,maxTokens:128000,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-01",family:"ministral"},"ministral-3:3b":{id:"ministral-3:3b",name:"ministral-3:3b",contextWindow:262144,maxInputTokens:262144,maxTokens:128000,capabilities:["images","tools"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-10-22",family:"ministral"}},"openai-native":{"gpt-5.5":{id:"gpt-5.5",name:"GPT-5.5",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"gpt-5.5-pro":{id:"gpt-5.5-pro",name:"GPT-5.5 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt-pro"},"gpt-5.4-mini":{id:"gpt-5.4-mini",name:"GPT-5.4 mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-mini"},"gpt-5.4-nano":{id:"gpt-5.4-nano",name:"GPT-5.4 nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-nano"},"gpt-5.4":{id:"gpt-5.4",name:"GPT-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"gpt-5.4-pro":{id:"gpt-5.4-pro",name:"GPT-5.4 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","tools","reasoning"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt-pro"},"gpt-5.3-chat-latest":{id:"gpt-5.3-chat-latest",name:"GPT-5.3 Chat (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-03-03",family:"gpt"},"gpt-5.3-codex":{id:"gpt-5.3-codex",name:"GPT-5.3 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt-codex"},"gpt-5.3-codex-spark":{id:"gpt-5.3-codex-spark",name:"GPT-5.3 Codex Spark",contextWindow:128000,maxInputTokens:1e5,maxTokens:32000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt-codex-spark"},"gpt-5.2":{id:"gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"gpt-5.2-chat-latest":{id:"gpt-5.2-chat-latest",name:"GPT-5.2 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"gpt-5.2-codex":{id:"gpt-5.2-codex",name:"GPT-5.2 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"gpt-5.2-pro":{id:"gpt-5.2-pro",name:"GPT-5.2 Pro",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-pro"},"gpt-5.1":{id:"gpt-5.1",name:"GPT-5.1",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt"},"gpt-5.1-chat-latest":{id:"gpt-5.1-chat-latest",name:"GPT-5.1 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5.1-codex":{id:"gpt-5.1-codex",name:"GPT-5.1 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5.1-codex-max":{id:"gpt-5.1-codex-max",name:"GPT-5.1 Codex Max",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5.1-codex-mini":{id:"gpt-5.1-codex-mini",name:"GPT-5.1 Codex mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"gpt-5-pro":{id:"gpt-5-pro",name:"GPT-5 Pro",contextWindow:400000,maxInputTokens:272000,maxTokens:272000,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"gpt-pro"},"gpt-5-codex":{id:"gpt-5-codex",name:"GPT-5-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15",family:"gpt-codex"},"gpt-5":{id:"gpt-5",name:"GPT-5",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"gpt-5-mini":{id:"gpt-5-mini",name:"GPT-5 Mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"gpt-5-nano":{id:"gpt-5-nano",name:"GPT-5 Nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.005,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"o3-pro":{id:"o3-pro",name:"o3-pro",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:20,output:80,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-10",family:"o-pro"},o3:{id:"o3",name:"o3",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-16",family:"o"},"o4-mini":{id:"o4-mini",name:"o4-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16",family:"o-mini"},"gpt-4.1":{id:"gpt-4.1",name:"GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"gpt-4.1-mini":{id:"gpt-4.1-mini",name:"GPT-4.1 mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"gpt-4.1-nano":{id:"gpt-4.1-nano",name:"GPT-4.1 nano",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-nano"},"o1-pro":{id:"o1-pro",name:"o1-pro",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:150,output:600,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-19",family:"o-pro"},"o3-mini":{id:"o3-mini",name:"o3-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2024-12-20",family:"o-mini"},o1:{id:"o1",name:"o1",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:15,output:60,cacheRead:7.5,cacheWrite:0},releaseDate:"2024-12-05",family:"o"},"gpt-4o-2024-11-20":{id:"gpt-4o-2024-11-20",name:"GPT-4o (2024-11-20)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-11-20",family:"gpt"},"gpt-4o-2024-08-06":{id:"gpt-4o-2024-08-06",name:"GPT-4o (2024-08-06)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-08-06",family:"gpt"},"gpt-4o-mini":{id:"gpt-4o-mini",name:"GPT-4o mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18",family:"gpt-mini"},"o3-deep-research":{id:"o3-deep-research",name:"o3-deep-research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:10,output:40,cacheRead:2.5,cacheWrite:0},releaseDate:"2024-06-26",family:"o"},"o4-mini-deep-research":{id:"o4-mini-deep-research",name:"o4-mini-deep-research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2024-06-26",family:"o-mini"},"gpt-4o":{id:"gpt-4o",name:"GPT-4o",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"gpt-4o-2024-05-13":{id:"gpt-4o-2024-05-13",name:"GPT-4o (2024-05-13)",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","structured_output","temperature"],pricing:{input:5,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"gpt-4":{id:"gpt-4",name:"GPT-4",contextWindow:8192,maxInputTokens:8192,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:30,output:60,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"},"gpt-4-turbo":{id:"gpt-4-turbo",name:"GPT-4 Turbo",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"}},openrouter:{"poolside/laguna-xs-2.1":{id:"poolside/laguna-xs-2.1",name:"Laguna XS 2.1",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.06,output:0.12,cacheRead:0.03,cacheWrite:0},releaseDate:"2026-07-02"},"poolside/laguna-xs-2.1:free":{id:"poolside/laguna-xs-2.1:free",name:"Laguna XS 2.1 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-07-02"},"anthropic/claude-sonnet-5":{id:"anthropic/claude-sonnet-5",name:"Claude Sonnet 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-30",family:"claude-sonnet"},"sakana/fugu-ultra":{id:"sakana/fugu-ultra",name:"Fugu Ultra",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-06-24",family:"fugu"},"google/gemini-3-pro-image":{id:"google/gemini-3-pro-image",name:"Nano Banana Pro (Gemini 3 Pro Image)",contextWindow:65536,maxInputTokens:65536,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-06-18",family:"gemini"},"cohere/north-mini-code:free":{id:"cohere/north-mini-code:free",name:"North Mini Code (free)",contextWindow:256000,maxInputTokens:256000,maxTokens:64000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-17",family:"north"},"z-ai/glm-5.2":{id:"z-ai/glm-5.2",name:"GLM-5.2",contextWindow:1048576,maxInputTokens:1048576,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.93,output:3,cacheRead:0.18,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"moonshotai/kimi-k2.7-code":{id:"moonshotai/kimi-k2.7-code",name:"Kimi K2.7 Code",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.74,output:3.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"~anthropic/claude-fable-latest":{id:"~anthropic/claude-fable-latest",name:"Claude Fable Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"anthropic/claude-fable-5":{id:"anthropic/claude-fable-5",name:"Claude Fable 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-06-09",family:"claude-fable"},"nvidia/nemotron-3-ultra-550b-a55b":{id:"nvidia/nemotron-3-ultra-550b-a55b",name:"Nemotron 3 Ultra 550B A55B",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:2.2,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"nvidia/nemotron-3-ultra-550b-a55b:free":{id:"nvidia/nemotron-3-ultra-550b-a55b:free",name:"Nemotron 3 Ultra (free)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"qwen/qwen3.7-plus":{id:"qwen/qwen3.7-plus",name:"Qwen3.7 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.32,output:1.28,cacheRead:0.064,cacheWrite:0.4},releaseDate:"2026-06-02",family:"qwen"},"minimax/minimax-m3":{id:"minimax/minimax-m3",name:"MiniMax-M3",contextWindow:524288,maxInputTokens:524288,maxTokens:512000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-01",family:"minimax"},"stepfun/step-3.7-flash":{id:"stepfun/step-3.7-flash",name:"Step 3.7 Flash",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:1.15,cacheRead:0.04,cacheWrite:0},releaseDate:"2026-05-29"},"anthropic/claude-opus-4.8":{id:"anthropic/claude-opus-4.8",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"anthropic/claude-opus-4.8-fast":{id:"anthropic/claude-opus-4.8-fast",name:"Claude Opus 4.8 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-05-27",family:"claude-opus"},"qwen/qwen3.7-max":{id:"qwen/qwen3.7-max",name:"Qwen3.7 Max",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:3.75,cacheRead:0.25,cacheWrite:1.5625},releaseDate:"2026-05-21",family:"qwen"},"google/gemini-3.5-flash":{id:"google/gemini-3.5-flash",name:"Gemini 3.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0.083333},releaseDate:"2026-05-19",family:"gemini-flash"},"anthropic/claude-opus-4.7-fast":{id:"anthropic/claude-opus-4.7-fast",name:"Claude Opus 4.7 (Fast)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:30,output:150,cacheRead:3,cacheWrite:37.5},releaseDate:"2026-05-12",family:"claude-opus"},"inclusionai/ring-2.6-1t":{id:"inclusionai/ring-2.6-1t",name:"Ring-2.6-1T",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.075,output:0.625,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-05-08",family:"ring"},"google/gemini-3.1-flash-lite":{id:"google/gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0.083333},releaseDate:"2026-05-07",family:"gemini-flash-lite"},"openai/gpt-chat-latest":{id:"openai/gpt-chat-latest",name:"GPT Chat Latest",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-05-05",family:"gpt"},"ibm-granite/granite-4.1-8b":{id:"ibm-granite/granite-4.1-8b",name:"Granite 4.1 8B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.05,output:0.1,cacheRead:0.05,cacheWrite:0},releaseDate:"2026-04-30",family:"granite"},"mistralai/mistral-medium-3-5":{id:"mistralai/mistral-medium-3-5",name:"Mistral Medium 3.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:1.5,output:7.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-30",family:"mistral-medium"},"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free":{id:"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free",name:"Nemotron 3 Nano Omni (free)",contextWindow:256000,maxInputTokens:256000,maxTokens:65536,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28",family:"nemotron"},"poolside/laguna-m.1":{id:"poolside/laguna-m.1",name:"Laguna M.1",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:0.4,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-m.1:free":{id:"poolside/laguna-m.1:free",name:"Laguna M.1 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-xs.2":{id:"poolside/laguna-xs.2",name:"Laguna XS.2",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.2,cacheRead:0.05,cacheWrite:0},releaseDate:"2026-04-28"},"poolside/laguna-xs.2:free":{id:"poolside/laguna-xs.2:free",name:"Laguna XS.2 (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-28"},"~anthropic/claude-haiku-latest":{id:"~anthropic/claude-haiku-latest",name:"Anthropic Claude Haiku Latest",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2026-04-27",family:"claude-haiku"},"~anthropic/claude-sonnet-latest":{id:"~anthropic/claude-sonnet-latest",name:"Anthropic Claude Sonnet Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-04-27",family:"claude-sonnet"},"~google/gemini-flash-latest":{id:"~google/gemini-flash-latest",name:"Google Gemini Flash Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0.083333},releaseDate:"2026-04-27",family:"gemini-flash"},"~google/gemini-pro-latest":{id:"~google/gemini-pro-latest",name:"Google Gemini Pro Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-04-27",family:"gemini-pro"},"~moonshotai/kimi-latest":{id:"~moonshotai/kimi-latest",name:"MoonshotAI Kimi Latest",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.66,output:3.41,cacheRead:0.14,cacheWrite:0},releaseDate:"2026-04-27",family:"kimi"},"~openai/gpt-latest":{id:"~openai/gpt-latest",name:"OpenAI GPT Latest",contextWindow:1050000,maxInputTokens:1050000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-27",family:"gpt"},"~openai/gpt-mini-latest":{id:"~openai/gpt-mini-latest",name:"OpenAI GPT Mini Latest",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-04-27",family:"gpt-mini"},"qwen/qwen3.5-plus-20260420":{id:"qwen/qwen3.5-plus-20260420",name:"Qwen3.5 Plus 2026-04-20",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.8,cacheRead:0,cacheWrite:0.375},releaseDate:"2026-04-27",family:"qwen3.5"},"qwen/qwen3.6-flash":{id:"qwen/qwen3.6-flash",name:"Qwen3.6 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1875,output:1.125,cacheRead:0,cacheWrite:0.234375},releaseDate:"2026-04-27",family:"qwen3.6"},"deepseek/deepseek-v4-flash":{id:"deepseek/deepseek-v4-flash",name:"DeepSeek V4 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.09,output:0.18,cacheRead:0.018,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-flash"},"deepseek/deepseek-v4-pro":{id:"deepseek/deepseek-v4-pro",name:"DeepSeek V4 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.003625,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek-thinking"},"inclusionai/ling-2.6-1t":{id:"inclusionai/ling-2.6-1t",name:"Ling-2.6-1T",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.075,output:0.625,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-04-23",family:"ling"},"openai/gpt-5.5":{id:"openai/gpt-5.5",name:"GPT-5.5",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"openai/gpt-5.5-pro":{id:"openai/gpt-5.5-pro",name:"GPT-5.5 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt-pro"},"qwen/qwen3.6-27b":{id:"qwen/qwen3.6-27b",name:"Qwen3.6 27B",contextWindow:262140,maxInputTokens:262140,maxTokens:262140,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.285,output:2.4,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-04-22",family:"qwen"},"xiaomi/mimo-v2.5":{id:"xiaomi/mimo-v2.5",name:"MiMo-V2.5",contextWindow:32000,maxInputTokens:32000,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.105,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"xiaomi/mimo-v2.5-pro":{id:"xiaomi/mimo-v2.5-pro",name:"MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"~anthropic/claude-opus-latest":{id:"~anthropic/claude-opus-latest",name:"Claude Opus Latest",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-21",family:"claude-opus"},"inclusionai/ling-2.6-flash":{id:"inclusionai/ling-2.6-flash",name:"Ling-2.6-flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.01,output:0.03,cacheRead:0.002,cacheWrite:0},releaseDate:"2026-04-21",family:"ling"},"moonshotai/kimi-k2.6":{id:"moonshotai/kimi-k2.6",name:"Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.66,output:3.41,cacheRead:0.14,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"qwen/qwen3.6-max-preview":{id:"qwen/qwen3.6-max-preview",name:"Qwen3.6 Max Preview",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.04,output:6.24,cacheRead:0,cacheWrite:1.3},releaseDate:"2026-04-20",family:"qwen"},"tencent/hy3-preview":{id:"tencent/hy3-preview",name:"Hy3 preview",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.063,output:0.21,cacheRead:0.021,cacheWrite:0},releaseDate:"2026-04-20",family:"Hy"},"qwen/qwen3.6-35b-a3b":{id:"qwen/qwen3.6-35b-a3b",name:"Qwen3.6 35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.14,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-17",family:"qwen"},"x-ai/grok-4.3":{id:"x-ai/grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-17",family:"grok"},"anthropic/claude-opus-4.7":{id:"anthropic/claude-opus-4.7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"x-ai/grok-build-0.1":{id:"x-ai/grok-build-0.1",name:"Grok Build 0.1",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-16",family:"grok-build"},"z-ai/glm-5.1":{id:"z-ai/glm-5.1",name:"GLM-5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.966,output:3.036,cacheRead:0.1794,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"google/gemma-4-26b-a4b-it":{id:"google/gemma-4-26b-a4b-it",name:"Gemma 4 26B A4B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.06,output:0.33,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-26b-a4b-it:free":{id:"google/gemma-4-26b-a4b-it:free",name:"Gemma 4 26B A4B (free)",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-31b-it":{id:"google/gemma-4-31b-it",name:"Gemma 4 31B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.12,output:0.35,cacheRead:0.09,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-31b-it:free":{id:"google/gemma-4-31b-it:free",name:"Gemma 4 31B (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:8192,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"qwen/qwen3.6-plus":{id:"qwen/qwen3.6-plus",name:"Qwen3.6 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.325,output:1.95,cacheRead:0,cacheWrite:0.40625},releaseDate:"2026-04-02",family:"qwen"},"arcee-ai/trinity-large-thinking":{id:"arcee-ai/trinity-large-thinking",name:"Trinity Large Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:80000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:0.8,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-04-01",family:"trinity"},"z-ai/glm-5v-turbo":{id:"z-ai/glm-5v-turbo",name:"GLM-5V-Turbo",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"x-ai/grok-4.20":{id:"x-ai/grok-4.20",name:"Grok 4.20",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-31",family:"grok"},"kwaipilot/kat-coder-pro-v2":{id:"kwaipilot/kat-coder-pro-v2",name:"KAT-Coder-Pro V2",contextWindow:256000,maxInputTokens:256000,maxTokens:80000,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-27",family:"kat-coder"},"rekaai/reka-edge":{id:"rekaai/reka-edge",name:"Reka Edge",contextWindow:16384,maxInputTokens:16384,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-20",family:"reka"},"minimax/minimax-m2.7":{id:"minimax/minimax-m2.7",name:"MiniMax-M2.7",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.18,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"openai/gpt-5.4-mini":{id:"openai/gpt-5.4-mini",name:"GPT-5.4 mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-mini"},"openai/gpt-5.4-nano":{id:"openai/gpt-5.4-nano",name:"GPT-5.4 nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt-nano"},"mistralai/mistral-small-2603":{id:"mistralai/mistral-small-2603",name:"Mistral Small 4",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-03-16",family:"mistral-small"},"z-ai/glm-5-turbo":{id:"z-ai/glm-5-turbo",name:"GLM-5-Turbo",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-03-16",family:"glm"},"nvidia/nemotron-3-super-120b-a12b":{id:"nvidia/nemotron-3-super-120b-a12b",name:"Nemotron 3 Super 120B A12B",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.085,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"nvidia/nemotron-3-super-120b-a12b:free":{id:"nvidia/nemotron-3-super-120b-a12b:free",name:"Nemotron 3 Super (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"bytedance-seed/seed-2.0-lite":{id:"bytedance-seed/seed-2.0-lite",name:"Seed-2.0-Lite",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-10",family:"seed"},"openai/gpt-5.4":{id:"openai/gpt-5.4",name:"GPT-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"openai/gpt-5.4-pro":{id:"openai/gpt-5.4-pro",name:"GPT-5.4 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt-pro"},"inception/mercury-2":{id:"inception/mercury-2",name:"Mercury 2",contextWindow:128000,maxInputTokens:128000,maxTokens:50000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:0.75,cacheRead:0.025,cacheWrite:0},releaseDate:"2026-03-04",family:"mercury"},"google/gemini-3.1-flash-lite-preview":{id:"google/gemini-3.1-flash-lite-preview",name:"Gemini 3.1 Flash Lite Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0.083333},releaseDate:"2026-03-03",family:"gemini-flash-lite"},"openai/gpt-5.3-chat":{id:"openai/gpt-5.3-chat",name:"GPT-5.3 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-03-03",family:"gpt"},"bytedance-seed/seed-2.0-mini":{id:"bytedance-seed/seed-2.0-mini",name:"Seed-2.0-Mini",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-26",family:"seed"},"qwen/qwen3.5-flash-02-23":{id:"qwen/qwen3.5-flash-02-23",name:"Qwen3.5-Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.065,output:0.26,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-25",family:"qwen"},"qwen/qwen3.5-122b-a10b":{id:"qwen/qwen3.5-122b-a10b",name:"Qwen3.5 122B-A10B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.26,output:2.08,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"qwen/qwen3.5-27b":{id:"qwen/qwen3.5-27b",name:"Qwen3.5 27B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.195,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"qwen/qwen3.5-35b-a3b":{id:"qwen/qwen3.5-35b-a3b",name:"Qwen3.5 35B-A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:81920,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:1,cacheRead:0.05,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"qwen/qwen3.5-9b":{id:"qwen/qwen3.5-9b",name:"Qwen3.5 9B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-23",family:"qwen"},"google/gemini-3.1-pro-preview":{id:"google/gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-02-19",family:"gemini-pro"},"google/gemini-3.1-pro-preview-customtools":{id:"google/gemini-3.1-pro-preview-customtools",name:"Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0.375},releaseDate:"2026-02-19",family:"gemini-pro"},"anthropic/claude-sonnet-4.6":{id:"anthropic/claude-sonnet-4.6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"qwen/qwen3.5-plus-02-15":{id:"qwen/qwen3.5-plus-02-15",name:"Qwen3.5 Plus 2026-02-15",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.26,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-16",family:"qwen"},"qwen/qwen3.5-397b-a17b":{id:"qwen/qwen3.5-397b-a17b",name:"Qwen3.5 397B-A17B",contextWindow:131072,maxInputTokens:131072,maxTokens:64000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.385,output:2.45,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-15",family:"qwen"},"minimax/minimax-m2.5":{id:"minimax/minimax-m2.5",name:"MiniMax-M2.5",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.12,output:0.48,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-12",family:"minimax"},"z-ai/glm-5":{id:"z-ai/glm-5",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:1.92,cacheRead:0.12,cacheWrite:0},releaseDate:"2026-02-12",family:"glm"},"qwen/qwen3-max-thinking":{id:"qwen/qwen3-max-thinking",name:"Qwen3 Max Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.78,output:3.9,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-09",family:"qwen"},"anthropic/claude-opus-4.6":{id:"anthropic/claude-opus-4.6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"openai/gpt-5.3-codex":{id:"openai/gpt-5.3-codex",name:"GPT-5.3 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt-codex"},"qwen/qwen3-coder-next":{id:"qwen/qwen3-coder-next",name:"Qwen3 Coder Next",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.11,output:0.8,cacheRead:0.07,cacheWrite:0},releaseDate:"2026-02-04",family:"qwen"},"openrouter/free":{id:"openrouter/free",name:"Free Models Router",contextWindow:200000,maxInputTokens:200000,maxTokens:8000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-01"},"stepfun/step-3.5-flash":{id:"stepfun/step-3.5-flash",name:"Step 3.5 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-29"},"upstage/solar-pro-3":{id:"upstage/solar-pro-3",name:"Solar Pro 3",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-01-27",family:"solar-pro"},"liquid/lfm-2.5-1.2b-thinking:free":{id:"liquid/lfm-2.5-1.2b-thinking:free",name:"LFM2.5-1.2B-Thinking (free)",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-20",family:"liquid"},"openai/gpt-audio":{id:"openai/gpt-audio",name:"GPT Audio",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"gpt"},"openai/gpt-audio-mini":{id:"openai/gpt-audio-mini",name:"GPT Audio Mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.6,output:2.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"o-mini"},"z-ai/glm-4.7-flash":{id:"z-ai/glm-4.7-flash",name:"GLM-4.7-Flash",contextWindow:202752,maxInputTokens:202752,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.06,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"moonshotai/kimi-k2.5":{id:"moonshotai/kimi-k2.5",name:"Kimi K2.5",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.375,output:2.025,cacheRead:0,cacheWrite:0},releaseDate:"2026-01",family:"kimi-k2"},"bytedance-seed/seed-1.6":{id:"bytedance-seed/seed-1.6",name:"Seed 1.6",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.25,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"seed"},"bytedance-seed/seed-1.6-flash":{id:"bytedance-seed/seed-1.6-flash",name:"Seed 1.6 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.075,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-23",family:"seed"},"minimax/minimax-m2.1":{id:"minimax/minimax-m2.1",name:"MiniMax-M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-12-23",family:"minimax"},"z-ai/glm-4.7":{id:"z-ai/glm-4.7",name:"GLM-4.7",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.75,cacheRead:0.08,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"google/gemini-3-flash-preview":{id:"google/gemini-3-flash-preview",name:"Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0.083333},releaseDate:"2025-12-17",family:"gemini-flash"},"nvidia/nemotron-3-nano-30b-a3b":{id:"nvidia/nemotron-3-nano-30b-a3b",name:"Nemotron 3 Nano 30B A3B",contextWindow:262144,maxInputTokens:262144,maxTokens:228000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-15",family:"nemotron"},"nvidia/nemotron-3-nano-30b-a3b:free":{id:"nvidia/nemotron-3-nano-30b-a3b:free",name:"Nemotron 3 Nano 30B A3B (free)",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-15",family:"nemotron"},"openai/gpt-5.2":{id:"openai/gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"openai/gpt-5.2-codex":{id:"openai/gpt-5.2-codex",name:"GPT-5.2 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"openai/gpt-5.2-pro":{id:"openai/gpt-5.2-pro",name:"GPT-5.2 Pro",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-pro"},"openai/gpt-5.2-chat":{id:"openai/gpt-5.2-chat",name:"GPT-5.2 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-10",family:"gpt-codex"},"relace/relace-search":{id:"relace/relace-search",name:"Relace Search",contextWindow:256000,maxInputTokens:256000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:1,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-08"},"z-ai/glm-4.6v":{id:"z-ai/glm-4.6v",name:"GLM-4.6V",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:0.9,cacheRead:0.055,cacheWrite:0},releaseDate:"2025-12-08",family:"glm"},"amazon/nova-2-lite-v1":{id:"amazon/nova-2-lite-v1",name:"Nova 2 Lite",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65535,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.3,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-02",family:"nova"},"mistralai/ministral-14b-2512":{id:"mistralai/ministral-14b-2512",name:"Ministral 3 14B 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:0.2,cacheRead:0.02,cacheWrite:0},releaseDate:"2025-12-02",family:"ministral"},"mistralai/ministral-3b-2512":{id:"mistralai/ministral-3b-2512",name:"Ministral 3 3B 2512",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.1,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-12-02",family:"ministral"},"mistralai/ministral-8b-2512":{id:"mistralai/ministral-8b-2512",name:"Ministral 3 8B 2512",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.15,cacheRead:0.015,cacheWrite:0},releaseDate:"2025-12-02",family:"ministral"},"arcee-ai/trinity-mini":{id:"arcee-ai/trinity-mini",name:"Trinity Mini",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.045,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-01",family:"trinity-mini"},"deepseek/deepseek-chat":{id:"deepseek/deepseek-chat",name:"DeepSeek Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.2002,output:0.8001,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek"},"deepseek/deepseek-v3.2":{id:"deepseek/deepseek-v3.2",name:"DeepSeek V3.2",contextWindow:128000,maxInputTokens:128000,maxTokens:64000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.2288,output:0.3432,cacheRead:0.02288,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek"},"anthropic/claude-opus-4.5":{id:"anthropic/claude-opus-4.5",name:"Claude Opus 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"openai/gpt-5.1":{id:"openai/gpt-5.1",name:"GPT-5.1",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt"},"openai/gpt-5.1-chat":{id:"openai/gpt-5.1-chat",name:"GPT-5.1 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["images","files","tools","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex":{id:"openai/gpt-5.1-codex",name:"GPT-5.1 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex-max":{id:"openai/gpt-5.1-codex-max",name:"GPT-5.1 Codex Max",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex-mini":{id:"openai/gpt-5.1-codex-mini",name:"GPT-5.1 Codex mini",contextWindow:400000,maxInputTokens:272000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"moonshotai/kimi-k2-thinking":{id:"moonshotai/kimi-k2-thinking",name:"Kimi K2 Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:100352,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:2.5,cacheRead:0.15,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"amazon/nova-premier-v1":{id:"amazon/nova-premier-v1",name:"Nova Premier 1.0",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32000,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:2.5,output:12.5,cacheRead:0.625,cacheWrite:0},releaseDate:"2025-10-31",family:"nova"},"mistralai/voxtral-small-24b-2507":{id:"mistralai/voxtral-small-24b-2507",name:"Voxtral Small 24B 2507",contextWindow:32000,maxInputTokens:32000,maxTokens:32000,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-10-30",family:"mistral"},"openai/gpt-oss-safeguard-20b":{id:"openai/gpt-oss-safeguard-20b",name:"gpt-oss-safeguard-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.0375,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"nvidia/nemotron-nano-12b-v2-vl:free":{id:"nvidia/nemotron-nano-12b-v2-vl:free",name:"Nemotron Nano 12B 2 VL (free)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-28",family:"nemotron"},"minimax/minimax-m2":{id:"minimax/minimax-m2",name:"MiniMax-M2",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.255,output:1.02,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-27",family:"minimax"},"qwen/qwen3-vl-32b-instruct":{id:"qwen/qwen3-vl-32b-instruct",name:"Qwen3 VL 32B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.104,output:0.416,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-23",family:"qwen"},"anthropic/claude-haiku-4.5":{id:"anthropic/claude-haiku-4.5",name:"Claude Haiku 4.5 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"qwen/qwen3-vl-8b-instruct":{id:"qwen/qwen3-vl-8b-instruct",name:"Qwen3 VL 8B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.117,output:0.455,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-14",family:"qwen"},"qwen/qwen3-vl-8b-thinking":{id:"qwen/qwen3-vl-8b-thinking",name:"Qwen3 VL 8B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.117,output:1.365,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-14",family:"qwen"},"openai/gpt-5-pro":{id:"openai/gpt-5-pro",name:"GPT-5 Pro",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"gpt-pro"},"qwen/qwen3-vl-30b-a3b-instruct":{id:"qwen/qwen3-vl-30b-a3b-instruct",name:"Qwen3 VL 30B A3B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.13,output:0.52,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"qwen"},"qwen/qwen3-vl-30b-a3b-thinking":{id:"qwen/qwen3-vl-30b-a3b-thinking",name:"Qwen3 VL 30B A3B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.13,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"qwen"},"z-ai/glm-4.6":{id:"z-ai/glm-4.6",name:"GLM-4.6",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.43,output:1.74,cacheRead:0.08,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"anthropic/claude-sonnet-4.5":{id:"anthropic/claude-sonnet-4.5",name:"Claude Sonnet 4.5 (latest)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"deepseek/deepseek-v3.2-exp":{id:"deepseek/deepseek-v3.2-exp",name:"DeepSeek V3.2 Exp",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.27,output:0.41,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-29",family:"deepseek"},"google/gemini-2.5-flash-lite-preview-09-2025":{id:"google/gemini-2.5-flash-lite-preview-09-2025",name:"Gemini 2.5 Flash Lite Preview 09-2025",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0.083333},releaseDate:"2025-09-25",family:"gemini-flash-lite"},"qwen/qwen3-max":{id:"qwen/qwen3-max",name:"Qwen3 Max",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.78,output:3.9,cacheRead:0.156,cacheWrite:0.975},releaseDate:"2025-09-23",family:"qwen"},"qwen/qwen3-vl-235b-a22b-instruct":{id:"qwen/qwen3-vl-235b-a22b-instruct",name:"Qwen3 VL 235B A22B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:0.88,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"qwen/qwen3-vl-235b-a22b-thinking":{id:"qwen/qwen3-vl-235b-a22b-thinking",name:"Qwen3 VL 235B A22B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.26,output:2.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"deepseek/deepseek-v3.1-terminus":{id:"deepseek/deepseek-v3.1-terminus",name:"DeepSeek V3.1 Terminus",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.27,output:0.95,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-09-22",family:"deepseek"},"openai/gpt-5-codex":{id:"openai/gpt-5-codex",name:"GPT-5-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15",family:"gpt-codex"},"qwen/qwen-plus-2025-07-28":{id:"qwen/qwen-plus-2025-07-28",name:"Qwen Plus 0728",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.26,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-08",family:"qwen"},"qwen/qwen-plus-2025-07-28:thinking":{id:"qwen/qwen-plus-2025-07-28:thinking",name:"Qwen Plus 0728 (thinking)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.26,output:0.78,cacheRead:0,cacheWrite:0.325},releaseDate:"2025-09-08",family:"qwen"},"moonshotai/kimi-k2-0905":{id:"moonshotai/kimi-k2-0905",name:"Kimi K2 0905",contextWindow:262144,maxInputTokens:262144,maxTokens:100352,capabilities:["tools","structured_output","temperature"],pricing:{input:0.6,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-04",family:"kimi-k2"},"qwen/qwen3-next-80b-a3b-instruct":{id:"qwen/qwen3-next-80b-a3b-instruct",name:"Qwen3-Next 80B-A3B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.09,output:1.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-09",family:"qwen"},"qwen/qwen3-next-80b-a3b-instruct:free":{id:"qwen/qwen3-next-80b-a3b-instruct:free",name:"Qwen3 Next 80B A3B Instruct (free)",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-09",family:"qwen"},"qwen/qwen3-next-80b-a3b-thinking":{id:"qwen/qwen3-next-80b-a3b-thinking",name:"Qwen3-Next 80B-A3B (Thinking)",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.0975,output:0.78,cacheRead:0,cacheWrite:0},releaseDate:"2025-09",family:"qwen"},"qwen/qwen3-30b-a3b-thinking-2507":{id:"qwen/qwen3-30b-a3b-thinking-2507",name:"Qwen3 30B A3B Thinking 2507",contextWindow:81920,maxInputTokens:81920,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.13,output:1.56,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-28",family:"qwen"},"deepseek/deepseek-chat-v3.1":{id:"deepseek/deepseek-chat-v3.1",name:"DeepSeek V3.1",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.21,output:0.79,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-08-21",family:"deepseek"},"nvidia/nemotron-nano-9b-v2:free":{id:"nvidia/nemotron-nano-9b-v2:free",name:"Nemotron Nano 9B V2 (free)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-18",family:"nemotron"},"mistralai/mistral-medium-3.1":{id:"mistralai/mistral-medium-3.1",name:"Mistral Medium 3.1",contextWindow:131072,maxInputTokens:131072,maxTokens:262144,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.04,cacheWrite:0},releaseDate:"2025-08-13",family:"mistral-medium"},"z-ai/glm-4.5v":{id:"z-ai/glm-4.5v",name:"GLM-4.5V",contextWindow:65536,maxInputTokens:65536,maxTokens:16384,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:1.8,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-08-11",family:"glm"},"ai21/jamba-large-1.7":{id:"ai21/jamba-large-1.7",name:"Jamba Large 1.7",contextWindow:256000,maxInputTokens:256000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:2,output:8,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-08",family:"jamba"},"openai/gpt-5":{id:"openai/gpt-5",name:"GPT-5",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"openai/gpt-5-mini":{id:"openai/gpt-5-mini",name:"GPT-5 Mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"openai/gpt-5-nano":{id:"openai/gpt-5-nano",name:"GPT-5 Nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"anthropic/claude-opus-4.1":{id:"anthropic/claude-opus-4.1",name:"Claude Opus 4.1 (latest)",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.03,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-120b:free":{id:"openai/gpt-oss-120b:free",name:"gpt-oss-120b (free)",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"gpt-oss-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.029,output:0.14,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b:free":{id:"openai/gpt-oss-20b:free",name:"gpt-oss-20b (free)",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"mistralai/codestral-2508":{id:"mistralai/codestral-2508",name:"Codestral 2508",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:0.9,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-08-01",family:"codestral"},"qwen/qwen3-30b-a3b-instruct-2507":{id:"qwen/qwen3-30b-a3b-instruct-2507",name:"Qwen3 30B A3B Instruct 2507",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.04815,output:0.19305,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-29",family:"qwen"},"qwen/qwen3-coder-flash":{id:"qwen/qwen3-coder-flash",name:"Qwen3 Coder Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.195,output:0.975,cacheRead:0.039,cacheWrite:0.24375},releaseDate:"2025-07-28",family:"qwen"},"z-ai/glm-4.5":{id:"z-ai/glm-4.5",name:"GLM-4.5",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-07-28",family:"glm"},"z-ai/glm-4.5-air":{id:"z-ai/glm-4.5-air",name:"GLM-4.5-Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.13,output:0.85,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"},"nvidia/llama-3.3-nemotron-super-49b-v1.5":{id:"nvidia/llama-3.3-nemotron-super-49b-v1.5",name:"Llama 3.3 Nemotron Super 49B v1.5",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"nemotron"},"qwen/qwen3-235b-a22b-thinking-2507":{id:"qwen/qwen3-235b-a22b-thinking-2507",name:"Qwen3 235B A22B Thinking 2507",contextWindow:131072,maxInputTokens:131072,maxTokens:262144,capabilities:["tools","reasoning","temperature"],pricing:{input:0.1495,output:1.495,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"qwen/qwen3-coder":{id:"qwen/qwen3-coder",name:"Qwen3 Coder 480B A35B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","structured_output","temperature"],pricing:{input:0.22,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"qwen/qwen3-coder-plus":{id:"qwen/qwen3-coder-plus",name:"Qwen3 Coder Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.65,output:3.25,cacheRead:0.13,cacheWrite:0.8125},releaseDate:"2025-07-23",family:"qwen"},"qwen/qwen3-coder:free":{id:"qwen/qwen3-coder:free",name:"Qwen3 Coder 480B A35B (free)",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"qwen/qwen3-235b-a22b-2507":{id:"qwen/qwen3-235b-a22b-2507",name:"Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.09,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-21",family:"qwen"},"moonshotai/kimi-k2":{id:"moonshotai/kimi-k2",name:"Kimi K2 0711",contextWindow:131072,maxInputTokens:131072,maxTokens:100352,capabilities:["tools","temperature"],pricing:{input:0.57,output:2.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-11",family:"kimi-k2"},"mistralai/mistral-small-3.2-24b-instruct":{id:"mistralai/mistral-small-3.2-24b-instruct",name:"Mistral Small 3.2 24B",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.075,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-20",family:"mistral-small"},"google/gemini-2.5-flash":{id:"google/gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0.083333},releaseDate:"2025-06-17",family:"gemini-flash"},"google/gemini-2.5-flash-lite":{id:"google/gemini-2.5-flash-lite",name:"Gemini 2.5 Flash-Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0.083333},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"google/gemini-2.5-pro":{id:"google/gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-06-17",family:"gemini-pro"},"minimax/minimax-m1":{id:"minimax/minimax-m1",name:"MiniMax M1",contextWindow:1e6,maxInputTokens:1e6,maxTokens:40000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.4,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-17",family:"minimax"},"openai/o3-pro":{id:"openai/o3-pro",name:"o3-pro",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output"],pricing:{input:20,output:80,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-10",family:"o-pro"},"google/gemini-2.5-pro-preview":{id:"google/gemini-2.5-pro-preview",name:"Gemini 2.5 Pro Preview 06-05",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-06-05",family:"gemini"},"deepseek/deepseek-r1-0528":{id:"deepseek/deepseek-r1-0528",name:"R1 0528",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:2.15,cacheRead:0.35,cacheWrite:0},releaseDate:"2025-05-28",family:"deepseek"},"anthropic/claude-opus-4":{id:"anthropic/claude-opus-4",name:"Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"anthropic/claude-sonnet-4":{id:"anthropic/claude-sonnet-4",name:"Claude Sonnet 4",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"google/gemini-2.5-pro-preview-05-06":{id:"google/gemini-2.5-pro-preview-05-06",name:"Gemini 2.5 Pro Preview 05-06",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65535,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0.375},releaseDate:"2025-05-07",family:"gemini-pro"},"mistralai/mistral-medium-3":{id:"mistralai/mistral-medium-3",name:"Mistral Medium 3",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:2,cacheRead:0.04,cacheWrite:0},releaseDate:"2025-05-07",family:"mistral-medium"},"arcee-ai/virtuoso-large":{id:"arcee-ai/virtuoso-large",name:"Virtuoso Large",contextWindow:131072,maxInputTokens:131072,maxTokens:64000,capabilities:["tools","temperature"],pricing:{input:0.75,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-05"},"qwen/qwen3-14b":{id:"qwen/qwen3-14b",name:"Qwen3 14B",contextWindow:40960,maxInputTokens:40960,maxTokens:40960,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"qwen/qwen3-30b-a3b":{id:"qwen/qwen3-30b-a3b",name:"Qwen3 30B A3B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.12,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"qwen/qwen3-8b":{id:"qwen/qwen3-8b",name:"Qwen3 8B",contextWindow:131072,maxInputTokens:131072,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.117,output:0.455,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"openai/o3":{id:"openai/o3",name:"o3",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-16",family:"o"},"openai/o4-mini":{id:"openai/o4-mini",name:"o4-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16",family:"o-mini"},"openai/o4-mini-high":{id:"openai/o4-mini-high",name:"o4 Mini High",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16",family:"o"},"openai/gpt-4.1":{id:"openai/gpt-4.1",name:"GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"openai/gpt-4.1-mini":{id:"openai/gpt-4.1-mini",name:"GPT-4.1 mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"openai/gpt-4.1-nano":{id:"openai/gpt-4.1-nano",name:"GPT-4.1 nano",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-nano"},"meta-llama/llama-4-maverick":{id:"meta-llama/llama-4-maverick",name:"Llama 4 Maverick",contextWindow:1048576,maxInputTokens:1048576,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"meta-llama/llama-4-scout":{id:"meta-llama/llama-4-scout",name:"Llama 4 Scout",contextWindow:327680,maxInputTokens:327680,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"qwen/qwen3-235b-a22b":{id:"qwen/qwen3-235b-a22b",name:"Qwen3 235B-A22B",contextWindow:131072,maxInputTokens:131072,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.455,output:1.82,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"qwen/qwen3-32b":{id:"qwen/qwen3-32b",name:"Qwen3 32B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.08,output:0.28,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"qwen/qwen3-coder-30b-a3b-instruct":{id:"qwen/qwen3-coder-30b-a3b-instruct",name:"Qwen3-Coder 30B-A3B Instruct",contextWindow:160000,maxInputTokens:160000,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.07,output:0.27,cacheRead:0,cacheWrite:0},releaseDate:"2025-04",family:"qwen"},"deepseek/deepseek-chat-v3-0324":{id:"deepseek/deepseek-chat-v3-0324",name:"DeepSeek V3 0324",contextWindow:163840,maxInputTokens:163840,maxTokens:16384,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.24,output:0.9,cacheRead:0.135,cacheWrite:0},releaseDate:"2025-03-24",family:"deepseek"},"google/gemma-3-12b-it":{id:"google/gemma-3-12b-it",name:"Gemma 3 12B",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.05,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-13",family:"gemma"},"google/gemma-3-27b-it":{id:"google/gemma-3-27b-it",name:"Gemma 3 27B",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.08,output:0.16,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-12",family:"gemma"},"mistralai/mistral-saba":{id:"mistralai/mistral-saba",name:"Saba",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:0.6,cacheRead:0.02,cacheWrite:0},releaseDate:"2025-02-17",family:"mistral"},"openai/o3-mini-high":{id:"openai/o3-mini-high",name:"o3 Mini High",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2025-02-12",family:"o"},"deepseek/deepseek-r1":{id:"deepseek/deepseek-r1",name:"DeepSeek-R1",contextWindow:64000,maxInputTokens:64000,maxTokens:16000,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.7,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"openai/o3-mini":{id:"openai/o3-mini",name:"o3-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2024-12-20",family:"o-mini"},"meta-llama/llama-3.3-70b-instruct":{id:"meta-llama/llama-3.3-70b-instruct",name:"Llama-3.3-70B-Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.1,output:0.32,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"meta-llama/llama-3.3-70b-instruct:free":{id:"meta-llama/llama-3.3-70b-instruct:free",name:"Llama 3.3 70B Instruct (free)",contextWindow:65536,maxInputTokens:65536,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"amazon/nova-lite-v1":{id:"amazon/nova-lite-v1",name:"Nova Lite 1.0",contextWindow:300000,maxInputTokens:300000,maxTokens:5120,capabilities:["images","tools","temperature"],pricing:{input:0.06,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-05",family:"nova-lite"},"amazon/nova-micro-v1":{id:"amazon/nova-micro-v1",name:"Nova Micro 1.0",contextWindow:128000,maxInputTokens:128000,maxTokens:5120,capabilities:["tools","temperature"],pricing:{input:0.035,output:0.14,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-05",family:"nova-micro"},"amazon/nova-pro-v1":{id:"amazon/nova-pro-v1",name:"Nova Pro 1.0",contextWindow:300000,maxInputTokens:300000,maxTokens:5120,capabilities:["images","tools","temperature"],pricing:{input:0.8,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-05",family:"nova-pro"},"openai/o1":{id:"openai/o1",name:"o1",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:15,output:60,cacheRead:7.5,cacheWrite:0},releaseDate:"2024-12-05",family:"o"},"openai/gpt-4o-2024-11-20":{id:"openai/gpt-4o-2024-11-20",name:"GPT-4o (2024-11-20)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-11-20",family:"gpt"},"mistralai/mistral-large-2407":{id:"mistralai/mistral-large-2407",name:"Mistral Large 2407",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:6,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-11-19",family:"mistral-large"},"thedrummer/unslopnemo-12b":{id:"thedrummer/unslopnemo-12b",name:"UnslopNemo 12B",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-08"},"mistralai/mistral-large-2512":{id:"mistralai/mistral-large-2512",name:"Mistral Large 3",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:1.5,cacheRead:0.05,cacheWrite:0},releaseDate:"2024-11-01",family:"mistral-large"},"qwen/qwen-2.5-7b-instruct":{id:"qwen/qwen-2.5-7b-instruct",name:"Qwen2.5 7B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.04,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2024-10-16",family:"qwen"},"qwen/qwen-2.5-72b-instruct":{id:"qwen/qwen-2.5-72b-instruct",name:"Qwen2.5 72B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.36,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-19",family:"qwen"},"cohere/command-r-08-2024":{id:"cohere/command-r-08-2024",name:"Command R",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-30",family:"command-r"},"cohere/command-r-plus-08-2024":{id:"cohere/command-r-plus-08-2024",name:"Command R+",contextWindow:128000,maxInputTokens:128000,maxTokens:4000,capabilities:["tools","structured_output","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-30",family:"command-r"},"sao10k/l3.1-euryale-70b":{id:"sao10k/l3.1-euryale-70b",name:"Llama 3.1 Euryale 70B v2.2",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.85,output:0.85,cacheRead:0,cacheWrite:0},releaseDate:"2024-08-28",family:"llama"},"openai/gpt-4o-2024-08-06":{id:"openai/gpt-4o-2024-08-06",name:"GPT-4o (2024-08-06)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-08-06",family:"gpt"},"meta-llama/llama-3.1-70b-instruct":{id:"meta-llama/llama-3.1-70b-instruct",name:"Llama 3.1 70B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.4,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"meta-llama/llama-3.1-8b-instruct":{id:"meta-llama/llama-3.1-8b-instruct",name:"Llama 3.1 8B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:16384,capabilities:["tools","structured_output","temperature"],pricing:{input:0.02,output:0.03,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"openai/gpt-4o-mini":{id:"openai/gpt-4o-mini",name:"GPT-4o mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18",family:"gpt-mini"},"openai/gpt-4o-mini-2024-07-18":{id:"openai/gpt-4o-mini-2024-07-18",name:"GPT-4o-mini (2024-07-18)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18",family:"o-mini"},"mistralai/mistral-nemo":{id:"mistralai/mistral-nemo",name:"Mistral Nemo",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","structured_output","temperature"],pricing:{input:0.02,output:0.03,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-01",family:"mistral-nemo"},"openai/o3-deep-research":{id:"openai/o3-deep-research",name:"o3-deep-research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:10,output:40,cacheRead:2.5,cacheWrite:0},releaseDate:"2024-06-26",family:"o"},"openai/o4-mini-deep-research":{id:"openai/o4-mini-deep-research",name:"o4-mini-deep-research",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2024-06-26",family:"o-mini"},"openai/gpt-4o":{id:"openai/gpt-4o",name:"GPT-4o",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"openai/gpt-4o-2024-05-13":{id:"openai/gpt-4o-2024-05-13",name:"GPT-4o (2024-05-13)",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","files","tools","structured_output","temperature"],pricing:{input:5,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"mistralai/mixtral-8x22b-instruct":{id:"mistralai/mixtral-8x22b-instruct",name:"Mixtral 8x22B Instruct",contextWindow:65536,maxInputTokens:65536,maxTokens:65536,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:6,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-04-17",family:"mistral"},"anthropic/claude-3-haiku":{id:"anthropic/claude-3-haiku",name:"Claude 3 Haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.25,output:1.25,cacheRead:0.03,cacheWrite:0.3},releaseDate:"2024-03-13",family:"claude"},"mistralai/mistral-large":{id:"mistralai/mistral-large",name:"Mistral Large",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:6,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-02-26",family:"mistral-large"},"openai/gpt-3.5-turbo-0613":{id:"openai/gpt-3.5-turbo-0613",name:"GPT-3.5 Turbo (older v0613)",contextWindow:4095,maxInputTokens:4095,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:1,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2024-01-25",family:"gpt"},"openai/gpt-4-turbo-preview":{id:"openai/gpt-4-turbo-preview",name:"GPT-4 Turbo Preview",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2024-01-25",family:"gpt"},"qwen/qwen-plus":{id:"qwen/qwen-plus",name:"Qwen Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:32768,capabilities:["tools","structured_output","temperature","prompt-cache"],pricing:{input:0.26,output:0.78,cacheRead:0.052,cacheWrite:0.325},releaseDate:"2024-01-25",family:"qwen"},"openrouter/auto":{id:"openrouter/auto",name:"Auto Router",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-08",family:"auto"},"openai/gpt-4":{id:"openai/gpt-4",name:"GPT-4",contextWindow:8191,maxInputTokens:8191,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:30,output:60,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"},"openai/gpt-4-turbo":{id:"openai/gpt-4-turbo",name:"GPT-4 Turbo",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","structured_output","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"},"openai/gpt-3.5-turbo-16k":{id:"openai/gpt-3.5-turbo-16k",name:"GPT-3.5 Turbo 16k",contextWindow:16385,maxInputTokens:16385,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:3,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2023-08-28",family:"gpt"},"openai/gpt-3.5-turbo":{id:"openai/gpt-3.5-turbo",name:"GPT-3.5-turbo",contextWindow:16385,maxInputTokens:16385,maxTokens:4096,capabilities:["tools","structured_output","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2023-03-01",family:"gpt"}},requesty:{"openai/gpt-5.4":{id:"openai/gpt-5.4",name:"GPT-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"openai/gpt-5.4-pro":{id:"openai/gpt-5.4-pro",name:"GPT-5.4 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:30,output:180,cacheRead:30,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt-pro"},"openai/gpt-5.3-codex":{id:"openai/gpt-5.3-codex",name:"GPT-5.3-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-24",family:"gpt-codex"},"anthropic/claude-sonnet-4-6":{id:"anthropic/claude-sonnet-4-6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"anthropic/claude-opus-4-6":{id:"anthropic/claude-opus-4-6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"openai/gpt-5.2-codex":{id:"openai/gpt-5.2-codex",name:"GPT-5.2-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-01-14",family:"gpt-codex"},"google/gemini-3-flash-preview":{id:"google/gemini-3-flash-preview",name:"Gemini 3 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:1},releaseDate:"2025-12-17"},"openai/gpt-5.2":{id:"openai/gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"openai/gpt-5.2-chat":{id:"openai/gpt-5.2-chat",name:"GPT-5.2 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-codex"},"openai/gpt-5.2-pro":{id:"openai/gpt-5.2-pro",name:"GPT-5.2 Pro",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt-pro"},"anthropic/claude-opus-4-5":{id:"anthropic/claude-opus-4-5",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"google/gemini-3-pro-preview":{id:"google/gemini-3-pro-preview",name:"Gemini 3 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:4.5},releaseDate:"2025-11-18",family:"gemini-pro"},"openai/gpt-5.1":{id:"openai/gpt-5.1",name:"GPT-5.1",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt"},"openai/gpt-5.1-chat":{id:"openai/gpt-5.1-chat",name:"GPT-5.1 Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex":{id:"openai/gpt-5.1-codex",name:"GPT-5.1-Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex-max":{id:"openai/gpt-5.1-codex-max",name:"GPT-5.1-Codex-Max",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.1,output:9,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"openai/gpt-5.1-codex-mini":{id:"openai/gpt-5.1-codex-mini",name:"GPT-5.1-Codex-Mini",contextWindow:400000,maxInputTokens:400000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-13",family:"gpt-codex"},"anthropic/claude-haiku-4-5":{id:"anthropic/claude-haiku-4-5",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:62000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"openai/gpt-5-image":{id:"openai/gpt-5-image",name:"GPT-5 Image",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2025-10-14",family:"gpt"},"openai/gpt-5-pro":{id:"openai/gpt-5-pro",name:"GPT-5 Pro",contextWindow:400000,maxInputTokens:400000,maxTokens:272000,capabilities:["images","tools","reasoning","structured_output"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"gpt-pro"},"anthropic/claude-sonnet-4-5":{id:"anthropic/claude-sonnet-4-5",name:"Claude Sonnet 4.5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"xai/grok-4-fast":{id:"xai/grok-4-fast",name:"Grok 4 Fast",contextWindow:2000000,maxInputTokens:2000000,maxTokens:64000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:0.5,cacheRead:0.05,cacheWrite:0.2},releaseDate:"2025-09-19",family:"grok"},"openai/gpt-5-codex":{id:"openai/gpt-5-codex",name:"GPT-5 Codex",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15",family:"gpt-codex"},"xai/grok-4":{id:"xai/grok-4",name:"Grok 4",contextWindow:256000,maxInputTokens:256000,maxTokens:64000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.75,cacheWrite:3},releaseDate:"2025-09-09",family:"grok"},"openai/gpt-5":{id:"openai/gpt-5",name:"GPT-5",contextWindow:400000,maxInputTokens:400000,maxTokens:128000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.13,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"openai/gpt-5-mini":{id:"openai/gpt-5-mini",name:"GPT-5 Mini",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["images","tools","reasoning","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"openai/gpt-5-nano":{id:"openai/gpt-5-nano",name:"GPT-5 Nano",contextWindow:16000,maxInputTokens:16000,maxTokens:4000,capabilities:["tools","reasoning","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"anthropic/claude-opus-4-1":{id:"anthropic/claude-opus-4-1",name:"Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"google/gemini-2.5-flash":{id:"google/gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.075,cacheWrite:0.55},releaseDate:"2025-06-17",family:"gemini-flash"},"google/gemini-2.5-pro":{id:"google/gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.31,cacheWrite:2.375},releaseDate:"2025-06-17",family:"gemini-pro"},"anthropic/claude-opus-4":{id:"anthropic/claude-opus-4",name:"Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"anthropic/claude-sonnet-4":{id:"anthropic/claude-sonnet-4",name:"Claude Sonnet 4",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"openai/o4-mini":{id:"openai/o4-mini",name:"o4 Mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.28,cacheWrite:0},releaseDate:"2025-04-16",family:"o-mini"},"openai/gpt-4.1":{id:"openai/gpt-4.1",name:"GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"openai/gpt-4.1-mini":{id:"openai/gpt-4.1-mini",name:"GPT-4.1 Mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"anthropic/claude-3-7-sonnet":{id:"anthropic/claude-3-7-sonnet",name:"Claude Sonnet 3.7",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-02-19",family:"claude-sonnet"},"openai/gpt-4o-mini":{id:"openai/gpt-4o-mini",name:"GPT-4o Mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.08,cacheWrite:0},releaseDate:"2024-07-18",family:"gpt-mini"}},sapaicore:{"gpt-5.5":{id:"gpt-5.5",name:"gpt-5.5",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-23",family:"gpt"},"anthropic--claude-4.7-opus":{id:"anthropic--claude-4.7-opus",name:"anthropic--claude-4.7-opus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"gpt-5.4":{id:"gpt-5.4",name:"gpt-5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"anthropic--claude-4.6-sonnet":{id:"anthropic--claude-4.6-sonnet",name:"anthropic--claude-4.6-sonnet",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"anthropic--claude-4.6-opus":{id:"anthropic--claude-4.6-opus",name:"anthropic--claude-4.6-opus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"anthropic--claude-4.5-opus":{id:"anthropic--claude-4.5-opus",name:"anthropic--claude-4.5-opus",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"anthropic--claude-4.5-haiku":{id:"anthropic--claude-4.5-haiku",name:"anthropic--claude-4.5-haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"anthropic--claude-4.5-sonnet":{id:"anthropic--claude-4.5-sonnet",name:"anthropic--claude-4.5-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"gpt-5":{id:"gpt-5",name:"gpt-5",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"gpt-5-mini":{id:"gpt-5-mini",name:"gpt-5-mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"gpt-5-nano":{id:"gpt-5-nano",name:"gpt-5-nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.005,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"gemini-2.5-flash-lite":{id:"gemini-2.5-flash-lite",name:"gemini-2.5-flash-lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"anthropic--claude-4-opus":{id:"anthropic--claude-4-opus",name:"anthropic--claude-4-opus",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"anthropic--claude-4-sonnet":{id:"anthropic--claude-4-sonnet",name:"anthropic--claude-4-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"gemini-2.5-flash":{id:"gemini-2.5-flash",name:"gemini-2.5-flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-04-17",family:"gemini-flash"},"gpt-4.1":{id:"gpt-4.1",name:"gpt-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"gpt-4.1-mini":{id:"gpt-4.1-mini",name:"gpt-4.1-mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"gemini-2.5-pro":{id:"gemini-2.5-pro",name:"gemini-2.5-pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-03-25",family:"gemini-pro"},"anthropic--claude-3.7-sonnet":{id:"anthropic--claude-3.7-sonnet",name:"anthropic--claude-3.7-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-02-24",family:"claude-sonnet"},"anthropic--claude-3.5-sonnet":{id:"anthropic--claude-3.5-sonnet",name:"anthropic--claude-3.5-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:8192,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2024-10-22",family:"claude-sonnet"},"anthropic--claude-3-haiku":{id:"anthropic--claude-3-haiku",name:"anthropic--claude-3-haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.25,output:1.25,cacheRead:0.03,cacheWrite:0.3},releaseDate:"2024-03-13",family:"claude-haiku"},"anthropic--claude-3-sonnet":{id:"anthropic--claude-3-sonnet",name:"anthropic--claude-3-sonnet",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2024-03-04",family:"claude-sonnet"},"anthropic--claude-3-opus":{id:"anthropic--claude-3-opus",name:"anthropic--claude-3-opus",contextWindow:200000,maxInputTokens:200000,maxTokens:4096,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2024-02-29",family:"claude-opus"}},"tencent-tokenhub":{hy3:{id:"hy3",name:"Hy3",contextWindow:256000,maxInputTokens:256000,maxTokens:64000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-07-06",family:"Hy"},"hy3-preview":{id:"hy3-preview",name:"Hy3 preview",contextWindow:256000,maxInputTokens:256000,maxTokens:64000,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-20",family:"Hy"}},together:{"zai-org/GLM-5.2":{id:"zai-org/GLM-5.2",name:"GLM-5.2",contextWindow:262144,maxInputTokens:262144,maxTokens:164000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-06-16",family:"glm"},"moonshotai/Kimi-K2.7-Code":{id:"moonshotai/Kimi-K2.7-Code",name:"Kimi K2.7 Code",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},releaseDate:"2026-06-14",family:"kimi-k2"},"MiniMaxAI/MiniMax-M3":{id:"MiniMaxAI/MiniMax-M3",name:"MiniMax-M3",contextWindow:524288,maxInputTokens:524288,maxTokens:250000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-06-12",family:"minimax"},"nvidia/nemotron-3-ultra-550b-a55b":{id:"nvidia/nemotron-3-ultra-550b-a55b",name:"Nemotron 3 Ultra 550B A55B",contextWindow:512300,maxInputTokens:512300,maxTokens:512300,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:3.6,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"Qwen/Qwen3.7-Max":{id:"Qwen/Qwen3.7-Max",name:"Qwen3.7 Max",contextWindow:1e6,maxInputTokens:1e6,maxTokens:500000,capabilities:["tools","temperature"],pricing:{input:1.25,output:3.75,cacheRead:0,cacheWrite:0},releaseDate:"2026-05-21",family:"qwen"},"Qwen/Qwen3.6-Plus":{id:"Qwen/Qwen3.6-Plus",name:"Qwen3.6 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:500000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.5,output:3,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-30",family:"qwen"},"deepseek-ai/DeepSeek-V4-Pro":{id:"deepseek-ai/DeepSeek-V4-Pro",name:"DeepSeek V4 Pro",contextWindow:512000,maxInputTokens:512000,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.74,output:3.48,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-24",family:"deepseek"},"moonshotai/Kimi-K2.6":{id:"moonshotai/Kimi-K2.6",name:"Kimi K2.6",contextWindow:262144,maxInputTokens:262144,maxTokens:131000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.2,output:4.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-21",family:"kimi-k2"},"google/gemma-4-31B-it":{id:"google/gemma-4-31B-it",name:"Gemma 4 31B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.39,output:0.97,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-07",family:"gemma"},"zai-org/GLM-5.1":{id:"zai-org/GLM-5.1",name:"GLM-5.1",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1.4,output:4.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"MiniMaxAI/MiniMax-M2.7":{id:"MiniMaxAI/MiniMax-M2.7",name:"MiniMax-M2.7",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-18",family:"minimax"},"Qwen/Qwen3.5-9B":{id:"Qwen/Qwen3.5-9B",name:"Qwen3.5 9B",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.17,output:0.25,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-03",family:"qwen"},"Qwen/Qwen3.5-397B-A17B":{id:"Qwen/Qwen3.5-397B-A17B",name:"Qwen3.5 397B A17B",contextWindow:262144,maxInputTokens:262144,maxTokens:130000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.6,output:3.6,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-16",family:"qwen"},"zai-org/GLM-5":{id:"zai-org/GLM-5",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:1,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"essentialai/Rnj-1-Instruct":{id:"essentialai/Rnj-1-Instruct",name:"Rnj-1 Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-05",family:"rnj"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"Qwen/Qwen3-235B-A22B-Instruct-2507-tput":{id:"Qwen/Qwen3-235B-A22B-Instruct-2507-tput",name:"Qwen3 235B A22B Instruct 2507 FP8",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"meta-llama/Llama-3.3-70B-Instruct-Turbo":{id:"meta-llama/Llama-3.3-70B-Instruct-Turbo",name:"Llama 3.3 70B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:1.04,output:1.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"Qwen/Qwen2.5-7B-Instruct-Turbo":{id:"Qwen/Qwen2.5-7B-Instruct-Turbo",name:"Qwen 2.5 7B Instruct Turbo",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.3,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-19",family:"qwen"}},v0:{"v0-1.5-lg":{id:"v0-1.5-lg",name:"v0-1.5-lg",contextWindow:512000,maxInputTokens:512000,maxTokens:32000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:15,output:75,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-09",family:"v0"},"v0-1.5-md":{id:"v0-1.5-md",name:"v0-1.5-md",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:3,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-09",family:"v0"},"v0-1.0-md":{id:"v0-1.0-md",name:"v0-1.0-md",contextWindow:128000,maxInputTokens:128000,maxTokens:32000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:3,output:15,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-22",family:"v0"}},"vercel-ai-gateway":{"anthropic/claude-fable-5":{id:"anthropic/claude-fable-5",name:"Claude Fable 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:10,output:50,cacheRead:1,cacheWrite:12.5},releaseDate:"2026-07-01",family:"claude-fable"},"anthropic/claude-sonnet-5":{id:"anthropic/claude-sonnet-5",name:"Claude Sonnet 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-29",family:"claude-sonnet"},"sakana/fugu-ultra":{id:"sakana/fugu-ultra",name:"Fugu Ultra",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-06-21",family:"aura"},"zai/glm-5.2":{id:"zai/glm-5.2",name:"GLM 5.2",contextWindow:1040000,maxInputTokens:1040000,maxTokens:128000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-06-16",family:"glm"},"zai/glm-5.2-fast":{id:"zai/glm-5.2-fast",name:"GLM 5.2 Fast",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:10.25,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-06-16",family:"glm"},"moonshotai/kimi-k2.7-code-highspeed":{id:"moonshotai/kimi-k2.7-code-highspeed",name:"Kimi K2.7 Code High Speed",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.9,output:8,cacheRead:0.38,cacheWrite:0},releaseDate:"2026-06-15",family:"kimi-k2"},"moonshotai/kimi-k2.7-code":{id:"moonshotai/kimi-k2.7-code",name:"Kimi K2.7 Code",contextWindow:256000,maxInputTokens:256000,maxTokens:32768,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.19,cacheWrite:0},releaseDate:"2026-06-12",family:"kimi-k2"},"nvidia/nemotron-3-ultra-550b-a55b":{id:"nvidia/nemotron-3-ultra-550b-a55b",name:"Nemotron 3 Ultra",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.12,cacheWrite:0},releaseDate:"2026-06-04",family:"nemotron"},"alibaba/qwen3.7-plus":{id:"alibaba/qwen3.7-plus",name:"Qwen 3.7 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.08,cacheWrite:0.5},releaseDate:"2026-06-02",family:"qwen3.7-plus"},"minimax/minimax-m3":{id:"minimax/minimax-m3",name:"MiniMax M3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-05-31",family:"minimax-m3"},"anthropic/claude-opus-4.8":{id:"anthropic/claude-opus-4.8",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"stepfun/step-3.7-flash":{id:"stepfun/step-3.7-flash",name:"Step 3.7 Flash",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:1.15,cacheRead:0.04,cacheWrite:0},releaseDate:"2026-05-28",family:"step"},"alibaba/qwen3.7-max":{id:"alibaba/qwen3.7-max",name:"Qwen 3.7 Max",contextWindow:991000,maxInputTokens:991000,maxTokens:64000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:3.75,cacheRead:0.25,cacheWrite:1.5625},releaseDate:"2026-05-21",family:"qwen"},"xai/grok-build-0.1":{id:"xai/grok-build-0.1",name:"Grok Build 0.1",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-05-20",family:"grok-build"},"google/gemini-3.5-flash":{id:"google/gemini-3.5-flash",name:"Gemini 3.5 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-05-19",family:"gemini"},"google/gemini-3.1-flash-lite":{id:"google/gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2026-05-07",family:"gemini"},"xai/grok-4.3":{id:"xai/grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-30",family:"grok"},"mistral/mistral-medium-3.5":{id:"mistral/mistral-medium-3.5",name:"Mistral Medium Latest",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","reasoning","temperature"],pricing:{input:1.5,output:7.5,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-29",family:"mistral-medium"},"openai/gpt-5.5":{id:"openai/gpt-5.5",name:"GPT 5.5",contextWindow:1e6,maxInputTokens:872000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:5,output:30,cacheRead:0.5,cacheWrite:0},releaseDate:"2026-04-24",family:"gpt"},"openai/gpt-5.5-pro":{id:"openai/gpt-5.5-pro",name:"GPT 5.5 Pro",contextWindow:1e6,maxInputTokens:872000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-24",family:"gpt"},"deepseek/deepseek-v4-flash":{id:"deepseek/deepseek-v4-flash",name:"DeepSeek V4 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-23",family:"deepseek"},"deepseek/deepseek-v4-pro":{id:"deepseek/deepseek-v4-pro",name:"DeepSeek V4 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:384000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-23",family:"deepseek"},"alibaba/qwen3.6-27b":{id:"alibaba/qwen3.6-27b",name:"Qwen 3.6 27B",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:3.6,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-22",family:"qwen3.6"},"xiaomi/mimo-v2.5":{id:"xiaomi/mimo-v2.5",name:"MiMo M2.5",contextWindow:1050000,maxInputTokens:1050000,maxTokens:131100,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5"},"xiaomi/mimo-v2.5-pro":{id:"xiaomi/mimo-v2.5-pro",name:"MiMo V2.5 Pro",contextWindow:1050000,maxInputTokens:1050000,maxTokens:131000,capabilities:["files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo-v2.5-pro"},"alibaba/qwen-3.6-max-preview":{id:"alibaba/qwen-3.6-max-preview",name:"Qwen 3.6 Max Preview",contextWindow:240000,maxInputTokens:240000,maxTokens:64000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.3,output:7.8,cacheRead:0.26,cacheWrite:1.625},releaseDate:"2026-04-20",family:"qwen"},"moonshotai/kimi-k2.6":{id:"moonshotai/kimi-k2.6",name:"Kimi K2.6",contextWindow:262000,maxInputTokens:262000,maxTokens:262000,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.95,output:4,cacheRead:0.16,cacheWrite:0},releaseDate:"2026-04-20",family:"kimi-k2"},"anthropic/claude-opus-4.7":{id:"anthropic/claude-opus-4.7",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"zai/glm-5.1":{id:"zai/glm-5.1",name:"GLM 5.1",contextWindow:202000,maxInputTokens:202000,maxTokens:202000,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.3,output:4.3,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"alibaba/qwen3.6-plus":{id:"alibaba/qwen3.6-plus",name:"Qwen 3.6 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.1,cacheWrite:0.625},releaseDate:"2026-04-02",family:"qwen"},"google/gemma-4-26b-a4b-it":{id:"google/gemma-4-26b-a4b-it",name:"Gemma 4 26B A4B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.015,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"google/gemma-4-31b-it":{id:"google/gemma-4-31b-it",name:"Gemma 4 31B IT",contextWindow:262144,maxInputTokens:262144,maxTokens:131072,capabilities:["images","files","tools","structured_output","temperature"],pricing:{input:0.14,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-02",family:"gemma"},"arcee-ai/trinity-large-thinking":{id:"arcee-ai/trinity-large-thinking",name:"Trinity Large Thinking",contextWindow:262100,maxInputTokens:262100,maxTokens:80000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.25,output:0.8999999999999999,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-01",family:"trinity"},"zai/glm-5v-turbo":{id:"zai/glm-5v-turbo",name:"GLM 5V Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"kwaipilot/kat-coder-pro-v2":{id:"kwaipilot/kat-coder-pro-v2",name:"Kat Coder Pro V2",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0},releaseDate:"2026-03-27",family:"kat-coder"},"minimax/minimax-m2.7":{id:"minimax/minimax-m2.7",name:"Minimax M2.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"minimax/minimax-m2.7-highspeed":{id:"minimax/minimax-m2.7-highspeed",name:"MiniMax M2.7 High Speed",contextWindow:204800,maxInputTokens:204800,maxTokens:131100,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.06,cacheWrite:0.375},releaseDate:"2026-03-18",family:"minimax"},"xiaomi/mimo-v2-pro":{id:"xiaomi/mimo-v2-pro",name:"MiMo V2 Pro",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-18",family:"mimo"},"openai/gpt-5.4-mini":{id:"openai/gpt-5.4-mini",name:"GPT 5.4 Mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.75,output:4.5,cacheRead:0.075,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt"},"openai/gpt-5.4-nano":{id:"openai/gpt-5.4-nano",name:"GPT 5.4 Nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.2,output:1.25,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-03-17",family:"gpt"},"zai/glm-5-turbo":{id:"zai/glm-5-turbo",name:"GLM 5 Turbo",contextWindow:202800,maxInputTokens:202800,maxTokens:131100,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-03-15",family:"glm"},"xai/grok-4.20-multi-agent-beta":{id:"xai/grok-4.20-multi-agent-beta",name:"Grok 4.20 Multi Agent Beta",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-11",family:"grok"},"xai/grok-4.20-non-reasoning-beta":{id:"xai/grok-4.20-non-reasoning-beta",name:"Grok 4.20 Beta Non-Reasoning",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.4,cacheWrite:0},releaseDate:"2026-03-11",family:"grok"},"xai/grok-4.20-reasoning-beta":{id:"xai/grok-4.20-reasoning-beta",name:"Grok 4.20 Beta Reasoning",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-11",family:"grok"},"xai/grok-4.20-multi-agent":{id:"xai/grok-4.20-multi-agent",name:"Grok 4.20 Multi-Agent",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-10",family:"grok"},"xai/grok-4.20-non-reasoning":{id:"xai/grok-4.20-non-reasoning",name:"Grok 4.20 Non-Reasoning",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-10",family:"grok"},"xai/grok-4.20-reasoning":{id:"xai/grok-4.20-reasoning",name:"Grok 4.20 Reasoning",contextWindow:2000000,maxInputTokens:2000000,maxTokens:2000000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-10",family:"grok"},"openai/gpt-5.4":{id:"openai/gpt-5.4",name:"GPT 5.4",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:15,cacheRead:0.25,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"openai/gpt-5.4-pro":{id:"openai/gpt-5.4-pro",name:"GPT 5.4 Pro",contextWindow:1050000,maxInputTokens:922000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:30,output:180,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-05",family:"gpt"},"google/gemini-3.1-flash-lite-preview":{id:"google/gemini-3.1-flash-lite-preview",name:"Gemini 3.1 Flash Lite Preview",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2026-03-03",family:"gemini"},"openai/gpt-5.3-chat":{id:"openai/gpt-5.3-chat",name:"GPT-5.3 Chat",contextWindow:128000,maxInputTokens:111616,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-03-03",family:"gpt"},"alibaba/qwen3.5-flash":{id:"alibaba/qwen3.5-flash",name:"Qwen 3.5 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.001,cacheWrite:0.125},releaseDate:"2026-02-24",family:"qwen"},"inception/mercury-2":{id:"inception/mercury-2",name:"Mercury 2",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:0.75,cacheRead:0.024999999999999998,cacheWrite:0},releaseDate:"2026-02-24",family:"mercury"},"anthropic/claude-sonnet-4.6":{id:"anthropic/claude-sonnet-4.6",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"alibaba/qwen3.5-plus":{id:"alibaba/qwen3.5-plus",name:"Qwen 3.5 Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.4,output:2.4,cacheRead:0.04,cacheWrite:0.5},releaseDate:"2026-02-16",family:"qwen"},"minimax/minimax-m2.5":{id:"minimax/minimax-m2.5",name:"MiniMax M2.5",contextWindow:204800,maxInputTokens:204800,maxTokens:131000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2026-02-12",family:"minimax"},"minimax/minimax-m2.5-highspeed":{id:"minimax/minimax-m2.5-highspeed",name:"MiniMax M2.5 High Speed",contextWindow:204800,maxInputTokens:204800,maxTokens:131000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.4,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2026-02-12",family:"minimax"},"zai/glm-5":{id:"zai/glm-5",name:"GLM-5",contextWindow:202800,maxInputTokens:202800,maxTokens:131100,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.95,output:3.15,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-12",family:"glm"},"anthropic/claude-opus-4.6":{id:"anthropic/claude-opus-4.6",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"openai/gpt-5.3-codex":{id:"openai/gpt-5.3-codex",name:"GPT 5.3 Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2026-02-05",family:"gpt"},"stepfun/step-3.5-flash":{id:"stepfun/step-3.5-flash",name:"StepFun 3.5 Flash",contextWindow:262114,maxInputTokens:262114,maxTokens:262114,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.09,output:0.3,cacheRead:0.02,cacheWrite:0},releaseDate:"2026-01-29",family:"step"},"arcee-ai/trinity-large-preview":{id:"arcee-ai/trinity-large-preview",name:"Trinity Large Preview",contextWindow:131000,maxInputTokens:131000,maxTokens:131000,capabilities:["tools","temperature"],pricing:{input:0.25,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27",family:"trinity"},"moonshotai/kimi-k2.5":{id:"moonshotai/kimi-k2.5",name:"Kimi K2.5",contextWindow:262114,maxInputTokens:262114,maxTokens:262114,capabilities:["images","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.6,output:3,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-01-26",family:"kimi-k2"},"alibaba/qwen3-max-thinking":{id:"alibaba/qwen3-max-thinking",name:"Qwen 3 Max Thinking",contextWindow:256000,maxInputTokens:256000,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:6,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-01-23",family:"qwen"},"zai/glm-4.7-flash":{id:"zai/glm-4.7-flash",name:"GLM 4.7 Flash",contextWindow:200000,maxInputTokens:200000,maxTokens:131000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.07,output:0.4,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"glm"},"zai/glm-4.7-flashx":{id:"zai/glm-4.7-flashx",name:"GLM 4.7 FlashX",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.06,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"minimax/minimax-m2.1":{id:"minimax/minimax-m2.1",name:"MiniMax M2.1",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2025-12-23",family:"minimax"},"minimax/minimax-m2.1-lightning":{id:"minimax/minimax-m2.1-lightning",name:"MiniMax M2.1 Lightning",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.4,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2025-12-23",family:"minimax"},"zai/glm-4.7":{id:"zai/glm-4.7",name:"GLM 4.7",contextWindow:200000,maxInputTokens:200000,maxTokens:120000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.12,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"openai/gpt-5.2-codex":{id:"openai/gpt-5.2-codex",name:"GPT-5.2-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-18",family:"gpt-codex"},"google/gemini-3-flash":{id:"google/gemini-3-flash",name:"Gemini 3 Flash",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"xiaomi/mimo-v2-flash":{id:"xiaomi/mimo-v2-flash",name:"MiMo V2 Flash",contextWindow:262144,maxInputTokens:262144,maxTokens:32000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.3,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-12-16",family:"mimo"},"openai/gpt-5.2":{id:"openai/gpt-5.2",name:"GPT-5.2",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"openai/gpt-5.2-chat":{id:"openai/gpt-5.2-chat",name:"GPT-5.2 Chat",contextWindow:128000,maxInputTokens:111616,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.75,output:14,cacheRead:0.175,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"openai/gpt-5.2-pro":{id:"openai/gpt-5.2-pro",name:"GPT 5.2 ",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:21,output:168,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-11",family:"gpt"},"mistral/devstral-2":{id:"mistral/devstral-2",name:"Devstral 2",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09",family:"devstral"},"mistral/devstral-small-2":{id:"mistral/devstral-small-2",name:"Devstral Small 2",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-09",family:"devstral"},"deepseek/deepseek-v3.2-thinking":{id:"deepseek/deepseek-v3.2-thinking",name:"DeepSeek V3.2 Thinking",contextWindow:128000,maxInputTokens:128000,maxTokens:8000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.62,output:1.85,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-01",family:"deepseek-thinking"},"anthropic/claude-opus-4.5":{id:"anthropic/claude-opus-4.5",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-24",family:"claude-opus"},"openai/gpt-5.1-codex-max":{id:"openai/gpt-5.1-codex-max",name:"GPT 5.1 Codex Max",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-19",family:"gpt"},"xai/grok-4.1-fast-non-reasoning":{id:"xai/grok-4.1-fast-non-reasoning",name:"Grok 4.1 Fast Non-Reasoning",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.2,output:0.5,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-11-19",family:"grok"},"xai/grok-4.1-fast-reasoning":{id:"xai/grok-4.1-fast-reasoning",name:"Grok 4.1 Fast Reasoning",contextWindow:1e6,maxInputTokens:1e6,maxTokens:1e6,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:0.5,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-11-19",family:"grok"},"google/gemini-3-pro-preview":{id:"google/gemini-3-pro-preview",name:"Gemini 3 Pro Preview",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-11-18",family:"gemini-pro"},"google/gemini-3.1-pro-preview":{id:"google/gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1e6,maxInputTokens:1e6,maxTokens:64000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-11-18",family:"gemini"},"openai/gpt-5.1-codex":{id:"openai/gpt-5.1-codex",name:"GPT-5.1-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-12",family:"gpt"},"openai/gpt-5.1-codex-mini":{id:"openai/gpt-5.1-codex-mini",name:"GPT-5.1 Codex mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-11-12",family:"gpt"},"openai/gpt-5.1-instant":{id:"openai/gpt-5.1-instant",name:"GPT-5.1 Instant",contextWindow:128000,maxInputTokens:111616,maxTokens:16384,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-12",family:"gpt"},"openai/gpt-5.1-thinking":{id:"openai/gpt-5.1-thinking",name:"GPT 5.1 Thinking",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-11-12",family:"gpt"},"moonshotai/kimi-k2-thinking":{id:"moonshotai/kimi-k2-thinking",name:"Kimi K2 Thinking",contextWindow:216144,maxInputTokens:216144,maxTokens:216144,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.47,output:2,cacheRead:0.141,cacheWrite:0},releaseDate:"2025-11-06",family:"kimi-thinking"},"openai/gpt-oss-safeguard-20b":{id:"openai/gpt-oss-safeguard-20b",name:"gpt-oss-safeguard-20b",contextWindow:131072,maxInputTokens:65536,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.075,output:0.3,cacheRead:0.037,cacheWrite:0},releaseDate:"2025-10-29",family:"gpt-oss"},"nvidia/nemotron-nano-12b-v2-vl":{id:"nvidia/nemotron-nano-12b-v2-vl",name:"Nvidia Nemotron Nano 12B V2 VL",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.2,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-28",family:"nemotron"},"minimax/minimax-m2":{id:"minimax/minimax-m2",name:"MiniMax M2",contextWindow:205000,maxInputTokens:205000,maxTokens:205000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:1.2,cacheRead:0.03,cacheWrite:0.375},releaseDate:"2025-10-27",family:"minimax"},"anthropic/claude-haiku-4.5":{id:"anthropic/claude-haiku-4.5",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"openai/gpt-5-pro":{id:"openai/gpt-5-pro",name:"GPT-5 pro",contextWindow:400000,maxInputTokens:128000,maxTokens:272000,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:15,output:120,cacheRead:0,cacheWrite:0},releaseDate:"2025-10-06",family:"gpt"},"zai/glm-4.6":{id:"zai/glm-4.6",name:"GLM 4.6",contextWindow:200000,maxInputTokens:200000,maxTokens:96000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"zai/glm-4.6v":{id:"zai/glm-4.6v",name:"GLM-4.6V",contextWindow:128000,maxInputTokens:128000,maxTokens:24000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:0.9,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"zai/glm-4.6v-flash":{id:"zai/glm-4.6v-flash",name:"GLM-4.6V-Flash",contextWindow:128000,maxInputTokens:128000,maxTokens:24000,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"anthropic/claude-sonnet-4.5":{id:"anthropic/claude-sonnet-4.5",name:"Claude Sonnet 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"alibaba/qwen3-235b-a22b-thinking":{id:"alibaba/qwen3-235b-a22b-thinking",name:"Qwen3 235B A22B Thinking 2507",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.4,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"alibaba/qwen3-max":{id:"alibaba/qwen3-max",name:"Qwen3 Max",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:1.2,output:6,cacheRead:0.24,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"alibaba/qwen3-vl-instruct":{id:"alibaba/qwen3-vl-instruct",name:"Qwen3 VL Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:129024,capabilities:["images","tools","temperature"],pricing:{input:0.4,output:1.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"alibaba/qwen3-vl-thinking":{id:"alibaba/qwen3-vl-thinking",name:"Qwen3 VL Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0.4,output:4,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-23",family:"qwen"},"deepseek/deepseek-v3.1-terminus":{id:"deepseek/deepseek-v3.1-terminus",name:"DeepSeek V3.1 Terminus",contextWindow:131072,maxInputTokens:131072,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.27,output:1,cacheRead:0.135,cacheWrite:0},releaseDate:"2025-09-22",family:"deepseek"},"openai/gpt-5-codex":{id:"openai/gpt-5-codex",name:"GPT-5-Codex",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-09-15",family:"gpt-codex"},"alibaba/qwen3-next-80b-a3b-instruct":{id:"alibaba/qwen3-next-80b-a3b-instruct",name:"Qwen3 Next 80B A3B Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","temperature"],pricing:{input:0.15,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11",family:"qwen"},"alibaba/qwen3-next-80b-a3b-thinking":{id:"alibaba/qwen3-next-80b-a3b-thinking",name:"Qwen3 Next 80B A3B Thinking",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-11",family:"qwen"},"alibaba/qwen3-max-preview":{id:"alibaba/qwen3-max-preview",name:"Qwen3 Max Preview",contextWindow:262144,maxInputTokens:262144,maxTokens:32768,capabilities:["tools","temperature","prompt-cache"],pricing:{input:1.2,output:6,cacheRead:0.24,cacheWrite:0},releaseDate:"2025-09-05",family:"qwen"},"bytedance/seed-1.6":{id:"bytedance/seed-1.6",name:"Seed 1.6",contextWindow:256000,maxInputTokens:256000,maxTokens:32000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-09-01",family:"seed"},"bytedance/seed-1.8":{id:"bytedance/seed-1.8",name:"Seed 1.8",contextWindow:256000,maxInputTokens:256000,maxTokens:64000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-09-01",family:"seed"},"meituan/longcat-flash-chat":{id:"meituan/longcat-flash-chat",name:"LongCat Flash Chat",contextWindow:128000,maxInputTokens:128000,maxTokens:1e5,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-09-01",family:"longcat"},"deepseek/deepseek-v3.1":{id:"deepseek/deepseek-v3.1",name:"DeepSeek-V3.1",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.6,output:1.7,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-21",family:"deepseek"},"nvidia/nemotron-nano-9b-v2":{id:"nvidia/nemotron-nano-9b-v2",name:"Nvidia Nemotron Nano 9B V2",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0.06,output:0.23,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-18",family:"nemotron"},"zai/glm-4.5v":{id:"zai/glm-4.5v",name:"GLM 4.5V",contextWindow:66000,maxInputTokens:66000,maxTokens:16000,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:1.8,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-08-11",family:"glm"},"openai/gpt-5":{id:"openai/gpt-5",name:"GPT-5",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"openai/gpt-5-chat":{id:"openai/gpt-5-chat",name:"GPT-5 Chat",contextWindow:128000,maxInputTokens:111616,maxTokens:16384,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt"},"openai/gpt-5-mini":{id:"openai/gpt-5-mini",name:"GPT-5 Mini",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.25,output:2,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-mini"},"openai/gpt-5-nano":{id:"openai/gpt-5-nano",name:"GPT-5 Nano",contextWindow:400000,maxInputTokens:272000,maxTokens:128000,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:0.05,output:0.4,cacheRead:0.005,cacheWrite:0},releaseDate:"2025-08-07",family:"gpt-nano"},"anthropic/claude-opus-4.1":{id:"anthropic/claude-opus-4.1",name:"Claude Opus 4.1",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-08-05",family:"claude-opus"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:122880,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"alibaba/qwen3-coder-30b-a3b":{id:"alibaba/qwen3-coder-30b-a3b",name:"Qwen 3 Coder 30B A3B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-31",family:"qwen"},"zai/glm-4.5":{id:"zai/glm-4.5",name:"GLM 4.5",contextWindow:128000,maxInputTokens:128000,maxTokens:96000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-07-28",family:"glm"},"zai/glm-4.5-air":{id:"zai/glm-4.5-air",name:"GLM 4.5 Air",contextWindow:128000,maxInputTokens:128000,maxTokens:96000,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:1.1,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"},"alibaba/qwen3-coder-plus":{id:"alibaba/qwen3-coder-plus",name:"Qwen3 Coder Plus",contextWindow:1e6,maxInputTokens:1e6,maxTokens:65536,capabilities:["tools","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.2,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"alibaba/qwen3-coder":{id:"alibaba/qwen3-coder",name:"Qwen3 Coder 480B A35B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:65536,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.5,output:7.5,cacheRead:0.3,cacheWrite:0},releaseDate:"2025-07-22",family:"qwen"},"alibaba/qwen3-coder-next":{id:"alibaba/qwen3-coder-next",name:"Qwen3 Coder Next",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.5,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-22",family:"qwen"},"moonshotai/kimi-k2":{id:"moonshotai/kimi-k2",name:"Kimi K2 Instruct",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","temperature"],pricing:{input:0.57,output:2.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-11",family:"kimi-k2"},"openai/o3-deep-research":{id:"openai/o3-deep-research",name:"o3-deep-research",contextWindow:200000,maxInputTokens:1e5,maxTokens:1e5,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:10,output:40,cacheRead:2.5,cacheWrite:0},releaseDate:"2025-06-26",family:"o"},"google/gemini-2.5-flash":{id:"google/gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash"},"google/gemini-2.5-flash-lite":{id:"google/gemini-2.5-flash-lite",name:"Gemini 2.5 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"google/gemini-2.5-pro":{id:"google/gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-pro"},"openai/o3-pro":{id:"openai/o3-pro",name:"o3 Pro",contextWindow:200000,maxInputTokens:1e5,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","temperature"],pricing:{input:20,output:80,cacheRead:0,cacheWrite:0},releaseDate:"2025-06-10",family:"o-pro"},"anthropic/claude-opus-4":{id:"anthropic/claude-opus-4",name:"Claude Opus 4",contextWindow:200000,maxInputTokens:200000,maxTokens:32000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:15,output:75,cacheRead:1.5,cacheWrite:18.75},releaseDate:"2025-05-22",family:"claude-opus"},"anthropic/claude-sonnet-4":{id:"anthropic/claude-sonnet-4",name:"Claude Sonnet 4",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-05-22",family:"claude-sonnet"},"mistral/devstral-small":{id:"mistral/devstral-small",name:"Devstral Small 1.1",contextWindow:128000,maxInputTokens:128000,maxTokens:64000,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-21",family:"devstral"},"mistral/mistral-medium":{id:"mistral/mistral-medium",name:"Mistral Medium 3.1",contextWindow:128000,maxInputTokens:128000,maxTokens:64000,capabilities:["images","tools","temperature"],pricing:{input:0.4,output:2,cacheRead:0,cacheWrite:0},releaseDate:"2025-05-07",family:"mistral-medium"},"alibaba/qwen-3-14b":{id:"alibaba/qwen-3-14b",name:"Qwen3-14B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:0.12,output:0.24,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"alibaba/qwen-3-235b":{id:"alibaba/qwen-3-235b",name:"Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:0.22,output:0.88,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"alibaba/qwen-3-30b":{id:"alibaba/qwen-3-30b",name:"Qwen3-30B-A3B",contextWindow:40960,maxInputTokens:40960,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:0.12,output:0.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"alibaba/qwen-3-32b":{id:"alibaba/qwen-3-32b",name:"Qwen 3.32B",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0.16,output:0.64,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"openai/o3":{id:"openai/o3",name:"o3",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-16",family:"o"},"openai/o4-mini":{id:"openai/o4-mini",name:"o4-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.275,cacheWrite:0},releaseDate:"2025-04-16",family:"o-mini"},"openai/gpt-4.1":{id:"openai/gpt-4.1",name:"GPT-4.1",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2,output:8,cacheRead:0.5,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt"},"openai/gpt-4.1-mini":{id:"openai/gpt-4.1-mini",name:"GPT-4.1 mini",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.4,output:1.6,cacheRead:0.1,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-mini"},"openai/gpt-4.1-nano":{id:"openai/gpt-4.1-nano",name:"GPT-4.1 nano",contextWindow:1047576,maxInputTokens:1047576,maxTokens:32768,capabilities:["images","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-04-14",family:"gpt-nano"},"meta/llama-4-maverick":{id:"meta/llama-4-maverick",name:"Llama-4-Maverick-17B-128E-Instruct-FP8",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"meta/llama-4-scout":{id:"meta/llama-4-scout",name:"Llama-4-Scout-17B-16E-Instruct-FP8",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-05",family:"llama"},"mistral/magistral-medium":{id:"mistral/magistral-medium",name:"Magistral Medium (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["tools","reasoning","temperature"],pricing:{input:2,output:5,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-17",family:"magistral-medium"},"mistral/magistral-small":{id:"mistral/magistral-small",name:"Magistral Small",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","reasoning","temperature"],pricing:{input:0.5,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-17",family:"magistral-small"},"cohere/command-a":{id:"cohere/command-a",name:"Command A",contextWindow:256000,maxInputTokens:256000,maxTokens:8000,capabilities:["tools","temperature"],pricing:{input:2.5,output:10,cacheRead:0,cacheWrite:0},releaseDate:"2025-03-13",family:"command"},"inception/mercury-coder-small":{id:"inception/mercury-coder-small",name:"Mercury Coder Small Beta",contextWindow:32000,maxInputTokens:32000,maxTokens:16384,capabilities:["tools","temperature"],pricing:{input:0.25,output:1,cacheRead:0,cacheWrite:0},releaseDate:"2025-02-26",family:"mercury"},"perplexity/sonar":{id:"perplexity/sonar",name:"Sonar",contextWindow:127000,maxInputTokens:127000,maxTokens:8000,capabilities:["images","tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-02-19",family:"sonar"},"perplexity/sonar-pro":{id:"perplexity/sonar-pro",name:"Sonar Pro",contextWindow:200000,maxInputTokens:200000,maxTokens:8000,capabilities:["images","tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-02-19",family:"sonar-pro"},"deepseek/deepseek-r1":{id:"deepseek/deepseek-r1",name:"DeepSeek-R1",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:1.35,output:5.4,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-20",family:"deepseek-thinking"},"deepseek/deepseek-v3":{id:"deepseek/deepseek-v3",name:"DeepSeek V3 0324",contextWindow:163840,maxInputTokens:163840,maxTokens:163840,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.27,output:1.12,cacheRead:0.135,cacheWrite:0},releaseDate:"2024-12-26",family:"deepseek"},"openai/o3-mini":{id:"openai/o3-mini",name:"o3-mini",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["tools","reasoning","structured_output","prompt-cache"],pricing:{input:1.1,output:4.4,cacheRead:0.55,cacheWrite:0},releaseDate:"2024-12-20",family:"o-mini"},"meta/llama-3.3-70b":{id:"meta/llama-3.3-70b",name:"Llama-3.3-70B-Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"openai/o1":{id:"openai/o1",name:"o1",contextWindow:200000,maxInputTokens:200000,maxTokens:1e5,capabilities:["images","files","tools","reasoning","structured_output","prompt-cache"],pricing:{input:15,output:60,cacheRead:7.5,cacheWrite:0},releaseDate:"2024-12-05",family:"o"},"amazon/nova-lite":{id:"amazon/nova-lite",name:"Nova Lite",contextWindow:300000,maxInputTokens:300000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.06,output:0.24,cacheRead:0.015,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-lite"},"amazon/nova-micro":{id:"amazon/nova-micro",name:"Nova Micro",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","temperature","prompt-cache"],pricing:{input:0.035,output:0.14,cacheRead:0.00875,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-micro"},"amazon/nova-pro":{id:"amazon/nova-pro",name:"Nova Pro",contextWindow:300000,maxInputTokens:300000,maxTokens:8192,capabilities:["images","tools","temperature","prompt-cache"],pricing:{input:0.8,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2024-12-03",family:"nova-pro"},"anthropic/claude-3.5-haiku":{id:"anthropic/claude-3.5-haiku",name:"Claude 3.5 Haiku",contextWindow:200000,maxInputTokens:200000,maxTokens:8192,capabilities:["images","files","tools","temperature","prompt-cache"],pricing:{input:0.8,output:4,cacheRead:0.08,cacheWrite:1},releaseDate:"2024-11-04",family:"claude-haiku"},"mistral/pixtral-large":{id:"mistral/pixtral-large",name:"Pixtral Large (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["images","tools","temperature"],pricing:{input:2,output:6,cacheRead:0,cacheWrite:0},releaseDate:"2024-11-01",family:"pixtral"},"mistral/ministral-3b":{id:"mistral/ministral-3b",name:"Ministral 3B (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:0.04,output:0.04,cacheRead:0,cacheWrite:0},releaseDate:"2024-10-01",family:"ministral"},"mistral/ministral-8b":{id:"mistral/ministral-8b",name:"Ministral 8B (latest)",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2024-10-01",family:"ministral"},"meta/llama-3.2-11b":{id:"meta/llama-3.2-11b",name:"Llama 3.2 11B Vision Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["images","tools","temperature"],pricing:{input:0.16,output:0.16,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-25",family:"llama"},"meta/llama-3.2-90b":{id:"meta/llama-3.2-90b",name:"Llama 3.2 90B Vision Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["images","tools","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-25",family:"llama"},"mistral/mistral-small":{id:"mistral/mistral-small",name:"Mistral Small (latest)",contextWindow:32000,maxInputTokens:32000,maxTokens:4000,capabilities:["images","tools","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-17",family:"mistral-small"},"mistral/pixtral-12b":{id:"mistral/pixtral-12b",name:"Pixtral 12B",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["images","tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2024-09-01",family:"pixtral"},"meta/llama-3.1-70b":{id:"meta/llama-3.1-70b",name:"Llama 3.1 70B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"meta/llama-3.1-8b":{id:"meta/llama-3.1-8b",name:"Llama 3.1 8B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","temperature"],pricing:{input:0.22,output:0.22,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"mistral/mistral-nemo":{id:"mistral/mistral-nemo",name:"Mistral Nemo",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","temperature"],pricing:{input:0.15,output:0.15,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-18",family:"mistral-nemo"},"openai/gpt-4o-mini":{id:"openai/gpt-4o-mini",name:"GPT-4o mini",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:0.15,output:0.6,cacheRead:0.075,cacheWrite:0},releaseDate:"2024-07-18",family:"gpt-mini"},"mistral/codestral":{id:"mistral/codestral",name:"Codestral (latest)",contextWindow:256000,maxInputTokens:256000,maxTokens:4096,capabilities:["tools","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2024-05-29",family:"codestral"},"openai/gpt-4o":{id:"openai/gpt-4o",name:"GPT-4o",contextWindow:128000,maxInputTokens:128000,maxTokens:16384,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:2.5,output:10,cacheRead:1.25,cacheWrite:0},releaseDate:"2024-05-13",family:"gpt"},"openai/gpt-4-turbo":{id:"openai/gpt-4-turbo",name:"GPT-4 Turbo",contextWindow:128000,maxInputTokens:128000,maxTokens:4096,capabilities:["images","tools","temperature"],pricing:{input:10,output:30,cacheRead:0,cacheWrite:0},releaseDate:"2023-11-06",family:"gpt"}},vertex:{"claude-sonnet-5@default":{id:"claude-sonnet-5@default",name:"Claude Sonnet 5",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:2,output:10,cacheRead:0.2,cacheWrite:2.5},releaseDate:"2026-06-30",family:"claude-sonnet"},"claude-opus-4-8@default":{id:"claude-opus-4-8@default",name:"Claude Opus 4.8",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-05-28",family:"claude-opus"},"gemini-3.5-flash":{id:"gemini-3.5-flash",name:"Gemini 3.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.5,output:9,cacheRead:0.15,cacheWrite:0},releaseDate:"2026-05-19",family:"gemini-flash"},"gemini-3.1-flash-lite":{id:"gemini-3.1-flash-lite",name:"Gemini 3.1 Flash Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.25,output:1.5,cacheRead:0.025,cacheWrite:0},releaseDate:"2026-05-07",family:"gemini-flash-lite"},"claude-opus-4-7@default":{id:"claude-opus-4-7@default",name:"Claude Opus 4.7",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-04-16",family:"claude-opus"},"gemini-3.1-pro-preview":{id:"gemini-3.1-pro-preview",name:"Gemini 3.1 Pro Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"gemini-3.1-pro-preview-customtools":{id:"gemini-3.1-pro-preview-customtools",name:"Gemini 3.1 Pro Preview Custom Tools",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:2,output:12,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-19",family:"gemini-pro"},"claude-sonnet-4-6@default":{id:"claude-sonnet-4-6@default",name:"Claude Sonnet 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2026-02-17",family:"claude-sonnet"},"zai-org/glm-5-maas":{id:"zai-org/glm-5-maas",name:"GLM-5",contextWindow:202752,maxInputTokens:202752,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3.2,cacheRead:0.1,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"claude-opus-4-6@default":{id:"claude-opus-4-6@default",name:"Claude Opus 4.6",contextWindow:1e6,maxInputTokens:1e6,maxTokens:128000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2026-02-05",family:"claude-opus"},"zai-org/glm-4.7-maas":{id:"zai-org/glm-4.7-maas",name:"GLM-4.7",contextWindow:200000,maxInputTokens:200000,maxTokens:128000,capabilities:["files","tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:2.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-06",family:"glm"},"deepseek-ai/deepseek-v3.2-maas":{id:"deepseek-ai/deepseek-v3.2-maas",name:"DeepSeek V3.2",contextWindow:163840,maxInputTokens:163840,maxTokens:65536,capabilities:["files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.56,output:1.68,cacheRead:0.056,cacheWrite:0},releaseDate:"2025-12-17",family:"deepseek"},"gemini-3-flash-preview":{id:"gemini-3-flash-preview",name:"Gemini 3 Flash Preview",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:0.5,output:3,cacheRead:0.05,cacheWrite:0},releaseDate:"2025-12-17",family:"gemini-flash"},"moonshotai/kimi-k2-thinking-maas":{id:"moonshotai/kimi-k2-thinking-maas",name:"Kimi K2 Thinking",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:2.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-11-13",family:"kimi-thinking"},"claude-opus-4-5@20251101":{id:"claude-opus-4-5@20251101",name:"Claude Opus 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:5,output:25,cacheRead:0.5,cacheWrite:6.25},releaseDate:"2025-11-01",family:"claude-opus"},"claude-haiku-4-5@20251001":{id:"claude-haiku-4-5@20251001",name:"Claude Haiku 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:5,cacheRead:0.1,cacheWrite:1.25},releaseDate:"2025-10-15",family:"claude-haiku"},"claude-sonnet-4-5@20250929":{id:"claude-sonnet-4-5@20250929",name:"Claude Sonnet 4.5",contextWindow:200000,maxInputTokens:200000,maxTokens:64000,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:3,output:15,cacheRead:0.3,cacheWrite:3.75},releaseDate:"2025-09-29",family:"claude-sonnet"},"gemini-flash-latest":{id:"gemini-flash-latest",name:"Gemini Flash Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.075,cacheWrite:0.383},releaseDate:"2025-09-25",family:"gemini-flash"},"gemini-flash-lite-latest":{id:"gemini-flash-lite-latest",name:"Gemini Flash-Lite Latest",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.025,cacheWrite:0},releaseDate:"2025-09-25",family:"gemini-flash-lite"},"deepseek-ai/deepseek-v3.1-maas":{id:"deepseek-ai/deepseek-v3.1-maas",name:"DeepSeek V3.1",contextWindow:163840,maxInputTokens:163840,maxTokens:32768,capabilities:["files","tools","reasoning","structured_output","temperature"],pricing:{input:0.6,output:1.7,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-28",family:"deepseek"},"qwen/qwen3-235b-a22b-instruct-2507-maas":{id:"qwen/qwen3-235b-a22b-instruct-2507-maas",name:"Qwen3 235B A22B Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:16384,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.22,output:0.88,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-13",family:"qwen"},"openai/gpt-oss-120b-maas":{id:"openai/gpt-oss-120b-maas",name:"GPT OSS 120B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.09,output:0.36,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b-maas":{id:"openai/gpt-oss-20b-maas",name:"GPT OSS 20B",contextWindow:131072,maxInputTokens:131072,maxTokens:32768,capabilities:["tools","reasoning","temperature"],pricing:{input:0.07,output:0.25,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"gemini-2.5-flash":{id:"gemini-2.5-flash",name:"Gemini 2.5 Flash",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.3,output:2.5,cacheRead:0.075,cacheWrite:0.383},releaseDate:"2025-06-17",family:"gemini-flash"},"gemini-2.5-flash-lite":{id:"gemini-2.5-flash-lite",name:"Gemini 2.5 Flash-Lite",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.1,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-flash-lite"},"gemini-2.5-pro":{id:"gemini-2.5-pro",name:"Gemini 2.5 Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:65536,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.25,output:10,cacheRead:0.125,cacheWrite:0},releaseDate:"2025-06-17",family:"gemini-pro"},"meta/llama-3.3-70b-instruct-maas":{id:"meta/llama-3.3-70b-instruct-maas",name:"Llama 3.3 70B Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","structured_output","temperature"],pricing:{input:0.72,output:0.72,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-29",family:"llama"},"meta/llama-4-maverick-17b-128e-instruct-maas":{id:"meta/llama-4-maverick-17b-128e-instruct-maas",name:"Llama 4 Maverick 17B 128E Instruct",contextWindow:524288,maxInputTokens:524288,maxTokens:8192,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.35,output:1.15,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-29",family:"llama"}},wandb:{"zai-org/GLM-5.1":{id:"zai-org/GLM-5.1",name:"GLM-5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8":{id:"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8",name:"NVIDIA Nemotron 3 Super 120B",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.2,output:0.8,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-11",family:"nemotron"},"MiniMaxAI/MiniMax-M2.5":{id:"MiniMaxAI/MiniMax-M2.5",name:"MiniMax M2.5",contextWindow:196608,maxInputTokens:196608,maxTokens:196608,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.3,output:1.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-12",family:"minimax"},"zai-org/GLM-5-FP8":{id:"zai-org/GLM-5-FP8",name:"GLM 5",contextWindow:200000,maxInputTokens:200000,maxTokens:200000,capabilities:["tools","structured_output","temperature"],pricing:{input:1,output:3.2,cacheRead:0,cacheWrite:0},releaseDate:"2026-02-11",family:"glm"},"moonshotai/Kimi-K2.5":{id:"moonshotai/Kimi-K2.5",name:"Kimi K2.5",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["images","tools","reasoning","structured_output","temperature"],pricing:{input:0.5,output:2.85,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-27",family:"kimi-k2"},"deepseek-ai/DeepSeek-V3.1":{id:"deepseek-ai/DeepSeek-V3.1",name:"DeepSeek V3.1",contextWindow:161000,maxInputTokens:161000,maxTokens:161000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.55,output:1.65,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-21",family:"deepseek"},"openai/gpt-oss-120b":{id:"openai/gpt-oss-120b",name:"gpt-oss-120b",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.15,output:0.6,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"openai/gpt-oss-20b":{id:"openai/gpt-oss-20b",name:"gpt-oss-20b",contextWindow:131072,maxInputTokens:131072,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.05,output:0.2,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-05",family:"gpt-oss"},"Qwen/Qwen3-30B-A3B-Instruct-2507":{id:"Qwen/Qwen3-30B-A3B-Instruct-2507",name:"Qwen3 30B A3B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:0.1,output:0.3,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-29",family:"qwen"},"Qwen/Qwen3-235B-A22B-Thinking-2507":{id:"Qwen/Qwen3-235B-A22B-Thinking-2507",name:"Qwen3-235B-A22B-Thinking-2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-25",family:"qwen"},"Qwen/Qwen3-Coder-480B-A35B-Instruct":{id:"Qwen/Qwen3-Coder-480B-A35B-Instruct",name:"Qwen3-Coder-480B-A35B-Instruct",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:1,output:1.5,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-23",family:"qwen"},"OpenPipe/Qwen3-14B-Instruct":{id:"OpenPipe/Qwen3-14B-Instruct",name:"OpenPipe Qwen3 14B Instruct",contextWindow:32768,maxInputTokens:32768,maxTokens:32768,capabilities:["tools","structured_output","temperature"],pricing:{input:0.05,output:0.22,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-29",family:"qwen"},"Qwen/Qwen3-235B-A22B-Instruct-2507":{id:"Qwen/Qwen3-235B-A22B-Instruct-2507",name:"Qwen3 235B A22B Instruct 2507",contextWindow:262144,maxInputTokens:262144,maxTokens:262144,capabilities:["tools","structured_output","temperature"],pricing:{input:0.1,output:0.1,cacheRead:0,cacheWrite:0},releaseDate:"2025-04-28",family:"qwen"},"meta-llama/Llama-4-Scout-17B-16E-Instruct":{id:"meta-llama/Llama-4-Scout-17B-16E-Instruct",name:"Llama 4 Scout 17B 16E Instruct",contextWindow:64000,maxInputTokens:64000,maxTokens:64000,capabilities:["images","tools","structured_output","temperature"],pricing:{input:0.17,output:0.66,cacheRead:0,cacheWrite:0},releaseDate:"2025-01-31",family:"llama"},"microsoft/Phi-4-mini-instruct":{id:"microsoft/Phi-4-mini-instruct",name:"Phi-4-mini-instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.08,output:0.35,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-11",family:"phi"},"meta-llama/Llama-3.3-70B-Instruct":{id:"meta-llama/Llama-3.3-70B-Instruct",name:"Llama-3.3-70B-Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.71,output:0.71,cacheRead:0,cacheWrite:0},releaseDate:"2024-12-06",family:"llama"},"meta-llama/Llama-3.1-70B-Instruct":{id:"meta-llama/Llama-3.1-70B-Instruct",name:"Llama 3.1 70B",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.8,output:0.8,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"},"meta-llama/Llama-3.1-8B-Instruct":{id:"meta-llama/Llama-3.1-8B-Instruct",name:"Meta-Llama-3.1-8B-Instruct",contextWindow:128000,maxInputTokens:128000,maxTokens:128000,capabilities:["tools","structured_output","temperature"],pricing:{input:0.22,output:0.22,cacheRead:0,cacheWrite:0},releaseDate:"2024-07-23",family:"llama"}},xai:{"grok-4.3":{id:"grok-4.3",name:"Grok 4.3",contextWindow:1e6,maxInputTokens:1e6,maxTokens:30000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-17",family:"grok"},"grok-build-0.1":{id:"grok-build-0.1",name:"Grok Build 0.1",contextWindow:256000,maxInputTokens:256000,maxTokens:256000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1,output:2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-04-16",family:"grok-build"},"grok-4.20-0309-non-reasoning":{id:"grok-4.20-0309-non-reasoning",name:"Grok 4.20 (Non-Reasoning)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:30000,capabilities:["images","files","tools","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-09",family:"grok"},"grok-4.20-0309-reasoning":{id:"grok-4.20-0309-reasoning",name:"Grok 4.20 (Reasoning)",contextWindow:1e6,maxInputTokens:1e6,maxTokens:30000,capabilities:["images","files","tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.25,output:2.5,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-03-09",family:"grok"}},xiaomi:{"mimo-v2.5-pro-ultraspeed":{id:"mimo-v2.5-pro-ultraspeed",name:"MiMo-V2.5-Pro-UltraSpeed",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1.305,output:2.61,cacheRead:0.0108,cacheWrite:0},releaseDate:"2026-06-08",family:"mimo"},"mimo-v2.5":{id:"mimo-v2.5",name:"MiMo-V2.5",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["images","tools","reasoning","temperature","prompt-cache"],pricing:{input:0.14,output:0.28,cacheRead:0.0028,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"},"mimo-v2.5-pro":{id:"mimo-v2.5-pro",name:"MiMo-V2.5-Pro",contextWindow:1048576,maxInputTokens:1048576,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.435,output:0.87,cacheRead:0.0036,cacheWrite:0},releaseDate:"2026-04-22",family:"mimo"}},zai:{"glm-5.2":{id:"glm-5.2",name:"GLM-5.2",contextWindow:1e6,maxInputTokens:1e6,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"glm-5.1":{id:"glm-5.1",name:"GLM-5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.4,output:4.4,cacheRead:0.26,cacheWrite:0},releaseDate:"2026-04-07",family:"glm"},"glm-5v-turbo":{id:"glm-5v-turbo",name:"GLM-5V-Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["images","files","tools","reasoning","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"glm-5-turbo":{id:"glm-5-turbo",name:"GLM-5-Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature","prompt-cache"],pricing:{input:1.2,output:4,cacheRead:0.24,cacheWrite:0},releaseDate:"2026-03-16",family:"glm"},"glm-5":{id:"glm-5",name:"GLM-5",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:1,output:3.2,cacheRead:0.2,cacheWrite:0},releaseDate:"2026-02-12",family:"glm"},"glm-4.7-flash":{id:"glm-4.7-flash",name:"GLM-4.7-Flash",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"glm-4.7-flashx":{id:"glm-4.7-flashx",name:"GLM-4.7-FlashX",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.07,output:0.4,cacheRead:0.01,cacheWrite:0},releaseDate:"2026-01-19",family:"glm-flash"},"glm-4.7":{id:"glm-4.7",name:"GLM-4.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"glm-4.6v":{id:"glm-4.6v",name:"GLM-4.6V",contextWindow:128000,maxInputTokens:128000,maxTokens:32768,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.3,output:0.9,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-08",family:"glm"},"glm-4.6":{id:"glm-4.6",name:"GLM-4.6",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-09-30",family:"glm"},"glm-4.5v":{id:"glm-4.5v",name:"GLM-4.5V",contextWindow:64000,maxInputTokens:64000,maxTokens:16384,capabilities:["images","tools","reasoning","temperature"],pricing:{input:0.6,output:1.8,cacheRead:0,cacheWrite:0},releaseDate:"2025-08-11",family:"glm"},"glm-4.5":{id:"glm-4.5",name:"GLM-4.5",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.6,output:2.2,cacheRead:0.11,cacheWrite:0},releaseDate:"2025-07-28",family:"glm"},"glm-4.5-air":{id:"glm-4.5-air",name:"GLM-4.5-Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature","prompt-cache"],pricing:{input:0.2,output:1.1,cacheRead:0.03,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"},"glm-4.5-flash":{id:"glm-4.5-flash",name:"GLM-4.5-Flash",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-flash"}},"zai-coding-plan":{"glm-5.2":{id:"glm-5.2",name:"GLM-5.2",contextWindow:1e6,maxInputTokens:1e6,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-06-13",family:"glm"},"glm-5v-turbo":{id:"glm-5v-turbo",name:"GLM-5V-Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["images","files","tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-04-01",family:"glm"},"glm-5.1":{id:"glm-5.1",name:"GLM-5.1",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-27",family:"glm"},"glm-5-turbo":{id:"glm-5-turbo",name:"GLM-5-Turbo",contextWindow:200000,maxInputTokens:200000,maxTokens:131072,capabilities:["tools","reasoning","structured_output","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2026-03-16",family:"glm"},"glm-4.7":{id:"glm-4.7",name:"GLM-4.7",contextWindow:204800,maxInputTokens:204800,maxTokens:131072,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-12-22",family:"glm"},"glm-4.5-air":{id:"glm-4.5-air",name:"GLM-4.5-Air",contextWindow:131072,maxInputTokens:131072,maxTokens:98304,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0},releaseDate:"2025-07-28",family:"glm-air"}}}};var ey=[{modelsDevKey:"openai",generatedProviderId:"openai-native",runtimeProviderId:"openai-native"},{modelsDevKey:"openai",generatedProviderId:"openai-native",runtimeProviderId:"openai-codex-cli"},{modelsDevKey:"openai",generatedProviderId:"openai-native",runtimeProviderId:"openai-codex"},{modelsDevKey:"anthropic",generatedProviderId:"anthropic"},{modelsDevKey:"anthropic",generatedProviderId:"anthropic",runtimeProviderId:"claude-code"},{modelsDevKey:"google",generatedProviderId:"gemini"},{modelsDevKey:"deepseek",generatedProviderId:"deepseek",runtimeProviderId:"deepseek"},{modelsDevKey:"xai",generatedProviderId:"xai"},{modelsDevKey:"togetherai",generatedProviderId:"together",runtimeProviderId:"together"},{modelsDevKey:"sap-ai-core",generatedProviderId:"sapaicore",runtimeProviderId:"sapaicore"},{modelsDevKey:"ollama",runtimeProviderId:"ollama-cloud"},{modelsDevKey:"ollama-cloud",generatedProviderId:"ollama"},{modelsDevKey:"fireworks-ai",generatedProviderId:"fireworks",runtimeProviderId:"fireworks"},{modelsDevKey:"groq",generatedProviderId:"groq",runtimeProviderId:"groq"},{modelsDevKey:"cerebras",generatedProviderId:"cerebras",runtimeProviderId:"cerebras"},{modelsDevKey:"sambanova",generatedProviderId:"sambanova",runtimeProviderId:"sambanova"},{modelsDevKey:"nebius",generatedProviderId:"nebius",runtimeProviderId:"nebius"},{modelsDevKey:"huggingface",generatedProviderId:"huggingface",runtimeProviderId:"huggingface"},{modelsDevKey:"openrouter",generatedProviderId:"openrouter"},{modelsDevKey:"vercel",generatedProviderId:"vercel-ai-gateway",runtimeProviderId:"dify"},{modelsDevKey:"vercel",generatedProviderId:"vercel-ai-gateway"},{modelsDevKey:"openrouter",generatedProviderId:"openrouter",runtimeProviderId:"cline"},{modelsDevKey:"aihubmix",generatedProviderId:"aihubmix",runtimeProviderId:"aihubmix"},{modelsDevKey:"hicap",runtimeProviderId:"hicap"},{modelsDevKey:"nous-research",runtimeProviderId:"nousResearch"},{modelsDevKey:"huawei-cloud-maas",runtimeProviderId:"huawei-cloud-maas"},{modelsDevKey:"baseten",generatedProviderId:"baseten",runtimeProviderId:"baseten"},{modelsDevKey:"zai-coding-plan",generatedProviderId:"zai-coding-plan"},{modelsDevKey:"google-vertex",generatedProviderId:"vertex"},{modelsDevKey:"lmstudio",generatedProviderId:"lmstudio"},{modelsDevKey:"zai",generatedProviderId:"zai"},{modelsDevKey:"requesty",generatedProviderId:"requesty"},{modelsDevKey:"amazon-bedrock",generatedProviderId:"bedrock"},{modelsDevKey:"moonshotai",generatedProviderId:"moonshot"},{modelsDevKey:"minimax",generatedProviderId:"minimax"},{modelsDevKey:"wandb",generatedProviderId:"wandb"},{modelsDevKey:"kilo",generatedProviderId:"kilo"},{modelsDevKey:"xiaomi",generatedProviderId:"xiaomi"},{modelsDevKey:"tencent-tokenhub",generatedProviderId:"tencent-tokenhub"},{modelsDevKey:"v0",generatedProviderId:"v0"}];function qg(e){return[...new Set(e)]}var ty=Object.fromEntries(ey.flatMap((e)=>e.generatedProviderId?[[e.modelsDevKey,e.generatedProviderId]]:[]));function uT(e){let t=ey.flatMap((n)=>{if(!n.generatedProviderId)return[];if(n.generatedProviderId===e||n.runtimeProviderId===e)return[n.generatedProviderId];return[]});if(e==="nousResearch")return qg([...t,"nousresearch",e]);return qg([...t,e])}we();var fz="cline-pass",iy={contextWindow:128000,maxInputTokens:128000,maxTokens:8192,capabilities:["tools","reasoning","temperature"],pricing:{input:0,output:0,cacheRead:0,cacheWrite:0}};function pz(e,t){if(!t)return iy;let n=e.id.split("/").at(-1)??e.id;return t[n]||iy}function vz(e){let t={};for(let n of Object.values(e)){let r=n.id.split("/").at(-1)??n.id;t[r]=n}return t}function ny(e,t){let n=e.clinePass??[];if(n.length===0)return{};let r={},i=vz(t);if(n.forEach((a)=>{let o=pz(a,i);r[a.id]={name:a.name,...o,id:a.id,description:a.description}}),Object.keys(r).length===0)return{};return{[fz]:r}}async function ry(e=fetch){let t=`${at().apiBaseUrl}/api/v1/ai/cline/recommended-models`,n=await e(t);if(!n.ok)throw Error(`Failed to load Cline recommended models from ${t}: HTTP ${n.status}`);return await n.json()}var hz=4096,gz=4096;function ay(e){if(!e)return Number.NEGATIVE_INFINITY;let t=Date.parse(e);return Number.isNaN(t)?Number.NEGATIVE_INFINITY:t}function vr(e){return Object.fromEntries(Object.entries(e).sort(([t,n],[r,i])=>{let a=ay(n.releaseDate),o=ay(i.releaseDate);if(a!==o)return o-a;return t.localeCompare(r)}))}function yz(e){let t=[];if(e.modalities?.input?.includes("image"))t.push("images");if(e.modalities?.input?.includes("pdf"))t.push("files");if(e.tool_call===!0)t.push("tools");if(e.reasoning===!0)t.push("reasoning");if(e.structured_output===!0)t.push("structured_output");if(e.temperature===!0)t.push("temperature");if(e.cost?.cache_read&&e.cost?.cache_read>=0||e.cost?.cache_write&&e.cost?.cache_write>=0)t.push("prompt-cache");return Array.from(new Set(t))}function bz(e){if(e==="active"||e==="preview"||e==="deprecated"||e==="legacy")return e;return}function $z(e){let t=e?.context,n=e?.input;if(typeof t==="number"&&typeof n==="number")return Math.min(t,n);return n??t??hz}function _z(e,t){let n=$z(t.limit),r=t.limit?.output??gz,i=t.limit?.context;return{id:e,name:t.name||e,contextWindow:i,maxInputTokens:n,maxTokens:Math.floor(r),capabilities:yz(t),pricing:{input:t.cost?.input??0,output:t.cost?.output??0,cacheRead:t.cost?.cache_read??0,cacheWrite:t.cost?.cache_write??0},status:bz(t.status),releaseDate:t.release_date,family:t.family}}function kz(e){return e.status==="deprecated"}function wz(e){let t={};for(let[n,r]of Object.entries(ty)){let i=e[n];if(!i?.models)continue;let a={};for(let[o,s]of Object.entries(i.models)){if(s.tool_call!==!0||kz(s))continue;a[o]=_z(o,s)}if(Object.keys(a).length>0)t[r]=vr(a)}return t}async function Sz(e,t=fetch){let n=await t(e);if(!n.ok)throw Error(`Failed to load model catalog from ${e}: HTTP ${n.status}`);let r=await n.json();return wz(r)}async function pT(e,t=fetch){let n={},[r,i]=await Promise.all([Sz(e,t).catch(()=>n),ry(t).catch(()=>{return})]),a=i?ny(i,r.openrouter??{}):{};return{...r,...a}}var oy,sy=new Map;function yT(){return oy??=Object.fromEntries(Object.entries(zs.providers).map(([e,t])=>[e,vr(t)])),oy}function uy(e){let t=sy.get(e);if(t)return t;let n=vr(zs.providers[e]??{});return sy.set(e,n),n}var Us=[{canonicalPrefix:"zai/",aliasPrefix:"z-ai/"}];function ly(e,t){return t.some((n)=>e.startsWith(n.canonicalPrefix))}function dy(e,t){return Object.fromEntries(Object.entries(e).filter(([n])=>{for(let r of t){if(!n.startsWith(r.aliasPrefix))continue;if(`${r.canonicalPrefix}${n.slice(r.aliasPrefix.length)}`in e)return!1}return!0}))}we();var Iz="the user is not subscribed to required model plan",xz="no access to clinepass subscription models yet. subscribe to clinepass",zz="organization accounts cannot use individual model inference subscriptions";function cy(){return`${new URL("/dashboard/subscription?personal=true",at().appBaseUrl).toString()}`}function my(){return`No access to ClinePass subscription models yet. Subscribe to ClinePass, the low cost open weights model coding plan: ${cy()}`}class Ni extends Error{providerId;constructor(e){super(my());this.name="ClineNotSubscribedError",this.providerId=e}}function fy(){return"Organization accounts cannot use ClinePass subscriptions. Go to /account -> change account to switch to your personal account for ClinePass"}class Ei extends Error{providerId;constructor(e){super(fy());this.name="ClineOrgIndividualInferenceSubscriptionError",this.providerId=e}}function Uz(e){return e instanceof Ni}function Tz(e){return e instanceof Ei}function Ts(e){let t=e.trim().toLowerCase();return t.includes(Iz)||t.includes(xz)}function js(e){return e.toLowerCase().includes(zz)}var jz=new Set(["gpt-5.5","gpt-5.4","gpt-5.4-mini"]);function Oz(e){if(jz.has(e))return!0;let t=e.match(/^gpt-(\d+\.\d+)/);return t?Number.parseFloat(t[1])>5.4:!1}function Nz(e,t){if(!e.includes("gpt-5.5"))return t;return{...t,contextWindow:400000,maxInputTokens:272000,maxTokens:128000}}function py(e){return Object.fromEntries(Object.entries(e).filter(([t])=>Oz(t)).map(([t,n])=>[t,Nz(t,n)]))}Pt();vs();hs();var Ez="https://code.aiservice.us-chicago-1.oci.oraclecloud.com/20250206/app/litellm",Az="anthropic/claude-sonnet-4.6",hr="cline-pass",Pz="gpt-5.4",Dz={stickySession:{transport:"json-body",field:"session_id",metadataKey:"sessionId"}},gr={path:"apiKey",label:"API Key",type:"password",placeholder:"Enter API key...",description:"API key issued by the provider.",secret:!0},hy={path:"baseUrl",label:"Base URL",type:"url",placeholder:"https://...",description:"Base endpoint used for provider requests."},Zz=[{path:"gcp.projectId",label:"Google Cloud Project ID",type:"text",placeholder:"my-gcp-project",description:"Google Cloud project that owns the Vertex AI resources.",required:!0},{path:"gcp.region",label:"Vertex Region",type:"text",placeholder:"us-central1",description:"Vertex AI location to run models in.",defaultValue:"us-central1"},{...gr,label:"API Key",description:"Optional Google API key for Gemini models. Vertex Anthropic models use Google Cloud credentials."}],Cz=[{path:"aws.authentication",label:"Authentication",type:"select",description:"Credential source for Amazon Bedrock requests.",options:[{label:"AWS SDK / IAM",value:"iam"},{label:"AWS Profile",value:"profile"},{label:"API Key",value:"api-key"}],defaultValue:"iam"},{path:"aws.region",label:"AWS Region",type:"text",placeholder:"us-east-1",description:"AWS region for Bedrock runtime requests."},{path:"aws.profile",label:"AWS Profile",type:"text",placeholder:"default",description:"Named AWS profile when using profile authentication."},{path:"aws.accessKey",label:"Access Key ID",type:"password",placeholder:"AKIA...",secret:!0},{path:"aws.secretKey",label:"Secret Access Key",type:"password",secret:!0},{path:"aws.sessionToken",label:"Session Token",type:"password",secret:!0},{path:"apiKey",label:"Bedrock API Key",type:"password",description:"Optional Bedrock bearer token for API key authentication.",secret:!0},{path:"aws.endpoint",label:"Endpoint URL",type:"url",placeholder:"https://bedrock-runtime.us-east-1.amazonaws.com",description:"Optional custom Bedrock runtime endpoint."},{path:"aws.useCrossRegionInference",label:"Cross-Region Inference",type:"boolean"},{path:"aws.useGlobalInference",label:"Global Inference",type:"boolean"},{path:"aws.usePromptCache",label:"Prompt Cache",type:"boolean"}],Rz=[{path:"oca.mode",label:"OCA Mode",type:"select",options:[{label:"External",value:"external"},{label:"Internal",value:"internal"}],defaultValue:"external"},gr,{path:"oca.usePromptCache",label:"Prompt Cache",type:"boolean"}],vy=[gr,hy,{path:"apiLine",label:"API Line",type:"select",description:"Regional API line for Qwen routing.",options:[{label:"International",value:"international"},{label:"China",value:"china"}]}];function Lz(e){let t=[];if(e.apiKeyEnv?.length)t.push(gr);if(e.defaults?.baseUrl?.trim())t.push(hy);return t}function Jz(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,{...n}]))}function Mz(e){if(!e?.length)return;return[...new Set(e)]}function gy(e){return Mz([...e.capabilities??[],...e.popular!==void 0?["popular"]:[]])}function yy(e){let t=e.configFields??Lz(e),n={...e.metadata,configFields:t};if(e.popular!==void 0)n.popularRank=e.popular;return n}function Ct(e){return Jz(uy(e))}function Fz(e){let t=Object.keys(Ct(e));if(!t.length)return"";return t[0]}function Os(e){let t=Object.entries(Ct("anthropic")).find(([n])=>e(n));if(t)return t[1];return{id:"sonnet",name:"Claude Sonnet",capabilities:["streaming","reasoning"]}}function Bz(){function e(t){return{...t==="opus"?Os((r)=>r.includes("opus")):t==="haiku"?Os((r)=>r.includes("haiku")):Os((r)=>r.includes("sonnet")),id:t,name:`Claude ${t.charAt(0).toUpperCase()}${t.slice(1)}`}}return{opus:e("opus"),sonnet:e("sonnet"),haiku:e("haiku")}}function Wz(){return py(Ct("openai-native"))}function Kz(){let e=Object.fromEntries(Object.entries(Ct("vercel-ai-gateway")).filter(([t])=>ly(t,Us)));return dy({...Ct("openrouter"),...e},Us)}function Hz(e,t){let n={id:e,name:e};if(t?.family==="openai-compatible")n.contextWindow=128000,n.maxInputTokens=128000,n.capabilities=["streaming","tools","images"];if(t?.id==="qwen"||t?.id==="qwen-code")n.family="qwen",n.capabilities=["prompt-cache"];return n}function Gz(e,t){let n=new Set(["text"]);for(let i of t.capabilities??[])switch(i){case"tools":n.add("tools");break;case"reasoning":n.add("reasoning");break;case"prompt-cache":n.add("prompt-cache");break;case"images":n.add("images");break;case"structured_output":n.add("structured-output");break}let r={};if(t.family)r.family=t.family;if(t.pricing)r.pricing=t.pricing;if(t.status)r.status=t.status;if(t.releaseDate)r.releaseDate=t.releaseDate;if(typeof t.metadata?.reasoningDefaultOn==="boolean")r.reasoningDefaultOn=t.metadata.reasoningDefaultOn;return{id:t.id,name:t.name??t.id,providerId:e,description:t.description,contextWindow:t.contextWindow,maxInputTokens:t.maxInputTokens,maxOutputTokens:t.maxTokens,capabilities:[...n],metadata:Object.keys(r).length>0?r:void 0}}function Xz(e){if(e.client==="openai")return"openai-responses";switch(e.family){case"openai":return"openai-responses";case"anthropic":case"bedrock":return"anthropic";case"google":case"vertex":return"gemini";default:return"openai-chat"}}function Yz(e){if(e.protocol==="openai-responses")return"openai";switch(e.family){case"openai":return"openai";case"anthropic":return"anthropic";case"google":return"gemini";case"vertex":return"vertex";case"bedrock":return"bedrock";case"mistral":case"claude-code":case"openai-codex":case"opencode":case"dify":case"sap-ai-core":return"ai-sdk-community";default:return"openai-compatible"}}function by(e){return{id:e.id,name:e.name,description:e.description??"Cline API endpoint",family:"openai-compatible",popular:e.popular,capabilities:["reasoning","prompt-cache","tools","oauth"],modelsProviderId:e.modelsProviderId,modelsFactory:e.modelsFactory,defaultModelId:e.defaultModelId,apiKeyEnv:["CLINE_API_KEY"],defaults:{get baseUrl(){return`${at().apiBaseUrl}/api/v1`},...e.defaults},metadata:{...nr,...e.metadata}}}async function $y(e,t){if(e.status!==403)return;let n=await e.clone().text().catch(()=>"");if(js(n))throw new Ei(t);if(Ts(n))throw new Ni(t)}var Vz=by({id:"cline",name:"Cline Usage-Billing",popular:1,modelsFactory:Kz,defaultModelId:Az,defaults:{options:{onResponseError:async(e)=>{await $y(e,"cline")}}}}),Qz=by({id:hr,name:"ClinePass",popular:2,description:"Cline API endpoint with ClinePass models",modelsProviderId:hr,defaultModelId:Fz(hr),metadata:{usageCostDisplay:"subscription"},defaults:{options:{onResponseError:async(e)=>{await $y(e,hr)}}}}),qz=[{id:"openai-compatible",name:"OpenAI Compatible",description:"OpenAI-compatible chat completions endpoint",family:"openai-compatible",popular:35,capabilities:["tools"],defaultModelId:"gpt-4o",apiKeyEnv:["OPENAI_API_KEY"],defaults:{baseUrl:"https://api.openai.com/v1"}},Vz,Qz,{id:"deepseek",name:"DeepSeek",description:"Advanced AI models with reasoning capabilities",family:"openai-compatible",popular:10,capabilities:["reasoning","prompt-cache"],defaultModelId:"deepseek-v4-flash",apiKeyEnv:["DEEPSEEK_API_KEY"],defaults:{baseUrl:"https://api.deepseek.com/v1"}},{id:"xai",name:"xAI",description:"Creator of Grok AI assistant",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"grok-4.20-0309-non-reasoning",apiKeyEnv:["XAI_API_KEY"],defaults:{baseUrl:"https://api.x.ai/v1"}},{id:"together",name:"Together AI",description:"Fast inference for open-source models",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"Qwen/Qwen3.5-397B-A17B",apiKeyEnv:["TOGETHER_API_KEY"],defaults:{baseUrl:"https://api.together.xyz/v1"}},{id:"fireworks",name:"Fireworks AI",description:"High-performance inference platform",family:"openai-compatible",defaultModelId:"accounts/fireworks/models/kimi-k2p6",apiKeyEnv:["FIREWORKS_API_KEY"],defaults:{baseUrl:"https://api.fireworks.ai/inference/v1"}},{id:"groq",name:"Groq",description:"Ultra-fast LPU inference",family:"openai-compatible",defaultModelId:"moonshotai/kimi-k2-instruct-0905",apiKeyEnv:["GROQ_API_KEY"],defaults:{baseUrl:"https://api.groq.com/openai/v1"}},{id:"poolside",name:"Poolside",description:"OpenAI-compatible code intelligence models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"poolside/laguna-m.1",apiKeyEnv:["POOLSIDE_API_KEY"],defaults:{baseUrl:"https://inference.poolside.ai/v1"}},{id:"cerebras",name:"Cerebras",description:"Fast inference on Cerebras wafer-scale chips",family:"openai-compatible",defaultModelId:"zai-glm-4.7",apiKeyEnv:["CEREBRAS_API_KEY"],defaults:{baseUrl:"https://api.cerebras.ai/v1"}},{id:"sambanova",name:"SambaNova",description:"High-performance AI inference",family:"openai-compatible",apiKeyEnv:["SAMBANOVA_API_KEY"],modelsProviderId:"sambanova",defaults:{baseUrl:"https://api.sambanova.ai/v1"}},{id:"nebius",name:"Nebius",description:"European cloud AI infrastructure",family:"openai-compatible",defaultModelId:"nvidia/nemotron-3-super-120b-a12b",apiKeyEnv:["NEBIUS_API_KEY"],defaults:{baseUrl:"https://api.studio.nebius.ai/v1"}},{id:"baseten",name:"Baseten",description:"ML inference platform",family:"openai-compatible",apiKeyEnv:["BASETEN_API_KEY"],modelsProviderId:"baseten",defaults:{baseUrl:"https://model-api.baseten.co/v1"}},{id:"requesty",name:"Requesty",description:"AI router with multiple provider support",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"openai/gpt-5.4",apiKeyEnv:["REQUESTY_API_KEY"],modelsProviderId:"requesty",defaults:{baseUrl:"https://router.requesty.ai/v1"}},{id:"litellm",name:"LiteLLM",description:"Self-hosted LLM proxy",family:"openai-compatible",protocol:"openai-responses",popular:40,capabilities:["prompt-cache"],defaultModelId:"gpt-5.4",apiKeyEnv:["LITELLM_API_KEY"],defaults:{baseUrl:"http://localhost:4000/v1"}},{id:"huggingface",name:"Hugging Face",description:"Hugging Face inference API",family:"openai-compatible",defaultModelId:"MiniMaxAI/MiniMax-M2.5",apiKeyEnv:["HF_TOKEN"],modelsProviderId:"huggingface",defaults:{baseUrl:"https://router.huggingface.co/v1"}},{id:"vercel-ai-gateway",name:"Vercel AI Gateway",description:"Vercel's AI gateway service",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"alibaba/qwen3.6-plus",apiKeyEnv:["AI_GATEWAY_API_KEY"],modelsProviderId:"vercel-ai-gateway",defaults:{baseUrl:"https://ai-gateway.vercel.sh/v1"},metadata:nr},{id:"v0",name:"Vercel V0",description:"The Vercel provider gives you access to the v0 API, designed for building modern web applications.",family:"openai-compatible",capabilities:["reasoning","tools"],defaultModelId:"v0-1.5-md",apiKeyEnv:["V0_API_KEY"],modelsProviderId:"v0",defaults:{baseUrl:"https://api.v0.dev/v1"}},{id:"aihubmix",name:"AI Hub Mix",description:"AI model aggregator",family:"openai-compatible",defaultModelId:"gpt-4o",apiKeyEnv:["AIHUBMIX_API_KEY"],modelsProviderId:"aihubmix",defaults:{baseUrl:"https://api.aihubmix.com/v1"},metadata:st},{id:"hicap",name:"HiCap",description:"HiCap AI platform",family:"openai-compatible",defaultModelId:"hicap-pro",apiKeyEnv:["HICAP_API_KEY"],defaults:{baseUrl:"https://api.hicap.ai/v1"}},{id:"nousResearch",name:"Nous Research",description:"Open-source AI research lab",family:"openai-compatible",defaultModelId:"DeepHermes-3-Llama-3-3-70B-Preview",apiKeyEnv:["NOUS_RESEARCH_API_KEY","NOUSRESEARCH_API_KEY"],modelsProviderId:"nousResearch",defaults:{baseUrl:"https://inference-api.nousresearch.com/v1"}},{id:"huawei-cloud-maas",name:"Huawei Cloud MaaS",description:"Huawei's model-as-a-service platform",family:"openai-compatible",defaultModelId:"DeepSeek-R1",apiKeyEnv:["HUAWEI_CLOUD_MAAS_API_KEY"],defaults:{baseUrl:"https://infer-modelarts.cn-southwest-2.myhuaweicloud.com/v1"}},{id:"qwen",name:"Alibaba Qwen",description:"Alibaba Qwen platform models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"qwen-plus-latest",apiKeyEnv:["QWEN_API_KEY"],modelsProviderId:"qwen",defaults:{baseUrl:"https://dashscope.aliyuncs.com/compatible-mode/v1"},configFields:vy,metadata:ds},{id:"qwen-code",name:"Alibaba Qwen Code",description:"Qwen OAuth coding models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"qwen3-coder-plus",modelsProviderId:"qwen-code",defaults:{baseUrl:"https://dashscope.aliyuncs.com/compatible-mode/v1"},configFields:vy,metadata:ds},{id:"doubao",name:"Doubao",description:"Volcengine Ark platform models",family:"openai-compatible",capabilities:["tools"],defaultModelId:"doubao-1-5-pro-256k-250115",apiKeyEnv:["DOUBAO_API_KEY"],modelsProviderId:"doubao",defaults:{baseUrl:"https://ark.cn-beijing.volces.com/api/v3"}},{id:"zai",name:"Z.AI",description:"Z.AI's family of LLMs",family:"openai-compatible",capabilities:["reasoning"],defaultModelId:"glm-5v-turbo",apiKeyEnv:["ZHIPU_API_KEY"],modelsProviderId:"zai",defaults:{baseUrl:"https://api.z.ai/api/paas/v4"},metadata:ps},{id:"zai-coding-plan",name:"Z.AI Coding Plan",description:"Z.AI's coding-focused models",family:"openai-compatible",capabilities:["reasoning","tools"],defaultModelId:"glm-5.2",apiKeyEnv:["ZHIPU_API_KEY"],modelsProviderId:"zai-coding-plan",defaults:{baseUrl:"https://api.z.ai/api/coding/paas/v4"},metadata:ps},{id:"moonshot",name:"Moonshot",description:"Moonshot AI Studio models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"kimi-k2-0905-preview",apiKeyEnv:["MOONSHOT_API_KEY"],modelsProviderId:"moonshot",defaults:{baseUrl:"https://api.moonshot.ai/v1"}},{id:"wandb",name:"W&B by CoreWeave",description:"Weights & Biases",family:"openai-compatible",capabilities:["reasoning","prompt-cache","tools"],defaultModelId:"nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-FP8",apiKeyEnv:["WANDB_API_KEY"],modelsProviderId:"wandb",defaults:{baseUrl:"https://api.inference.wandb.ai/v1"}},{id:"xiaomi",name:"Xiaomi",description:"Xiaomi",family:"openai-compatible",capabilities:["prompt-cache","tools","reasoning"],defaultModelId:"mimo-v2.5",apiKeyEnv:["XIAOMI_API_KEY"],modelsProviderId:"xiaomi",defaults:{baseUrl:"https://api.xiaomimimo.com/v1"}},{id:"tencent-tokenhub",name:"Tencent TokenHub",description:"Tencent TokenHub AI models",family:"openai-compatible",capabilities:["tools","reasoning"],defaultModelId:"hy3-preview",apiKeyEnv:["TENCENT_TOKENHUB_API_KEY"],modelsProviderId:"tencent-tokenhub",docsUrl:"https://cloud.tencent.com/document/product/1823/130050",defaults:{baseUrl:"https://tokenhub.tencentmaas.com/v1"}},{id:"kilo",name:"Kilo Gateway",description:"Kilo Gateway",family:"openai-compatible",protocol:"openai-responses",capabilities:["prompt-cache","reasoning","tools"],defaultModelId:"gpt-4o",apiKeyEnv:["KILO_GATEWAY_API_KEY"],modelsProviderId:"kilo",defaults:{baseUrl:"https://api.kilo.ai/api/gateway"}},{id:"openrouter",name:"OpenRouter",description:"OpenRouter AI platform",family:"openai-compatible",popular:20,capabilities:["reasoning","prompt-cache"],defaultModelId:"anthropic/claude-sonnet-4.6",apiKeyEnv:["OPENROUTER_API_KEY"],modelsProviderId:"openrouter",docsUrl:"https://openrouter.ai/models",defaults:{baseUrl:"https://openrouter.ai/api/v1"},metadata:{...nr,...Dz}},{id:"ollama",name:"Ollama",description:"Ollama Cloud and local LLM hosting",family:"openai-compatible",popular:25,defaultModelId:"",apiKeyEnv:["OLLAMA_API_KEY"],defaults:{baseUrl:"http://localhost:11434/v1"},modelsSourceUrl:"http://localhost:11434/api/tags"},{id:"lmstudio",name:"LM Studio",description:"Local model inference with LM Studio",family:"openai-compatible",defaultModelId:"",apiKeyEnv:["LMSTUDIO_API_KEY"],modelsProviderId:"lmstudio",defaults:{baseUrl:"http://localhost:1234/v1"},modelsSourceUrl:"http://localhost:1234/v1/models"},{id:"oca",name:"Oracle Code Assist",description:"Oracle Code Assist (OCA) LiteLLM gateway",family:"openai-compatible",capabilities:["reasoning","prompt-cache","tools"],defaultModelId:"anthropic/claude-3-7-sonnet-20250219",apiKeyEnv:["OCA_API_KEY"],modelsProviderId:"oca",defaults:{baseUrl:Ez},configFields:Rz,metadata:st},{id:"asksage",name:"AskSage",description:"AskSage platform",family:"openai-compatible",client:"fetch",capabilities:["tools"],defaultModelId:"gpt-4o",apiKeyEnv:["ASKSAGE_API_KEY"],modelsFactory:()=>({}),defaults:{baseUrl:"https://api.asksage.ai/server"}}],Ns=[{id:"openai-native",name:"OpenAI",description:"Creator of GPT and ChatGPT",family:"openai",capabilities:["reasoning"],modelsProviderId:"openai-native",defaultModelId:"gpt-5.4",apiKeyEnv:["OPENAI_API_KEY"],defaults:{baseUrl:"https://api.openai.com/v1"}},{id:"openai-codex",name:"OpenAI ChatGPT Subscription",description:"OpenAI ChatGPT subscription access uses an OAuth device code flow.",family:"openai",popular:5,capabilities:["reasoning","oauth"],defaultModelId:Pz,modelsFactory:Wz,defaults:{baseUrl:"https://chatgpt.com/backend-api/codex"},configFields:[],metadata:{usageCostDisplay:"subscription"}},{id:"openai-codex-cli",name:"OpenAI Codex CLI",description:"OpenAI Codex via the local Codex CLI provider",family:"openai-codex",capabilities:["reasoning","provider-tools","local-auth"],defaultModelId:"gpt-5.3-codex",modelsProviderId:"openai",defaults:{baseUrl:"https://chatgpt.com/backend-api/codex"},configFields:[],metadata:{usageCostDisplay:"subscription"}},{id:"anthropic",name:"Anthropic",description:"Creator of Claude, the AI assistant",family:"anthropic",popular:15,capabilities:["reasoning","prompt-cache"],defaultModelId:"claude-sonnet-4-6",apiKeyEnv:["ANTHROPIC_API_KEY"],modelsProviderId:"anthropic",defaults:{baseUrl:"https://api.anthropic.com/v1"},metadata:st},{id:"claude-code",name:"Claude Code",description:"Use Claude Code SDK with Claude Pro/Max subscription",family:"claude-code",capabilities:["reasoning"],defaultModelId:"sonnet",modelsFactory:Bz,defaults:{baseUrl:""},configFields:[]},{id:"gemini",name:"Google Gemini",description:"Google Gemini API",family:"google",popular:45,capabilities:["reasoning","prompt-cache"],defaultModelId:"gemma-4-26b",apiKeyEnv:["GOOGLE_GENERATIVE_AI_API_KEY","GEMINI_API_KEY"],modelsProviderId:"gemini",defaults:{baseUrl:"https://generativelanguage.googleapis.com/v1beta"}},{id:"vertex",name:"Google Vertex AI",description:"Google Cloud Vertex AI",family:"vertex",capabilities:["reasoning","prompt-cache"],apiKeyEnv:["GCP_PROJECT_ID","GOOGLE_CLOUD_PROJECT","GOOGLE_APPLICATION_CREDENTIALS","GEMINI_API_KEY","GOOGLE_API_KEY","GOOGLE_VERTEX_PROJECT","GOOGLE_VERTEX_LOCATION"],modelsProviderId:"vertex",configFields:Zz,metadata:st},{id:"bedrock",name:"AWS Bedrock",description:"Amazon Bedrock managed foundation models",family:"bedrock",popular:30,capabilities:["reasoning","prompt-cache"],defaultModelId:"minimax.minimax-m2.5",apiKeyEnv:["AWS_BEARER_TOKEN_BEDROCK","AWS_REGION","AWS_ACCESS_KEY_ID","AWS_SECRET_ACCESS_KEY","AWS_SESSION_TOKEN"],modelsProviderId:"bedrock",configFields:Cz,metadata:st},{id:"mistral",name:"Mistral",description:"Mistral AI models via AI SDK provider",family:"mistral",capabilities:["reasoning"],defaultModelId:"mistral-medium-latest",apiKeyEnv:["MISTRAL_API_KEY"],modelsFactory:()=>({}),defaults:{baseUrl:"https://api.mistral.ai/v1"}},{id:"minimax",name:"MiniMax",description:"MiniMax models via Anthropic-compatible API",family:"anthropic",capabilities:["tools","reasoning","prompt-cache"],defaultModelId:"MiniMax-M2.5",apiKeyEnv:["MINIMAX_API_KEY"],modelsProviderId:"minimax",defaults:{baseUrl:"https://api.minimax.io/anthropic/v1"},metadata:ng},{id:"opencode",name:"OpenCode",description:"OpenCode SDK multi-provider runtime",family:"opencode",capabilities:["reasoning","oauth"],defaultModelId:"openai/gpt-5.4",modelsProviderId:"opencode",defaults:{baseUrl:""},configFields:[]},{id:"dify",name:"Dify",description:"Dify workflow/application provider via AI SDK",family:"dify",defaultModelId:"default",apiKeyEnv:["DIFY_API_KEY"],modelsFactory:()=>({})},{id:"sapaicore",name:"SAP AI Core",description:"SAP AI Core inference and orchestration platform",family:"sap-ai-core",client:"ai-sdk-community",capabilities:["tools","reasoning","prompt-cache"],defaultModelId:"anthropic--claude-3.5-sonnet",apiKeyEnv:["AICORE_SERVICE_KEY","VCAP_SERVICES"],modelsProviderId:"sapaicore",metadata:st},...qz];function eU(e){if(e.modelsFactory)return e.modelsFactory();if(e.modelsProviderId)return Ct(e.modelsProviderId);return{}}function _y(e){let t=eU(e),n=gy(e),r=yy(e),i=Object.keys(t).length>0?t:e.defaultModelId?{[e.defaultModelId]:Hz(e.defaultModelId,e)}:{},a=Object.keys(i),o=e.defaultModelId||a[0]||"default";return{provider:{id:e.id,name:e.name,description:e.description,protocol:e.protocol??Xz(e),baseUrl:e.defaults?.baseUrl,modelsSourceUrl:e.modelsSourceUrl,defaultModelId:o,capabilities:n,env:e.apiKeyEnv?[...e.apiKeyEnv]:void 0,client:e.client??Yz(e),source:"system",metadata:r},models:i}}function ky(e){let t=_y(e),n=gy(e),r=yy(e),i=Object.values(t.models).map((o)=>Gz(e.id,o)),a=i.length>0?i:[{id:t.provider.defaultModelId||"default",name:t.provider.defaultModelId||"Default",providerId:e.id,capabilities:["text"]}];return{id:e.id,name:e.name,description:e.description,defaultModelId:t.provider.defaultModelId||a[0]?.id||"default",models:a,capabilities:n,env:e.env??["browser","node"],api:e.defaults?.baseUrl,apiKeyEnv:e.apiKeyEnv,docsUrl:e.docsUrl,metadata:r}}var Es=Ns.map(_y),NT=Object.fromEntries(Es.map((e)=>[e.provider.id,e]));var wy=new Map;async function tU(e){let t=wy.get(e);if(t)return t;let n=(async()=>{switch(e){case"openai":return(await Promise.resolve().then(() => (ie(),ue))).createOpenAIProvider;case"openai-compatible":return(await Promise.resolve().then(() => (ie(),ue))).createOpenAICompatibleProvider;case"anthropic":return(await Promise.resolve().then(() => (ie(),ue))).createAnthropicProvider;case"google":return(await Promise.resolve().then(() => (ie(),ue))).createGoogleProvider;case"vertex":return(await Promise.resolve().then(() => (ie(),ue))).createVertexProvider;case"bedrock":return(await Promise.resolve().then(() => (ie(),ue))).createBedrockProvider;case"mistral":return(await Promise.resolve().then(() => (ie(),ue))).createMistralProvider;case"claude-code":return(await Promise.resolve().then(() => (ie(),ue))).createClaudeCodeProvider;case"openai-codex":return(await Promise.resolve().then(() => (ie(),ue))).createOpenAICodexProvider;case"opencode":return(await Promise.resolve().then(() => (ie(),ue))).createOpenCodeProvider;case"dify":return(await Promise.resolve().then(() => (ie(),ue))).createDifyProvider;case"sap-ai-core":return(await Promise.resolve().then(() => (ie(),ue))).createSapAiCoreProvider}})();return wy.set(e,n),n}function iU(e){if(e.family==="openai"||e.protocol==="openai-responses"||e.client==="openai")return"openai";return e.family}var Ai=Ns.map((e)=>({manifest:ky(e),defaults:{...e.defaults,apiKeyEnv:e.apiKeyEnv,baseUrl:e.defaults?.baseUrl},loadProvider:async()=>({createProvider:await tU(iU(e))})}));we();async function*Sy(e){for await(let t of e)yield t}function Iy(e){return{...e,models:e.models.map((t)=>({...t})),capabilities:e.capabilities?[...e.capabilities]:void 0,env:e.env?[...e.env]:void 0,api:e.api,apiKeyEnv:e.apiKeyEnv?[...e.apiKeyEnv]:void 0,docsUrl:e.docsUrl,metadata:e.metadata?{...e.metadata}:void 0}}function nU(e,t){let n=new Map;for(let r of e.models)n.set(r.id,{...r});for(let r of t?.models??[])n.set(r.id,{...r,providerId:e.id});return Array.from(n.values())}function xy(e,t){let n=e?.routing||t?.routing?{...e?.routing??{},...t?.routing??{}}:void 0,r={...e??{},...t??{},...n?{routing:n}:{}};return Object.keys(r).length>0?r:void 0}function rU(e,t){return{id:t,name:t,providerId:e.id}}class As{providers=new Map;providerConfigs=new Map;fallbackFetch;constructor(e){this.fallbackFetch=e}registerProvider(e){if(!e.createProvider&&!e.loadProvider)throw Error(`Provider "${e.manifest.id}" must include createProvider or loadProvider.`);this.providers.set(e.manifest.id,{manifest:Iy(e.manifest),defaults:e.defaults?{providerId:e.manifest.id,apiKey:e.defaults.apiKey,apiKeyResolver:e.defaults.apiKeyResolver,apiKeyEnv:e.defaults.apiKeyEnv,baseUrl:e.defaults.baseUrl,headers:e.defaults.headers?{...e.defaults.headers}:void 0,timeoutMs:e.defaults.timeoutMs,fetch:e.defaults.fetch,options:e.defaults.options?{...e.defaults.options}:void 0,metadata:e.defaults.metadata?{...e.defaults.metadata}:void 0}:void 0,createProvider:e.createProvider,loadProvider:e.loadProvider})}configureProvider(e){this.providerConfigs.set(e.providerId,{providerId:e.providerId,apiKey:e.apiKey,apiKeyResolver:e.apiKeyResolver,apiKeyEnv:e.apiKeyEnv,baseUrl:e.baseUrl,headers:e.headers?{...e.headers}:void 0,timeoutMs:e.timeoutMs,fetch:e.fetch,options:e.options?{...e.options}:void 0,metadata:e.metadata?{...e.metadata}:void 0,enabled:e.enabled??!0,defaultModelId:e.defaultModelId,models:e.models?.map((t)=>({...t}))})}listProviders(){return Array.from(this.providers.values()).map((e)=>this.getManifest(e.manifest.id)).filter((e)=>e!==void 0)}listModels(e){if(e)return[...this.getManifest(e)?.models??[]];return this.listProviders().flatMap((t)=>t.models.map((n)=>({...n})))}getManifest(e){let t=this.providers.get(e);if(!t)return;let n=this.providerConfigs.get(e);if(n&&!n.enabled)return;let r=nU(t.manifest,n),i=n?.defaultModelId??t.manifest.defaultModelId??r[0]?.id;if(!i)return;return{...Iy(t.manifest),defaultModelId:i,models:r,metadata:xy(t.manifest.metadata,n?.metadata)}}resolveModel(e){let t=this.getManifest(e.providerId);if(!t)throw Error(`Unknown or disabled provider "${e.providerId}".`);let n=e.modelId??t.defaultModelId,r=t.models.find((i)=>i.id===n)??rU(t,n);return{provider:t,model:r}}async createProvider(e){let t=this.providers.get(e);if(!t)throw Error(`Unknown provider "${e}".`);if(!t.createProvider){let a=await t.loadProvider?.();if(!a?.createProvider)throw Error(`Provider "${e}" could not be loaded.`);t.createProvider=a.createProvider}let n=this.getManifest(e);if(!n)throw Error(`Provider "${e}" is disabled.`);let r=this.providerConfigs.get(e),i=xy(t.defaults?.metadata,r?.metadata);return{manifest:n,config:{providerId:e,apiKey:r?.apiKey??t.defaults?.apiKey,apiKeyResolver:r?.apiKeyResolver??t.defaults?.apiKeyResolver,apiKeyEnv:r?.apiKeyEnv??t.defaults?.apiKeyEnv,baseUrl:r?.baseUrl??t.defaults?.baseUrl,headers:{...t.defaults?.headers??{},...r?.headers??{}},timeoutMs:r?.timeoutMs??t.defaults?.timeoutMs,fetch:r?.fetch??t.defaults?.fetch??this.fallbackFetch,options:{...t.defaults?.options??{},...r?.options??{}},metadata:i},createProvider:t.createProvider}}}var aU=1024;function oU(e,t){if(!e&&!t)return;return{...e??{},...t??{}}}class zy{gateway;selection;defaults;constructor(e,t,n){this.gateway=e;this.selection=t;this.defaults=n}stream(e){let t=e.options?.reasoning,n=e.options?.thinking,r=e.options?.reasoningEffort,i=e.options?.thinkingBudgetTokens,a=r==="low"||r==="medium"||r==="high"?r:void 0,o=typeof n==="boolean"||a!==void 0||typeof i==="number"?{enabled:typeof n==="boolean"?n:void 0,effort:a,budgetTokens:typeof i==="number"?i:void 0}:void 0;return this.gateway.stream({providerId:this.selection.providerId,modelId:this.selection.modelId??"",systemPrompt:e.systemPrompt,messages:e.messages,tools:this.defaults?.tools??e.tools,temperature:e.options?.temperature??this.defaults?.temperature,maxTokens:e.options?.maxTokens??this.defaults?.maxTokens,metadata:oU(this.defaults?.metadata,e.options?.metadata),reasoning:t??o??this.defaults?.reasoning,signal:e.signal??this.defaults?.signal})}}function yr(e){return typeof e==="number"&&Number.isFinite(e)&&e>0}function Ps(e){let t=new WeakSet;try{return JSON.stringify(e,(n,r)=>{if(typeof r==="bigint")return r.toString();if(typeof r!=="object"||r===null)return r;if(t.has(r))return"[Circular]";return t.add(r),r})??""}catch{return String(e??"")}}function sU(e){let t;try{t=JSON.stringify({systemPrompt:e.systemPrompt,messages:e.messages,tools:e.tools})}catch{t=[Ps(e.systemPrompt),Ps(e.messages),Ps(e.tools)].join(`
169
169
  `)}return rt(t.length)}function uU(e){if(!yr(e.requestedMaxTokens))return;let t=[Math.floor(e.requestedMaxTokens)];if(yr(e.model.maxOutputTokens))t.push(Math.floor(e.model.maxOutputTokens));if(yr(e.model.contextWindow)){let n=e.outputReserveTokens??aU,r=e.model.contextWindow-e.estimatedInputTokens-n;if(r<=0){e.onContextOverflow?.({contextWindow:e.model.contextWindow,estimatedInputTokens:e.estimatedInputTokens,reserveTokens:n});return}t.push(Math.floor(r))}if(t.length===0)return;return Math.max(1,Math.floor(Math.min(...t)))}class Uy{registry;logger;telemetry;constructor(e={}){if(this.registry=new As(e.fetch),this.logger=e.logger,this.telemetry=e.telemetry,e.builtins!==!1){let t=new Set(e.builtins??Ai.map((n)=>n.manifest.id));for(let n of Ai)if(t.has(n.manifest.id))this.registry.registerProvider(n)}for(let t of e.providers??[])this.registry.registerProvider(t);for(let t of e.providerConfigs??[])this.registry.configureProvider(t)}registerProvider(e){return this.registry.registerProvider(e),this}configureProvider(e){return this.registry.configureProvider(e),this}listProviders(){return this.registry.listProviders()}listModels(e){return this.registry.listModels(e)}createAgentModel(e,t){return new zy(this,e,t)}async stream(e){let t=this.registry.resolveModel({providerId:e.providerId,modelId:e.modelId||void 0}),n=await this.registry.createProvider(e.providerId),r=await n.createProvider(n.config),i=yr(e.maxTokens)?uU({requestedMaxTokens:e.maxTokens,model:t.model,estimatedInputTokens:sU(e),onContextOverflow:(o)=>{this.logger?.log("Estimated prompt tokens exceed model context window",{severity:"warn",providerId:t.provider.id,modelId:t.model.id,...o})}}):void 0,a=await r.stream({...e,modelId:t.model.id,providerId:t.provider.id,maxTokens:i},{provider:t.provider,model:t.model,config:n.config,signal:e.signal,logger:this.logger,telemetry:this.telemetry});return Sy(a)}}function Ds(e){return new Uy(e)}function lU(){let e=new Map;for(let t of Es)e.set(t.provider.id,{provider:{...t.provider},models:Object.fromEntries(Object.entries(t.models).map(([n,r])=>[n,{...r}]))});return e}var Pi=lU(),Rt=new Map,dt=new Map;function lt(e){return dt.get(e)??Pi.get(e)}function Ty(){let e=Array.from(Pi.keys()),t=Array.from(dt.keys()).filter((n)=>!Pi.has(n));return[...e,...t]}function BT(e){return Pi.has(e)||dt.has(e)}async function WT(e){return lt(e)?.provider}function Zs(e){return lt(e)}async function Cs(e){return lt(e)}async function KT(e){let n=lt(e)?.models??{},r=Rt.get(e);if(r)return{...n,...Object.fromEntries(r)};return n}async function HT(){return Ty().map((e)=>lt(e)?.provider).filter((e)=>e!==void 0)}function GT(e){dt.set(e.provider.id,e)}function XT(e,t,n){if(!Rt.has(e))Rt.set(e,new Map);Rt.get(e)?.set(t,{...n,id:t})}function YT(e){return Rt.delete(e),dt.delete(e)}function VT(){Rt.clear(),dt.clear()}var QT=new Proxy({},{get(e,t){return lt(t)},has(e,t){return Pi.has(t)||dt.has(t)},ownKeys(){return Ty()},getOwnPropertyDescriptor(e,t){let n=lt(t);if(n===void 0)return;return{configurable:!0,enumerable:!0,value:n}}});var Lt=new Map(Ai.map((e)=>[e.manifest.id,e]));function dU(e){if(!e?.length)return;let t=new Set;for(let n of e)switch(n){case"tools":case"reasoning":case"prompt-cache":case"images":case"audio":t.add(n);break;case"files":case"streaming":case"temperature":case"reasoning-effort":case"computer-use":case"global-endpoint":t.add("text");break;case"structured_output":t.add("structured-output");break;default:t.add("text")}return t.add("text"),[...t]}function Js(e,t){return{id:t.id,name:t.name??t.id,description:t.description,providerId:e,contextWindow:t.contextWindow,maxInputTokens:t.maxInputTokens,maxOutputTokens:t.maxTokens,capabilities:dU(t.capabilities),metadata:{family:t.family,pricing:t.pricing,status:t.status,releaseDate:t.releaseDate}}}function jy(e,t){if(t?.client==="openai"||t?.protocol==="openai-responses")return lr;switch(t?.client){case"anthropic":return cr;case"gemini":return mr;case"vertex":return fr;case"bedrock":return pr;case"openai-compatible":return dr}switch(G(e)){case"openai-codex":case"openai-native":return lr;case"anthropic":case"minimax":return cr;case"gemini":return mr;case"vertex":return fr;case"bedrock":return pr;case"mistral":return _s;case"claude-code":return ks;case"openai-codex-cli":return ws;case"opencode":return Ss;case"dify":return Is;case"sapaicore":return xs;default:return dr}}async function cU(e){let t=G(e.providerId),n=G(Ji(e));if(Lt.get(t)&&t===n)return;let i=await Cs(t)??(t!==n?await Cs(n):void 0);if(!i){let o=Lt.get(n);if(!o||t===n)return;return{manifest:{...o.manifest,id:t,name:o.manifest.name,models:o.manifest.models.map((s)=>({...s,providerId:t}))},defaults:o.defaults,createProvider:o.createProvider,loadProvider:o.loadProvider}}let a=Lt.get(n);return{manifest:{id:t,name:i.provider.name,description:i.provider.description,defaultModelId:i.provider.defaultModelId,models:Object.values(i.models).map((o)=>Js(t,o)),api:i.provider.baseUrl,apiKeyEnv:i.provider.env},defaults:{...a?.defaults??{},baseUrl:i.provider.baseUrl??a?.defaults?.baseUrl,apiKeyEnv:i.provider.env??a?.defaults?.apiKeyEnv},createProvider:a?.createProvider??jy(n,{client:e.clientType??i.provider.client,protocol:i.provider.protocol}),loadProvider:a?.loadProvider}}function mU(e){let t=G(e.providerId),n=G(Ji(e));if(Lt.get(t)&&t===n)return;let i=Zs(t)??(t!==n?Zs(n):void 0);if(!i){let o=Lt.get(n);if(!o||t===n)return;return{manifest:{...o.manifest,id:t,models:o.manifest.models.map((s)=>({...s,providerId:t}))},defaults:o.defaults,createProvider:o.createProvider,loadProvider:o.loadProvider}}let a=Lt.get(n);return{manifest:{id:t,name:i.provider.name,description:i.provider.description,defaultModelId:i.provider.defaultModelId,models:Object.values(i.models).map((o)=>Js(t,o)),api:i.provider.baseUrl,apiKeyEnv:i.provider.env},defaults:{...a?.defaults??{},baseUrl:i.provider.baseUrl??a?.defaults?.baseUrl,apiKeyEnv:i.provider.env??a?.defaults?.apiKeyEnv},createProvider:a?.createProvider??jy(n,{client:e.clientType??i.provider.client,protocol:i.provider.protocol}),loadProvider:a?.loadProvider}}function fU(e){let t=new Map;for(let n of e){if(!Array.isArray(n.content))continue;for(let r of n.content)if(r.type==="tool_use"){if(t.set(r.id,r.name),r.call_id)t.set(r.call_id,r.name)}}return e.map((n)=>{let r=typeof n.content==="string"?[{type:"text",text:n.content}]:n.content.flatMap((i)=>{switch(i.type){case"text":return[{type:"text",text:i.text}];case"thinking":return[{type:"reasoning",text:i.thinking,metadata:i.signature||i.call_id?{signature:i.signature,callId:i.call_id,details:i.details}:void 0}];case"tool_use":return[{type:"tool-call",toolCallId:i.call_id??i.id,toolName:i.name,input:i.input,metadata:i.signature?{thoughtSignature:i.signature}:void 0}];case"tool_result":return[{type:"tool-result",toolCallId:i.tool_use_id,toolName:t.get(i.tool_use_id)??"tool",output:i.content,isError:i.is_error??!1}];case"image":return[{type:"image",image:`data:${i.mediaType};base64,${i.data}`,mediaType:i.mediaType}];case"file":return[{type:"text",text:i.content}];case"redacted_thinking":return[];default:return[]}});return{id:Ls(),role:n.role,content:r,createdAt:Date.now()}})}function pU(e){return e?.map((t)=>({name:t.name,description:t.description,inputSchema:t.inputSchema}))}function Rs(e,t,n,r,i){return{providerId:G(e.providerId),modelId:e.modelId,systemPrompt:t,messages:fU(n),tools:pU(r),maxTokens:e.maxOutputTokens,reasoning:e.thinking!==void 0||e.reasoningEffort||e.thinkingBudgetTokens!==void 0?{enabled:e.thinking,effort:e.reasoningEffort==="xhigh"?"high":e.reasoningEffort==="low"||e.reasoningEffort==="medium"||e.reasoningEffort==="high"?e.reasoningEffort:void 0,budgetTokens:e.thinkingBudgetTokens}:void 0,signal:i}}function Oy(e){let t=G(e.providerId);return{providerId:t,apiKey:e.apiKey??e.accessToken,baseUrl:e.baseUrl,headers:e.headers,timeoutMs:e.timeoutMs,fetch:e.fetch,defaultModelId:e.modelId,models:e.knownModels?Object.values(e.knownModels).map((n)=>{let r=Js(t,n),{providerId:i,...a}=r;return a}):void 0,options:{region:e.region??e.gcp?.region,project:e.gcp?.projectId,projectId:e.gcp?.projectId,location:e.region??e.gcp?.region,accessKeyId:e.aws?.accessKey,secretAccessKey:e.aws?.secretKey,sessionToken:e.aws?.sessionToken,authentication:e.aws?.authentication,profile:e.aws?.profile,endpoint:e.aws?.endpoint,customModelBaseId:e.aws?.customModelBaseId,apiVersion:e.azure?.apiVersion,useIdentity:e.azure?.useIdentity,mode:e.oca?.mode,usePromptCache:e.aws?.usePromptCache??e.oca?.usePromptCache,...e.codex,...e.claudeCode,...e.opencode,...e.sap}}}function Ny(e,t){switch(t.type){case"text-delta":return{type:"text",id:e,text:t.text};case"reasoning-delta":{let n=t.metadata;return{type:"reasoning",id:e,reasoning:t.text,signature:typeof n?.thoughtSignature==="string"?n.thoughtSignature:typeof n?.signature==="string"?n.signature:void 0,details:n?.details}}case"tool-call-delta":{let n=t.metadata,r=typeof t.inputText==="string"||t.input===void 0?t.inputText:t.input;return{type:"tool_calls",id:e,signature:typeof n?.thoughtSignature==="string"?n.thoughtSignature:void 0,tool_call:{call_id:t.toolCallId,function:{id:t.toolCallId,name:t.toolName,arguments:r}}}}case"usage":return{type:"usage",id:e,inputTokens:t.usage.inputTokens??0,outputTokens:t.usage.outputTokens??0,cacheReadTokens:t.usage.cacheReadTokens,cacheWriteTokens:t.usage.cacheWriteTokens,thoughtsTokenCount:t.usage.reasoningTokenCount,totalCost:t.usage.totalCost};case"finish":return{type:"done",id:e,success:t.reason!=="error",error:t.error,incompleteReason:t.reason==="max-tokens"?"max_tokens":void 0}}}function vU(e){return e.modelInfo??(e.modelId?e.knownModels?.[e.modelId]:void 0)??{id:e.modelId,name:e.modelId,capabilities:["streaming"]}}class Ms{config;abortSignal;constructor(e){this.config=e;this.abortSignal=e.abortSignal}getMessages(e,t){return Rs(this.config,e,t,void 0,this.abortSignal)}createMessage(e,t,n){let r=Ds({providerConfigs:[Oy(this.config)],fetch:this.config.fetch,logger:this.config.logger??this.config.extensionContext?.logger,telemetry:this.config.extensionContext?.telemetry}),i=mU(this.config);if(i)r.registerProvider(i);let a=Rs(this.config,e,t,n,this.abortSignal),o=`gw_${Ls(10)}`,s=async function*(){for await(let d of await r.stream(a))yield Ny(o,d)}();return s.id=o,s}getModel(){return{id:this.config.modelId,info:vU(this.config)}}abort(){}setAbortSignal(e){this.abortSignal=e}}function Ey(e){return new Ms(e)}async function Ay(e){let t=Ds({providerConfigs:[Oy(e)],fetch:e.fetch,logger:e.logger??e.extensionContext?.logger,telemetry:e.extensionContext?.telemetry}),n=await cU(e);if(n)t.registerProvider(n);return new class extends Ms{createMessage(r,i,a){let o=Rs(e,r,i,a,e.abortSignal),s=`gw_${Ls(10)}`,d=async function*(){for await(let l of await t.stream(o))yield Ny(s,l)}();return d.id=s,d}}(e)}var Jt=new Map;function hU(e,t){Jt.set(e,{factory:t,isAsync:!1})}function gU(e,t){Jt.set(e,{factory:t,isAsync:!0})}function br(e){return Jt.has(e)}function Fs(e,t){let n=Jt.get(e);if(!n)return;if(n.isAsync)throw Error(`Handler for "${e}" is registered as async. Use getRegisteredHandlerAsync() or createHandlerAsync() instead.`);return n.factory(t)}async function Bs(e,t){let n=Jt.get(e);if(!n)return;if(n.isAsync)return n.factory(t);return n.factory(t)}function Ws(e){return Jt.get(e)?.isAsync??!1}function Py(e){let t=G(e.providerId),n=e.routingProviderId?G(e.routingProviderId):void 0;if(t===e.providerId&&n===e.routingProviderId)return e;return{...e,providerId:t,routingProviderId:n}}function mj(e){let t=Py(e),{providerId:n}=t;if(br(n)){if(Ws(n))throw Error(`Handler for "${n}" is registered as async. Use createHandlerAsync() instead.`);let r=Fs(n,t);if(r)return r}return Ey(t)}async function fj(e){let t=Py(e),{providerId:n}=t;if(br(n)){let r=await Bs(n,t);if(r)return r}return Ay(t)}export{hU as registerHandler,gU as registerAsyncHandler,G as normalizeProviderId,Ws as isRegisteredHandlerAsync,js as isClineOrgIndividualInferenceSubscriptionMessage,Tz as isClineOrgIndividualInferenceSubscriptionError,Ts as isClineNotSubscribedMessage,Uz as isClineNotSubscribedError,$r as isBuiltInProviderId,br as hasRegisteredHandler,Bs as getRegisteredHandlerAsync,Fs as getRegisteredHandler,cy as getClinePassSubscriptionUrl,fy as getClineOrgIndividualInferenceSubscriptionMessage,my as getClineNotSubscribedMessage,fj as createHandlerAsync,mj as createHandler,Ei as ClineOrgIndividualInferenceSubscriptionError,Ni as ClineNotSubscribedError,Li as BUILT_IN_PROVIDER_IDS,Mt as BUILT_IN_PROVIDER};