# Claude vs OpenRouter auto-routing on the same agent task, run from my Android phone

> Source: <https://dev.to/alecu382/claude-vs-openrouter-auto-routing-on-the-same-agent-task-run-from-my-android-phone-4mmo>
> Published: 2026-12-03 12:37:17+00:00

**Recommendation:** Treat single-run model comparisons as field notes, not benchmarks: run each model in a fresh session so later runs can't copy earlier answers from conversation history.
More in the playbook "Controlling LLM cost": <https://wpnews.pro/playbooks/llm-cost>

Last week I wrote about [AXON, the AI agent I built entirely on my Android phone](https://dev.to/alecu382/i-built-an-ai-agent-that-runs-entirely-on-my-android-phone-termux-python-3hf1). A few readers asked which model I actually use. The honest answer: it depends on the job, so I let two engines do the same job and wrote down what happened.

This is **one real run each, not a benchmark.** Treat it as a field note.

AXON has several "engines" behind the same gateway (a small Python server in Termux). Two of them:

`openrouter/auto`. On this request the router picked `google/gemini-4-neon`
Same phone (Samsung A54, Android 16), same gateway, same tools (shell, files, phone control through Accessibility, web search), same system instructions.

The task, typed in Romanian in the app:

"Check the app's capabilities and, if needed, propose improvements."

It's a good test because it is open-ended. The agent has to decide what to look at, run real checks and avoid inventing results.

|  | Claude (Claude Code CLI) | OpenRouter auto → Gemini 4 Neon | 
|---|---|---|
| Wall-clock time | ~1 min 50 s | ~4 min 35 s | 
| Cost | ~$0.52 | ~$0.61 | 
| Tool calls / action receipts | 5 | 50 | 
| Prompt size at the end | n/a | ~77k tokens | 
| Changed anything? | No | No | 

The time is measured from when the job was created to when it finished, from the gateway's own job journal.

Earlier in the same chat, two plain "hi" messages had failed with a bare `HTTPError`. Both agents noticed it. That made it the most interesting part of the comparison.

**Claude** worked fast and broadly:

`bge-m3`, an embedding model` termux-battery-status` hanging during the test.
**Gemini via OpenRouter** worked slower and deeper:

`NOT_CHAT` in `direct_providers.py`) didn't know embedding-model prefixes like `bge-`, `e5-` and `minilm`.
The OpenRouter run happened **after** the Claude run, in the same chat. So Gemini could see Claude's answer in the conversation history, including the `bge-m3` diagnosis. It went further, all the way to the exact line of code, but it didn't start from zero. My wording also differed slightly between the two messages.

This is exactly the kind of thing that makes "model X beat model Y" posts misleading. I'm leaving it in on purpose.

The fix was boring, as fixes usually are. The filter got the missing prefixes:

```
# models that can't hold a conversation (embeddings, TTS, image, rerankers...)
NOT_CHAT = ("embed", "tts", "whisper", "audio", "image", "moderation", "rerank",
            "bge-", "bge_", "e5-", "gte-", "minilm", "mpnet", "paraphrase",
            "flux", "sdxl", "stable-diffusion", "clip", "ocr")

def is_chat_model(model_id: str) -> bool:
    return not any(x in model_id.lower() for x in NOT_CHAT)
```

*Everything here was built and run on one phone: Termux, Python and a Java app compiled on the device. If you're doing something similar, or want something like this built, I'm on [GitHub](https://github.com/Alecu382) and I take freelance work through [alecuweb.com/hire](https://alecuweb.com/hire/).*
