Skip to content
Source
Sign inSign up
TanStack/schemas

Ledger the Workers AI chat rows Cloudflare does not price #415

Mergedtombeckenhammerged 1 commit intomain fromrefs/pull/415/headmerged by tombeckenham View on GitHub

tombeckenhamcommented

Part of #411

Why these 10 rows have no card

The parser was not missing anything. The adapter reads each card's data-model-pricing on https://developers.cloudflare.com/workers-ai/models/. I checked all 10 against that page, the per-model table on https://developers.cloudflare.com/workers-ai/platform/pricing/, and each model's catalog JSON (price property). Checked 2026-10-22.

  • @cf/cloudflare/clef, clef-flash, clef-omni, clairic: Cloudflare prices these decision models per M input tokens only. The pricing table and the catalog price property list no output unit, while other rows in the same table (for example m2m100) do list one. A gap-report priced row needs both rates. I did not infer a zero output price.
  • LoRA bases (gemma-2b-it-lora, gemma-7b-it-lora, llama-2-7b-chat-hf-lora, mistral-7b-instruct-v0.2-lora): none has a row in the pricing table or a price property. I did not copy a sibling base model's price onto them.
  • @cf/swiss-ai/apertus-v1.5-8b, @cf/utter-project/eurollm-9b-it: neither has a row in the pricing table or a price property.

Each row gets an exact-id priced entry in docs/source-silent/cloudflare-workers-ai.md. Against prod, the gap report now shows priced 29/39 (10 model-silent), so every Workers AI chat row is either priced or ledgered.

No code change. The clef/clairic rows could later carry an input-only card. I left that out because the stored-card shape assumes input and output rates.

    1. Deploying with  Cloudflare Workers  Cloudflare Workers

      The latest updates on your project. Learn more about integrating Git with Workers.

      StatusNameLatest CommitPreview URLUpdated (UTC)
      ✅ Deployment successful!
      View logs
      modelschemasbcc46365Commit Preview URL

      Branch Preview URL
      Oct 22 2026, 09:39 AM
    2. tombeckenham merged this7d9dfd3

    3. tombeckenham closed this

Sign in to join this conversation.