Skip to content
Source
Sign inSign up
TanStack/schemas

Source Cloudflare AI Gateway from its own API or docs #156

Closedtombeckenham opened this issue 1 comment
tombeckenhamcommented

Problem

cloudflare-ai-gateway stays registered. Its stored rows stay. listModels and fetchSpec skip until a first-party source exists. An empty model list would mark every stored row removed.

The catalog used to be copied from models.dev. That was closed in #113's implementation and is not allowed again.

Ask

Fill cloudflare-ai-gateway from Cloudflare AI Gateway's own API, docs, or SDK. Models, prices, modalities, reasoning, and schemas come from that source. Leave a field null when that source does not publish it.

Do not fetch, copy, join, or diff models.dev, OpenRouter, or any other aggregator onto this provider. OpenRouter's own catalog is a different provider.

Do not ask for an API key unless this provider's own model list is behind a login. The docs URL above is enough to start. If a key is required, stop and comment on this issue. Tom will create it.

Do not delete the provider.

Acceptance

  • listModels and fetchSpec read only this provider's own API, docs, or SDK.
  • No request goes to models.dev, OpenRouter, or another provider's catalog for cloudflare-ai-gateway rows.
  • Prices stay null where the provider's own page does not name a dollar amount.
  • Existing rows are not deprecated by an empty or skipped list.
  1. tombeckenham added labelsenhancement

  2. Blocked without using another catalog.

    Cloudflare AI Gateway docs do not publish a model catalog.

    listModels and fetchSpec now skip, so a poll does not delete stored rows. No API key was requested. This issue stays open.

  3. tombeckenham closed this

Sign in to join this conversation.