For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
  • About NVIDIA NeMo Relay
    • Overview
    • Architecture
    • Ecosystem
    • Concepts
    • Release Notes
  • Getting Started
    • Agent Runtime Primer
    • Prerequisites
    • Installation
    • Configuration / Setup
    • Quick Start
  • NVIDIA NeMo Relay CLI
    • About
    • Basic Usage
    • Claude Code
    • Codex
    • Cursor
    • Hermes Agent
  • Supported Integrations
    • About
    • OpenClaw Plugin Guide
    • LangChain Integration Guide
    • LangGraph Integration Guide
    • Deep Agents Integration Guide
  • Instrument Applications
    • About
    • Adding Scopes and Marks
    • Instrument a Tool Call
    • Instrument an LLM Call
    • Add Middleware
    • Code Examples
  • Observability Plugin
    • About
    • Configuration
    • Agent Trajectory Interchange Format (ATIF)
    • Agent Trajectory Observability Format (ATOF)
    • OpenTelemetry
    • OpenInference
  • Adaptive Plugin
    • About
    • Configuration
    • Adaptive Cache Governor (ACG)
    • Adaptive Hints
  • NeMo Guardrails Plugin
    • About
    • Configuration
  • Integrate into Frameworks
    • About
    • Adding Scopes
    • Wrap Tool Calls
    • Wrap LLM Calls
    • Handle Non-Serializable Data
    • Using Codecs
    • Provider Codecs
    • Provider Response Codecs
    • Code Examples
  • Build Plugins
    • About
    • Define a Plugin
    • Validate Plugin Configuration
    • Plugin Configuration Files
    • Register Plugin Behavior
    • Design Plugin Configuration
    • NeMo Guardrails Example Plugin
    • Code Examples
  • Contribute
    • About
    • Development Setup
    • Workflow and Reviews
    • Testing and Documentation
  • Reference
    • APIs
      • Python Library Reference
      • Node.js Library Reference
      • Rust Library Reference
        • nemo-relay
        • nemo-relay-adaptive
          • acg
            • anthropic_plugin
            • canonicalize
            • capability
              • BackendCapabilities
              • CacheEconomics
              • CapabilityRegistry
              • ModelFamilyCapabilities
              • ProviderFeature
            • ir_builder
            • openai_plugin
            • passthrough
            • plugin
            • plugin_registry
            • policy
            • profile
            • prompt_ir
            • retention
            • stability
            • telemetry
            • types
            • variable_extractor
            • error
            • MIN_ACG_OBSERVATIONS
          • acg_component
          • acg_learner
          • acg_profile
          • adaptive_hints_intercept
          • cache_diagnostics
          • config
          • context_helpers
          • drain
          • error
          • intercepts
          • learner
          • plugin_component
          • redis
          • storage
          • subscriber
          • tool_parallelism_learner
          • trie
          • types
          • AdaptiveRuntime
        • nemo-relay-ffi
    • Performance
  • Resources
    • Support and FAQs
    • Glossary
    • Troubleshooting Guide
    • Community
    • Legal
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogo
On this page
  • Fields
  • model_family: String
  • supported_features: HashSet<ProviderFeature>
  • max_cache_breakpoints: Option<u32>
  • min_cacheable_tokens: Option<u32>
  • cache_economics: Option<CacheEconomics>
  • Implementations
  • impl ModelFamilyCapabilities
  • supports
  • Trait Implementations
  • impl Clone for ModelFamilyCapabilities
  • clone
  • clone_from
  • impl Debug for ModelFamilyCapabilities
  • fmt
  • impl<'de> Deserialize<'de> for ModelFamilyCapabilities
  • deserialize
  • impl PartialEq for ModelFamilyCapabilities
  • eq
  • ne
  • impl Serialize for ModelFamilyCapabilities
  • serialize
  • impl StructuralPartialEq for ModelFamilyCapabilities
ReferenceAPIsRust Library Referencenemo-relay-adaptiveacgcapability

Struct Model Family Capabilities

||View as Markdown|
Previous

Struct Capability Registry

Next

Enum Provider Feature

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub struct ModelFamilyCapabilities {
    pub model_family: String,
    pub supported_features: HashSet<ProviderFeature>,
    pub max_cache_breakpoints: Option<u32>,
    pub min_cacheable_tokens: Option<u32>,
    pub cache_economics: Option<CacheEconomics>,
}

Per-model-family capability overrides within a backend.

Some features vary by model within the same backend (e.g., Claude 3.5 Sonnet supports 4 cache breakpoints while older models support fewer).

Fields

model_family: String

Model family identifier (e.g., “claude-3.5-sonnet”, “gpt-4o”).

supported_features: HashSet<ProviderFeature>

Features supported by this model family.

max_cache_breakpoints: Option<u32>

Maximum number of cache breakpoints (if applicable).

min_cacheable_tokens: Option<u32>

Minimum tokens required for a block to be cacheable.

cache_economics: Option<CacheEconomics>

Provider/model-specific cache economics for explicit cache planning.

Implementations

impl ModelFamilyCapabilities

impl ModelFamilyCapabilities

supports

pub fn supports(&self, feature: ProviderFeature) -> bool

Check if this model family supports a specific feature.

Trait Implementations

impl Clone for ModelFamilyCapabilities

impl Clone for ModelFamilyCapabilities

clone

fn clone(&self) -> ModelFamilyCapabilities

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for ModelFamilyCapabilities

impl Debug for ModelFamilyCapabilities

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for ModelFamilyCapabilities

impl<'de> Deserialize<'de> for ModelFamilyCapabilities

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl PartialEq for ModelFamilyCapabilities

impl PartialEq for ModelFamilyCapabilities

eq

fn eq(&self, other: &ModelFamilyCapabilities) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for ModelFamilyCapabilities

impl Serialize for ModelFamilyCapabilities

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for ModelFamilyCapabilities

impl StructuralPartialEq for ModelFamilyCapabilities