Cybersecurity AI API

Integrate SYLink's cybersecurity-specialized language models into your products. OpenAI-compatible — use any existing SDK. EU-hosted, zero data leakage.

pip install openainpm install openai

Quick Start

from openai import OpenAI

client = OpenAI(
    api_key="sk-syl-YOUR_KEY",
    base_url="https://sylink-ai.fr/api/v1"
)

response = client.chat.completions.create(
    model="sylink2-9b",
    messages=[
        {"role": "system", "content": "You are a cybersecurity analyst."},
        {"role": "user", "content": "Analyze CVE-2024-3094 and recommend mitigations."}
    ]
)

print(response.choices[0].message.content)

Models & Pricing

All prices in EUR per 1 million tokens (MTok). Cybersecurity-specialized models trained on threat intelligence, vulnerability analysis, and incident response data.

ModelParametersContextInputOutputBest For
sylink-8b8B40K0.150.60Fast triage, SOC automation
sylink-32b32B40K0.501.50Detailed analysis, report generation
sylink2-9b9B256K0.150.60Fast triage, long context analysis
sylink2-27b27B256K0.401.20Threat hunting, IOC extraction
sylink2-80b80B256K1.203.50Expert analysis, compliance audits

API Reference

POST /v1/chat/completions

Generate a chat completion. Fully compatible with the OpenAI Chat Completions API. If no system message is provided, SYLink's cybersecurity system prompt is injected automatically.

ParameterTypeDefaultDescription
modelstringrequiredModel ID (see table above)
messagesarrayrequired1-256 messages with role + content
temperaturefloat0.70-2. Use 0.3-0.5 for analytical tasks.
top_pfloat1.00-1. Nucleus sampling.
max_completion_tokensintegermodel default1-32768. Maximum output tokens.
streambooleanfalseEnable SSE streaming.
stopstring | string[]nullUp to 4 stop sequences.

Request

{
  "model": "sylink2-9b",
  "messages": [
    {"role": "system", "content": "You are a SOC analyst."},
    {"role": "user", "content": "Analyze CVE-2024-3094."}
  ],
  "temperature": 0.4,
  "max_completion_tokens": 4096,
  "stream": false
}

Response

{
  "id": "chatcmpl-abc123",
  "object": "chat.completion",
  "model": "sylink2-9b",
  "choices": [{
    "message": {
      "role": "assistant",
      "content": "## CVE-2024-3094\n..."
    },
    "finish_reason": "stop"
  }],
  "usage": {
    "prompt_tokens": 150,
    "completion_tokens": 892,
    "total_tokens": 1042
  }
}

GET /v1/models

List all available models with pricing, context length, and generation metadata.

Error Codes

HTTPTypeWhen
400invalid_request_errorMalformed request or invalid parameters
401authentication_errorMissing, invalid, or revoked API key
402billing_errorInsufficient account balance
404invalid_request_errorModel not found
429rate_limit_errorRate limit or token quota exceeded
503server_errorModel unavailable or server at capacity

Billing

SYLink uses a prepaid balance system. Each API request deducts the actual token cost (prompt + completion tokens) from your account balance. If your balance is insufficient, the API returns HTTP 402. Monitor your usage in the Developers dashboard.

Rate Limits & Plans

PlanModelsAPI KeysRate LimitDaily TokensMonthly Tokens
FreeV1 (8B, 32B)120 RPM100K-
Pro (39/mo)V2 (9B, 27B, 80B)560 RPMUnlimited10M
EnterpriseAll models25+120+ RPMUnlimitedUnlimited

All plan upgrades are handled by our commercial team. Contact contact@sylink.fr