Summarizing the discussion so far:
The PDF parsing issue you're facing on the Azure Functions Consumption Plan appears to be caused by resource limitations — particularly memory and lack of support for advanced features like preloading models or using warm-up triggers (which are only available on the Premium Plan). You've confirmed that switching to the Premium Plan resolves the issue, which reinforces that it's resource-related.
As an alternative to the Premium Plan, you might want to explore the Dedicated (App Service) Plan, which offers more consistent compute resources and greater control compared to the Consumption Plan. It could be a good middle ground, especially for your DEV environment.
Hope this helps. Do let us know if you have any further queries.
If this answers your query, do click Accept Answer and Yes for "Was this answer helpful." And if you have any further questions, let us know.