Flux OS — AI skill for Claude Code
Send every LLM request to the cheapest model that can handle it.
How to install Flux OS
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open vbc1406/flux-os and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Flux OS does
Send every LLM request to the cheapest model that can handle it. Drop-in OpenAI + Anthropic compatible router for agents and wrappers.
Alternatives in AI
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Vllm Mlx — High-performance OpenAI and Anthropic compatible LLM inference server for Apple Silicon 1.5k ★
- CliRelay — Self-hosted AI gateway for coding CLIs — one OpenAI/Claude/Gemini/Codex-compatible endpoint, with a multi-tena 1k ★
README
flux-os
**Send every LLM request to the cheapest model that can actually handle it.**
A drop-in router for the OpenAI and Anthropic APIs. Works with agents and wrappers, as a proxy or a Python library. No dashboard, no database, no setup.
[](https://github.com/vbc1406/flux-os/actions/workflows/ci.yml)  
"hi" → gpt-oss-20b (groq) ~$0.00004
"Translate 'good morning' into Spanish" → mistral-small-4 (mistral) ~$0.0002
"Write a Python function that parses dates" → gpt-oss-20b (groq) ~$0.0004
"Implement a lock-free concurrent hash map in
Rust, thread-safe, no global locks, ..." → o4-mini (openai) ~$0.0053
Most traffic doesn't need your most expensive model. flux-os reads each request (task type, difficulty, tools, images, JSON mode, context size), sets a quality bar, and picks the **cheapest model that clears it**. If that model fails (rate limit, outage, timeout), the request is **rerouted** to the next-best model, on a different provider first.
- Zero code changes. Point your OpenAI or Anthropic client at flux-os and set
model="auto". - Agents work. Tool calls, streaming tool calls, and multi-turn tool loops work across every provider, whichever API format your framework speaks.
- Three API formats in, any provider out. Chat Completions, the Responses API and Anthropic Messages, translated to OpenAI, Anthropic, Gemini, Groq, Mistral, DeepSeek, OpenRouter, Ollama or any OpenAI-compatible server.
- Fast. Pure-Python heuristics, no LLM in the decision path, well under 1 ms per decision.
Quickstart
pip install "git+https://github.com/vbc1406/flux-os"
# See what it would do. No API keys
Related Skills
Claude Auto Router
Auto-route Claude Code prompts to the cheapest model that can handle them. Save 3-5x on tokens. One-command in
Cheap LLM Router
Save Claude/Codex subscription tokens by routing context-only file reads through a cheaper LLM (DeepSeek, Kimi
Codex Model Router
Codex 多模型路由:在 Codex Desktop 使用 Claude、第三方 API 和自定义模型。Local LLM proxy for OpenAI Responses / Chat Completions &
TurboLLM
Run any local LLM engine, auto-tuned to your GPU — polished web UI + OpenAI/Anthropic-compatible API. Point Cl
Sugt
SUGT - local AI gateway & skills console. Centralize LLM API keys, one OpenAI/Anthropic-compatible proxy for C
LLM Fusion
OpenAI and Anthropic compatible LLM proxy for Ollama Cloud — panel→judge→synth fusion + smart routing, with ta
Related Agents
Grok Agent 01
ONLY job: find free or freemium AI token/API plans (OpenAI-compatible, Anthropic, Google, open routers, studen
Router Client
Owns the Anthropic-compatible router HTTP client. Use for /healthz, /v1/models, scrub, RouterError, errorName,
AI Recon
Delegates to this agent when the user wants to map the AI attack surface of an authorized web application befo