01 /flex · /batch · /scavenge · Interactive [coming soon]
Open-weight scale
on /flex, /batch,
and /scavenge.
Send interactive calls near market rate, cut token and page costs 60–85% with
time-windowed /flex and /batch, or run lowest-QoS /scavenge on spare GPUs.
02 Multi-stage
Teacher labels.
Fine-tune.
Bulk classify.
Label a seed slice on /batch, train a small student,
and classify the corpus at huge throughput per second.
03 Lazy loading
Zero pre-upload.
Read in place on demand.
Enroll a large S3 corpus as a state: "lazy" pointer: nothing is uploaded, staged in transit or cached in between.
Each object stays at rest in your bucket until a worker reads one signed byte_range of it.
04 Open streams · Webhooks · Recursive pipelines
Recursive pipelines.
Each finished batch
spawns the next hop.
Keep a stream open on /flex or /scavenge for recursive and multi-hop workloads. When a batch finishes, weights.fyi calls your webhook with the results so your service can feed discovered links, child pages, or follow-up queries straight back into the same running job—and close the stream once the recursion completes.
05 Unfiltered · Abliterated models
Open weights with the
refusal direction removed.
No false-positive refusals.
Post-training alignment bakes refusal triggers into a model's layers—blocking legitimate security research, vulnerability & malware triage, red-teaming, and messy real-world text. Abliteration projects that refusal direction out of the weight layers so every prompt gets a direct answer without dulling reasoning. Abliterated weights are served exclusively via rattle.fyi.
06 Verifiable RL · On-policy distillation
Reinforcement learning
from verifiable rules
and teacher guidance.
Train 4B to 35B models with Verifiable RL (GRPO) and on-policy distillation. For each prompt, the model explores several candidate completions while deterministic verification rules and a larger teacher model score every attempt—reinforcing valid JSON schemas, exact quotes from the source text, and accurate decisions on hard edge cases before you run across your full corpus.
Architecture & capabilities
How timing, batching, and pipelines work.
01 / Pricing, timing & batch size
Interactive [coming soon] · /flex · /scavenge · + /batch/batch is the size dimension (one prompt vs. a bulk set of rows); interactive,
/flex, and /scavenge set the time dimension and QoS. Combine /batch with /flex
or /scavenge to eliminate idle GPU overhead and cut unit costs by 60–90%.
Near real-time prompt responses for live requests, priced below standard market rates.
Time-windowed execution. Give a single call or a large /batch
a deadline window so work coalesces onto 100%-busy GPUs.
Lowest-QoS flex riding spare HBM and idle valleys on already-running GPUs. May pause or stay incomplete if primary load spikes.
Compare unit rates against external market pricing on the dedicated pricing page →.
Interactive [coming soon] rate now, from the live quote: page classification at $2.289 per 1M pages answered, whatever the job's size.
02 / Multi-stage chaining
Teacher → fine-tune or RL → classifyChain all three steps lazily in a single pipeline—or run any step on its own. Have a frontier teacher
label a seed slice on /batch, fine-tune a student model with SFT / DPO or train it with verifiable RL (GRPO) &
on-policy distillation until accuracy plateaus, and bulk-classify the rest of your corpus at high throughput per second on
/scavenge.
Label raw rows asynchronously with deepseek-v4-flash-0731,
glm-5.3, or mistral-large-4.
Distill reviewed labels into a compact LoRA student or fast encoder with SFT / DPO, or train with verifiable RL (GRPO) and on-policy distillation.
Run huge throughput per second (scaled to model size) across millions of rows on
/flex or /scavenge.
Label a small sample of pages with a large model, train a small classifier on those labels, and sort the rest of your archive at a fraction of the cost.
Turn messy emails, PDFs, or listings into clean records by training a small model on examples produced by a larger one.
Score noisy web text, support tickets, or logs where standard models get tripped up by false-positive refusals (via rattle.fyi ↗).
03 / Lazy S3 loading
Zero pre-upload · no staging cacheLazy S3 loading is what lets you enroll a large corpus with zero pre-upload. You send a
state: "lazy" pointer; the objects stay at rest in your bucket. No bulk copy sits in transit and nothing is staged in
an intermediate cache: a worker reads one exact byte_range through your signed URL at the moment it processes it.
Enrolling millions of rows or files sends a lightweight pointer. 0 bytes of your corpus are uploaded to enroll it.
There is no ingest job to wait for and no staging copy to secure or clean up. Until a worker reads a range, your bucket is the only place the corpus lives.
A worker reads only the shard range it is ready to score or train on now, through a URL you signed.
See the lazy stream packs example ↗ and zero-copy S3 datasets guide ↗ in the docs.
04 / Open streams & webhooks
Recursive & multi-hop pipelines · a webhook per batchAn open stream is a job that keeps accepting new batches after it starts, making recursive and multi-hop pipelines straightforward. Send a seed batch now; each time a batch finishes, weights.fyi calls your webhook so your service can read the results, enqueue the next recursive hop of items into the same job, and close the stream when there is nothing left to send. You never have to poll for progress.
Start a job on
/flex or /scavenge that stays open, and send its first batch: a recursive crawl can start from a handful of
seed pages.
When a batch finishes, we call your webhook so your service can read its results. Every call is signed, so your service can check that it came from weights.fyi.
Send the new items the results point to as the next recursive hop of the same job. Close the stream when nothing is left, and the job finishes.
Start from seed pages, classify each batch, and recursively send the links worth following as the next batch until the crawl runs out of new pages.
Go from a list of companies to their websites, then to the pages that matter on them, each recursive hop built from the results of the one before.
Send files or rows as they land in your bucket instead of waiting until the whole set is ready.
Each batch pays its tier's rate for the pages or tokens it answers, and the waits between batches are not billed: see open streams pricing →.
05 / Abliterated models & rattle.fyi
Unfiltered weight layers · rattle.fyi ↗Refusal behavior is baked into a model's transformer layers during post-training alignment (and often compounded by outer API filters), causing false-positive refusals on security research, red-teaming, fraud detection, and noisy user text. Abliteration locates the specific activation direction across the model's internal layers that triggers canned refusals and projects it out of the weights—without degrading coding or reasoning accuracy.
Orthogonally removes the refusal vector across the residual stream layers so the model answers edge-case, adversarial, and sensitive prompts without lecturing or failing mid-batch.
Covers deepseek-v4-flash-0731, glm-5.3,
mistral-large-4, and blink-v0.3-26b-a4b, at the same unit rates as the standard weights.
Abliterated weights are served only through rattle.fyi ↗, our security and agentic testing platform built for unfiltered model runs.
Inspect exploit payloads, malware samples, phishing pages, and CVE reproductions where standard aligned models refuse mid-run.
Score raw web crawls, fraud reports, moderation queues, or support logs containing sensitive strings without false-positive refusals breaking JSON output.
Stress-test prompts, guardrails, and agent workflows against unfiltered frontier and student weights.
06 / Verifiable RL (GRPO) & on-policy distillation
4B to 35B models · rule checks · teacher scoringVerifiable RL (GRPO) and on-policy distillation train 4B to 35B models using verifiable rule checks
and teacher guidance rather than static label imitation alone. For each prompt the model explores several candidate completions,
hard rules reject the broken ones and a larger teacher model scores the rest, and the verified reward updates the model weights.
Run it after a fine-tune, then put the trained model straight into a bulk run on /flex or /scavenge.
The student writes 2 to 16 answers to each prompt, which shows where it really goes wrong.
Hard rules check each answer: valid JSON, quotes found in the source, allowed labels and links. A larger teacher model scores the answers token by token.
Billed per 1M
answer & training tokens: $0.0120 / 1M on /scavenge and $0.0180 / 1M on /flex &
/batch. A 50M-token run costs $0.60 on /scavenge, and the rule checks add no fee.
Pull fields from pages, emails or listings into JSON that fits your schema. Answers that break the format score lowest, so the student learns to keep to it.
Each extracted value comes with a quote from the source. It only scores when the quote appears in the text and contains the value, so the student learns to cite instead of guess.
Decide what a page is, whether a site is worth crawling further and which links to follow. Each decision is scored against labelled examples, the hard edge cases included.
Live plan · Dry run
Check a plan before it runs.
Pick an example and its tier and model. The Python SDK tab writes the complete plan.json, and the weights CLI checks it with your key before you submit it. The example's own dry run checks it against the model catalog in use and charges nothing.
Not checked yet. Run the example's dry run to check this plan against the model catalog in use: nothing is admitted or charged.
# plan.json: the complete plan the Python SDK tab writes. Your key is in WEIGHTS_API_KEY.
export WEIGHTS_PUBLIC_URL="https://weights.fyi/run"
weights compute dry-run --file plan.jsonimport json
import os
from pathlib import Path
from weights.sdk import Dataset, DatasetShard, Plan, Schedule, Tenancy, WeightsClient
def tier_schedule(tier: str) -> Schedule:
"""/scavenge runs only alongside work already running and waits, unbilled, until then; /flex may start a model
within its hourly ceiling. Either window closes a day after the plan is built."""
if tier == "scavenge":
return Schedule.scavenger_stream(deadline_seconds=86_400)
if tier == "flex":
return Schedule.standard(deadline_seconds=86_400, max_hourly_usd_micros=3_500_000, qos_priority="flex")
raise ValueError(f"tier is 'scavenge' or 'flex', not {tier!r}")
def classify_s3_corpus(plan_id: str, *, tier: str, model: str) -> Plan:
"""Classify JSONL pages that stay in your S3 bucket: nothing is uploaded first, and a worker reads each file when
it is ready to classify it. "0" * 64 stands for each file's SHA-256 (sha256sum part-0.jsonl.zst)."""
plan = Plan(plan_id, tenancy=Tenancy.platform_shared("your-tenant", org_slug="your-org",
max_budget_usd_micros=5_000_000),
schedule=tier_schedule(tier))
root = "s3://your-bucket/pages"
pages = Dataset.s3(root, name="pages", shards=[
DatasetShard("pages-0", f"{root}/part-0.jsonl.zst", "0" * 64, item_count=50_000, compressed_bytes=4_194_304),
DatasetShard("pages-1", f"{root}/part-1.jsonl.zst", "0" * 64, item_count=48_200, compressed_bytes=4_063_232),
])
plan.classifier_drain("classify", model=model, dataset=pages,
output_uri="s3://your-bucket/tenants/your-tenant/results/pages")
return plan
# A new plan id for each new run. To retry a run, send its saved plan.json again.
plan = classify_s3_corpus("pages-classify-1", tier="scavenge", model="laya-page-role")
body = plan.to_dict() # its window opens now: build it again for a fresh one
Path("plan.json").write_text(json.dumps(body, indent=2)) # the complete plan
client = WeightsClient(os.environ["WEIGHTS_PUBLIC_URL"], os.environ["WEIGHTS_API_KEY"])
verdict = client.dry_run(body) # admits and charges nothing
print(verdict["ok"], [finding["code"] for finding in verdict["findings"]])
[
{
"stage_id": "classify",
"needs": [],
"execution_mode": "weights_managed_gpu",
"workload": {
"kind": "classifier_drain",
"model": "laya-page-role",
"output_prefix_uri": "s3://your-bucket/tenants/your-tenant/results/pages",
"open_stream": true,
"total_items_hint": 98200,
"lazy_materializer": {
"shards": [
{
"pack_id": "pages-0",
"source_uri": "s3://your-bucket/pages/part-0.jsonl.zst",
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"item_count": 50000,
"compressed_bytes": 4194304
},
{
"pack_id": "pages-1",
"source_uri": "s3://your-bucket/pages/part-1.jsonl.zst",
"sha256": "0000000000000000000000000000000000000000000000000000000000000000",
"item_count": 48200,
"compressed_bytes": 4063232
}
],
"auto_seal": true
}
}
}
]Submit only once the dry run is ok: submission admits the plan.
weights compute submit --file plan.jsonThe Python SDK tab writes the complete plan.json; Compiled stages is an excerpt of it, not a plan to submit. Replace before you run: your-tenant and your-org (a tenancy your key holds a grant on), the s3://your-bucket/… paths, each "0" * 64 (that file's SHA-256), the budget and the hourly ceiling.
Model index · Click any model to inspect unit rates
Choose the right size.
Teachers & Batch LLMs
DeepSeek · GLM · Mistral · abliterated on rattle.fyi onlyAbliterated (refusal-removed) variants of deepseek-v4-flash-0731, glm-5.3, and mistral-large-4 are available exclusively via rattle.fyi ↗.
Generative Students
26B–35B & compact 4B–8B · or bring your ownFine-tune our hosted selection with LoRA SFT / DPO, or bring your own open-weight model checkpoint. fastino-glide-28b (Fastino GLiDE) and mammoth-1-27b are trainable 27B–28B bases; blink-v0.3-26b-a4b is an abliterated student, served exclusively via rattle.fyi ↗.
Fast Classifier Encoders
0.4B–1.6B · high-throughput classify · zero-shot extractionTrain a compact encoder for sub-millisecond classification, or bring your own architecture. gliner2-large-v1 needs no training to start: name the spans, entities or labels you want and it extracts them zero-shot in a single encoder pass, with no autoregressive decoding, and it fine-tunes on your own schema. Its large generative sibling is fastino-glide-28b.
Bring your own GPUs
Self-hosted workers · entirely in your own cloudConnect your own GPU hosts over an outbound-only mutual TLS 1.3 connection—no inbound firewall ports required. Model execution and weights stay inside your own cloud, VPC or on-premises cluster, and lazy S3 shards stay in your own bucket, read directly by the hosts you enroll.
Each worker generates its own private key on your host, enrolls with a one-time wjt_ join token and dials out. Zero inbound firewall ports.
c2)weights.fyi starts and stops the instances you tagged in your own Azure subscription, and never creates, resizes or deletes one.
otlp_http destinations send content-free job and node.call spans to your own collector as they end.
See Bring your own model, tracing and exports and the own-cloud architecture on the privacy page.
Get started
Start with a /batch call or a lazy S3 pointer.
Create an API key to run interactive[coming soon], /flex, or /scavenge workloads—solo or combined with /batch.