In short.
This OpenRouter tutorial teaches developers to triage Reddit and YouTube comments with Jev and ScrapeCreators, but its small worked example does not establish classification accuracy or production readiness. The TypeScript pipeline fetches comments, requests structured relevance and sentiment judgments, and assigns record, review or ignore labels. The page reports approximately $0.00057 in Jev charges and two ScrapeCreators credits for 27 comments; this historical example excludes the dollar value of those credits. Pagination, bounded concurrency, retries, storage and a human review interface require additional implementation. The Python and Go fragments also need completion or reconciliation. No code was executed for this report.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete documentation page at [https://openrouter.ai/docs/cookbook/evaluate-and-optimize/classify-reddit-comments-with-jev.md], including all supplied language snippets, prerequisites, pagination notes, billing and retention warnings, worked output and descriptions of related resources. Linked documentation, pricing pages, SDK guides, model listings, platform terms and demos are excluded. No code was executed. Runtime compatibility, live API behavior, classification accuracy, throughput and current charges were not assessed.
The overview
Identity
The resource is an OpenRouter cookbook tutorial at [https://openrouter.ai/docs/cookbook/evaluate-and-optimize/classify-reddit-comments-with-jev.md]. It teaches an application integration using ScrapeCreators for collection and TypeSafe's Jev model through OpenRouter for classification.
The main implementation targets an existing TypeScript application. Additional Python, Go and cURL snippets illustrate portions of the approach. The resource is instructional documentation rather than an installable application or a complete monitoring service.
Assessment
The tutorial is useful for developers who need a concrete pattern for turning model judgments into application decisions. It shows how to normalize comments from two platforms, validate response shapes, retain scores and explain which threshold produced each routing label.
Its strongest contribution is the explicit routing logic. Its main evidence gap is quality: there is no labeled evaluation establishing relevance accuracy, sentiment accuracy or confidence calibration. The reported example sends 12 of 27 comments to review, so that example still involves substantial human handling.
Users
The intended users are developers building brand monitoring or user research features that collect public comments. Researchers and product teams could use the resulting decision list, but a developer must supply the application integration and review process.
Beginners need familiarity with API keys, asynchronous requests, TypeScript types and environment variables. Experienced developers can reuse the separation between fetching, judging and routing, while adding application-specific reliability and evaluation work.
Capabilities
The TypeScript example searches Reddit comments and retrieves top comments from one YouTube video. It maps both responses into a shared structure containing source, identifier, URL, text and creation time. Each comment receives a relevance score, a negative, neutral or positive sentiment label, sentiment confidence and a reported request cost.
The pipeline returns one decision per comment, preserves the comment and judgment, and prints results grouped by action with aggregate costs. Stored judgments can be routed again with different thresholds without another model request. The code does not implement durable storage or a review interface; record and review are decision labels.
Using it
Requirements
The main example requires an existing TypeScript application running on Node.js or Bun as an ES module with top-level await. The stated dependencies are @openrouter/sdk, zod and the appropriate Node.js or Bun type definitions. Exact package versions and minimum runtime versions are not specified.
Two credentials are required: OPENROUTER_API_KEY and SCRAPECREATORS_API_KEY. Jev requests incur OpenRouter charges, while collection consumes ScrapeCreators credits. The Python classification fragment uses requests, and the shell examples require curl and jq.
Mechanism
ScrapeCreators responses pass through Zod schemas before being mapped into the common comment structure. For each comment, the application sends the topic, source and text to typesafe/jev-1.13 with two questions in one Decisions request. The relevance question uses the API's noul answer type for a value described as a probability from 0 to 1. The sentiment question uses a choice answer with confidence.
The routing order is precise: relevance at or below 0.2 produces ignore; relevance above 0.2 but below 0.8 produces review; relevance at least 0.8 produces record only when sentiment confidence is at least 0.7. Otherwise it produces review. These are example thresholds, with no evaluation establishing that they suit another topic.
The TypeScript batch uses Promise.all to request judgments concurrently and then applies the routing function. Each reason describes the score or confidence behind the branch; it is not an independently verified explanation of the comment's meaning.
Setup
Prepare the stated runtime, dependencies and environment variables, then define the shared comment structure and ScrapeCreators fetchers. The Reddit request uses a search query with comment filtering and newest-first sorting; the YouTube request uses a supplied video URL and top-comment ordering.
Set the OpenRouter client's serverURL to [https://openrouter.ai] so the Decisions call reaches the alpha API at [https://openrouter.ai/api/alpha/decisions]. The page identifies a different path prefix from the SDK's default. Replace the example OpenRouter topic, search query and video URL with the intended subject, then connect the decision output to storage and human review as needed.
The fetchers retrieve only the first page. Broader collection requires following Reddit's after cursor and YouTube's continuationToken, with additional requests and credit consumption.
Example
The page reports a run dated 2026-09-21 using seven Reddit comments from an openrouter search and 20 top comments from one YouTube video. Its reported split is five recorded, 12 sent to review and ten ignored. These are publisher-reported results, not independently reproduced results.
One displayed review item has relevance 0.94 and neutral sentiment confidence 0.65, so it misses the 0.7 confidence threshold despite being strongly on topic. A displayed YouTube item has relevance 0.13 and is ignored regardless of its positive sentiment label. These examples illustrate the branch rules without establishing whether the classifications are correct.
Assessment & evidence
Limitations
The sample covers one page from each platform and a small comment batch. It provides no accuracy benchmark, calibration study, latency measurements or assessment across topics and languages. The page reports score variation between repeated requests, so comments near thresholds may receive different actions.
The TypeScript batch launches all classification calls concurrently. The shown code has no concurrency cap, retry or backoff policy, explicit request timeout, deduplication or partial-success recovery. A rejected request can reject the batch result while other requests may already have incurred charges. The handler checks answer types and required fields, but does not explicitly enforce the numeric ranges listed in the page's checking guidance.
The alternate-language fragments require additional work. Python routing refers to typing names and shared types not defined in the supplied snippets, and its batch refers to fetchers supplied only in TypeScript. The Go batch calls judgeComment with a context argument although the earlier function accepts only a comment, and reads a URL field absent from the earlier Comment structure. These are visible inconsistencies; compilation and execution were not assessed.
Reasoning
Separating model judgments from routing rules makes threshold changes easier to inspect and apply. Retaining the raw scores allows an application to change review policy without paying to classify the same text again, provided those judgments were stored.
Human review provides a route for uncertain cases, but high confidence does not establish correctness. The practical tradeoff is how many useful comments are missed, how many unsuitable comments are recorded and how much review work remains. The page does not quantify these outcomes, so its thresholds need validation against human-labeled examples from the intended use case.
Alternatives
The page identifies the TypeSafe JavaScript and Python SDKs as alternative ways to call Jev and points to other OpenRouter models supporting Decisions output. It advises rechecking thresholds when changing models. The linked implementations, compatibility, prices and comparative quality are not established by this page.
For larger classification workloads, it points to a related tutorial described as covering multi-label tags, thresholds chosen from labeled samples and rate-limit backoff at [https://openrouter.ai/docs/cookbook/evaluate-and-optimize/jev-classification.md]. That linked tutorial's contents are outside the assessed scope.
Evidence
The evidence consists of the complete OpenRouter documentation page, including its code, stated prerequisites, warnings and worked output. It supports analysis of the intended integration and visible code structure. It does not independently establish successful execution, current service behavior or classification quality.
The page also reports two runs with 25 comments in common: relevance changed by up to 0.04 and sentiment confidence by up to 0.13, while per-request costs were identical for those comments. This is limited evidence of variability in that example. Full paired outputs, human reference labels and a broader evaluation are not supplied.
Access & freshness
Costs
The worked output reports $0.000567168 in Jev charges for 27 comments, summarized by the page as approximately $0.00057 or $0.021 per 1,000 comments. The per-1,000 figure is a normalization of that small batch, not a current price quote or a measured 1,000-comment run.
The same example reports two ScrapeCreators credits for two fetch requests. Their dollar value is not supplied, so the combined dollar cost is unknown. The page says new ScrapeCreators accounts start with 100 free credits, but current eligibility and credit pricing are not established.
Each classification call is paid, and additional pages consume collection credits. Reapplying routing thresholds to retained judgments avoids new API calls. Human review, hosting and storage costs are not assessed.
Rights
The supplied page does not state a license for redistributing its prose or code. Permission to redistribute the captured document as a downloadable file is therefore not established.
The tutorial warns that comments sent to Jev are third-party text and should follow the application's retention rules. It does not establish commenter permissions, platform reuse terms, or the services' retention and training practices. Public availability alone does not establish unrestricted reuse rights.
Freshness
The available page snapshot is dated 2026-11-24, while the worked example is dated 2026-09-21. Requests explicitly name typesafe/jev-1.13 and an alpha Decisions endpoint. No publication date, update history or dependency version requirements are stated.
Current endpoint availability, SDK compatibility, model availability, pricing and ScrapeCreators credit terms are unknown from this snapshot. The historical run figures should not be treated as present-day guarantees.
Actions
Before integrating the pipeline, confirm current service access, endpoint behavior, dependency compatibility and charges. Choose a topic and comment source, then use a human-labeled sample to measure classification errors and review workload before setting automatic recording thresholds.
For a larger application, add bounded concurrency, timeouts, retries, pagination and handling for individual request failures. Define storage and review behavior, retain judgments only under appropriate retention rules, and complete the alternate-language fragments if using them. Recheck decisions near thresholds and after changing the model or question wording.
