Skip to content

OpenRouter: point the TypeSafe SDK here

OpenRouter's guide for calling Jev with the official JavaScript or Python SDK by changing the base URL and using an OpenRouter key.

Format
Docs
Published by
Community
Last verified
Oct 2026

Highlights

  • Covers @typesafe-ai/sdk and typesafe_sdk. Set the base URL to https://openrouter.ai/api and pass an OpenRouter key.
  • Bare ids such as jev-1.13 are mapped onto the typesafe/ namespace before routing.
  • client.models.list() hits OpenRouter's models API, and the TypeSafe SDK rejects that response shape.
  • Responses add id, provider, and usage.cost. The SDKs pass those fields through.

Watch out

A routing guide. How to write questions, and what confidence means, stays on TypeSafe's docs.

Questions about this entry

Short answers drawn from the linked project or page.

Related terms

Glossary definitions related to this entry.

More Jev resources like this

Merged PR in the Kilo Code cloud monorepo that replaces its LLM auto-routing classifier with one OpenRouter /systemone Choice request to typesafe/jev-1.13; the PR reports 0.93-0.94 route accuracy on 72 golden cases at roughly $0.00028 per call, with a 250 ms transport-error retry.
Jev Integrations & Adapters#community#routing#coding-agents
12.4kGitHub stars
Open-source AI email assistant (Next.js, Postgres, 12k+ stars) with a decision-model layer that can run on openrouter:typesafe/jev-1.13: Jev-backed questions cover rule selection, cold-email detection, thread status, recurring patterns, unsubscribe pages, and sender categorization, each with evals.
Jev Integrations & Adapters#community#email#gmail
The Vercel AI SDK provider for OpenRouter, including openrouter.decisionModel for typesafe/jev-1.13 evaluations with providerMetadata answers.
Jev Integrations & Adapters#community#typescript#openrouter
60.9kGitHub stars
LiteLLM's proxy adds TypeSafe guardrail hooks and a Jev complexity classifier for policy judgments and request routing across 100+ model providers.
Jev Integrations & Adapters#community#python#gateway
46.7kGitHub stars
Privacy-first, self-hosted personal knowledge management system with block-level references and a local-first Markdown editor; the project integrates Jev's decision model for high-speed document classification, flashcard intent categorization and automated tag routing.
Jev Integrations & Adapters#community#note-taking#knowledge-base
33kGitHub stars
Alibaba's multi-agent platform, which implements native TypeSafe Jev classification through JevClassifierModel for binary, choice and score routing across agent pipelines. Python 3.11+, Apache-2.0, with a FastAPI agent service and web UI.
Jev Integrations & Adapters#community#multi-agent#framework
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai