NEAR AI
Sign inStart building
All models

Jev 1.13 API

Incognito
typesafe/jev-1.13

Jev is a structured decision model from TypeSafe, and the first of its System One models. System One models make fast, structured decisions for software, returning a typed choice rather than free-form text. It is suited for routing, classification, and other decision points inside an application where a fast, predictable answer matters more than generated prose.

Learn more in TypeSafe's docs: https://docs.typesafe.ai/concepts/system-one

Input / 1M tokens
$0.042
Output / 1M tokens
$0
Cache read / 1M tokens
—
Context window
32K tokens

Privacy & execution

This Incognito model runs on a partner provider’s infrastructure. NEAR AI routes requests using shared provider credentials, so your NEAR AI account credentials are not forwarded.

Your prompts are processed by the provider under its terms and privacy policy. HTTPS protects data in transit. Model TEE attestation and client-to-model end-to-end encryption are not provided for this model. Where available, Gateway signatures verify the request and response handled by the Gateway.

Verification documentation
01

Make your first request

Call /v1/systemone over HTTPS.

Get an API key and replace the API key placeholder below.

Submit context in state and typed questions in questions. Questions support probability (noul), choice, and score answers. The response contains answers and token usage. Streaming and the chat playground are unavailable for decision models.

curl --fail-with-body -D - "https://cloud-api.near.ai/v1/systemone" \ -H "Authorization: Bearer <YOUR-NEAR-AI-CLOUD-API-KEY>" \ -H "Content-Type: application/json" \ -d '{ "model": "typesafe/jev-1.13", "state": "I was charged twice. Please help.", "questions": { "billing": { "type": "noul", "instructions": "Is this about billing?" } } }'

Copy the X-Generation-Id response header, then retrieve its receipt using the same API key:

GENERATION_ID="<X-Generation-Id response header>" curl --fail-with-body "https://cloud-api.near.ai/v1/signature/${GENERATION_ID}?signing_algo=ed25519" \ -H "Authorization: Bearer <YOUR-NEAR-AI-CLOUD-API-KEY>"

Check signature_kind: gateway is a Gateway receipt, not proof of TEE execution; provider_tee identifies a provider TEE receipt. Fetching a receipt alone does not verify it. Verification checks the signature and hashes of the exact request and response bytes. System One does not support end-to-end encryption.

This HTTP example uses HTTPS. Use the SDK below to verify deployment evidence and the response signature.

02

Build and Verify with the SDK

Use the official TypeSafe SDK in JavaScript or Python, or the NEAR AI SDK in Rust or Go, to call the model and verify its response.

Verification guide

Set NEARAI_API_KEY before running an example. System One supports JSON requests with E2EE and OHTTP disabled.

Setup

npm install @nearai/inference-sdk @typesafe-ai/sdk

Example

import { InferenceClient } from "@nearai/inference-sdk/node"; import { TypeSafeClient, noul } from "@typesafe-ai/sdk"; const apiKey = process.env.NEARAI_API_KEY; if (!apiKey) throw new Error("Set NEARAI_API_KEY first."); const inference = new InferenceClient({ apiKey, baseUrl: "https://cloud-api.near.ai/v1", e2ee: false, ohttp: false, }); const typesafe = new TypeSafeClient({ apiKey, baseURL: "https://cloud-api.near.ai", fetch: inference.fetch, compression: false, retry: { maxRetries: 0 }, }); const { data, response } = await typesafe.systemOne({ model: "typesafe/jev-1.13", state: { message: "I was charged twice. Please help." }, questions: { billing: noul("Is this about billing?") }, }).withResponse(); // Use the NEAR receipt ID, which is separate from TypeSafe's requestId. const id = response.headers.get("X-Generation-Id"); if (!id) throw new Error("Missing System One receipt ID."); const verified = await inference.verifyResponse(id); console.log(data.answers); console.log("Verified signer:", verified.signatureKind);

JavaScript SDK guide

Jev 1.13 API FAQ

How much does the Jev 1.13 API cost?
$0.042 per 1M input tokens and $0 per 1M output tokens on NEAR AI Cloud.
What is the context window of Jev 1.13?
32K tokens.
How do I call the Jev 1.13 API?
Create an API key on NEAR AI Cloud, then send requests to https://cloud-api.near.ai/v1/systemone with the model ID typesafe/jev-1.13.
Where does Jev 1.13 run?
On the model provider's infrastructure, under its terms. NEAR AI routes requests with shared provider credentials, so your NEAR AI account credentials are not forwarded. TEE attestation is not provided for this model.