GitHub - speedshop/openrouter-us-only-cached-guardrail: GitHub Action that updates an OpenRouter guardrail daily with US-only providers and cached models

GitHub

1 min read Original article ↗

Speedshop OpenRouter Coding Agent Guardrail

Important

This project is archived and no longer maintained.

We decided that OpenRouter's Enterprise In-Region Routing is a more accurate and reliable solution for keeping inference in the United States than inferring geography from provider headquarters, datacenter metadata, or endpoint labels.

For the model-quality concerns this guardrail attempted to enforce—reasoning support, prompt caching, and minimum context length—we now use third-party evaluations and benchmarks, such as Artificial Analysis, to guide model selection instead of relying on arbitrary minimums.

License

MIT