I'll help you use SarvamAI batch processing models in cloudflare workers (serverless).
Everything is fully crafted, just run simple shadcn cmd to get these code into your typescript project.
eg:
bunx shadcn@latest add rajatsandeepsen/sarvam-simple/<component-name>API ported to run in any environment
Hono server that can run inside a serverless platforms
Hono server with webhook callbacks and optional KV-based id mapping.
Checkout my honest API Feedback Document to Sarvam Team