You may send any parameters from the list below, as well as others, to Anannas. Anannas will default to the values listed below if certain parameters are absent from your request (for example,
temperature
to 1.0). We will also transmit some provider-specific parameters, such as safe_prompt
for Mistral or raw_mode
for Hyperbolic directly to the respective providers if specified.
This page lists the request parameters you can send to /chat/completions
.
If a parameter is unsupported by the selected provider, it will be ignored.
Please check the documentation for the specific model/provider to confirm which parameters are supported.
Universal Parameters
Temperature- Key:
temperature
- float, 0.0 – 2.0
- Default:
1.0
- Key:
top_p
- float, 0.0 – 1.0
- Default:
1.0
- Key:
max_tokens
- integer ≥ 1
- Key:
stop
- string or array of strings
Stops generation when matched.
OpenAI-specific
Tools- Key:
tools
- Supports OpenAI tool calling API.
- Key:
tool_choice
"none" | "auto" | "required" | {object}"
- Key:
parallel_tool_calls
- Default:
true
- Key:
response_format
{ "type": "json_object" }
→ JSON output
- Key:
logit_bias
- Bias token selection by ID.
- Key:
seed
- Enables deterministic outputs (when supported).
Anthropic-specific
system
messages must be passed in the rootsystem
field (not insidemessages
).- No
logit_bias
support. response_format
is not yet supported — JSON enforcement must be done via prompt instructions.
Was this page helpful?