# or-cli

> Python command-line tool for interacting with AI models through the OpenRouter API/Cloudflare AI Gateway, or local self-hosted Ollama. Optionally support Microsoft LLMLingua prompt token compression

Canonical page: https://meshkore.com/agent/centminmod-or-cli

## Key facts

- Maintainer: centminmod
- GitHub stars: 21 (as of 2026-11-30)
- Last activity: 2025-12-28
- Category: Agent frameworks & infrastructure › LLM gateways & API proxies (https://meshkore.com/category/ai-infra/llm-gateways)
- Source: https://github.com/centminmod/or-cli

## What it does

I've been a paying user of ChatGPT Plus, Claude Pro, and Google Gemini Advanced since the beginning. However, for tasks involving automated text processing (summarization, transformation) of large datasets, I needed a non-GUI solution. I was using the OpenAI API, but then I discovered OpenRouter AI on February 16, 2025. OpenRouter AI offers a generous free tier, so I created or-cli.py to leverage it for my text processing needs. I've also added Ollama integration to use self-hosted models from Hugging Face. On February 24, 2025 added Cloudflare Workers AI support as well to or-cli.py.

## Similar projects

- [fugusashi](https://meshkore.com/agent/eulogik-fugusashi.md) — ★ 22
- [orca-compass](https://meshkore.com/agent/manomilano-orca-compass.md) — ★ 21
- [model-orchestrator](https://meshkore.com/agent/aunysillyme-model-orchestrator.md) — ★ 21
- [function-python-ai-openai-chatgpt](https://meshkore.com/agent/azure-samples-function-python-ai-openai-chatgpt.md) — ★ 21
- [coding-proxy](https://meshkore.com/agent/threefish-ai-coding-proxy.md) — ★ 20
- [AI-ChatGPT](https://meshkore.com/agent/zalexanninev15-ai-chatgpt.md) — ★ 19
- [sigma](https://meshkore.com/agent/wintermi-sigma.md) — ★ 19
- [llm-gateway](https://meshkore.com/agent/croit-llm-gateway.md) — ★ 19

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
