[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [Schematron V2 Turbo](https://spiral.ai/integrations/devin/schematron-v2-turbo)

# How to Use Schematron V2 Turbo in Devin

Schematron V2 Turbo turns HTML into JSON for high-volume extraction tasks. It prioritizes throughput, while Schematron V2 Small prioritizes extraction quality on complex schemas and long pages.

|  |  |
| --- | --- |
| Model | Schematron V2 Turbo |
| Available through | OpenRouter |
| Category | LLM |
| Price | Up to $0.000801 per run at the default inputs. $0.039 per 1M input tokens, $0.195 per 1M output tokens. |
| Returns | text, json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Schematron V2 Turbo in Devin

- Use Schematron V2 Turbo to extract product names and specifications from the project's saved product-page HTML. Derive a JSON Schema from our product type, put extraction rules in its descriptions, and use temperature 0.
- Use Schematron V2 Turbo on our saved job-page HTML. Define a schema for title, employer, location, and application URL, then compare the extracted records with the expected fixtures.
- Use Schematron V2 Turbo to extract article headlines, bylines, and publication dates from our HTML fixtures. Describe publication date precisely in the schema so it is distinguished from update dates.
- Use Schematron V2 Turbo to process the project's event-page HTML into event records. Clean scripts and styles first, preserve displayed date text, and split the work so each response stays below 8,192 tokens.
- Use Schematron V2 Turbo to extract company names, locations, and website links from our directory-page samples. Put the rules in the JSON Schema and report records that fail our existing validator.

## How to set up Schematron V2 Turbo in Devin

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Schematron V2 Turbo**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "openrouter",
    "model": "inference-net/schematron-v2-turbo",
    "input": {
      "messages": [
        {
          "role": "system"
        }
      ]
    }
  }'
```

Then paste one of the prompts above: Devin finds Schematron V2 Turbo on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/devin

## Schematron V2 Turbo tools and prices

- [Inference.net: Schematron V2 Turbo](https://spiral.ai/tools/openrouter/inference-net/schematron-v2-turbo) (OpenRouter): Up to $0.000801 per run at the default inputs. $0.039 per 1M input tokens, $0.195 per 1M output tokens.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| seed |  | — |  |
| stop |  | — |  |
| min_p | 0 to 1 | — |  |
| top_k | 0 to … | — |  |
| top_p | 0 to 1 | — |  |
| max_tokens | 1 to 8192 | — | The most output tokens to generate. |

## What can you do with Schematron V2 Turbo in Devin?

Turn saved HTML into typed records for your project's ingestion pipeline. Have the coding agent define the extraction schema, clean the markup, and inspect the returned JSON.

### Product catalog ingestion

Use Schematron V2 Turbo to extract product names, specifications, and category labels from product-page HTML into a consistent JSON structure.

### Competitor availability monitoring

Extract product names and displayed availability from freshly fetched HTML. Compare the resulting records between runs to identify changes.

### Company directory records

Turn company-page HTML into records containing organization names, website links, locations, and descriptions. Define each requested detail in the schema.

### Research evidence extraction

Extract selected facts and supporting passages from retrieved HTML before another model writes an answer. Keep the source URL with each record.

### Job listing aggregation

Extract job titles, employers, locations, and application links from listing HTML. Process large collections in smaller chunks to keep responses within the output limit.

### Event calendar ingestion

Convert event-page HTML into structured titles, displayed dates, venues, and registration links. Preserve the original date text for review.

### Article metadata collection

Extract headlines, bylines, publication dates, and article links from HTML for a searchable content index.

## Overview

- [OpenRouter](https://spiral.ai/providers/openrouter)
- [All Devin guides](https://spiral.ai/integrations/devin)

## Schematron V2 Turbo in other agents

- [Amp](https://spiral.ai/integrations/amp/schematron-v2-turbo)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/schematron-v2-turbo)
- [Claude](https://spiral.ai/integrations/claude-desktop/schematron-v2-turbo)
- [Claude Code](https://spiral.ai/integrations/claude-code/schematron-v2-turbo)
- [Cline](https://spiral.ai/integrations/cline/schematron-v2-turbo)
- [Codex](https://spiral.ai/integrations/codex/schematron-v2-turbo)
- [Cursor](https://spiral.ai/integrations/cursor/schematron-v2-turbo)
- [dots](https://spiral.ai/integrations/dots/schematron-v2-turbo)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/schematron-v2-turbo)
- [Gemini](https://spiral.ai/integrations/gemini/schematron-v2-turbo)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/schematron-v2-turbo)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/schematron-v2-turbo)
- [goose](https://spiral.ai/integrations/goose/schematron-v2-turbo)
- [Grok](https://spiral.ai/integrations/grok/schematron-v2-turbo)
- [Grok Build](https://spiral.ai/integrations/grok-build/schematron-v2-turbo)
- [Hermes](https://spiral.ai/integrations/hermes/schematron-v2-turbo)
- [Instinct](https://spiral.ai/integrations/instinct/schematron-v2-turbo)
- [Manus](https://spiral.ai/integrations/manus/schematron-v2-turbo)
- [Muse](https://spiral.ai/integrations/muse/schematron-v2-turbo)
- [Muse Code](https://spiral.ai/integrations/muse-code/schematron-v2-turbo)
- [n8n](https://spiral.ai/integrations/n8n/schematron-v2-turbo)
- [Notion](https://spiral.ai/integrations/notion/schematron-v2-turbo)
- [OpenClaw](https://spiral.ai/integrations/openclaw/schematron-v2-turbo)
- [opencode](https://spiral.ai/integrations/opencode/schematron-v2-turbo)
- [Perplexity](https://spiral.ai/integrations/perplexity/schematron-v2-turbo)
- [Raycast](https://spiral.ai/integrations/raycast/schematron-v2-turbo)
- [VS Code](https://spiral.ai/integrations/vscode/schematron-v2-turbo)
- [Windsurf](https://spiral.ai/integrations/windsurf/schematron-v2-turbo)
- [Zapier](https://spiral.ai/integrations/zapier/schematron-v2-turbo)

## More Devin guides

- [Schematron V2 Small](https://spiral.ai/integrations/devin/schematron-v2-small)
- [Seed 2.0 Lite](https://spiral.ai/integrations/devin/seed-2-0-lite)
- [Sakana Namazu](https://spiral.ai/integrations/devin/sakana-namazu)
- [Seed 2.0 Mini](https://spiral.ai/integrations/devin/seed-2-0-mini)
- [Ripple 65B Preview](https://spiral.ai/integrations/devin/ripple-65b-preview)
- [Seed 2.1 Turbo](https://spiral.ai/integrations/devin/seed-2-1-turbo)

## Questions about Schematron V2 Turbo in Devin

**Can Devin use Schematron V2 Turbo?**

Yes. Add Spiral to Devin as an MCP server, and Devin can find and run Schematron V2 Turbo like any built-in tool.

**How much does Schematron V2 Turbo cost in Devin?**

Up to $0.000801 per run at the default inputs. $0.039 per 1M input tokens, $0.195 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Devin plan is separate.

**Do I need an OpenRouter account to use Schematron V2 Turbo in Devin?**

No. Spiral runs Schematron V2 Turbo on its own OpenRouter account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Schematron V2 Turbo in Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while Schematron V2 Turbo runs?**

Schematron V2 Turbo runs in the background. Devin starts the run, checks on it and gives you the text, json when it's ready.

**What is Schematron V2 best at?**

Turning messy HTML into JSON with a defined structure. It fits product ingestion, page monitoring, and extracting selected facts for research.

**How do I give Schematron V2 extraction instructions?**

Put the directions in the JSON schema and its field descriptions. Send the HTML as the content to extract from; ordinary conversational instructions do not control the extraction.

**How much HTML can Schematron V2 Turbo handle?**

Input and output share a 128K-token context window, and the response can contain up to 8,192 tokens. Split large pages or long result lists into smaller extractions.

**What temperature should I use?**

Use temperature 0. Inference.net says Schematron was trained to perform best at that setting.

**Should I clean the HTML first?**

Yes. Remove scripts, styles, and boilerplate while preserving the content you need; Inference.net recommends lxml to match the training preprocessing.

