Skip to content

OpenRouter AI SDK provider

The Vercel AI SDK provider for OpenRouter, including openrouter.decisionModel for typesafe/jev-1.13 evaluations with providerMetadata answers.

Stars
689
Language
TypeScript
License
APACHE-2.0
Published by
Community
Author
OpenRouterTeam
Last verified
Oct 2026

About this project

The OpenRouter provider for the Vercel AI SDK gives access to over 300 large language models on the OpenRouter chat and completion APIs. This release line supports ai@^7.0.0, requires Node.js 22 or newer, and is ESM-only. You can import the default provider instance openrouter from @openrouter/ai-sdk-provider:

Quoted from the project's README. Read the full README.

Highlights

  • README Evaluation section shows experimental_evaluate with openrouter.decisionModel('typesafe/jev-1.13').
  • providerMetadata.openrouter returns confidence per answer plus usage cost fields.
  • Apache-2.0 provider package for hundreds of chat models through the same OpenRouter API.

Watch out

Decision models are a separate code path from chat completions; needs OpenRouter credentials with Jev access.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

12GitHub stars
CLI-installed Gmail classifier that runs 24/7 on user-owned Google Apps Script: the worker asks Jev for three typed judgments per thread (requires_action, is_important, bucket), applies labels, stars, and optional archiving, and routes ambiguous or low-confidence mail to a Review label.
Jev Integrations & Adapters#community#gmail#email
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
19.6kGitHub stars
Open-source TypeScript agentic operating system: a core runtime, app for web and mobile, CLI, cloud services and first-party plugins. The directory's curated summary reports it integrates TypeSafe System One decision services for sub-100ms intent classification, action dispatching and confidence-gated tool execution.
Jev Integrations & Adapters#community#agents#framework
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
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
2GitHub stars
A shell-first CLI for yes or no, multiple-choice, and leveled decisions through TypeSafe Jev, composable with files and JSON context in scripts.
Jev Integrations & Adapters#community#cli#shell
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai