TypeSafe AI Jev: Typed Decisions, Confidence, and Limits
Some tasks only need a routing decision, not several paragraphs of AI prose converted back into a command. TypeSafe AI’s Jev accepts context and typed questions and returns choices, scores, or probabilities. We read the developer’s documentation to see how those outputs should be used and where code and people must still check them.

What is Jev and what kind of problems is it suitable for?
Jev is a TypeSafe AI model that accepts context and typed questions, returning answers software can use directly. It can select from defined categories, score against a scale, or return a yes/no probability. TypeSafe calls these System One models and names Jev its main model. See Jev Description from TypeSafe for the developer’s description.
Imagine a user saying, “I shrank my image but it looks blurry; I want a smaller file with readable text.” The system needs an image category, a quality issue, and a relevant guide. A program needs a category code and uncertainty estimate more than a long explanation. That is the sort of small decision Jev is designed for.
deciding from acting. Even if Jev suggests deleting a file, it cannot access a database, transfer money, or delete the file merely by naming an action. Surrounding code must check permission and conditions and call the tool. Reliability depends on both model and software.
For KrobClick, the question worth testing is whether Jev recognizes varied ways people express intent better than brittle rules. Keep well-defined arithmetic, amounts, file sizes, and conditions in ordinary code.
The Models page checked October 29, 2026 listed Jev 1.14 (jev-1.14.0), released October 14. The API example and jaggedness limitations here still refer to 1.13. We cannot infer whether those limitations persist or disappear in 1.14. Retest the same cases and criteria before switching.
What can System One and RLCD tell us?
TypeSafe likens narrow, quick decisions to System 1. Jev’s name alludes to William Stanley Jevons and the idea that cheaper resource use can increase demand. These are naming references, not proof that the model simulates a brain or validates an economic law. See Launch announcement and name description
The company calls its training approach Reinforcement Learning for Calibrated Decisions, or RLCD, focused on structured decisions and probabilities aligned with observed outcomes. Its primer contrasts this with RLHF’s human preference feedback and RLVR’s verifiable rewards. This is TypeSafe’s framing, not a claim that every model in each category behaves alike. See AI primer and RLCD concept
calibrated concerns many predictions, not certainty in a single case. If many events receive 0.8 and predictions are well calibrated, roughly 80% of events in that group should occur. Changing language, domain, or question criteria calls for a new calibration check.
The cited documentation covers input and output formats and how the developer describes training. We did not inspect the weights, training data, or training process. The API shape alone cannot establish that Jev is renamed BERT or unrelated to language models.
Differences from structured outputs need to be measured beyond JSON output.
TypeSafe emphasizes decisions and parallel responses. A fair comparison uses an LLM service with its supported schema guarantees, not just a chatbot told to “reply in JSON.” Valid JSON and a semantically correct prediction are separate measures.
Test whether responses always belong to the permitted set, whether probabilities match outcomes, and whether the entire workflow is faster or cheaper. Passing one measure does not establish the others.
What is the difference between Choice, Score and Noul?
| type | Suitable tasks | What is returned | What to watch out for |
|---|---|---|---|
| Choice | Choose a category or action from a defined set | Options, probability of every option and confidence | Cover the relevant options, including out-of-category cases |
| Score | Evaluate one dimension along an ordered scale. | Weighted average score, distribution, and confidence | A position on the defined scale, not a physical unit |
| Noul | Check the yes/no condition statement. | A value from 0 to 1 representing the probability of yes | A midpoint indicates uncertainty, not “none” |
Choice: Choose from the options accepted by the program.
For “PDF, image, QR, or something else,” Choice picks one category from a defined set. Categories are unordered. The documented limit is 255 options per question; see Choice and API requirements
For requests outside the listed categories, KrobClick suggests other or “insufficient information.” A type-valid answer is little help if an image request must be assigned to either PDF or QR.
Score: The numbers have meaning according to the level description.
Score levels start at index 0 and results can lie between levels. Suppose three urgency descriptions are “general question,” “work blocked but an alternative exists,” and “core work stopped with no alternative.” At probabilities 0.1, 0.6, and 0.3 respectively, the score is 0 × 0.1 + 1 × 0.6 + 2 × 0.3 = 1.2. See How to interpret the score and writing grade level
A score of 1.2 is neither 1.2 hours of waiting nor 1.2 units of loss. A distribution entirely at level 1 and one split evenly between 0 and 2 both average 1, but carry different uncertainty. Inspect the distribution and write level descriptions that distinguish situations.
Noul: The probability of a yes answer.
Noul fits a clear yes/no condition such as “Does the user request a human?” Values near 1 lean yes, near 0 lean no, and near 0.5 are uncertain. It has no separate confidence field. See Noul
“I paid” may establish what the user said, not that a payment happened. Verify the transaction against the payment system that can confirm it.
Probability and confidence must be read separately.
For Choice and Score, probabilities is a probability distribution; confidence summarizes that distribution. It is not the answer’s observed accuracy rate. See Definition and confidence formula
With n options, Choice uses (p_max − 1/n) / (1 − 1/n), where p_max is the highest probability. For three options with 0.8, 0.15, and 0.05, this gives (0.8 − 1/3) / (1 − 1/3) = 0.7. Confidence of 0.7 does not mean “70% chance this answer is right”; the model’s probability for that option is 0.8.
Score also accounts for the distance between levels, so uncertainty between adjacent levels differs from a split across extremes. Noul directly reports the probability of yes. KrobClick recommends setting thresholds per question and risk, then measuring actual errors among cases above the threshold rather than copying a documentation example.
Confidence also cannot settle the distinction between Model certainty and Is the information complete enough to work? The model might confidently recognize a deletion request without knowing which file or whether the user is authorized. A higher threshold is no substitute for permission checks or confirmation.
Example API for classifying tool requests
The HTTP example sends POST https://api.typesafe.ai with authentication and specifies state model questions. KrobClick wrote the following JSON to explain the API reference structure. It has not called the API or integrated Jev into the site.
{
"state": {
"message": "อยากลดขนาดรูปให้ส่งได้ แต่ไม่อยากให้ตัวหนังสือเบลอ"
},
"model": "jev-1.13.0",
"questions": {
"tool_family": {
"type": "choice",
"instructions": "Choose the tool family relevant to the user's request.",
"criteria": {
"image": "Resize, compress, or convert images.",
"pdf": "Work with PDF documents.",
"qr": "Create or read QR codes.",
"other": "None of these fits, or the request is unclear."
}
},
"preserve_readability": {
"type": "noul",
"instructions": "Does the user explicitly ask to preserve text readability?"
}
}
}
The state contains Thai text and the questions are in English to show their different roles. This is not proof that this language combination method is the most accurate. Compare Thai questions on real data before choosing this mixture. tool_family is a key for matching results; the API documentation says the model does not infer from question keys, so explain the task in instructions and criteria
State can be text or structured JSON. Include only the request and facts needed, not a whole user history. See State management approach. Once a response arrives, code checks its category, tested threshold, and whether enough information exists before choosing a guide.
The developer’s Python SDK example sends state and a Choice question, then reads the chosen category.
from typesafe_sdk import Choice, TypeSafeClient
with TypeSafeClient() as client:
response = client.system_one(
state={"document": "I was charged twice. Please fix this ASAP."},
questions={
"category": Choice(
instructions="What is this ticket about?",
criteria={"billing": None, "technical": None, "other": None},
)
},
)
print(response.choices["category"].choice)
SDK and HTTP fields may differ. This code has not been run and is not a test of Jev’s accuracy. Source: Source documentation · MIT
Ask several questions at once, then use code to select relevant results
TypeSafe lets several questions share one state and evaluates them independently in parallel. With speculative fan-out, you ask potentially useful questions together, then code uses only the answers relevant to the chosen path. See Speculative fan-out
A support system might ask whether an issue is technical, whether core work is stopped, and whether it can be reproduced. The reproduction answer is unnecessary if the issue is not technical. Parallel questions reduce sequential waiting but still consume tokens and have limits.
Questions that are evaluated separately do not receive responses to other questions as context within a single request. If B truly depends on A’s answer, give B the necessary facts in state or submit another request after receiving A. Asking both at once does not create a chain of reasoning.
KrobClick suggests letting the model assess meaning and code apply policy. For example, assess impact and urgency in separate questions, map each score to 0–1, then combine them with team-defined weights. Do not make the model invent weights on every request.
If a request can be both “about images” and “about PDF,” a single-choice category may not fit. Consider multiple Noul questions or dividing the task differently. Question design determines what the system can express.
Where it fits in AI agents and RAG
The documentation suggests using Jev to route work to search, a specialist model, or a person without asking a large text generator to decide every step. See Intent routing
An agent might use one model to propose a plan and Jev to check the narrow question of whether an action fits the goal, before code validates the allowed tool. Two models can still be swayed by the same malicious text. Keep independent permission boundaries and checks; see Zero Trust design for AI agents
For RAG, KrobClick proposes testing Jev on already-retrieved documents to assess relevance before passing selected passages to a writing model. Relevance is separate from credibility and recency; a directly relevant document can still be wrong or obsolete.
Another pattern: a parser extracts actual emails or amounts from a document; Jev selects the candidate for the needed role; code copies that value rather than asking the model to retype it. Pre-parsed value extraction gives an example. If extraction misses the right value, selection cannot recover it.
Read benchmarks and calculate costs
TypeSafe reports 193.6× faster and 444.6× cheaper workflow evals, while its announcement cautions that these may be at the high end of real benefits. The 70–500 ms range is also developer-reported. Published speed tests were generally run from the US West Coast, not a latency guarantee for Thailand. See Effects and limitations of the launch announcement
The Workflow evals page describes four workflows with code handling rules and models answering smaller questions. Its reference answers come from an ensemble of large models, not human verification of every case. Agreement under those conditions does not establish agreement with experts in our domain.
Price as of document inspection date: Models lists $0.042 per million input tokens and no output-token charge. One million requests averaging 2,000 input tokens each across state and questions total 2,000 million tokens, costing 2,000 × $0.042 = $84 at that rate. That is not $0.042 for a million requests.
The $84 excludes retries, infrastructure, intermediary provider fees, taxes, currency conversion, and human review. Measure Thai token counts and include any preprocessing costs.
KrobClick recommends comparing Jev with existing rules or classifiers and an LLM supporting structured outputs on the same tasks and answer definitions. Measure errors, mean latency, p95 latency (95% of requests complete by then), and total cost per correctly completed case. If more cases need human review, a cheaper model call may not lower system cost.
Jev 1.13's limitations that must be designed to deal with
TypeSafe describes arithmetic, date comparison, literal reading, distracting context, adversarial text, and option-order limitations on its Jev 1.13 jaggedness page, reviewed October 2, 2026. Read these alongside any “no hallucinations” claim.
- Counting and calculating: Have code count items, calculate interest, and validate number ranges. Try the model for decisions that require interpreting language.
- Date and time: Have code compare periods and handle calendars, time zones, and Buddhist versus Gregorian years after extracting the intended dates.
- Too much context: Remove irrelevant context first. More capacity does not guarantee accuracy.
- Manipulative text: Test text that demands a different criterion or assigns itself a category. Responses must still pass permission checks.
- Sensitivity to option ordering: Shuffle candidates and see whether the same example gets a different answer.
Constrained output prevents nonexistent category names. You can still choose the wrong member. For example, “approve” can pass a schema while approving the wrong person. Measure semantic correctness separately from valid formatting.
The checked Models page says the model accepts text but not image, audio, or video directly. The default request budget is 64k tokens, with state plus the longest question capped at 32k; see Current version limits. Images first need conversion to text or data, which can introduce errors.
The default 64k request and 32k state-plus-one-question limits apply to both 1.13 and 1.14. Documentation describes an opt-in long-context header raising both to 262k tokens. More space does not guarantee accuracy; start with defaults and count actual request tokens.
Thai-data test plan
TypeSafe says English is its primary training language and currently gives the best accuracy. Other languages are accepted with varying quality; see Language support. An API accepting Thai input does not prove Thai accuracy.
This is KrobClick’s proposed plan, not a benchmark we have run. Begin with reversible errors, such as recommending a guide category, before attempting more consequential decisions.
- Define your answer before choosing a model: Define positive, negative, and insufficient-information examples for reviewers, with a human escalation path for ambiguity.
- Create examples reflecting actual use: Include formal Thai, everyday language, typos, Thai-English mixtures, negations, and multiple intents. Use synthetic or de-identified data.
- Separate question-tuning data from final evaluation data: Tune criteria and thresholds on one set, then freeze them before assessing another. Do not keep tuning the prompt against evaluation answers.
- Measure results by category: Check precision among assigned cases and recall among cases that belong in a category. Count human referrals too; aggregate accuracy can hide rare categories.
- Check the probability: Compare probability bands with observed rates and sample counts. Small groups give unstable calibration estimates; keep this separate from confidence.
- Measure after setting thresholds for human review: Report both the share handled automatically and errors within that share. Accuracy achieved by referring nearly everything to humans has limited value.
- Test conditions to fail: Shuffle options, add distractions and adversarial text, and simulate timeouts and outages to exercise the fallback.
Useful test cases include “I don’t want to convert the PDF, just shrink the image inside it” and “Don’t make a QR code; read the existing one.” Each mentions multiple categories, so keyword matching is inadequate. “The file is too large to send” does not specify a file type; asking a follow-up may beat a confident classification.
Privacy and deployment
Calling the API sends state to TypeSafe. Its policy says it does not use Input to train or fine-tune models, but that does not mean no data is retained. Enterprise zero-data-retention terms are separately described in Privacy Policy. See Legal and ZDR as well. Check the actual account agreement before sending customer data.
This article does not connect Jev to KrobClick. The current site keeps user files in the browser; adding an external API would change the data path and need separate review. Do not upload files or user history merely to try the model.
For a separate deployment, KrobClick recommends a component that can securely hold the API key, minimum necessary data, permission checks before actions, a fallback for outages, and quality logs that avoid excessive sensitive information.
The Models page says the jev-latest alias follows releases and responses identify the actual version. If a threshold is tuned to one model, pin it and retest before upgrading; see Aliases and versioned model IDs. KrobClick also proposes shadow mode, collecting model answers without acting on them to measure errors.
Criteria for choosing Jev
| Job description | How to start evaluating | Reason |
|---|---|---|
| Calculate amounts, count files, compare dates. | Inspectable code and libraries | Clearly defined answers with directly testable boundaries |
| Stable classification tasks with abundant labeled data | Existing rules or classifier as a baseline | may already suit your costs, privacy needs, and task requirements |
| Frequent semantic decisions with clearly defined options | Compare Jev with the baseline | Match the answer contract and evaluate the model's sub-questions. |
| Write articles, explain reasoning, generate code or long plans | Text-generation model with result validation | Requires open-ended output; a complete answer set cannot be specified beforehand |
| Actions that affect money, rights, or important information | A workflow with permission checks and risk-based confirmation | Judgment from the model alone is not sufficient for approval. |
The table is KrobClick’s evaluation framework. Jev is worth testing for semantic questions with defined options, probability distributions, and composable workflows. Its actual benefit depends on task-specific results, including preparation and review costs.
Start with one decision, a Thai test set including ambiguous cases, a comparison with the existing method, and an uncertainty exit. Expand only if time and cost improve while errors remain acceptable. The speed of a model is useful when the system around it knows where to believe, apply results, and stop.
Sources
- TypeSafe AI: Introduction
- TypeSafe AI: Introducing System One Models & Jev
- TypeSafe AI: AI primer and RLCD
- TypeSafe AI: Choice
- TypeSafe AI: Score
- TypeSafe AI: Noul
- TypeSafe AI: Confidence and calculation formula
- TypeSafe AI: HTTP API reference
- TypeSafe AI: Models, pricing, limits, and languages
- TypeSafe AI: State
- TypeSafe AI: Speculative fan-out
- TypeSafe AI: Intent routing
- TypeSafe AI: Pre-parsed value extraction
- TypeSafe AI: Workflow evals and assessment methods
- TypeSafe AI: Jev 1.13 jaggedness
- TypeSafe AI: Legal and ZDR conditions
- TypeSafe AI: Privacy Policy
- typesafe-ai/typesafe-sdk-python
Models and limits additionally reviewed October 29, 2026; Jev 1.14 is now listed. Request examples stay pinned to Jev 1.13, and jaggedness findings are specific to that version. This is documentation analysis, not API testing. Numeric examples are hypothetical; pricing and terms may change.