[{"data":1,"prerenderedAt":331},["ShallowReactive",2],{"i-mdi:magnify":3,"i-simple-icons:visualstudiocode":8,"i-mdi:github":11,"i-mdi:discord":13,"i-mdi:youtube":15,"i-mdi:flask-outline":17,"docs-\u002Fdocs\u002Fv2\u002Fproviders\u002Fmistral":19},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cpath fill=\"currentColor\" d=\"M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5l-1.5 1.5l-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16A6.5 6.5 0 0 1 3 9.5A6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14S14 12 14 9.5S12 5 9.5 5\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9,"hidden":10},"\u003Cpath fill=\"currentColor\" d=\"M23.15 2.587L18.21.21a1.49 1.49 0 0 0-1.705.29l-9.46 8.63l-4.12-3.128a1 1 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12L.326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a1 1 0 0 0 1.276.057l4.12-3.128l9.46 8.63a1.49 1.49 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352m-5.146 14.861L10.826 12l7.178-5.448z\"\u002F>",true,{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":12},"\u003Cpath fill=\"currentColor\" d=\"M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":14,"hidden":10},"\u003Cpath fill=\"currentColor\" d=\"m22 24l-5.25-5l.63 2H4.5A2.5 2.5 0 0 1 2 18.5v-15A2.5 2.5 0 0 1 4.5 1h15A2.5 2.5 0 0 1 22 3.5V24M12 6.8c-2.68 0-4.56 1.15-4.56 1.15c1.03-.92 2.83-1.45 2.83-1.45l-.17-.17c-1.69.03-3.22 1.2-3.22 1.2c-1.72 3.59-1.61 6.69-1.61 6.69c1.4 1.81 3.48 1.68 3.48 1.68l.71-.9c-1.25-.27-2.04-1.38-2.04-1.38S9.3 14.9 12 14.9s4.58-1.28 4.58-1.28s-.79 1.11-2.04 1.38l.71.9s2.08.13 3.48-1.68c0 0 .11-3.1-1.61-6.69c0 0-1.53-1.17-3.22-1.2l-.17.17s1.8.53 2.83 1.45c0 0-1.88-1.15-4.56-1.15m-2.07 3.79c.65 0 1.18.57 1.17 1.27c0 .69-.52 1.27-1.17 1.27c-.64 0-1.16-.58-1.16-1.27c0-.7.51-1.27 1.16-1.27m4.17 0c.65 0 1.17.57 1.17 1.27c0 .69-.52 1.27-1.17 1.27c-.64 0-1.16-.58-1.16-1.27c0-.7.51-1.27 1.16-1.27Z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":16},"\u003Cpath fill=\"currentColor\" d=\"m10 15l5.19-3L10 9zm11.56-7.83c.13.47.22 1.1.28 1.9c.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83c-.25.9-.83 1.48-1.73 1.73c-.47.13-1.33.22-2.65.28c-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44c-.9-.25-1.48-.83-1.73-1.73c-.13-.47-.22-1.1-.28-1.9c-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83c.25-.9.83-1.48 1.73-1.73c.47-.13 1.33-.22 2.65-.28c1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44c.9.25 1.48.83 1.73 1.73\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":18},"\u003Cpath fill=\"currentColor\" d=\"M5 19a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1c0-.21-.07-.41-.18-.57L13 8.35V4h-2v4.35L5.18 18.43c-.11.16-.18.36-.18.57m1 3a3 3 0 0 1-3-3c0-.6.18-1.16.5-1.63L9 7.81V6a1 1 0 0 1-1-1V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v1a1 1 0 0 1-1 1v1.81l5.5 9.56c.32.47.5 1.03.5 1.63a3 3 0 0 1-3 3zm7-6l1.34-1.34L16.27 18H7.73l2.66-4.61zm-.5-4a.5.5 0 0 1 .5.5a.5.5 0 0 1-.5.5a.5.5 0 0 1-.5-.5a.5.5 0 0 1 .5-.5\"\u002F>",{"id":20,"title":21,"body":22,"description":324,"extension":325,"meta":326,"navigation":10,"path":327,"seo":328,"stem":329,"__hash__":330},"docs\u002Fdocs\u002Fv2\u002Fproviders\u002Fmistral.md","Mistral()",{"type":23,"value":24,"toc":319},"minimark",[25,29,33,85,92,97,104,123,162,180,183,187,210,272,276,279,304,315],[26,27,21],"h1",{"id":28},"mistral",[30,31,32],"p",{},"Mistral models direct from Mistral, with your own API key. Costs go direct to the vendor at their rates — no markup, nothing on your Axon\nbalance.",[34,35,40],"pre",{"className":36,"code":37,"language":38,"meta":39,"style":39},"language-ts shiki shiki-themes dark-plus","export default defineProfile({\n    providers: [Mistral()],\n})\n","ts","",[41,42,43,63,79],"code",{"__ignoreMap":39},[44,45,48,52,55,59],"span",{"class":46,"line":47},"line",1,[44,49,51],{"class":50},"sYbnZ","export",[44,53,54],{"class":50}," default",[44,56,58],{"class":57},"sCudf"," defineProfile",[44,60,62],{"class":61},"sTNBD","({\n",[44,64,66,70,73,76],{"class":46,"line":65},2,[44,67,69],{"class":68},"s3F5K","    providers:",[44,71,72],{"class":61}," [",[44,74,75],{"class":57},"Mistral",[44,77,78],{"class":61},"()],\n",[44,80,82],{"class":46,"line":81},3,[44,83,84],{"class":61},"})\n",[30,86,87,88,91],{},"Serves ",[41,89,90],{},"mistralai\u002F*",".",[93,94,96],"h2",{"id":95},"credentials","Credentials",[30,98,99,100,103],{},"Set the environment variable, or pass ",[41,101,102],{},"key"," on the declaration:",[34,105,109],{"className":106,"code":107,"language":108,"meta":39,"style":39},"language-bash shiki shiki-themes dark-plus","MISTRAL_API_KEY=...\n","bash",[41,110,111],{"__ignoreMap":39},[44,112,113,116,119],{"class":46,"line":47},[44,114,115],{"class":68},"MISTRAL_API_KEY",[44,117,118],{"class":61},"=",[44,120,122],{"class":121},"sKc5r","...\n",[34,124,126],{"className":36,"code":125,"language":38,"meta":39,"style":39},"providers: [Mistral({ key: process.env.MY_OWN_VAR })]\n",[41,127,128],{"__ignoreMap":39},[44,129,130,134,137,139,142,145,148,150,153,155,159],{"class":46,"line":47},[44,131,133],{"class":132},"sqDPy","providers",[44,135,136],{"class":61},": [",[44,138,75],{"class":57},[44,140,141],{"class":61},"({ ",[44,143,144],{"class":68},"key:",[44,146,147],{"class":68}," process",[44,149,91],{"class":61},[44,151,152],{"class":68},"env",[44,154,91],{"class":61},[44,156,158],{"class":157},"s9McN","MY_OWN_VAR",[44,160,161],{"class":61}," })]\n",[30,163,164,165,172,173,179],{},"Unlike ",[166,167,169],"a",{"href":168},"\u002Fdocs\u002Fv2\u002Fproviders\u002Fopenrouter",[41,170,171],{},"OpenRouter()"," and\n",[166,174,176],{"href":175},"\u002Fdocs\u002Fv2\u002Fproviders\u002Fcodex",[41,177,178],{},"Codex()",", direct providers are not vaulted yet: the\ncredential comes from the agent's environment. A deployed agent needs it set as a runtime\nsecret, or should use a vaulted route instead.",[30,181,182],{},"Declaring this provider without the variable set is not an error. The failure comes when\nsomething tries to use it, and names the variable you need.",[93,184,186],{"id":185},"options","Options",[34,188,190],{"className":36,"code":189,"language":38,"meta":39,"style":39},"Mistral(options?: ProviderOptions)\n",[41,191,192],{"__ignoreMap":39},[44,193,194,196,199,201,204,207],{"class":46,"line":47},[44,195,75],{"class":57},[44,197,198],{"class":61},"(",[44,200,185],{"class":68},[44,202,203],{"class":61},"?: ",[44,205,206],{"class":68},"ProviderOptions",[44,208,209],{"class":61},")\n",[211,212,213,229],"table",{},[214,215,216],"thead",{},[217,218,219,223,226],"tr",{},[220,221,222],"th",{},"Option",[220,224,225],{},"Default",[220,227,228],{},"Description",[230,231,232,246,259],"tbody",{},[217,233,234,239,243],{},[235,236,237],"td",{},[41,238,102],{},[235,240,241],{},[41,242,115],{},[235,244,245],{},"Your own credential, passed directly",[217,247,248,253,256],{},[235,249,250],{},[41,251,252],{},"url",[235,254,255],{},"the provider's API",[235,257,258],{},"Endpoint override",[217,260,261,266,269],{},[235,262,263],{},[41,264,265],{},"slots",[235,267,268],{},"unbounded",[235,270,271],{},"Ceiling on concurrent calls a fanned-out role may spend here",[93,273,275],{"id":274},"model-ids","Model ids",[30,277,278],{},"Bare Mistral slugs:",[34,280,282],{"className":36,"code":281,"language":38,"meta":39,"style":39},"export default defineAgent({ model: \"mistral:mistral-large-2512\" })\n",[41,283,284],{"__ignoreMap":39},[44,285,286,288,290,293,295,298,301],{"class":46,"line":47},[44,287,51],{"class":50},[44,289,54],{"class":50},[44,291,292],{"class":57}," defineAgent",[44,294,141],{"class":61},[44,296,297],{"class":68},"model:",[44,299,300],{"class":121}," \"mistral:mistral-large-2512\"",[44,302,303],{"class":61}," })\n",[30,305,306,307,310,311,314],{},"Mistral also publishes ",[41,308,309],{},"-latest"," aliases (",[41,312,313],{},"mistral-large-latest",") which track the newest\nrelease. Those resolve at Mistral's end, so what you get can change without your config\nchanging.",[316,317,318],"style",{},"html pre.shiki code .sYbnZ, html code.shiki .sYbnZ{--shiki-default:#C586C0}html pre.shiki code .sCudf, html code.shiki .sCudf{--shiki-default:#DCDCAA}html pre.shiki code .sTNBD, html code.shiki .sTNBD{--shiki-default:#D4D4D4}html pre.shiki code .s3F5K, html code.shiki .s3F5K{--shiki-default:#9CDCFE}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sKc5r, html code.shiki .sKc5r{--shiki-default:#CE9178}html pre.shiki code .sqDPy, html code.shiki .sqDPy{--shiki-default:#C8C8C8}html pre.shiki code .s9McN, html code.shiki .s9McN{--shiki-default:#4FC1FF}",{"title":39,"searchDepth":65,"depth":65,"links":320},[321,322,323],{"id":95,"depth":65,"text":96},{"id":185,"depth":65,"text":186},{"id":274,"depth":65,"text":275},"Use Mistral models in Axon with your own API key. Costs go direct to the vendor at their rates, with no Axon markup.","md",{},"\u002Fdocs\u002Fv2\u002Fproviders\u002Fmistral",{"title":21,"description":324},"docs\u002Fv2\u002Fproviders\u002Fmistral","mFKC_lAY_4cbsWbewwXb2EMAM-a2VIY7ca3XV8qW6Ew",1788121884405]