As of September 2024, this version of Wave Terminal is deprecated. To learn more about our new version (>=v0.8.0), check out www.waveterm.dev. To find documentation for our new version, check out docs.waveterm.dev.
llama.cpp is an open-source project that enables efficient inference of Meta’s LLaMA and other compatible models using pure C/C++, with the main goal of enabling LLM inference with minimal setup and state-of-the-art performance on a wide variety of hardware. It offers optimizations for various architectures, supports integer quantization for faster inference and reduced memory usage, and includes custom CUDA kernels, Vulkan, SYCL, and OpenCL backend support.Wave specifically supports the llama.cpp HTTP Server, which makes the models available locally to run from other applications like Wave.
To see a full list of supported LLM providers, please visit the Third-Party LLM Support section in the Wave AI features page.
Please visit llama.cpp’s GitHub page for instructions on downloading and installing llama.cpp, as well as a full list of supported models.
For Mac users, you can easily install llama.cpp using Homebrew by running brew install ggerganov/ggerganov/llama.cpp. This command will install two tools: llama-cli for command-line interaction and llama-server for running the llama.cpp HTTP server — both of which use the same options and syntax as the manually built llama.cpp.
After installing and configuring the llama.cpp server, you can start using it in Wave by setting a single parameter: aibaseurl. This parameter can be set either through the UI or from the command line, but please note that the parameter names are slightly different depending on the method you choose.
AI Base URL: Set this parameter to the base URL or endpoint that Wave AI should query. For llama.cpp servers running locally, use http://localhost:8080. Please note that the port number 8080 may be different depending on your specific installation. For remote llama.cpp server instances, replace localhost with the appropriate hostname or IP address of the server where llama.cpp is running. If the port number is different from the default 8080, update it accordingly in the URL.
To configure llama.cpp from Wave’s user interface, navigate to the “Settings” menu and set the AI Base URL parameter as described in the previous section.
Once you have installed and configured your llama.cpp server, you can start using it in Wave. There are two primary ways to interact with your newly configured LLM: Interactive Mode and by using the /chat command.
Interactive Mode: To enter Interactive Mode, click the “Wave AI” button in the command box or use the ctrl + space shortcut. This will open an interactive chat session where you can have a continuous conversation with the AI assistant powered by your llama.cpp model.
/chat: Alternatively, you can use the /chat command followed by your question to get a quick answer from your llama.cpp model directly in the terminal.
If you encounter issues while using llama.cpp with Wave AI, consider the following troubleshooting steps:
Connection failures: If Wave AI fails to connect to your llama.cpp server or returns an error message, verify that the llama.cpp server is running is running and accessible from the system where Wave is installed. Check the llama.cpp logs for any error messages or indications of why the connection might be failing.
Timeouts: If you’re unable to complete a query or incur frequent timeouts, try adjusting the aitimeout parameter to a higher value. This will give your llama.cpp server more time to process and respond to your requests, especially if you are running it on a system with limited hardware resources.
Incorrect base URL or port: Ensure that the aibaseurl parameter points to the correct URL and port number where the llama.cpp server is running. If you have changed the default port or are running llama.cpp on a remote server, update the URL accordingly.
Unexpected behavior or inconsistent results: If you encounter unexpected behavior or inconsistent results when using the llama.cpp server with Wave AI, try resetting the aibaseurl and aimodel parameters to their default values and reconfiguring llama.cpp from scratch. This can help rule out any configuration issues that might be causing problems.
If you continue to face issues after trying these troubleshooting steps, feel free to reach out to us on Discord.
At any time if you find that you wish to return to the default Wave AI experience, you can reset the aibaseurl and aimodel parameters to their default state by using the following commands.
/client:set aibaseurl=/client:set aimodel=
Note: This can also be done in the UI just as described in previous steps.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"WaveLegacy Documentation","colors":{"primary":"#58C142","light":"#35A118","dark":"#58C142"},"favicon":"/wave-logo_appicon.svg","logo":{"light":"https://mintcdn.com/commandline/k-XaGUDSQw4s0I0_/logo/wave-light.png?fit=max\u0026auto=format\u0026n=k-XaGUDSQw4s0I0_\u0026q=85\u0026s=8aafb22636a3a9fed1efa6e1afefd0d3","dark":"https://mintcdn.com/commandline/k-XaGUDSQw4s0I0_/logo/wave-dark.png?fit=max\u0026auto=format\u0026n=k-XaGUDSQw4s0I0_\u0026q=85\u0026s=e1bb52f5ef777f4236a0dea1bfe5403f"},"navbar":{"links":[{"label":"Support","href":"mailto:[email protected]"}],"primary":{"type":"button","label":"Download Wave","href":"https://www.waveterm.dev/download-legacy"}},"footer":{"socials":{"github":"https://github.com/wavetermdev/waveterm","twitter":"https://x.com/wavetermdev","linkedin":"https://www.linkedin.com/company/commandlinedev"}},"navigation":{"global":{"anchors":[{"anchor":"Github","href":"https://github.com/wavetermdev/waveterm","icon":"github"},{"anchor":"Join our Discord","href":"https://discord.gg/XfvZ334gwU","icon":"discord"},{"anchor":"WaveTerm Blog","href":"https://blog.waveterm.dev","icon":"square-up-right"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"commandline","hasAudioNarration":false,"actualSubdomain":"commandline","customDomains":["legacydocs.waveterm.dev"],"gitSource":{"type":"github","owner":"wavetermdev","repo":"waveterm-docs-old","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae91dab1581386fb313de00:success","clientVersion":"0.0.4088","searchFilterCounts":[{"language":"default","tag":"Documentation","count":15},{"language":"default","tag":"Features","count":6},{"language":"default","tag":"Reference","count":6},{"language":"default","tag":"Get Started","count":3}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"features/supportedLLMs/llamacpp","slug":"/features/supportedLLMs/llamacpp","pageMetadata":{"title":"llama.cpp","description":"Get llama.cpp up and running in Wave AI","href":"/features/supportedLLMs/llamacpp"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get llama.cpp up and running in Wave AI\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[`As of September 2024, this version of Wave Terminal is deprecated. To learn more about our new version (>=v0.8.0), check out `,_jsx(_components.a,{href:`https://www.waveterm.dev`,children:`www.waveterm.dev`}),`. To find documentation for our new version, check out `,_jsx(_components.a,{href:`https://docs.waveterm.dev`,children:`docs.waveterm.dev`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`https://github.com/ggerganov/llama.cpp`,children:`llama.cpp`}),` is an open-source project that enables efficient inference of Meta’s LLaMA and other compatible models using pure C/C++, with the main goal of enabling LLM inference with minimal setup and state-of-the-art performance on a wide variety of hardware. It offers optimizations for various architectures, supports integer quantization for faster inference and reduced memory usage, and includes custom CUDA kernels, Vulkan, SYCL, and OpenCL backend support.`]}),`\n`,_jsxs(_components.p,{children:[`Wave specifically supports the `,_jsx(_components.a,{href:`https://github.com/ggerganov/llama.cpp/tree/master/examples/server#llamacpp-http-server`,children:`llama.cpp HTTP Server`}),`, which makes the models available locally to run from other applications like Wave.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To see a full list of supported LLM providers, please visit the `,_jsx(_components.a,{href:`/features/waveAI#third-party-llm-support-byollm`,children:`Third-Party LLM Support`}),` section in the Wave AI features page.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsxs(_components.p,{children:[`Please visit llama.cpp’s `,_jsx(_components.a,{href:`https://github.com/ggerganov/llama.cpp`,children:`GitHub`}),` page for instructions on downloading and installing llama.cpp, as well as a full list of supported models.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`For Mac users, you can easily install llama.cpp using Homebrew by running `,_jsx(_components.code,{children:`brew install ggerganov/ggerganov/llama.cpp`}),`. This command will install two tools: `,_jsx(_components.code,{children:`llama-cli`}),` for command-line interaction and `,_jsx(_components.code,{children:`llama-server`}),` for running the llama.cpp HTTP server — both of which use the same options and syntax as the manually built llama.cpp.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`configuration`,children:`Configuration`}),`\n`,_jsxs(_components.p,{children:[`After installing and configuring the llama.cpp server, you can start using it in Wave by setting a single parameter: `,_jsx(_components.code,{children:`aibaseurl`}),`. This parameter can be set either through the UI or from the command line, but please note that the parameter names are slightly different depending on the method you choose.`]}),`\n`,_jsx(Heading,{level:`3`,id:`parameters`,children:_jsx(_components.strong,{children:`Parameters`})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`AI Base URL:`}),` Set this parameter to the base URL or endpoint that Wave AI should query. For llama.cpp servers running locally, use `,_jsx(_components.a,{href:`http://localhost:8080`,children:`http://localhost:8080`}),`. Please note that the port number `,_jsx(_components.code,{children:`8080`}),` may be different depending on your specific installation. For remote llama.cpp server instances, replace `,_jsx(_components.code,{children:`localhost`}),` with the appropriate hostname or IP address of the server where llama.cpp is running. If the port number is different from the default `,_jsx(_components.code,{children:`8080`}),`, update it accordingly in the URL.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`configuring-via-the-ui`,children:`Configuring via the UI`}),`\n`,_jsxs(_components.p,{children:[`To configure llama.cpp from Wave’s user interface, navigate to the “Settings” menu and set the `,_jsx(_components.code,{children:`AI Base URL`}),` parameter as described in the previous section.`]}),`\n`,_jsx(Heading,{level:`3`,id:`configuring-via-the-cli`,children:`Configuring via the CLI`}),`\n`,_jsxs(_components.p,{children:[`To configure llama.cpp using the command line, set the `,_jsx(_components.code,{children:`aibaseurl`}),` parameter using the `,_jsx(_components.a,{href:`/reference/slashcommands#client-set`,children:`/client:set`}),` command, as shown in the example below.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/client:set aibaseurl=\u003cyour-llama.cpp-base-url>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsxs(_components.p,{children:[`Once you have installed and configured your llama.cpp server, you can start using it in Wave. There are two primary ways to interact with your newly configured LLM: `,_jsx(_components.a,{href:`/features/waveAI#interactive`,children:`Interactive Mode`}),` and by using the `,_jsx(_components.a,{href:`/features/waveAI#chat-command`,children:`/chat`}),` command.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Interactive Mode:`}),` To enter Interactive Mode, click the “Wave AI” button in the command box or use the `,_jsx(_components.code,{children:`ctrl + space`}),` shortcut. This will open an interactive chat session where you can have a continuous conversation with the AI assistant powered by your llama.cpp model.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`/chat:`}),` Alternatively, you can use the `,_jsx(_components.a,{href:`/features/waveAI#chat-command`,children:`/chat`}),` command followed by your question to get a quick answer from your llama.cpp model directly in the terminal.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsx(_components.p,{children:`If you encounter issues while using llama.cpp with Wave AI, consider the following troubleshooting steps:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Connection failures:`}),` If Wave AI fails to connect to your llama.cpp server or returns an error message, `,_jsx(_components.a,{href:`https://github.com/ggerganov/llama.cpp/tree/master/examples/server#testing-with-curl`,children:`verify`}),` that the llama.cpp server is running is running and accessible from the system where Wave is installed. Check the llama.cpp logs for any error messages or indications of why the connection might be failing.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Timeouts:`}),` If you’re unable to complete a query or incur frequent timeouts, try adjusting the `,_jsx(_components.code,{children:`aitimeout`}),` parameter to a higher value. This will give your llama.cpp server more time to process and respond to your requests, especially if you are running it on a system with limited hardware resources.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Incorrect base URL or port:`}),` Ensure that the `,_jsx(_components.code,{children:`aibaseurl`}),` parameter points to the correct URL and port number where the llama.cpp server is running. If you have changed the default port or are running llama.cpp on a remote server, update the URL accordingly.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unexpected behavior or inconsistent results:`}),` If you encounter unexpected behavior or inconsistent results when using the llama.cpp server with Wave AI, try `,_jsx(_components.a,{href:`#reset-wave-ai`,children:`resetting`}),` the `,_jsx(_components.code,{children:`aibaseurl`}),` and `,_jsx(_components.code,{children:`aimodel`}),` parameters to their default values and reconfiguring llama.cpp from scratch. This can help rule out any configuration issues that might be causing problems.`]}),`\n`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`If you continue to face issues after trying these troubleshooting steps, feel free to reach out to us on `,_jsx(_components.a,{href:`https://discord.gg/XfvZ334gwU`,children:`Discord`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`reset-wave-ai`,children:`Reset Wave AI`}),`\n`,_jsxs(_components.p,{children:[`At any time if you find that you wish to return to the default Wave AI experience, you can reset the `,_jsx(_components.code,{children:`aibaseurl`}),` and `,_jsx(_components.code,{children:`aimodel`}),` parameters to their default state by using the following commands.`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/client:set aibaseurl=`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`/client:set aimodel=`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Note:`}),` This can also be done in the UI just as described in previous steps.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"llama.cpp","description":"Get llama.cpp up and running in Wave AI","href":"/features/supportedLLMs/llamacpp"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":2,"children":[]},{"title":"Configuration","slug":"configuration","depth":2,"children":[{"title":"Parameters","slug":"parameters","depth":3,"children":[]},{"title":"Configuring via the UI","slug":"configuring-via-the-ui","depth":3,"children":[]},{"title":"Configuring via the CLI","slug":"configuring-via-the-cli","depth":3,"children":[]}]},{"title":"Usage","slug":"usage","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"Reset Wave AI","slug":"reset-wave-ai","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"commandline","siteName":"WaveLegacy Documentation","title":"llama.cpp - WaveLegacy Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:50:04.968Z","originalFileLocation":"features/supportedLLMs/llamacpp.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get llama.cpp up and running in Wave AI\">\u003cmeta data-mint-head name=\"application-name\" content=\"WaveLegacy Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"llama.cpp - WaveLegacy Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get llama.cpp up and running in Wave AI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"WaveLegacy Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://legacydocs.waveterm.dev/features/supportedLLMs/llamacpp\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://commandline.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=llama.cpp\u0026amp;description=Get+llama.cpp+up+and+running+in+Wave+AI\u0026amp;theme=4072683be4c46e402c431a76\u0026amp;signature=13713f5143ca7c2ede5054f186b35b8aa5c1bda5d1803437b2fcd404523101cc\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"llama.cpp - WaveLegacy Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get llama.cpp up and running in Wave AI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://commandline.mintlify.site/_mintlify/api/og/v2?division=Documentation\u0026amp;title=llama.cpp\u0026amp;description=Get+llama.cpp+up+and+running+in+Wave+AI\u0026amp;theme=4072683be4c46e402c431a76\u0026amp;signature=13713f5143ca7c2ede5054f186b35b8aa5c1bda5d1803437b2fcd404523101cc\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/commandline/041m5sMIQQ4HK4xR/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"WaveLegacy Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#58C142\">\u003clink data-mint-head rel=\"canonical\" href=\"https://legacydocs.waveterm.dev/features/supportedLLMs/llamacpp\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/supportedLLMs/llamacpp.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"WaveLegacy Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"WaveLegacy Documentation","nav":{"global":{"anchors":[{"anchor":"Github","href":"https://github.com/wavetermdev/waveterm","icon":"github"},{"anchor":"Join our Discord","href":"https://discord.gg/XfvZ334gwU","icon":"discord"},{"anchor":"WaveTerm Blog","href":"https://blog.waveterm.dev","icon":"square-up-right"}]},"anchors":[{"anchor":"Documentation","icon":"book-open","groups":[{"group":"Get Started","pages":[{"title":"Introduction","href":"/introduction"},{"title":"Quickstart","href":"/quickstart"},{"title":"Release Notes","href":"/releasenotes"}]},{"group":"Features","pages":[{"title":"Wave AI","icon":"robot","href":"/features/waveAI"},{"title":"Codeedit","icon":"code","href":"/features/codeedit"},{"title":"File Viewers","icon":"file-magnifying-glass","href":"/features/fileViewers"},{"title":"History","icon":"scroll","href":"/features/history"},{"title":"Connections","icon":"map","href":"/features/connections"},{"title":"Style Your Terminal","icon":"paintbrush","href":"/features/appearance"}]},{"group":"Reference","pages":[{"title":"FAQ","href":"/reference/faq"},{"title":"Custom Keybindings","href":"/reference/customKeybindings"},{"title":"Keyboard Shortcuts","href":"/reference/keyboard"},{"title":"SlashCommand Reference","href":"/reference/slashcommands"},{"title":"Telemetry","href":"/reference/telemetry"},{"title":"WaveShell Helper","href":"/reference/waveshell"}]}]}]},"basePath":"","title":"llama.cpp - WaveLegacy Documentation","buildId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","deploymentId":"dpl_DTau1J5HqS9UTgVSDwGksstFWtPa","dynamics":[],"chunks":[]}