SAFETY AND DATA-PROTECTION MODEL
EREBUNIerebuni-guard-1
ԷրեբունիЭребуниErebuni
Detects and masks personal data, flags prompt-injection attempts and filters unsafe content before it reaches your users or your logs.
Best for
- Detecting and masking personal data
- Defence against prompt injection
- Content moderation
- Compliance logging
Named after
Erebuni, the fortress founded in 782 BC, from which Yerevan takes its name.
Specification sheet
| API identifier | erebuni-guard-1 |
|---|---|
| Type | Safety |
| Stage | Generally available |
| Context window | 32K |
| Typical latency | ≈ 30 ms per request |
| Primary region | AM-EVN-2 |
| Deployment | Cloud API · Private cloud · On-premises |
| Price | $0.10 per 1M tokens |
QUICKSTART
Example request
curl https://api.areviaai.net/v1/chat/completions \
-H "Authorization: Bearer $AREVIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "erebuni-guard-1",
"messages": [{"role": "user", "content": "Summarise this contract in three bullet points."}]
}'
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.areviaai.net/v1" ,
api_key=os.environ["AREVIA_API_KEY"],
)
response = client.chat.completions.create(
model="erebuni-guard-1",
messages=[{"role": "user", "content": "Summarise this contract in three bullet points."}],
)
print(response.choices[0].message.content)
$ch = curl_init('https://api.areviaai.net/v1/chat/completions' );
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('AREVIA_API_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode([
'model' => 'erebuni-guard-1',
'messages' => [['role' => 'user', 'content' => 'Summarise this contract in three bullet points.']],
]),
]);
$response = json_decode(curl_exec($ch), true);
echo $response['choices'][0]['message']['content'];
const res = await fetch("https://api.areviaai.net/v1/chat/completions" , {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AREVIA_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "erebuni-guard-1",
messages: [{ role: "user", content: "Summarise this contract in three bullet points." }],
}),
});
const data = await res.json();
console.log(data.choices[0].message.content);
200 OKResponse
{
"id": "chatcmpl-7f3a9c2e",
"model": "erebuni-guard-1",
"choices": [{
"index": 0,
"message": {
"role": "assistant",
"content": "1. Term: 36 months from the date of signing.\n2. Rate: 11.5% per year, fixed.\n3. Early repayment is allowed without penalty."
},
"finish_reason": "stop"
}],
"usage": { "prompt_tokens": 1843, "completion_tokens": 96 }
}