# jev-preview

Jev is TypeSafe's structured decision model and the first System One model. It does not generate text. Send a state plus typed questions and it returns probabilities your code can branch on: choice picks one of your options, score places the state on a rubric you define, and noul is the probability that a statement is true. It is suited to routing, classification, verification, and ranking. One request can use 64,000 tokens, of which the state plus the longest question stays within 32,000. Input is text only. Output tokens are free. jev-preview tracks the newest release and moves ahead of jev-latest when a preview build exists. There is no separate preview right now, so it also points to jev-1.14.0. Call POST /typesafe/v1/systemone. Streaming is not supported.

TypeSafe Jev 是结构化决策模型，也是第一个 System One 模型。它不生成文本。提交一段 state 和若干类型化问题，它返回程序可以直接使用的判断和概率：choice 从给定选项里选一个，score 按你定义的量尺打分，noul 给出陈述为真的概率。适合路由、分类、校验和排序。单次请求上下文 6.4 万 token，其中 state 加上最长的一道题不超过 3.2 万 token。只接受文本，不支持图像、音频和视频。只按输入 token 计费，输出免费。jev-preview 指向最新发布，有预览构建时会先于 jev-latest。目前没有单独的预览版，和 jev-latest 一样指向 jev-1.14.0。调用 POST /typesafe/v1/systemone，不支持流式输出。

- Provider: TypeSafe
- Billing Mode: Pay as you go
- Label: 技术, 分类
- Model ID: `jev-preview`
- Web: https://en.llmoxy.com/models/jev-preview

## Pricing

Prices are in Chinese yuan (CNY, ￥); pay-as-you-go prices are per 1M tokens.

| Token Group | In |
| --- | --- |
| Jev | ￥0.168 |

## Quick start

Set the LLMOXY_KEY environment variable to your API key before running.

### cURL

```bash
curl https://llmoxy.com/typesafe/v1/systemone \
  -H "Authorization: Bearer $LLMOXY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "jev-preview",
    "state": "Our Stripe integration has been failing for 3 days and we are losing sales. Please help ASAP.",
    "questions": {
      "team": {
        "type": "choice",
        "instructions": "Which team should handle this?",
        "criteria": {
          "billing": "Payments, invoices, refunds",
          "technical": "Bugs, outages, integrations",
          "sales": "Pricing, upgrades, new accounts"
        }
      },
      "urgent": {
        "type": "noul",
        "instructions": "Does the message convey urgency?"
      },
      "frustration": {
        "type": "score",
        "instructions": "How frustrated is the customer?",
        "criteria": ["Calm", "Frustrated", "Very angry"]
      }
    }
  }'
```

### Python

```python
import os
import requests

resp = requests.post(
    "https://llmoxy.com/typesafe/v1/systemone",
    headers={"Authorization": f"Bearer {os.environ['LLMOXY_KEY']}"},
    json={
      "model": "jev-preview",
      "state": "Our Stripe integration has been failing for 3 days and we are losing sales. Please help ASAP.",
      "questions": {
        "team": {
          "type": "choice",
          "instructions": "Which team should handle this?",
          "criteria": {
            "billing": "Payments, invoices, refunds",
            "technical": "Bugs, outages, integrations",
            "sales": "Pricing, upgrades, new accounts"
          }
        },
        "urgent": {
          "type": "noul",
          "instructions": "Does the message convey urgency?"
        },
        "frustration": {
          "type": "score",
          "instructions": "How frustrated is the customer?",
          "criteria": ["Calm", "Frustrated", "Very angry"]
        }
      }
    },
)
resp.raise_for_status()
answers = resp.json()["answers"]
print(answers["team"]["choice"], answers["urgent"]["noul"], answers["frustration"]["score"])
```

### Node.js

```javascript
const resp = await fetch("https://llmoxy.com/typesafe/v1/systemone", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${process.env.LLMOXY_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "model": "jev-preview",
    "state": "Our Stripe integration has been failing for 3 days and we are losing sales. Please help ASAP.",
    "questions": {
      "team": {
        "type": "choice",
        "instructions": "Which team should handle this?",
        "criteria": {
          "billing": "Payments, invoices, refunds",
          "technical": "Bugs, outages, integrations",
          "sales": "Pricing, upgrades, new accounts"
        }
      },
      "urgent": {
        "type": "noul",
        "instructions": "Does the message convey urgency?"
      },
      "frustration": {
        "type": "score",
        "instructions": "How frustrated is the customer?",
        "criteria": ["Calm", "Frustrated", "Very angry"]
      }
    }
  }),
});
const { answers } = await resp.json();
console.log(answers.team.choice, answers.urgent.noul, answers.frustration.score);
```

## Endpoints

- System One: `POST https://llmoxy.com/typesafe/v1/systemone`

## FAQ

### How much does jev-preview cost on LLMoxy?

Pay as you go. Price in the “Jev” token group: In ￥0.168 / 1M tokens.

### How do I call jev-preview?

Create an API key in the LLMoxy console, set model to jev-preview, and send the request to: System One POST https://llmoxy.com/typesafe/v1/systemone.

### Which token groups can I use with jev-preview?

The token group sets the price you pay: you pick a group when you create an API key in the console, and every call made with that key is billed at that group’s price. Groups available for jev-preview: Jev.

### Do I need an international credit card?

No. Top up your balance in the console first; each call is then deducted from the balance based on actual usage. Payment methods: Alipay, WeChat Pay, Visa / MasterCard, Apple Pay, and crypto such as USDT, BTC, SOL, and TRX. Multi-currency support.

## More from TypeSafe

- [jev-latest](https://en.llmoxy.com/models/jev-latest.md): In ￥0.168 / 1M

## Links

- [All model prices](https://en.llmoxy.com/pricing.md)
- [Documentation](https://en.llmoxy.com/docs/api-reference/api-overview.md)
- [llms.txt](https://en.llmoxy.com/llms.txt)

This is the markdown version of https://en.llmoxy.com/models/jev-preview.
