Appendix A. Glossary

Term Definition
Stateless A method in which the server does not remember previous requests, requiring every request to contain all necessary information
Response contract A document that specifies input prerequisites, required outputs, prohibitions, hold conditions, and acceptance criteria as verifiable conditions
System prompt Roles and rules common to all requests. Sent via top-level system in Anthropic, and system_instruction in Gemini
instructions Request-level top-level instructions in the OpenAI Responses API. Does not carry over to previous turns
Prefill A technique to determine the start of an answer by pre-filling the beginning of an assistant message. Not supported by Claude models from version 4.6 onward
Trust boundary The line dividing the instructions we write from the external materials to be processed
Indirect prompt injection An attack that attempts to alter a model's behavior using instructions hidden in external materials such as web pages, emails, or files
Token The unit by which a model processes text. The baseline for billing, rate limits, and context windows
Context window The total capacity shared by input, output, and reasoning tokens in a single request
Context rot A phenomenon where accuracy and recall degrade as the number of tokens in the context increases
Maximum output max_tokens·max_output_tokens. The upper limit on tokens to generate, not a target length
Reasoning (thinking) tokens Tokens used for internal reasoning before the model answers. Billed as output and included in the output limit
Stop reason The reason why a response stopped. Anthropic stop_reason, OpenAI status·incomplete_details
Refusal A state where a safety classifier or the model refuses to respond. Arrives as HTTP 200 in Anthropic
temperature A sampling parameter that sharpens or flattens the distribution of next-token candidates
Reasoning effort A knob to adjust the amount of reasoning and tokens used by a model. Anthropic output_config.effort, OpenAI reasoning.effort
Compaction A feature that reduces the context of a long conversation, retaining only the state required for the next turn
Structured outputs A feature that constrains output to follow a specified JSON Schema
JSON mode An output method that guarantees only valid JSON and does not guarantee schema compliance
strict mode An option that constrains responses or tool arguments to match the schema within the supported schema scope. Refusals, output interruptions, and provider-specific exceptions (e.g., enum casing) are handled separately
Semantic validation The stage of verifying whether a well-formed result satisfies business rules such as sums, date sequences, and statuses
Tool calling (function calling) A method in which the model suggests tool names and arguments, and the application executes them
tool_choice An option that determines whether the model uses a tool and which one it targets
Parallel tool calling Requesting multiple tools together in a single response
Reasoning items / thinking blocks Information returned by a reasoning model alongside tool calls. Must be returned as received in the subsequent request
Excessive agency The risk that model output leads to harmful actions due to more functionality, permissions, or autonomy than necessary (OWASP LLM06)
TTFT The time from request until the first output chunk arrives
p95 The threshold value where the slowest 5% begins when measurements are sorted
Prompt caching A feature that reuses processing results from the prefix of a request to reduce input cost and latency. Outputs are newly generated every time
Response cache A cache that returns previously generated answers as-is. If it also matches semantically similar questions, it is a semantic cache
Batch API An API that asynchronously processes bulk requests that do not require an immediate response at a discounted price
Service tier A choice to process requests for the same model more cheaply and slowly, or more expensively and quickly (service_tier, etc.)
Escalation Reprocessing with a higher-tier model when a smaller model's result fails validation
Cost per task The sum of call, retry, and inspection costs divided by the number of tasks that passed quality criteria
Unknown outcome A state where it cannot be known whether the operation was executed on the server because no response was received
Rate limit The limit of requests or tokens permitted over a given period (RPM, ITPM, OTPM, TPM, etc.)
Token bucket A rate-limiting method where capacity is continuously refilled rather than reset at fixed times
Spend limit An upper limit on usage expenditure over a set period (e.g., monthly). Once reached, retries cannot resolve it
Exponential backoff A method that exponentially increases wait time with each retry
Idempotency The property where sending the same request multiple times produces the same result as sending it once
Idempotency key A unique value per unit of work attached to a request to ensure the same operation is processed only once. The same key is used for retries of the same operation
Quarantine queue A queue (dead letter queue) that moves repeatedly failing inputs aside so they do not block other tasks
Circuit breaker A mechanism that pauses calls and routes them to an alternative path when the failure rate is high
Bulkhead A design that partitions concurrent execution resources by feature to prevent failures from spreading
Success criteria Specific, measurable, achievable passing conditions relevant to the objective
Evaluation set A fixed bundle of inputs, expected outcomes, and scoring methods used to compare quality before and after changes under the same criteria
Rubric A criteria table followed by an LLM or human when grading
Model snapshot A specific model version whose behavior is fixed
Configuration bundle A unit that manages model ID, prompt/schema/tool versions, parameters, and SDK version together
Request ID A unique identifier attached by the provider to each response. In the Claude API, this is the request-id header
Pseudonymization Processing that deletes or replaces part of personal information so that a specific individual cannot be identified without additional information (Article 2 of the Personal Information Protection Act (PIPA))
ZDR Zero data retention contract. The scope of coverage varies by provider and feature