MainAI Cyber
Offence-aware threat modelling, vulnerability triage and defensive analysis.
Access: Approved KYC and an active Enterprise contract. Both models are gated. Start the KYC check.
- Context
- 1M
- Max output
- 393k
- Input / 1M
- €0.60 · DKK 4.48
- Cached input / 1M
- €0.12 · DKK 0.90
- Output / 1M
- €1.80 · DKK 13.43
- Cache write / 1M
- €0.00 · DKK 0.00
- p50 TTFT
- 338 ms
Rates are charged in EUR. DKK is a fixed 7.46 reference.
About this model
MainAI Cyber reviews software, infrastructure and cable-to-cloud estates with an attacker's eye and a defender's report. It is tuned for threat paths, vulnerability triage, evidence-backed findings and secure refactors that a service team can action. A 1M-token context covers large codebases and packet traces; Enterprise access adds a private routing path, a capacity floor and contractual terms.
Benchmark profile
Same base. Different post-training. Relative bars, not leaderboard decimals.
Built to break the design.
- SWE-bench
- High
- Terminal-Bench 4.0
- High
- Exploit bench
- Near-Mythos
Capabilities
- Security
- Tool use
- Structured output
- 1M context
- Private routing
OpenAI SDK example
TypeScriptimport OpenAI from "openai";
const mainai = new OpenAI({
baseURL: "https://cloud.mainai.dk/v1",
apiKey: process.env.MAINAI_API_KEY,
});
const response = await mainai.chat.completions.create({
model: "mainai-cyber",
messages: [{ role: "user", content: "Map this capture's protocol, decode the fields and write the service handover." }],
stream: true,
stream_options: { include_usage: true },
});Any OpenAI-compatible client works. Override the base URL and send a MainAI key. Full reference in the documentation.
Limits
- Context window
- 1,000,000 tokens
- Maximum output
- 393,216 tokens
- Cached input price
- €0.12 / DKK 0.90 / 1M
- Cache write price
- €0.00 / DKK 0.00 / 1M
- Default request cap
- 600 rpm · 400k tpm per key
- Streaming idle timeout
- 300 seconds
- Data region
- sk1 (Skanderborg, Denmark)
- Prompt retention
- None by default
Higher limits are available per key under the Enterprise contract.
Build against it
A key unlocks after email verification, KYC approval and staff recording the contract.