/ 01
Short Answer
Jev returns typed decisions rather than generated prose. That makes it useful as a classifier: ask which category an item belongs to, how severe it is, or whether it needs attention, then consume the JSON in code. Choice, Score and Noul provide different answer shapes with probabilities. Current Jev pricing charges input tokens while output tokens are free.
/ 02
Why Jev Fits Classification
Choice returns a named option, a probability distribution and confidence; Score returns a weighted rating over ordered levels; Noul returns one yes/no probability. Your application can read these typed answers without parsing generated prose. At the currently listed $0.042 per million input tokens and free output tokens, short classification requests can cost a fraction of a cent. Check the current OpenRouter model rate before budgeting.
/ 03
Three Primitives, Three Classification Shapes
| Task | Question type | Answer |
|---|---|---|
| Categorize | Choice — choose one of your named options | Selected label, full probabilities and confidence |
| Prioritize | Score — define 2–10 ordered levels | Probability-weighted score, legend, probabilities and confidence |
| Filter | Noul — ask whether an item is relevant or actionable | One probability from 0 to 1 |
These question shapes cover categorizing, prioritizing and filtering a triage queue. Score is a weighted level value and may be fractional; it is not inherently a 0–1 scale. Read the Noul guide and Jev JSON output reference for the precise answer shapes.
/ 04
Worked Example — Support Tickets
Include only the fields needed for these decisions. This is a copyable request shape, not a live run or a claim about the resulting probabilities.
{
"state": { "tickets": [
{ "id": 4412, "subject": "Can't log in after password reset", "plan": "pro", "age_days": 3, "replies": 0 },
{ "id": 4413, "subject": "Invoice shows wrong VAT number", "plan": "pro", "age_days": 1, "replies": 2 }
] },
"model": "jev-latest",
"questions": {
"ticket_4412_category": {
"type": "choice", "instructions": "Which category does ticket 4412 belong to?",
"criteria": { "account_access": "Login or authentication", "billing": "Invoices or payments", "bug": "Product malfunction", "how_to": "Usage question", "other": "None of these" }
},
"ticket_4412_urgency": {
"type": "score", "instructions": "How urgent is ticket 4412?",
"criteria": ["Routine", "Prompt attention", "Immediate escalation"]
},
"ticket_4413_docs": {
"type": "noul", "instructions": "Can ticket 4413 be fully resolved by linking the VAT documentation without a person reviewing it?",
"criteria": { "true": "Documentation fully resolves the issue", "false": "Account-specific correction or investigation is needed" }
}
}
}Each answer returns under the question id you supplied. One playground run is one submission, even when it contains several questions; see Pricing for run allowances and the Jev API guide for direct integration.
/ 05
Worked Example — Alerts and Logs
Use Choice for a named fault class such as timeout, authentication, rate limit, data or unknown. Use Score with ordered severity descriptions, then Noul to estimate whether an alert is actionable. A low or ambiguous probability should go to review according to your own thresholds; Jev returns a judgment, not a verified fact. See Jev’s known limitations.
/ 06
Worked Example — Incoming Feedback
Choice can assign a feedback topic, Score can rate its expected benefit against explicit ordered descriptions, and Noul can ask whether it duplicates an existing request. Compare the model’s answer with your own records before merging or discarding feedback.
/ 07
Keeping the State Clean
Send only fields relevant to the question. TypeSafe documents that irrelevant details in large state can reduce accuracy; prefilter in code, or ask a separate Noul relevance question when needed. Keep counting and arithmetic in code. Read Jev’s known limitations before using it on a production queue.
/ 08
What Classification Is Not a Good Fit For
Do exact counting and arithmetic in code. Very large state with unrelated details also weakens the judgment. Do not treat model output as the final decision in matters with significant effects on people; validate it and keep human review where appropriate. See the service terms.
/ 09
Cost at Queue Scale
| Requests | Illustrative model input cost |
|---|---|
| 1,000 | ~$0.02 |
| 10,000 | ~$0.20 |
| 100,000 | ~$2.00 |
Illustration only: 476 input tokens per request × $0.042 per million input tokens; output tokens are currently free. Actual cost changes with input length, model rate, gateway charges and infrastructure. Check Pricing for VerdictKit plans and the current model price.
/ 10
Try a Classification
Build a typed question in the Jev playground or see the Jev AI examples. Inspect the response fields before parsing them in code.
/ FAQ
Frequently asked questions
What does “Jev as a classifier” mean?
It means using Jev’s typed Choice, Score or Noul answers to categorize, prioritize or filter items in a workflow.
Does Jev output a label or a probability?
Choice returns both a selected label and a full probability distribution. Score returns a weighted level value with probabilities; Noul returns one yes/no probability.
Can Jev do multi-label classification?
Choice selects one option per question. To assess multiple independent labels, ask separate Noul questions and set your own thresholds.
How accurate is Jev at classification?
Accuracy depends on the state, question, criteria and your data. Validate on a labeled sample and review TypeSafe’s documented limitations.
Can Jev replace a trained classifier?
It may cover some bounded classification tasks, but compare it with your existing classifier on real cases before replacing a production system.
How much does classifying 10,000 items cost?
At 476 input tokens per request and the currently listed $0.042 per million input tokens, about $0.20 in model input fees. Actual cost varies with token count and gateway or infrastructure fees.
What should I not put in the state?
Leave out irrelevant fields and anything you are not authorized to send to third-party processors, especially private or confidential data.