Skip to content
Source
Sign inSign up
TanStack/schemas

FAL pricing extract: model call returns "500 Model execution failed" since the Sonnet 5.5 gateway switch (#551) #552

Closedtombeckenham opened this issue 0 comments
tombeckenhamcommented

Error

Both FAL llms.txt rate-card extract runs since #551 deployed (Claude Sonnet 5.5 via gatewayChat → cloudflareBindingFetch → env.AI → AI Gateway) failed on the model call:

time (UTC)eventerror
2026-11-02 06:01:06ingest_failed (job fal-pricing-extract, colo LAX)leftover retry: 2 | 500 Model execution failed (Error)
2026-11-02 06:01:06rate_card_refused ×2heygen/heygen-voice, heygen/heygen-voice/turbo, reason uncompilable
2026-11-02 07:01:03ingest_failed (colo ICN)leftover retry: 1 | 500 Model execution failed (Error)
2026-11-02 07:01:03rate_card_refusedheygen/heygen-voice/turbo, uncompilable

Source: PostHog project modelschemas/Production, events ingest_failed / rate_card_refused with providerId = fal.

The last pre-#551 run (2026-11-01 11:01, previous extract model) reached the model and got a reply (rejected twice: verifyExamples failed ...), so the gateway path worked before the switch. No post-#551 run has produced a model reply.

Why it matters

  • Every FAL leftover is now unpriceable by the extract, not just heygen-voice. These two runs only had one leftover group, so it is not yet proven that every call fails, but 2/2 runs (two colos) did.
  • heygen-voice's Pricing section is a 50%-off promo that ended 2026-10-31 ($0.015 → regular $0.03 per 1,000 characters). The stored card is kept, so the catalog keeps serving the expired promo price until an extract succeeds.

What I could not check

The triage run has no Cloudflare / AI Gateway credentials, so I could not call the binding. The #551 comparison script used a stand-in binding that forwards directly to each provider, so the real env.AI → anthropic/claude-sonnet-5-5 route was not exercised before merge.

Suggested next steps

  1. Check the AI Gateway AI_GATEWAY_ID logs for the 06:01 and 07:01 requests: the provider status and body behind "Model execution failed".
  2. Confirm anthropic/claude-sonnet-5-5 is a valid Unified Billing id on the binding, and that the Anthropic adapter's request body (no temperature, its default max_tokens) is accepted.
  3. Trigger one extract by hand (POST /v1/admin/extract/fal) after the fix and confirm a card lands for heygen/heygen-voice.

Not opening a fix PR: the root cause is not traceable from code alone, and a guessed change would not be verifiable here.

  1. tombeckenham closed this

Sign in to join this conversation.