[{"data":1,"prerenderedAt":351},["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\u002Fgoogle":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":344,"extension":345,"meta":346,"navigation":10,"path":347,"seo":348,"stem":349,"__hash__":350},"docs\u002Fdocs\u002Fv2\u002Fproviders\u002Fgoogle.md","Google()",{"type":23,"value":24,"toc":337},"minimark",[25,29,33,85,92,97,104,123,163,181,184,188,211,273,277,280,305,309,320,324,333],[26,27,21],"h1",{"id":28},"google",[30,31,32],"p",{},"Gemini models direct from Google, 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: [Google()],\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},"Google",[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],{},"google\u002F*",", Gemini only.",[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","GOOGLE_GENERATIVE_AI_API_KEY=...\n","bash",[41,110,111],{"__ignoreMap":39},[44,112,113,116,119],{"class":46,"line":47},[44,114,115],{"class":68},"GOOGLE_GENERATIVE_AI_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: [Google({ key: process.env.MY_OWN_VAR })]\n",[41,127,128],{"__ignoreMap":39},[44,129,130,134,137,139,142,145,148,151,154,156,160],{"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,150],{"class":61},".",[44,152,153],{"class":68},"env",[44,155,150],{"class":61},[44,157,159],{"class":158},"s9McN","MY_OWN_VAR",[44,161,162],{"class":61}," })]\n",[30,164,165,166,173,174,180],{},"Unlike ",[167,168,170],"a",{"href":169},"\u002Fdocs\u002Fv2\u002Fproviders\u002Fopenrouter",[41,171,172],{},"OpenRouter()"," and\n",[167,175,177],{"href":176},"\u002Fdocs\u002Fv2\u002Fproviders\u002Fcodex",[41,178,179],{},"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,182,183],{},"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,185,187],{"id":186},"options","Options",[34,189,191],{"className":36,"code":190,"language":38,"meta":39,"style":39},"Google(options?: ProviderOptions)\n",[41,192,193],{"__ignoreMap":39},[44,194,195,197,200,202,205,208],{"class":46,"line":47},[44,196,75],{"class":57},[44,198,199],{"class":61},"(",[44,201,186],{"class":68},[44,203,204],{"class":61},"?: ",[44,206,207],{"class":68},"ProviderOptions",[44,209,210],{"class":61},")\n",[212,213,214,230],"table",{},[215,216,217],"thead",{},[218,219,220,224,227],"tr",{},[221,222,223],"th",{},"Option",[221,225,226],{},"Default",[221,228,229],{},"Description",[231,232,233,247,260],"tbody",{},[218,234,235,240,244],{},[236,237,238],"td",{},[41,239,102],{},[236,241,242],{},[41,243,115],{},[236,245,246],{},"Your own credential, passed directly",[218,248,249,254,257],{},[236,250,251],{},[41,252,253],{},"url",[236,255,256],{},"the provider's API",[236,258,259],{},"Endpoint override",[218,261,262,267,270],{},[236,263,264],{},[41,265,266],{},"slots",[236,268,269],{},"unbounded",[236,271,272],{},"Ceiling on concurrent calls a fanned-out role may spend here",[93,274,276],{"id":275},"model-ids","Model ids",[30,278,279],{},"Bare Gemini slugs:",[34,281,283],{"className":36,"code":282,"language":38,"meta":39,"style":39},"export default defineAgent({ model: \"google:gemini-3.5-flash\" })\n",[41,284,285],{"__ignoreMap":39},[44,286,287,289,291,294,296,299,302],{"class":46,"line":47},[44,288,51],{"class":50},[44,290,54],{"class":50},[44,292,293],{"class":57}," defineAgent",[44,295,141],{"class":61},[44,297,298],{"class":68},"model:",[44,300,301],{"class":121}," \"google:gemini-3.5-flash\"",[44,303,304],{"class":61}," })\n",[93,306,308],{"id":307},"gemini-only","Gemini only",[30,310,311,312,314,315,319],{},"The ",[41,313,28],{}," vendor also publishes Gemma weights and the Lyria audio models. Those are not\nserved by the Generative Language API under these ids, so no direct route is offered for\nthem — reach them through ",[167,316,317],{"href":169},[41,318,172],{}," or a local\nruntime instead.",[93,321,323],{"id":322},"the-variable-name","The variable name",[30,325,326,328,329,332],{},[41,327,115],{},", not ",[41,330,331],{},"GOOGLE_API_KEY",". It is the name Google's own SDK\nreads, kept as-is so a working setup elsewhere on your machine works here unchanged.",[334,335,336],"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":338},[339,340,341,342,343],{"id":95,"depth":65,"text":96},{"id":186,"depth":65,"text":187},{"id":275,"depth":65,"text":276},{"id":307,"depth":65,"text":308},{"id":322,"depth":65,"text":323},"Use Gemini models in Axon direct from Google with your own API key. Costs go direct to the vendor, with no Axon markup.","md",{},"\u002Fdocs\u002Fv2\u002Fproviders\u002Fgoogle",{"title":21,"description":344},"docs\u002Fv2\u002Fproviders\u002Fgoogle","ewYtmp6PXF9uADFP83iU7WJx8SE_62ZHZh0BMVbclc4",1788121884472]