# TypeSafe Jev 1.13 API

> Jev 1.13 is a version of Jev, TypeSafe AI's flagship and first public System One model, which makes structured decisions for software instead of generating text. Given a state and typed questions, it returns a chosen option, a rubric score or the probability that a statement is true, with confidence estimates that code can threshold. TypeSafe positions it for automated decision points that software can branch on, sort or route with, with complex judgments split into atomic questions combined in code.

Source: https://www.sandbase.ai/models/typesafe/jev-1.13
API reference: https://www.sandbase.ai/models/typesafe/jev-1.13/docs

## Facts

- Provider: TypeSafe
- Type: Language model
- Model ID: `typesafe/jev-1.13`
- Price: $0.04 per 1M input tokens, $0 per 1M output tokens
- Context window: 32K tokens
- Capabilities: decisions
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Decisions API: `POST https://api.sandbase.ai/v1/decisions`

```bash
curl -X POST https://api.sandbase.ai/v1/decisions \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "typesafe/jev-1.13",
  "state": {
    "ticket": "I was charged twice and would like a refund."
  },
  "questions": {
    "refund_requested": {
      "type": "noul",
      "instructions": "Does the ticket explicitly request a refund?"
    }
  }
}'
```

## FAQ

### How do I call TypeSafe Jev 1.13 through SandBase?

Create a SandBase API key, then send requests with the model ID "typesafe/jev-1.13" to Decisions API (/v1/decisions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### How much does TypeSafe Jev 1.13 cost?

$0.04 per 1M input tokens and $0 per 1M output tokens, billed per request from your SandBase balance. Discounts, when available, are shown in the pricing on this page.

### What is the context window of TypeSafe Jev 1.13?

32K tokens of context.

### Do I need a separate TypeSafe account?

No. One SandBase API key and balance gives you access to TypeSafe Jev 1.13 and the other models in the catalog; you do not need to sign up with TypeSafe separately.
