OpenAI-Compatible API Android Apps: 4 Clients and Setup (2026)
What you need from an Android app
Any Android chat app that lets you set a custom base URL and API key can use an OpenAI-compatible API: a gateway or relay, DeepSeek or OpenRouter, or your own vLLM, LM Studio or Ollama server. The official ChatGPT app cannot; it only signs in to OpenAI accounts. So the search is really for a client with four things:
- A custom provider of type "OpenAI compatible" with its own base URL (sometimes split into host and path).
- A free-text model ID, or a button that fetches models from
GET /v1/models. - Optional custom headers or request body, for gateways that need extra fields.
- Local storage of keys and history, so your key stays on the phone.
Below are four Android apps that meet these requirements, checked on November 24, 2026 against each project's repository and docs, followed by the setup steps and the network problems that cause most failures.
Android apps that work with OpenAI-compatible APIs
|
App |
Get it |
Custom OpenAI-compatible endpoint |
Also notable |
Licence |
|---|---|---|---|---|
|
Google Play, APK from chatboxai.app |
Add Custom Provider → "OpenAI API Compatible", with API Host and API Path |
Also on desktop and iOS; a Responses API mode |
GPL-3.0 (source repo) |
|
|
Google Play, rikka-ai.com |
Custom API, URL and models for OpenAI-, Google- and Anthropic-compatible APIs |
Custom HTTP headers and request bodies; QR import of provider settings |
AGPL-3.0 |
|
|
F-Droid, Google Play |
Custom API URLs and custom models |
Chat with several models at once; keys encrypted with Android Keystore |
GPL-3.0 |
|
|
APK from GitHub releases |
"Generic Chat Completions" backend |
Can also run GGUF models on the phone itself |
AGPL-3.0 |
All four are actively maintained (each had commits or releases in November 2026). RikkaHub's README warns that many forks exist and recommends its official downloads; that advice applies to every app here, because the app will hold your API key.
If you would rather not install anything, a self-hosted web front-end such as Open WebUI also works from the phone's browser, with the API key kept on your server instead of the phone.
Set up a custom provider (Chatbox example)
The steps are similar in every app. In Chatbox:
- Open Settings → Model Provider and tap Add, then Add Custom Provider.
- Give it a name and choose API mode OpenAI API Compatible.
- Enter your API Key.
- Set API Host to the base URL including
/v1, for examplehttps://api.example.com/v1, and leave API Path as/chat/completions. The preview should readhttps://api.example.com/v1/chat/completions. - Add a model: tap Fetch to load the list from the server, or type the model ID exactly.
- Save and tap Check. It should report a successful connection.
Two behaviours from Chatbox's source code are worth knowing. If you type a host without http:// or https://, it adds https://, so a local server on plain HTTP must be entered with http:// explicitly. If the host does not end in /v1 and no path is set, it appends /v1 for you. Other apps are less forgiving, so the safest habit is to always enter the full base URL. Our OpenAI-compatible base URL guide explains the /v1 rules.
Before blaming the app, confirm the endpoint from a computer:
curl https://api.example.com/v1/models -H "Authorization: Bearer $API_KEY"Connecting the phone to a local server
Pointing a phone at a model running on your PC is where most setups fail. The phone is a separate device, so:
localhoston the phone means the phone. Use the PC's LAN address, such ashttp://192.168.1.20:11434/v1for Ollama orhttp://192.168.1.20:1234/v1for LM Studio. In the Android emulator,10.0.2.2reaches the host computer's loopback.- The server must listen on the network. Ollama binds to
127.0.0.1:11434by default; setOLLAMA_HOST=0.0.0.0:11434. llama.cpp's server and vLLM take--host 0.0.0.0; in LM Studio, enable serving on the local network. - Open the firewall on the PC for that port, for the private network only.
- Plain HTTP may be refused. Since Android 9 (API level 28), cleartext HTTP is disabled by default, and each app decides whether to opt back in. If an app fails on
http://but works with an HTTPS URL, put the server behind HTTPS (a reverse proxy with a certificate, or a tunnel) or use an app that allows local HTTP. - Remote access should not mean a public port. Ollama checks no API keys at all, so anyone who reaches the port can use it. Use a VPN or private network to reach home from mobile data. For hardening a server you expose, see our self-hosted OpenAI-compatible API guide.
Common errors and what they mean
|
Error in the app |
Likely cause |
Fix |
|---|---|---|
|
401 / invalid API key |
Wrong key, extra space, or the key belongs to another provider |
Paste the key again; check it with curl |
|
404 |
|
Make host plus path equal |
|
"Model not found" |
Model ID does not match the server |
Use Fetch, or copy an ID from |
|
Connection refused / timeout on Wi-Fi |
Server bound to localhost, firewall, or different network |
Bind to |
|
Works on HTTPS, fails on HTTP |
Android cleartext policy in that app |
Use HTTPS or an app that allows local HTTP |
|
Reply is empty with a reasoning model |
Answer is in a separate reasoning field |
Use an app that shows reasoning, or turn thinking off |
For the last case, see enabling thinking on OpenAI-compatible APIs; other cross-provider differences are listed in OpenAI compatibility issues.
Keep your key safe on the phone
- Install apps from their official store listing or repository, not from re-uploaded APKs.
- Use a separate key for the phone, with a spending limit, so you can revoke it alone if the phone is lost.
- Prefer apps that keep keys and history locally; GPT Mobile, for example, encrypts credentials with Android Keystore and excludes them from backups.
- Avoid "free key" lists and shared keys. Our guide to free OpenAI-compatible API keys covers the legitimate options.
FAQ
Is there an Android app that works with any OpenAI-compatible API?
Yes. Chatbox, RikkaHub, GPT Mobile and ChatterUI all let you set a custom base URL, API key and model ID, so they work with gateways, hosted providers and self-hosted servers that implement /v1/chat/completions.
Can the ChatGPT Android app use a custom API endpoint?
No. The ChatGPT app signs in to OpenAI accounts and has no base URL or API key setting. Use a third-party client for other endpoints.
How do I connect my Android phone to Ollama on my PC?
Start Ollama with OLLAMA_HOST=0.0.0.0:11434, allow port 11434 through the PC's firewall, and in the app use http://<PC LAN IP>:11434/v1 as the base URL with any non-empty key.
Why does my Android app fail with a local http:// address?
Either the server is not listening on the network, or the app blocks cleartext HTTP, which Android disables by default from Android 9. Check the server with a browser on the phone first, then try an HTTPS URL.
Is it safe to put my API key in an Android app?
It is reasonable with a well-known app from an official source that stores the key locally. Use a dedicated key with a spending limit so you can revoke it without affecting other devices.
The short version
Pick an app with a custom OpenAI-compatible provider, such as Chatbox, RikkaHub, GPT Mobile or ChatterUI. Enter the full base URL with /v1, the key and the exact model ID, and test with the app's check or fetch button. For a server on your own PC, use its LAN IP rather than localhost, make it listen on 0.0.0.0, and expect some apps to require HTTPS.