OpenAI Cost Optimal Gateway is a Go service that proxies OpenAI- and Anthropic-compatible API requests to multiple upstream providers. It adds rule-driven routing so that traffic can be steered to the most cost-effective provider while keeping API compatibility with official OpenAI and Anthropic clients. -
View it on GitHub