Categories

Mac

oMLX API reference: endpoints, API key, port and error codes

oMLX 0.7.2 listens on 127.0.0.1:8000 and serves OpenAI's API and Anthropic's Messages API on the same port. The key travels in Authorization: Bearer or in x-api-key and is mandatory as soon as the server listens beyond loopback. Errors come back in OpenAI's format, and the port changes with --port, OMLX_PORT or the server section of settings.json.

Artificial Intelligence

OpenRouter: A Gateway for AI Models

OpenRouter is a hosted gateway that gathers more than 500 AI models from over 80 providers behind a single OpenAI-compatible API. You change the base URL and use one key and one balance. You pay each model's rate with no markup, plus 5.5% when you buy credits, and gain automatic routing and failover.