Schematron V2 Small API
schematron-v2-small
Schematron V2 Small is a 3B-parameter HTML-to-JSON extraction model from Inference.net. It prioritizes extraction quality for complex schemas and long pages. Extraction instructions must be supplied through a JSON schema...
CallAI pricing
Crypto OKSpecs & upstream
SDK quickstart
OpenAI-compatiblefrom openai import OpenAI
client = OpenAI(
api_key="sk-live-your-callai-key",
base_url="https://api.callaiapi.com/v1"
)
response = client.chat.completions.create(
model="schematron-v2-small",
messages=[
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Hello, explain quicksort with Python"}
],
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CALLAI_API_KEY,
baseURL: 'https://api.callaiapi.com/v1',
});
const response = await openai.chat.completions.create({
model: 'schematron-v2-small',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true,
});
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}FAQ — Schematron V2 Small
How do I call Schematron V2 Small (schematron-v2-small)?
Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "schematron-v2-small".
What does Schematron V2 Small cost?
Pay-as-you-go: input $0.055/1M tokens, output $0.253/1M tokens. Fund with USDT — no credit card required.
Can I use Schematron V2 Small in Cursor or Windsurf?
Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "schematron-v2-small" in Settings → Models.
Can I pay without a credit card?
Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for Schematron V2 Small and other CallAI services.
Related models
View all pricing →Schematron V2 Small access facts
Model ID: schematron-v2-small · Vendor: Inference Net · Pay-as-you-go
- Model ID
- schematron-v2-small
- Vendor
- Inference Net
- Context window
- 128K
- CallAI price (in/out 1M)
- $0.055 / $0.253
- Upstream benchmark
- $0.050 / $0.230
- Protocol
- OpenAI SDK Compatible
- Base URL
- https://api.callaiapi.com/v1
- Best for
- Cursor, CLI agents, production apps