# TypeSafe AI's Jev now available on AI Gateway

DevFeed: [TypeSafe AI's Jev now available on AI Gateway](<https://devfeed.tech/articles/typesafe-ai-s-jev-now-available-on-ai-gateway-31501.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/typesafe-ai-jev-now-available-on-ai-gateway>)

Author: Jerilyn Zheng

Published: 2026-09-16T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [gateway](<https://devfeed.tech/topics/gateway.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [API](<https://devfeed.tech/topics/api.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [api](<https://devfeed.tech/tags/api.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [gateway](<https://devfeed.tech/tags/gateway.md>), [model](<https://devfeed.tech/tags/model.md>), [queue](<https://devfeed.tech/tags/queue.md>), [retry](<https://devfeed.tech/tags/retry.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [software](<https://devfeed.tech/tags/software.md>), [support](<https://devfeed.tech/tags/support.md>), [typesafe-ai](<https://devfeed.tech/tags/typesafe-ai.md>)

## AI overview

Vercel's AI Gateway now supports TypeSafe AI's Jev, a probabilistic decision model that returns typed Choice, Score, and Boolean answers with probabilities. The changelog describes parallel evaluation, AI SDK 7 integration through an experimental evaluate API, example routing and review workflows, and provider options including Zero Data Retention and No Training.

## Source excerpt

Jev from TypeSafe AI is now available on AI Gateway. Jev is a probabilistic decision model for software: state goes in, typed Choice, Score, and Boolean answers come out. Regular language models generate text one token at a time, which the application then parses and validates. Jev evaluates all declared questions in parallel and returns typed answers plus probabilities directly. That removes unnecessary text generation and makes it straightforward to automate clear cases while routing uncertain ones to review. TypeSafe reports Jev was up to 193.6x faster and 444.6x cheaper than LLMs on its workflow evaluations. Example use cases include: Choosing the next tool or subagent in an agent loop Deciding whether to continue, retry, ask the user, or stop Scoring urgency or risk before an action Verifying model outputs and enforcing guardrails. AI SDK 7 exposes Jev through the experimental evaluate API. Choice selects an option, Score grades an ordered rubric, and Boolean estimates the probability of true. Install the current AI SDK (AI SDK 7.0.105 onwards supports the evaluate API): Each evaluation specifies: model: the evaluation model to call, state: the shared string, object, or array to evaluate, and questions: a map of named decisions to make about that state. Call the model with typesafe-ai/jev. This example turns one support case into a queue, priority, and refund-review decision, with uncertain routing sent for manual review: The result preserves question IDs and Choice keys. TypeSafe reports separate Choice and Score confidence in result.providerMetadata.typesafe.confidence. Calibrate probabilities and confidence against labeled examples from your workflow. Jev supports Zero Data Retention and No Training, enabled per request in the example. Evaluation calls also appear in logs and custom reporting, count toward budgets, and accept other Gateway provider options in the same providerOptions.gateway object. Read the documentation on evaluation models on AI Gateway f