Schematron V2 Small on Vercel AI Gateway

Schematron

Serverless

Last refreshed 2026-10-19. Next refresh: weekly.

Why use Schematron V2 Small on Vercel AI Gateway?

Vercel AI Gateway offers Schematron V2 Small with pay-as-you-go pricing at $0.05/1M input tokens. Vercel AI Gateway is a unified AI proxy providing a single OpenAI-compatible API endpoint to 275+ models from 25+ providers including Anthropic, OpenAI, Google, Meta, Mistral, DeepSeek, xAI, Alibaba, Amazon, ByteDance, Cohere, MiniMax, MoonshotAI, KwaiPilot, Black Forest Labs, Recraft, Voyage AI, NVIDIA, and more.

Compare Schematron V2 Small across 3 providers to find the best fit for your use case
Input / 1M
$0.050
Output / 1M
$0.23
Cache
read $0.050
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install openai
Auth
export AI_GATEWAY_API_KEY=...
Call
import os
from openai import OpenAI
client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
Model ID
inference-net/schematron-v2-small

Request example

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["AI_GATEWAY_API_KEY"],
    base_url="https://ai-gateway.vercel.sh/v1"
)
response = client.chat.completions.create(
    model="inference-net/schematron-v2-small",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "inference-net/schematron-v2-small", not the LLMReference slug "schematron-v2-small".
  • creator/model-name e.g. kwaipilot/kat-coder-pro-v2
  • The examples expect AI_GATEWAY_API_KEY; rename it only if your application config maps the new variable.

Compare Schematron V2 Small Across Providers

ProviderInput (per 1M)Output (per 1M)
Inference.net$0.05$0.23
Vercel AI Gateway$0.05$0.23
OpenRouter$0.05$0.23

Pricing

TypePrice (per 1M)
Input tokens$0.05
Output tokens$0.23

Capabilities

Structured Outputs

About Schematron V2 Small

Schematron V2 Small (API id inference-net/schematron-v2-small) is Inference.net's HTML→JSON schema extraction model. 3B params, 125K context. Released with Schematron V2 family 2026-04-16. FP pricing $0.05/$0.23 per 1M.

Get Started

Model Specs

Released2026-04-16
Parameters3B
Context125K

Related Models on Vercel AI Gateway