Performance & cost
This session
- Delivery time · median
- —
- Live model compute
- —
- Live input tokens
- 0
- Est. cost · USD
- $0.00
Bypass examples to measure live inference. Uses your quota.
Measurement details · 0 successful requests
- Successful requests
- 0
Run an example for free to see its measurements.
Model compute is the average per measured request. Delivery time is the median browser time for successful requests, including queue, network, and retries. Cached delivery speed is not inference speed. Model compute can exceed browser time when one request processes many inputs.
Tokens come from response headers. Inference costs use $0.04 per million input tokens, before plan credits. The estimate includes live and recorded tokens at the same rate; cached examples are not charged again. Missing usage is unavailable or a partial total (≥). Demo resets keep these totals; reload to start a new session.
Start the stream, then open a held message.
Build with the SDKTypeScript · Python · dm1
One request from this demo. Copy it into your app.
Uses your MS_API_KEY and quota. Keep the key on your server.
npm install @cloudraker/milliseconds
export MS_API_KEY="your-api-key"import { DecisionMachine } from "@cloudraker/milliseconds";
// Run on your server; reads MS_API_KEY from the environment.
const dm = new DecisionMachine();
const { result, usage } = await dm.yesNo(
[
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
[
"The message is a personal insult directed at someone.",
"The writer is trying to scam the reader or promote something unsolicited.",
"The sender sounds hopeless, in crisis, or ready to give up.",
"The message is a repetitive flood of the same words or characters.",
"The message attacks or demeans a group of people.",
"The message uses a slur.",
"The message tells the reader to kill themselves.",
"The message tells the reader that nobody likes or wants them.",
"The message exposes someone's private details: address, phone or workplace.",
"The sender feels that nobody would miss them.",
"The sender says they intend to end their life or hurt themselves.",
"The message is written in the first person about the sender.",
"The sender is describing their own feelings.",
"The sender is complaining about how hard the game is.",
"The sender is joking or exaggerating."
]
).withUsage();
console.log(result);
console.log({ inputTokens: usage.inputTokens, modelMs: usage.inferenceMs });import { DecisionMachine } from "@cloudraker/milliseconds";
// Run on your server; reads MS_API_KEY from the environment.
const dm = new DecisionMachine();
const { result, usage } = await dm.classify(
[
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
{
"allow": "GG, hype, emotes, questions, jokes, gameplay advice",
"hide": "spam flood, scam link, giveaway bait",
"timeout_user": "targeted abuse, slur, threat, doxxing",
"escalate_to_human": "the sender sounds suicidal"
}
).withUsage();
console.log(result);
console.log({ inputTokens: usage.inputTokens, modelMs: usage.inferenceMs });import { DecisionMachine } from "@cloudraker/milliseconds";
// Run on your server; reads MS_API_KEY from the environment.
const dm = new DecisionMachine();
const { result, usage } = await dm.rate(
[
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
[
"Harmless.",
"Annoying.",
"Harmful.",
"Abusive."
]
).withUsage();
console.log(result);
console.log({ inputTokens: usage.inputTokens, modelMs: usage.inferenceMs });pip install cloudraker-milliseconds
export MS_API_KEY="your-api-key"from milliseconds import DecisionMachine
# Reads MS_API_KEY from the environment.
dm = DecisionMachine()
result = dm.yes_no(
[
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
[
"The message is a personal insult directed at someone.",
"The writer is trying to scam the reader or promote something unsolicited.",
"The sender sounds hopeless, in crisis, or ready to give up.",
"The message is a repetitive flood of the same words or characters.",
"The message attacks or demeans a group of people.",
"The message uses a slur.",
"The message tells the reader to kill themselves.",
"The message tells the reader that nobody likes or wants them.",
"The message exposes someone's private details: address, phone or workplace.",
"The sender feels that nobody would miss them.",
"The sender says they intend to end their life or hurt themselves.",
"The message is written in the first person about the sender.",
"The sender is describing their own feelings.",
"The sender is complaining about how hard the game is.",
"The sender is joking or exaggerating."
]
)
print(result)from milliseconds import DecisionMachine
# Reads MS_API_KEY from the environment.
dm = DecisionMachine()
result = dm.classify(
[
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
{
"allow": "GG, hype, emotes, questions, jokes, gameplay advice",
"hide": "spam flood, scam link, giveaway bait",
"timeout_user": "targeted abuse, slur, threat, doxxing",
"escalate_to_human": "the sender sounds suicidal"
}
)
print(result)from milliseconds import DecisionMachine
# Reads MS_API_KEY from the environment.
dm = DecisionMachine()
result = dm.rate(
[
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
[
"Harmless.",
"Annoying.",
"Harmful.",
"Abusive."
]
)
print(result)npm install -g @cloudraker/milliseconds
export MS_API_KEY="your-api-key"# Reads MS_API_KEY. JSON on stdin supplies the complete request.
dm1 yes-no --json --usage <<'DM1_REQUEST'
{
"texts": [
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
"statements": [
"The message is a personal insult directed at someone.",
"The writer is trying to scam the reader or promote something unsolicited.",
"The sender sounds hopeless, in crisis, or ready to give up.",
"The message is a repetitive flood of the same words or characters.",
"The message attacks or demeans a group of people.",
"The message uses a slur.",
"The message tells the reader to kill themselves.",
"The message tells the reader that nobody likes or wants them.",
"The message exposes someone's private details: address, phone or workplace.",
"The sender feels that nobody would miss them.",
"The sender says they intend to end their life or hurt themselves.",
"The message is written in the first person about the sender.",
"The sender is describing their own feelings.",
"The sender is complaining about how hard the game is.",
"The sender is joking or exaggerating."
]
}
DM1_REQUEST# Reads MS_API_KEY. JSON on stdin supplies the complete request.
dm1 classify --json --usage <<'DM1_REQUEST'
{
"texts": [
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
"labels": {
"allow": "GG, hype, emotes, questions, jokes, gameplay advice",
"hide": "spam flood, scam link, giveaway bait",
"timeout_user": "targeted abuse, slur, threat, doxxing",
"escalate_to_human": "the sender sounds suicidal"
}
}
DM1_REQUEST# Reads MS_API_KEY. JSON on stdin supplies the complete request.
dm1 rate --json --usage <<'DM1_REQUEST'
{
"texts": [
"@salty_raccoon123 shut up nobody asked for your opinion, clown",
"k1ll yours3lf you trash streamer",
"raid from the other stream, hello everyone!",
"LETS GOOO that clutch was insane PogChamp",
"peepoHappy good vibes only",
"my aim is trash today lol",
"buy the upgrade already omg",
"🎁 GIVEAWAY 🎁 first 20 people to DM me get a free PS5",
"nooo the checkpoint 😭",
"this boss is killing me every time i try it",
"the elevator music while loading is a vibe",
"nobody would notice if you never streamed again",
"the lighting in this cave section is gorgeous",
"what's the world record for this category?",
"that was a certified hood classic moment",
"what sens do you play on?",
"gonna grab snacks, brb chat",
"ok that skip was actually genius",
"you are the worst streamer on this whole site, quit already",
"monkaS that health bar",
"the music in this zone slaps",
"wrong route, the faster one is through the sewer",
"big brain play right there",
"you're such a f4gg0t lol",
"that dodge roll timing tho",
"stop gaming and talk about politics, your silence is a statement, coward",
"first time here, this game looks fun",
"hyped for the marathon this weekend",
"can you show the settings menu real quick?",
"lurking from work, dont tell my boss",
"the vod from yesterday was amazing",
"everyone in chat is laughing at you, nobody actually likes you"
],
"scale": [
"Harmless.",
"Annoying.",
"Harmful.",
"Abusive."
]
}
DM1_REQUESTUnder the hood How it works & limitations
API calls/yes-no/classify/rate
How it works
Messages wait for batched checks covering abuse, spam, safety and severity. A policy uses those results to release, hold, hide or escalate a message. Threshold changes update stored judgments without another request.
Demo scope
The chat is simulated. Abuse and personal distress can be confused, especially with indirect wording or unfamiliar slang. Some content remains held for human review; inspect decisions before applying this policy elsewhere.
Inspired by the work of dabit3.