oMLX listens on 127.0.0.1:8000 by default and exposes eight endpoints compatible with OpenAI and Anthropic. The API key travels in the Authorization header or in x-api-key, supports sub-keys that only call the API, and can be skipped for local connections. Everything is configurable through settings.json, environment variables or flags.
OpenRouter is a hosted gateway that gathers more than 400 AI models from over 70 providers behind a single OpenAI-compatible API. You change the base URL, use one key and one balance, and gain automatic routing, failover and pass-through token pricing. Unlike a self-hosted proxy such as LiteLLM, you run no infrastructure at all.
Large language models have spent two years promising effortless documentation for code, APIs and architecture. After watching dozens of projects try it, clear patterns emerge for where it works and where it just becomes more debt.