Join our Newsletter — 33% off our NHI Course
Home› Glossary› AI Security› Model Call
AI Security

Model Call

← Back to Glossary
By NHI Mgmt Group Updated October 28, 2026 Domain: AI Security

Model call is a request made to an AI model to produce an output from supplied input, such as text, code, or a classification. It includes the prompt, any attached context, and the model response, and may be logged for audit, cost tracking, or safety controls.

What a model call is in practice

A model call is the unit of interaction between an application and an AI model: the input, the surrounding context, and the resulting output. It is the point where a system asks the model to transform supplied material into text, code, labels, or another structured response.

That makes the model call more than a simple request-response event. It is the boundary where product logic, prompt engineering, safety policy, usage metering, and logging all meet. Small changes to the input context can materially change the output, which is why model calls are often treated as auditable application events.

What is inside a model call

A model call usually includes the user prompt, system instructions, retrieved context, conversation history, tool results, and any other attached data that shapes the response. The response may be free text, a classification, a summary, a plan, code, or a structured object such as JSON.

Because the call packages both content and instruction, organisations need to think carefully about what is sent to the model. Sensitive data, secret values, or unnecessary context can leak into logs, vendor telemetry, or downstream records if the call is not deliberately designed.

In practice, the same concept can be implemented through an API request, a chat turn, a batch inference job, or an agent step. The delivery mechanism may differ, but the security concern is the same: the model only sees what is assembled into the call.

Why model calls matter for AI systems

Model calls shape behaviour, cost, latency, and trust. They determine what the model can answer, what it can infer, and how much evidence it has before producing an output. If the context is incomplete, the output may be unreliable; if the context is over-broad, the call can expose unnecessary information.

Model calls are also where governance becomes operational. Logging for audit, charging, or policy enforcement can be useful, but it raises retention and access questions. Organisations often treat the call record as part of the system’s evidence trail, especially when outputs must be reviewed, reproduced, or investigated later.

For teams building AI applications, the model call is therefore a design object as much as a runtime event. Its shape affects security controls, evaluation quality, and the ability to explain how a result was produced.

How model calls relate to safety, logging, and control

Model calls sit at the intersection of input validation, output handling, and monitoring. The input side may need redaction or filtering; the output side may need post-processing, policy checks, or human review; and the event itself may need to be logged in a way that supports investigations without overexposing data.

That same event record is also useful for detecting abuse patterns such as repeated probing, prompt manipulation, or abnormal request volume. When model calls are central to a service, monitoring them helps distinguish normal usage from misuse, debugging, or emerging security issues.

In agentic or tool-using systems, the model call may also carry instructions that lead to external actions. In those cases, the call is not just a text generation event, it is part of the control plane for decision making and execution.

Risk and Threat Considerations

Model calls can expose sensitive prompts, embedded context, or generated content to logging systems, vendors, or operators if the data path is not tightly controlled. They also create a practical attack surface for prompt injection, data leakage, and unsafe output handling when untrusted input is blended into the call.

Failure mechanism: An attacker or careless integration places malicious or sensitive material into the prompt, context, or retrieval layer, then the model call faithfully processes and propagates that content into outputs or logs.

Impact: The result can be disclosure of confidential information, corrupted answers, unsafe automation, or a compromised audit trail that is harder to trust during incident review.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, CIS Controls v8 and NIST AI RMF set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AU-2 — Event LoggingModel calls are runtime events that may need logging and review.
SC-28 — Protection of Information at RestCall payloads and transcripts may be stored and later exposed through logs or archives.
Recommendation — Log model calls with enough detail to support audit, troubleshooting, and abuse detection. Protect stored prompts, responses, and traces with strong storage controls.
ISO/IEC 27001:2022A.8.24 — Use of cryptographyModel call data may require cryptographic protection when stored or transmitted.
Recommendation — Encrypt model-call data where confidentiality is required.
CIS Controls v8CIS-8 — Audit Log ManagementModel-call records are operational logs that support detection and investigation.
Recommendation — Centralise and protect logs for model-call activity.
NIST AI RMFGovern and MapModel calls define how AI inputs, outputs, and logs are governed across the lifecycle.
Recommendation — Define how model-call data is governed, traced, and monitored across the AI workflow.

Practitioner Guidance

Why practitioners should care: Treat the model call as a governed interface, not just an API payload. The exact content assembled into the call determines both the quality of the response and the exposure created by logging, retention, and downstream reuse.

What to watch for: Be alert to prompts that include unnecessary secrets, broad context injection, or untrusted retrieved data, especially where calls are reused for analytics, audit, or evaluation. The safest model call is usually the one that contains only the minimum context needed to answer the task.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 28, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org