TensaHub › OpenRouter

TypeSafe: Jev Router

API for the model typesafe/jev-router at OpenRouter, pricing at the provider, context 1,000,000 tokens. curl, Python and JavaScript samples, live testing.

Test and rate in the catalog

Jev Router picks the best model and reasoning effort for each request, balancing quality, speed, and cost. It runs on [Jev](https://openrouter.ai/~typesafe/jev-latest), TypeSafe's first System One model, and adapts as your...

Type
Model
Provider
OpenRouter
Model ID
typesafe/jev-router
Pricing
Price not disclosed
Keyless access
No
Key variable
OPENROUTER_API_KEY
Base URL (OpenAI-compatible)
https://openrouter.ai/api/v1
Context
1,000,000 tokens
Inputs
Audio, File, Image, Text, Video
Features
Reasoning, JSON output, Tool calling
Developer rating
Not rated yet
Documentation
https://openrouter.ai/typesafe/jev-router

Code samples

cURL

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -d '{"model":"typesafe/jev-router","messages":[{"role":"user","content":"Hello, introduce yourself in one sentence."}]}'

Python

# pip install openai
import os
from openai import OpenAI

client = OpenAI(base_url="https://openrouter.ai/api/v1", api_key=os.environ["OPENROUTER_API_KEY"])
r = client.chat.completions.create(
    model="typesafe/jev-router",
    messages=[{"role": "user", "content": "Hello, introduce yourself in one sentence."}],
)
print(r.choices[0].message.content)

JavaScript

// npm install openai
import OpenAI from 'openai'

const client = new OpenAI({ baseURL: 'https://openrouter.ai/api/v1', apiKey: process.env.OPENROUTER_API_KEY })
const r = await client.chat.completions.create({
  model: 'typesafe/jev-router',
  messages: [{ role: 'user', content: 'Hello, introduce yourself in one sentence.' }],
})
console.log(r.choices[0].message.content)

Generate the integration code →

Popular searches

Frequently asked questions

Is the TypeSafe: Jev Router API free?

Pricing is not published in a standard form: check the provider’s page.

How do I call TypeSafe: Jev Router from my code?

TypeSafe: Jev Router exposes an OpenAI-compatible API at https://openrouter.ai/api/v1: use any OpenAI SDK (Python, JavaScript…) with this base URL. Model identifier: typesafe/jev-router. Ready-to-use code (streaming, JSON, retries) is available in the developer toolkit.

What is the context window of TypeSafe: Jev Router?

TypeSafe: Jev Router accepts up to 1,000,000 tokens of context (prompt and history).