AI Gateway now supports TypeSafe clients and an HTTP API for Jev
By Steven Van ·
Existing TypeSafe clients can switch to Jev by changing only the base URL and API key, with usage billed through AI Gateway.
Vercel's AI Gateway can now reach Jev, a probabilistic decision model, through an existing TypeSafe client or a plain HTTP API, alongside the AI SDK it already supported. Jev takes in state and returns typed answers with probabilities attached, rather than generated text to parse.
Migrating an existing TypeSafe client only requires changing the base URL to https://ai-gateway.vercel.sh/typesafe and switching to an AI Gateway API key; systemOne calls, noul questions, and response shapes stay the same. New integrations name the model as typesafe-ai/jev and can ask one of three question types:
- boolean: returns a probability from 0 to 1
- choice: picks one option from a named set
- score: rates against a defined scale
Requests made through any of the three paths are billed through AI Gateway and appear alongside other model calls in usage and observability.