NewKimi K3.1 Pro is now availableTry it now
SCHEMATRON API

Schematron API

Extract typed, schema-validated JSON directly from raw HTML using Inference.net's hosted Schematron V2 models over /v1/chat/completions, /v1/responses, and /v1/messages. Compare live pricing and throughput tiers across Schematron V2 Turbo and Schematron V2 Small with 128K context windows, default Zero Data Retention, and US data residency. Pair with our structured data extraction solution (/solutions/structured-data-extraction/) and Crawl4AI guide (/content/crawl4ai-complete-guide/).

  • Purpose-built HTML-to-JSON extraction with strict JSON Schema adherence
  • Ultra-low flat pricing starting at $0.03/1M input and $0.15/1M output tokens
  • Hosted on Inference.net with default Zero Data Retention (SOC 2 Type II)
  • 128K context window and US data residency via us.api.inference.net
LIVE CATALOG & PRICING

All live Schematron models on Inference.net

Every rate, context limit, and capability below is pulled directly from the live public catalog. Select any model for full specs, live latency benchmarks, and prompt-caching guidance.

ModelContextMax outputInput / 1MCached / 1MOutput / 1MCapabilitiesStart
Schematron V2 Turboinference-net/schematron-v2-turbo
128K8K$0.03$0.03$0.15TextUse API
Schematron V2 Smallinference-net/schematron-v2-small
128K4K$0.05$0.05$0.23TextUse API
QUICKSTART

Call Schematron over OpenAI or Anthropic SDKs

Use the top live model ID (inference-net/schematron-v2-turbo) with the standard OpenAI SDK, curl, or Claude Code over native /v1/messages.

QUICKSTARTGet API key
import OpenAI from 'openai'

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

const completion = await client.chat.completions.create({
  model: 'inference-net/schematron-v2-turbo',
  messages: [{ role: 'user', content: 'Hello' }],
})
CLAUDE CODE & ANTHROPIC /V1/MESSAGES

Point Claude Code or any Anthropic SDK client at Inference.net with zero proxy setup and full prompt-cache support.

export ANTHROPIC_BASE_URL="https://api.inference.net"
export ANTHROPIC_AUTH_TOKEN="$INFERENCE_API_KEY"
export ANTHROPIC_MODEL='inference-net/schematron-v2-turbo'
export ANTHROPIC_DEFAULT_OPUS_MODEL='inference-net/schematron-v2-turbo'
export ANTHROPIC_DEFAULT_SONNET_MODEL='inference-net/schematron-v2-turbo'
export ANTHROPIC_DEFAULT_HAIKU_MODEL='inference-net/schematron-v2-turbo'
export CLAUDE_CODE_SUBAGENT_MODEL='inference-net/schematron-v2-turbo'
export CLAUDE_CODE_MAX_CONTEXT_TOKENS="128000"
claude
COMPARISONS, GUIDES & TOOLS

Benchmark, compare, and model Schematron costs

Verify unit economics across prompt-cache hit rates, compare providers, and explore engineering guides for Schematron.

MODEL FAMILIES

Explore other open-weight model families

Switch across DeepSeek, Kimi, GLM, and the full catalog with one API key and one OpenAI-compatible client.

FAQ

Frequently asked questions.

Quick answers to help you get started

Inference.net currently serves 2 live Schematron models with transparent pay-as-you-go per-token billing. Input rates start at $0.03 per 1M input tokens ($0.15 per 1M output tokens) on Schematron V2 Turbo. Every rate in the comparison table above pulls directly from the live public catalog.

GET STARTED

Start calling Schematron in minutes

Create a project API key with Zero Data Retention enabled by default on eligible Inference.net-hosted routes and route requests to inference-net/schematron-v2-turbo with pay-as-you-go billing.