[{"data":1,"prerenderedAt":296},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fv2\u002Ftui\u002Fmodels":3},{"id":4,"title":5,"body":6,"description":288,"extension":289,"meta":290,"navigation":291,"path":292,"seo":293,"stem":294,"__hash__":295},"docs\u002Fdocs\u002Fv2\u002Ftui\u002Fmodels.md","Models",{"type":7,"value":8,"toc":277},"minimark",[9,13,22,27,33,58,61,66,70,76,90,94,97,101,107,123,133,137,142,148,218,222,226,232,236,243,255,258,270,273],[10,11,5],"h1",{"id":12},"models",[14,15,16,17,21],"p",{},"Press ",[18,19,20],"code",{},"*"," to open the model and agent switcher. The agents tab shows everything you can\nconnect to. The remaining tabs are model providers — switch the inference source without\nchanging anything about your agent.",[23,24,26],"h2",{"id":25},"openrouter","OpenRouter",[14,28,29,30,32],{},"The ",[18,31,25],{}," tab gives access to the full OpenRouter model catalogue — hundreds of\nmodels from every major provider, billed through a single OpenRouter account.",[34,35,40],"pre",{"className":36,"code":37,"language":38,"meta":39,"style":39},"language-bash shiki shiki-themes dark-plus",":keys set openrouter\n","bash","",[18,41,42],{"__ignoreMap":39},[43,44,47,51,55],"span",{"class":45,"line":46},"line",1,[43,48,50],{"class":49},"sCudf",":keys",[43,52,54],{"class":53},"sKc5r"," set",[43,56,57],{"class":53}," openrouter\n",[14,59,60],{},"Enter your OpenRouter API key when prompted. Models are grouped by provider in the\npalette.",[62,63],"terminal-image",{"alt":64,"src":65},"TUI model switcher on the openrouter tab showing models grouped by provider","\u002Ftui\u002Faxontuimodelpaletteopenopenroutertabactive.webp",[23,67,69],{"id":68},"openai-codex","OpenAI \u002F Codex",[14,71,29,72,75],{},[18,73,74],{},"openai"," tab lists OpenAI models including GPT-4 variants and o-series reasoning\nmodels. Codex subscribers see their available models here too.",[34,77,79],{"className":36,"code":78,"language":38,"meta":39,"style":39},":keys set openai\n",[18,80,81],{"__ignoreMap":39},[43,82,83,85,87],{"class":45,"line":46},[43,84,50],{"class":49},[43,86,54],{"class":53},[43,88,89],{"class":53}," openai\n",[62,91],{"alt":92,"src":93},"TUI model switcher on the openai tab showing GPT-4 and Codex models","\u002Ftui\u002Faxonmodelpaletteopencodextab.webp",[14,95,96],{},"Models are grouped by base model with reasoning levels nested underneath where applicable.",[23,98,100],{"id":99},"ollama-local-inference","Ollama (local inference)",[14,102,29,103,106],{},[18,104,105],{},"local"," tab connects to Ollama running on your machine. Pull a model, select it, and\ninference runs entirely on your hardware — no network calls to external providers.",[34,108,110],{"className":36,"code":109,"language":38,"meta":39,"style":39},"ollama pull qwen2.5-coder:32b\n",[18,111,112],{"__ignoreMap":39},[43,113,114,117,120],{"class":45,"line":46},[43,115,116],{"class":49},"ollama",[43,118,119],{"class":53}," pull",[43,121,122],{"class":53}," qwen2.5-coder:32b\n",[14,124,125,126,128,129,132],{},"Then select it from the ",[18,127,105],{}," tab. The TUI connects to Ollama on ",[18,130,131],{},"localhost:11434","\nautomatically.",[62,134],{"alt":135,"src":136},"TUI model switcher on the local tab showing an Ollama model downloading","\u002Ftui\u002Faxonmodelpaletteopenshowingdownloadinglocalmodel.webp",[138,139,141],"h3",{"id":140},"managing-ollama-from-the-tui","Managing Ollama from the TUI",[14,143,29,144,147],{},[18,145,146],{},":ollama"," command group manages the Ollama server and installed models without leaving\nthe TUI:",[149,150,151,164],"table",{},[152,153,154],"thead",{},[155,156,157,161],"tr",{},[158,159,160],"th",{},"Command",[158,162,163],{},"What it does",[165,166,167,178,188,198,208],"tbody",{},[155,168,169,175],{},[170,171,172],"td",{},[18,173,174],{},":ollama ps",[170,176,177],{},"Show models currently loaded in VRAM",[155,179,180,185],{},[170,181,182],{},[18,183,184],{},":ollama unload \u003Cmodel>",[170,186,187],{},"Unload a model from VRAM",[155,189,190,195],{},[170,191,192],{},[18,193,194],{},":ollama remove \u003Cmodel>",[170,196,197],{},"Delete a model from disk",[155,199,200,205],{},[170,201,202],{},[18,203,204],{},":ollama update",[170,206,207],{},"Re-pull all installed models to latest",[155,209,210,215],{},[170,211,212],{},[18,213,214],{},":ollama stop",[170,216,217],{},"Stop the Ollama server",[62,219],{"alt":220,"src":221},"TUI command palette showing the ollama subcommand group with ps, unload, remove, update, and stop","\u002Ftui\u002Faxoncommandpaletteopenwithollamalistshown.webp",[23,223,225],{"id":224},"axon-cloud","Axon Cloud",[14,227,29,228,231],{},[18,229,230],{},"axon"," tab lists models backed by Axon Cloud inference — no key required beyond your\nAxon account. Usage is billed to your account at the listed rates.",[23,233,235],{"id":234},"bring-your-own-key","Bring your own key",[14,237,238,239,242],{},"Keys are stored locally in ",[18,240,241],{},"~\u002F.axon\u002F"," and never sent to Axon servers. To see what's\nconfigured:",[34,244,246],{"className":36,"code":245,"language":38,"meta":39,"style":39},":keys show\n",[18,247,248],{"__ignoreMap":39},[43,249,250,252],{"class":45,"line":46},[43,251,50],{"class":49},[43,253,254],{"class":53}," show\n",[14,256,257],{},"To remove all saved keys:",[34,259,261],{"className":36,"code":260,"language":38,"meta":39,"style":39},":keys clear\n",[18,262,263],{"__ignoreMap":39},[43,264,265,267],{"class":45,"line":46},[43,266,50],{"class":49},[43,268,269],{"class":53}," clear\n",[14,271,272],{},"Each provider's key is set independently. You can have OpenRouter and OpenAI configured\nsimultaneously and switch between them freely.",[274,275,276],"style",{},"html pre.shiki code .sCudf, html code.shiki .sCudf{--shiki-default:#DCDCAA}html pre.shiki code .sKc5r, html code.shiki .sKc5r{--shiki-default:#CE9178}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);}",{"title":39,"searchDepth":278,"depth":278,"links":279},2,[280,281,282,286,287],{"id":25,"depth":278,"text":26},{"id":68,"depth":278,"text":69},{"id":99,"depth":278,"text":100,"children":283},[284],{"id":140,"depth":285,"text":141},3,{"id":224,"depth":278,"text":225},{"id":234,"depth":278,"text":235},"Press * to open the model and agent switcher. The agents tab shows everything you can\nconnect to. The remaining tabs are model providers — switch the inference source without\nchanging anything about your agent.","md",{},true,"\u002Fdocs\u002Fv2\u002Ftui\u002Fmodels",{"title":5,"description":288},"docs\u002Fv2\u002Ftui\u002Fmodels","rHRJD0pIAxtRYwtwgfXgOUEpCr86AoIocJho8LGeds0",1785671804875]