What problem does it solve?
This Skill solves the problem of paying for (and depending on) cloud LLM calls for small, repetitive tasks by routing lightweight requests to local models first and automatically falling back to cloud when needed.
Core Features & Use Cases
- Unified OpenAI-compatible gateway: Exposes local and cloud models behind a single API endpoint at http://localhost:4000/v1 so your tools don’t need provider-specific integrations.
- Multi-backend inference with automatic fallback: Uses LiteLLM to try local tiers (MLX and/or Ollama) and then fall back to cloud backends like OpenRouter and Anthropic.
- Practical model routing for real workflows: Supports different model “names” (e.g., local, code, claude) to map tasks like summarization/formatting vs. code generation vs. complex reasoning.
Quick Start
Ask an AI assistant to configure and start LiteLLM so your local endpoint http://localhost:4000/v1 routes the model name local to MLX and/or Ollama with cloud fallback to OpenRouter or Anthropic.