List every provider that serves models, with its policies.
GET /v1/providers lists every provider, with its policy pages and where it is based. It is free and takes an API key. The openai SDK has no providers resource, so call it with fetch.
const res = await fetch("https://opendunes.com/v1/providers", {
headers: { Authorization: `Bearer ${process.env.OPENDUNES_API_KEY}` },
});
const { data } = await res.json();
for (const p of data) console.log(p.slug, p.name, p.headquarters);
// each: name, slug, privacy_policy_url, terms_of_service_url, status_page_url, headquarters, datacentersslug is the name routing takes: provider.only, provider.order, and a guardrail's allowed_providers.