How to use Jev
Jev, from TypeSafe AI, doesn’t write text. You send it some state and typed questions about it, and it answers each one with probabilities. Here’s how to get access, make your first call, pick between its four question types, act on the answers, and what Jev gets wrong.
The short answer
- Get a key in the TypeSafe console, or call Jev through Vercel’s AI Gateway or OpenRouter.
- Install the SDK with
pip install typesafe-sdk, then callclient.system_one(state=..., questions=...). - Ask typed questions: a Choice, a Score, a Noul (yes or no), or a Box on an image. Each answer comes with probabilities, never prose.
- It costs $0.042 per million input tokens, and output is free. Pin a version once you’ve set thresholds.
1. Get access
Sign in to the TypeSafe console, open API Keys and create a key. Keep it in TYPESAFE_API_KEY on your server, never in browser code. Jev launched with a waitlist on September 15, 2026, and TypeSafe has opened and paused sign-ups since, so if you can’t sign up, a gateway works too:
| Route | Model | Key |
|---|---|---|
| TypeSafe’s API | jev-latest, or a version such as jev-1.14.0 | A key from the TypeSafe console |
| Vercel AI Gateway | typesafe-ai/jev, through the AI SDK’s experimental_decide | A Vercel AI Gateway key |
| OpenRouter | typesafe/jev-1.13, or ~typesafe/jev-latest | An OpenRouter key |
2. Install the SDK
TypeSafe publishes SDKs for Python and for JavaScript and TypeScript. Both read the key from the environment:
pip install typesafe-sdk # Python 3.10 or newer
npm install @typesafe-ai/sdk # Node.js 22 or newer
export TYPESAFE_API_KEY="your-key"3. Make your first call
One call can ask several questions about the same state. Jev answers them independently and in parallel, so adding a question barely changes how long the call takes:
from typesafe_sdk import Choice, Noul, Score, TypeSafeClient
message = "I was charged twice for March. Please refund one of the charges today."
with TypeSafeClient(model="jev-1.14.0") as client: # reads TYPESAFE_API_KEY
response = client.system_one(
state=message,
questions={
"queue": Choice(
instructions="Which team should handle this message",
criteria={
"billing": "Charges, refunds, invoices or plans",
"bug": "Something in the app is broken",
"account": "Logins, passwords or teammates",
"other": "Anything else",
},
),
"urgency": Score(
instructions="How soon this needs an answer",
criteria=["Can wait a week", "Within a day", "Within the hour"],
),
"wants_refund": Noul(instructions="The customer asks for money back"),
},
)
queue = response.choices["queue"]
print(queue.choice, queue.confidence) # the top option, and how sure
print(queue.probabilities) # every option's probability
print(response.scores["urgency"].score) # 0 to 2, and it can fall between levels
print(response.nouls["wants_refund"].noul) # the probability of yes
print(response.model) # the version that answeredWithout the SDK, it’s one POST to /v1/systemone:
curl https://api.typesafe.ai/v1/systemone \
-H "Authorization: Bearer $TYPESAFE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "jev-1.14.0",
"state": "I was charged twice for March. Please refund one of the charges today.",
"questions": {
"wants_refund": {"type": "noul", "instructions": "The customer asks for money back"}
}
}'The reply has this shape, though your numbers will differ:
{
"model": "jev-1.14.0",
"answers": {
"wants_refund": {"type": "noul", "noul": 0.97}
},
"usage": {"input_tokens": 52, "output_tokens": 3}
}The state can be text, JSON or, with an opt-in header, images. Keep it to what the decision needs: TypeSafe says irrelevant detail in the state lowers accuracy.
4. Pick a question type
| Question | Asks | You give | It returns |
|---|---|---|---|
| Choice | Which one of these? | Instructions, and up to 255 options, each with a description | choice, probabilities, confidence |
| Score | Where does it fall on this scale? | Instructions, and up to 10 levels, lowest first | score (it can fall between levels), probabilities, confidence |
| Noul | Is this true? | Instructions, and if you like, what counts as yes and as no | noul, the probability of yes |
| Box | Where is it in this image? | Instructions and an image | box (top, bottom, left, right), confidence |
- One thing per question. Jev reads questions literally. TypeSafe recommends asking each factor of a judgment separately and combining the answers in your code.
- Give options a way out. A Choice’s probabilities are relative to your options, so add an “other” option, or pair the Choice with a Noul that asks whether any option fits.
- Several things can be true? Use a Noul for each, not one Choice.
- Box is experimental. It needs the images header and Jev 1.14, and returns the box’s edges as fractions of the image’s width and height.
5. Act on the answers
Every Choice and Score answer has a confidence from 0 to 1 that sums up how its probability is spread. For a Choice with n options, it’s (top probability − 1/n) / (1 − 1/n): 0 when every option is equally likely, 1 when one option has all of it. A Noul has no separate confidence; its probability is the uncertainty.
TypeSafe’s advice is that thresholds scale with risk: a low bar to catch real uncertainty, a high one for actions you can’t undo. Set them on a few hundred examples you’ve labeled yourself, not on a guess:
queue = response.choices["queue"]
if queue.probabilities[queue.choice] >= 0.9: # set this on your own labeled examples
assign(message, queue.choice)
else:
send_to_a_person(message)A new version has new probabilities. Pin the version you tuned on, and set the thresholds again when you move.
Price, limits and versions
- Price. $0.042 per million input tokens, and output is free. A 1,000-token request costs $0.000042: a million of them, $42.
- Context. Up to 64,000 tokens a request and 32,000 a question. The header
TypeSafe-Danger-Zone-Long-Context: trueraises both to 262,000, at the same price, but slower and less accurate. - Images.
TypeSafe-Danger-Zone-Images: truelets you send PNG or JPEG images and refer to them from the state, instructions or options. - Versions. Jev 1.14 came out on October 14, 2026: small improvements throughout, TypeSafe says, most of all in languages other than English.
jev-latestnow points to it, andjev-1.13.0stays available.
What Jev gets wrong
TypeSafe publishes a list of Jev’s rough edges. The ones that bite most often:
- Numbers. It isn’t a calculator, miscounts long lists, and reads dates as text. Do math, counts and date checks in code.
- Literal reading. It answers the words you wrote, not what you meant. Double negatives and questions that take several hops lower its accuracy.
- The first option. It leans toward the first option of a Choice, so answers can shift when you reorder them.
- Text meant to steer it. Instructions or misleading framing inside the state can sway its answers.
Patterns worth knowing
- Screen with a Noul first. Run an expensive step only when a cheap yes or no is a clear yes.
- Route by probability. Act on its own above your threshold, and send the rest to a person or a larger model.
- Score in parts. Ask each factor as its own Score and weight them in code.
- Judge outputs. Jev can check another model’s answers at scale: Jev as a judge covers how, and what the early tests found.
When to train your own
Jev answers a new question from its wording alone, which makes it quick to try. When one decision runs thousands of times a day and you have examples, a model trained on that decision learns its edge cases, and you can run it where you like. How to train your own Jev walks through it, and Jev vs Laya compares the open alternatives. The decision model example on GitHub trains one on support tickets and compares it with Jev on the same tickets.
Questions people ask
How do I get a Jev API key?
Sign in to the TypeSafe console at console.typesafe.ai, open API Keys and create a key. Keep it in the TYPESAFE_API_KEY environment variable on your server, never in browser code. Without a TypeSafe account, you can call Jev through Vercel’s AI Gateway or OpenRouter with their keys.
Is there still a Jev waitlist?
Jev launched with a waitlist on September 15, 2026. TypeSafe opened sign-ups to everyone on September 20, then paused new sign-ups two days later. If you can’t sign up, call Jev through Vercel’s AI Gateway or OpenRouter.
How much does Jev cost?
$0.042 per million input tokens, and output is free. A 1,000-token request costs $0.000042, so a million of them cost $42.
What is jev-latest?
An alias for the newest stable release, now jev-1.14.0. It moves when TypeSafe ships a new version, so pin a version such as jev-1.14.0 once you’ve set thresholds on its probabilities. Each reply’s model field says which version answered.
Can Jev write text?
No. Jev only returns typed answers with probabilities. For a summary, a reply or code, use a language model.
Can Jev read images?
Yes, behind an opt-in header, TypeSafe-Danger-Zone-Images: true, which also enables Jev 1.14’s Box question for finding something in an image. TypeSafe calls these features experimental.
Can I run Jev on my own servers?
No. Jev is hosted only, and its weights are closed. For a decision model you can run anywhere, train one of your own on an open model.
Sources
- TypeSafe AI, Quick start
- TypeSafe AI, System One API reference
- TypeSafe AI, Models
- TypeSafe AI, Confidence
- TypeSafe AI, Model jaggedness
- TypeSafe AI, Patterns
- Vercel, Jev on AI Gateway
- OpenRouter, Jev tutorial
- Flavio Copes, How to get access to Jev and an API key
- AI/TLDR, Jev 1.14 adds images and bounding boxes
Sous isn’t affiliated with TypeSafe AI.