Model reference · open weights
Foundation-Sec-Reasoning is an open-weight language model from fdtn-ai. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | fdtn-ai |
|---|---|
| Type | Language models |
| Task | Text gen |
| Parameters (lead) | 8.0B |
| Context | 128k tokens |
| Runs with | transformers |
| Based on | fdtn-ai/Foundation-Sec-8B |
| Released | 2025-11-06 |
| Popularity | 20k downloads / month |
| Licence | Commercial licence needed |
About
Llama-3.1-FoundationAI-SecurityLLM-8B-Reasoning (Foundation-Sec-8B-Reasoning) is an open-weight, 8-billion parameter instruction-tuned language model specialized for cybersecurity applications. It extends the Foundation-Sec-8B base model with instruction-following and reasoning capabilities. It leverages prior training to understand security concepts, terminology, and practices across multiple security domains. Further reasoning training enables the model to reason about problems before presenting a solution. Foundation-Sec-8B-Reasoning enables organizations to build AI-driven security tools that can be deployed locally, reducing dependency on cloud-based AI services while maintaining high performance on security-related tasks.
Foundation-Sec-8B-Reasoning is designed for security practitioners, researchers, and developers building AI-powered security workflows and applications. Foundation-Sec-8B-Reasoning is optimized for three core use case categories:
The model is intended for local deployment in environments prioritizing data security, regulatory compliance, and operational control.
Foundation-Sec-8B-Reasoning can be used directly for security-related chat use cases. Example downstream applications include:
For questions or assistance with fine-tuning Foundation-Sec-8B-Reasoning, please reach out to the team.
The following uses are out-of-scope and are neither recommended nor intended use cases:
Use the code below to get started with the model. The cookbook provides example use cases, code samples for adoption, and references.
# Import the required libraries
import torch
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load the model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("fdtn-ai/Foundation-Sec-8B-Reasoning")
model = AutoModelForCausalLM.from_pretrained("fdtn-ai/Foundation-Sec-8B-Reasoning")
prompt = "CVE-2015-10011 is a vulnerability about OpenDNS OpenResolve improper log output neutralization. What is the corresponding CWE?"
messages = [
{"role": "user", "content": prompt}
]
model_inputs = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(model_inputs, return_tensors="pt", add_special_tokens=False)
output = model.generate(**inputs, temperature=0.1, max_new_tokens=1024)
resp = tokenizer.batch_decode(output)[0]
print(resp.replace(model_inputs, ""))
For production deployment
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys foundation-sec-reasoning for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (foundation-sec-reasoning below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"foundation-sec-reasoning","messages":[{"role":"user","content":"Hello"}]}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.