Store Chat Messages & State Without Managing Infrastructure.Check Out DialogueDB
Skip to content
OptionTypeDefaultDescription
anthropicApiKeystringundefinedAPI key for Anthropic. Optionally can be set using process.env.ANTHROPIC_API_KEY
modelstringThe model to use. Must be specified when using anthropic.chat.v1.
temperaturenumberundefinedMaps to temperature. See Anthropic Docs
maxTokensnumber4096Maps to max_tokens. See Anthropic Docs
topPnumberundefinedMaps to top_p. See Anthropic Docs
topKnumberundefinedMaps to top_k. See Anthropic Docs
stopSequencesarrayundefinedMaps to stop_sequences. See Anthropic Docs
streambooleanundefinedNote: Not supported yet.
metadataobjectundefinedMaps to metadata. See Anthropic Docs
serviceTierstringundefinedMaps to service_tier. See Anthropic Docs

NOTE

Sampling parameter restrictions: claude-opus-4-7 rejects requests that include temperature, topP, or topK — llm-exe silently drops these for that model. For other Claude 4.x models, topP is silently dropped when temperature is also set, because the Anthropic API does not allow both simultaneously.

Anthropic Docs: link