Class MessageCountTokensParams.Speed

  • All Implemented Interfaces:
    com.anthropic.core.Enum

    
    public final class MessageCountTokensParams.Speed
     implements Enum
                        

    The inference speed mode for this request. "fast" enables high output-tokens-per-second inference.

    Some models require the fast-mode-2026-02-01 beta header for any speed value. See fast mode for which models.