We run OpenRouter as shared infrastructure across several product teams, and managing

it by hand in the dashboard stopped scaling — untracked keys, no spend guardrails,

no audit trail of who can use what.

So we built a Terraform/OpenTofu provider that manages the whole OpenRouter org as

code, not just API keys: workspaces, guardrails, spend/time limits, organization