GoodPrompts
Main navigation

Glossary

Core concepts

Token

A unit produced by a model's tokenizer. It may represent part of a word, punctuation or other content. Count with the actual tokenizer when estimating limits and usage.

Context window

The input and response capacity available to a model in a request, subject to provider-specific accounting. A large window permits more material but does not prove that every passage is used correctly.

System prompt

Durable application instructions supplied through a supported system or developer channel. Message roles and priority rules vary by provider; a label inside ordinary text does not create such a channel.

Zero-shot prompting

Giving a task instruction without example input-output pairs. It is a useful baseline before adding examples; quality still depends on task clarity and model capability.

Few-shot prompting

Including a small set of example inputs and accepted outputs to demonstrate behavior. Diverse boundary cases often teach a more useful rule than repeated ordinary examples.

Parameter count

The number of learned numerical values in a model. It helps describe model scale and memory needs, but does not determine quality by itself.

Edge model size

A practical description of models intended for constrained devices. Whether one fits depends on memory, quantization, runtime, context length and the device's actual workload.

Mixture of Experts (MoE)

An architecture that routes computation through selected expert components. Total and active parameter counts describe different quantities; serving memory is not necessarily proportional only to the active count.

Quantization

Representing model values at reduced numerical precision. It can reduce memory use, with speed and quality effects that depend on hardware, method and task.

Model routing

Selecting a model or execution path for each request using task requirements and measured performance. Routing rules should include failure and uncertain-case handling.

Open-weight model

A model with downloadable weights. The specific license determines permitted uses; published weights alone do not imply that code, data and training procedures are all open source.

Reasoning and effort

Chain of thought (CoT)

A written sequence of intermediate reasoning steps. It is distinct from a model's internal computation, and its length or plausibility does not establish that the final answer is correct.

Reasoning effort

A model-specific setting controlling aspects of reasoning work. Supported values and tradeoffs vary; configure it in the actual API rather than assuming prose activates it.

Adaptive thinking

A Claude capability that lets supported models adapt their thinking to the task and configuration. Check the chosen model's documentation for compatible controls.

Extended thinking

A provider feature that allocates additional reasoning before a response. Availability, budget controls and interaction with adaptive thinking depend on the model version.

Thinking budget / thinking level

Provider-specific controls for reasoning allocation. Budget and level are different interfaces, and supported values must be checked for the exact model.

Output and structure

Structured outputs

An API or serving feature that constrains response structure according to a supported schema. Validate the values and handle incomplete or refused responses separately.

Schema-constrained output

Output shaped by declared fields, types and allowed values using an enforcing interface. The provider may support only part of JSON Schema; a prose example is not equivalent enforcement.

Prefill

Providing the beginning of an assistant response for a model to continue. Support varies across models; use a supported output contract instead when prefill is unavailable.

Delimiters / XML tags

Markers that separate instructions, examples and source material. They organize content but are not access controls and cannot independently prevent prompt injection.

Retrieval-augmented generation (RAG)

Generating an answer with material retrieved from an external collection. Quality depends on retrieval coverage, source quality and whether the response accurately uses the retrieved passages.

Chat template

The model-specific serialization of roles and messages into the token sequence consumed by a chat model. Use the tokenizer or serving framework's correct template for the chosen model.

Agents and tool use

Tool use / function calling

A mechanism for a model to propose calls to application-defined operations. The host validates and executes calls; the proposal itself is not evidence that an action succeeded.

Agentic workflow

A loop in which a model chooses a step, uses tools, observes results and adjusts its next step. Clear authority, stopping conditions and evidence-based reporting help make it reviewable.

Subagent

A delegated model instance working on a bounded part of a task. Its context, tools and outputs may differ from the parent; delegation requires a clear handoff and integration check.

Risk and reliability

Hallucination

An unsupported or false generated claim, which may sound convincing. Ground claims in accessible evidence, allow unknown answers and verify important assertions independently.

Prompt injection

An attempt to make untrusted input act as instructions that redirect the assistant. Separate trusted instructions from external content and enforce permissions outside the model.