orailnoor/cross-platform-llm-client

A unified cross-platform AI client supporting seamless transitions between standard cloud APIs and on-device, offline execution of custom and uncensored language models.

What it solves

PrivateLM provides a unified interface for AI chat that bridges the gap between running models locally on your phone and using powerful cloud-based AI services. It solves the problem of needing different apps for different AI providers while ensuring you have the option to keep your data entirely on your device.

How it works

Built with Flutter, the app uses a modular architecture to handle both local and cloud inference. For local use, it integrates llama.cpp to run GGUF models directly on your device's hardware, using Vulkan or Metal for GPU acceleration. It automatically detects your device's RAM and capabilities to configure the best settings. For cloud tasks, it acts as a central hub that connects to OpenAI, Anthropic, Google Gemini, and Kimi, normalizing their different API formats into one consistent chat experience.

Who it’s for

This app is for users who want a flexible AI chat client that works across Android, iOS, and Web. It is particularly suited for privacy-conscious users who want to run models offline on their own hardware, as well as power users who want to switch between local models and cloud APIs within a single interface.

Highlights

  • Local, offline model execution on Android and iOS using GGUF files.
  • Seamless fallback to major cloud AI providers (OpenAI, Anthropic, Gemini, Kimi).
  • Multimodal support for sending both text and images.
  • Automatic device optimization that configures context and token limits based on your phone's RAM.
  • Full data privacy with all chats and settings stored locally on your device via Hive.

Related

  • Project
  • Project
  • Project
  • Project
  • Project