Parameters
CamelStep unifies parameters across providers where possible, but also supports provider-specific parameters for fine-grained control.
Common Parameters
modelID of the model to use. e.g. "google/gemini-3.0-flash".
messagesA list of messages comprising the conversation so far.
temperatureSampling temperature between 0 and 2. Higher values like 0.8 make output more random.
max_tokensThe maximum number of tokens to generate in the completion.
streamIf set to true, tokens will be sent as data-only Server-Sent Events.
Google Gemini
Official DocstopPThe maximum cumulative probability of tokens to consider when sampling.
topKThe maximum number of tokens to consider when sampling.
candidateCountNumber of generated responses to return. Maps to "n" in OpenAI SDK.
Anthropic Claude
Official Docsmax_tokensThe maximum number of tokens to generate. Unlike other providers, this is often required.
systemA system prompt to provide context to the model. Can also be passed as a message with role "system".
stop_sequencesCustom text sequences that will cause the model to close generation.
OpenAI
Official Docsfrequency_penaltyNumber between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text.
presence_penaltyNumber between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far.
logit_biasModify the likelihood of specified tokens appearing in the completion.
seedIf specified, the system will make a best effort to sample deterministically.