Android / llama.cpp / GGUF

LLM AI Server with llama.cpp

LLM AI Server with llama.cpp is an Android local-LLM testing app that lets you load GGUF models, tune inference and prompt-template settings, manage shared MCP / Function Definitions settings, inspect logs, and expose an Ollama/OpenAI/Anthropic-compatible API plus the bundled WebUI from one app.

  • Supports model downloads from URLs, local .gguf imports, and LoRA adapters (scale 0.3–1.0).
  • Lets you combine generation settings, Think behavior, custom chat templates, shared MCP settings, and Function Definitions JSON.
  • On-device Ollama/OpenAI/Anthropic/Gemini-compatible API and WebUI on the same port. Browse all endpoints in the built-in Swagger UI (/swagger), with a CORS toggle in Settings.

Screenshots

Main screen
Main screen. API/WebUI status (1936.8 tok/s · CPU), Web AI Chat section, and Direct Run with profile picker and prompt field — all in one view.
Model Loading settings
Model Loading settings. Select a LoRA adapter file and adjust its scale (strength 0.3–1.0). mmproj (Multimodal Projector) is managed on the same screen.
Built-in WebUI
Built-in WebUI. Chat from any browser on the same Wi-Fi. The bundled "LLM AI Server Guide" profile answers questions about how to use the app.
WebUI Function Calling
Function Calling in WebUI. Asking "What time is it?" triggers the get_time tool, which returns the current time (9:34:53).
WebUI Vision
Vision in WebUI. An uploaded image is described in detail by the model. Available when a model with an mmproj (vision projector) is loaded.
API server settings
API server settings. Manage port, timeout, auto-restart, a direct link to the Swagger UI, and connection checks (127.0.0.1 / LAN / etc.).
Parameter settings
Parameter settings. MTP Settings, Model Parameters, Penalty Parameters, Mirostat, and Additional Sampling in collapsible sections. "Generate Model" links to GGUF Generator.

Key Features

Operational Notes