NewKimi K3.1 Pro is now availableTry it now
LLM Evaluation & Judges

LLM-as-a-Judge & Evaluation API

Run high-throughput open-weight LLM-as-a-Judge models (deepseek-v4.1-flash-1017, kimi-k3.1-pro, deepseek-v4-pro, glm-5.3, nemotron-3-super) on Inference.net for DeepEval, Promptfoo, CI regression gates, and synthetic dataset grading. Pair strict JSON Schema structured outputs and automatic rubric prefix caching with 500 RPM Free (1,000 RPM Paid) defaults, Async/Group/Batch APIs, and default Zero Data Retention on eligible Inference.net-hosted routes.

  • Drop-in OpenAI-compatible judge endpoint for DeepEval, Promptfoo, Braintrust, Inspect, and custom CI eval gates
  • Strict JSON Schema structured outputs (`response_format`) for typed pass/fail scores, rubric grades, and rationales
  • Automatic prefix caching on repeated system rubrics and few-shot examples across DeepSeek V4.1 Flash 1017, DeepSeek V4 Pro, and Kimi K3.1 Pro
  • Scale from 500 RPM Free (1,000 RPM Paid) interactive CI runs to `/v1/slow` Async, 50-request Group webhooks, or 1M-request JSONL Batch sweeps
Capabilities & Specs

Built for production reliability

Technical specifications and benefits for LLM-as-a-Judge & Evaluation API
CapabilitySpecificationHow it helps
Recommended judge tiers`deepseek-v4.1-flash-1017`, `nemotron-3-super`, `kimi-k3.1-pro`, `deepseek-v4-pro`Pair fast low-cost judges for CI regression gates with pro-tier reasoning judges for nuanced rubric audits on one API key.
Eval framework compatibility/v1/chat/completions · /v1/responses · /v1/messagesDrop-in base URL and API key integration for DeepEval, Promptfoo, Braintrust, Inspect, and custom pytest/Vitest harnesses.
Structured grading outputsStrict JSON Schema `response_format` + controllable thinkingEnforce typed pass/fail booleans, numeric scores, and structured rationales via Zod or Pydantic JSON Schema. Pair temperature: 0 with reasoning_effort: "none" on DeepSeek V4.1 Flash routes to disable default thinking and keep your requested temperature.
Rubric prompt cachingAutomatic prefix caching (up to 91%+ input savings)Repeated system rubrics and few-shot examples qualify for cached-read discounts on supported open-weight routes.
CI concurrency & batch scale500 RPM Free · 1,000 RPM Paid · up to 1M JSONL BatchRun parallel PR checks with high default RPM or offload million-row synthetic grading to webhook-backed Async, Group, and Batch APIs.
Privacy & US residencyDefault ZDR (eligible hosted routes) · SOC 2 Type II · us.api.inference.netDefault ZDR protects production traces and golden datasets on eligible Inference.net-hosted routes (sync, /v1/slow Async, and Group calls); externally routed models follow upstream provider retention terms. Pin Inference.net-hosted US routes to us.api.inference.net.
Quickstart

Run a typed LLM-as-a-Judge evaluation with rubric caching

Set reasoning_effort: "none" (or reasoning: { enabled: false }) when pairing deepseek-v4.1-flash-1017 with temperature: 0, because DeepSeek V4.1 Flash samples at 1.0 while thinking is enabled. Keep RUBRIC_SYSTEM_PROMPT static at the front of every test case so automatic prefix caching hits cached-read rates (do not pass prompt_cache_key on DeepSeek routes). Swap baseURL to https://api.inference.net/v1/slow for offline eval sweeps.

typescript
import OpenAI from "openai";
import { zodResponseFormat } from "openai/helpers/zod";
import { z } from "zod";

const client = new OpenAI({
  baseURL: "https://us.api.inference.net/v1",
  apiKey: process.env.INFERENCE_API_KEY,
});

const JudgeVerdict = z.object({
  passed: z.boolean().describe("True when the candidate satisfies every rubric check."),
  score: z.number().min(1).max(5).describe("Integer rubric score from 1 to 5."),
  rationale: z.string().describe("Concise evidence citing the rubric criteria."),
});

// Keep the rubric prefix byte-identical across test cases for automatic prefix caching
const RUBRIC_SYSTEM_PROMPT = `You are an automated LLM evaluation judge.
Score the candidate answer strictly against the reference answer for factual accuracy,
completeness, and absence of hallucinated claims.`;

const completion = await client.chat.completions.parse({
  model: "deepseek-v4.1-flash-1017",
  reasoning_effort: "none",
  temperature: 0,
  messages: [
    { role: "system", content: RUBRIC_SYSTEM_PROMPT },
    {
      role: "user",
      content: JSON.stringify({
        question: "What is the default retention setting for new Inference.net teams?",
        reference: "Zero Data Retention (ZDR) is enabled by default for new teams.",
        candidate: "New accounts on Inference.net start with Zero Data Retention on by default.",
      }),
    },
  ],
  response_format: zodResponseFormat(JudgeVerdict, "judge_verdict"),
});

console.log(completion.choices[0]?.message.parsed);
Documentation & Guides

Guides and references

FAQ

Frequently asked questions.

Quick answers to help you get started

Use deepseek-v4.1-flash-1017 ($0.08/1M input, $0.635/1M output, $0.007/1M cached reads) or nemotron-3-super ($0.102/1M input, $0.48/1M output) for high-volume CI assertions, pairwise classification, and synthetic dataset filtering. Step up to kimi-k3.1-pro, deepseek-v4-pro, or glm-5.3 when grading nuanced multi-step reasoning, repository diffs, or complex rubric criteria. Compare live per-token rates in /models/ and rolling 15-minute latency in /benchmarks/.

Get Started

Ship on Inference.net today

Start self-serve with an API key, explore live model pricing, or talk with our team about dedicated capacity and custom SLAs.