modelparams.dev

Every API parameter,
for every model.

An open, community-maintained catalog of LLM API parameters, scoped to the API surface your SDK calls. Choose a surface, then browse the exact request fields each model accepts.

Access type

Providers

Parameters

499 of 499 model surfaces

Alibaba

DeepSeek v3.2 Chat Completions Retired 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
DeepSeek v4 Flash Chat Completions Retired 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
DeepSeek v4 Flash 0731 Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
DeepSeek v4 Pro Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
DeepSeek v4 Pro 0813 Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
DeepSeek v4.1 Flash Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
DeepSeek v4.1 Flash 1017 Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
GLM-5.1 Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
GLM-5.2 Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
GLM-5.2 Fast Preview Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
GLM-5.3 Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
GLM-5.3 Prime Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Kimi K2.7 Code Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Kimi K3 Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Pre Mock_new_gateway_session_affinity Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qvq Max Chat Completions Retired 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen Coder Plus Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Flash Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Flash Character Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Max Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Plus Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Plus Character Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Plus Latest Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Turbo Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Vl Max Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen Vl Plus Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 14B Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 235B A22B Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 235B A22B Instruct 2507 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 235B A22B Thinking 2507 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 30B A3B Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 30B A3B Instruct 2507 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 30B A3B Thinking 2507 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 8B Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Coder 480B A35B Instruct Chat Completions Retired 4 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Qwen3 Coder Flash Chat Completions 4 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Qwen3 Coder Next Chat Completions Retired 4 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Qwen3 Coder Plus Chat Completions Deprecated 4 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Qwen3 Max Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Max Preview Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Next 80B A3B Instruct Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Next 80B A3B Thinking Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Omni Flash Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Omni Flash 2025-09-15 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Omni Flash 2025-12-01 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Vl 235B A22B Instruct Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Vl 235B A22B Thinking Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Vl Flash Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Vl Flash 2026-01-22 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Vl Plus Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Vl Plus 2025-09-23 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3 Vl Plus 2025-12-19 Chat Completions Retired 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean false Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 122B A10B Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 27B Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 35B A3B Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 397B A17B Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Flash Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Omni Flash Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Omni Flash 2026-03-15 Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Omni Plus Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Omni Plus 2026-03-15 Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Plus Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Plus 2026-02-15 Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.5 Plus 2026-04-20 Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —
Reasoning 1 param
Parameter Type Default Description Condition
Enable thinking
extra_body.chat_template_kwargs.enable_thinking
boolean true Controls Qwen3 thinking mode when using OpenAI-compatible clients that pass provider-specific extra body fields. —
Qwen3.6 27B Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.6 35B A3B Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.6 Flash Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.6 Max Preview Chat Completions Deprecated 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.6 Plus Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.7 Flash Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.7 Max Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.7 Max Preview Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.7 Plus Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.8 2.4t A95B Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.8 27B Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.8 Flash Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.8 Max Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.8 Max 0902 Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
Qwen3.8 Omni Flash Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of tokens to generate, including both reasoning and the final answer. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (0…+∞) 20 Limits generation to the selected number of highest-probability tokens. Values above 100 disable top-k sampling. —
Reasoning 2 params
Parameter Type Default Description Condition
Enable thinking
extra_body.enable_thinking
boolean true Toggles the model's hybrid thinking mode, sent as a provider-specific extra body field on OpenAI-compatible clients. —
Thinking budget
extra_body.thinking_budget
integer (1…+∞) — Maximum number of tokens the model may spend on reasoning before it starts the final answer; defaults to the model's maximum reasoning length.
Only when extra_body.enable_thinking = true
QwQ Plus Chat Completions Retired 4 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.9 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
extra_body.top_k
integer (1…+∞) 20 Limits generation to the selected number of highest-probability tokens. —

OpenAI

ChatGPT 4o Latest Chat Completions Retired 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-3.5 Turbo Chat Completions Deprecated 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-3.5 Turbo 0125 Chat Completions 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-3.5 Turbo 1106 Chat Completions Retired 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-3.5 Turbo 16K Chat Completions 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4 Chat Completions Deprecated 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Top P
top_p
number (0…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
Tools 1 param
Parameter Type Default Description Condition
Tool choice
tool_choice
enum (auto | none | required) — Controls whether the model may call tools, must call one, or skips tool calls. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_schema) "text" Controls whether the model returns normal text or a schema-constrained JSON object. —
GPT-4 0613 Chat Completions Deprecated 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4 Turbo Chat Completions Deprecated 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4 Turbo 2024-04-09 Chat Completions Deprecated 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4.1 Chat Completions 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4.1 Mini Chat Completions 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4.1 Nano Chat Completions Deprecated 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4o Chat Completions 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4o 2024-11-20 Chat Completions 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-4o mini Chat Completions 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-5 Chat Completions Deprecated 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (minimal | low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5 Chat Latest Chat Completions Retired 1 param
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
GPT-5 Mini Chat Completions Deprecated 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (minimal | low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5 Nano Chat Completions Deprecated 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (minimal | low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.1 Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high) "none" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.1 Codex Max Responses API Subscription Retired 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (minimal | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.1 Codex Responses API Subscription Retired 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (minimal | low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.2 Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.2 Codex Responses API Subscription Retired 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (minimal | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.2 Pro Chat Completions 1 param
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
GPT-5.2 Responses API Subscription 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (minimal | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.3 Codex Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.3 Codex Spark Responses API Subscription Retired 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (minimal | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.3 Codex Responses API Subscription 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (minimal | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.4 Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.4 Mini Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.4 Mini Responses API Subscription Retired 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (minimal | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.4 Nano Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.4 Pro Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.4 Pro Responses API Subscription 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.4 Responses API Subscription Retired 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (minimal | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.5 Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.5 Pro Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.5 Pro Responses API Subscription 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed | none) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.5 Responses API Subscription 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (none | low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (concise | detailed | auto) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.6 Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "none" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.6 Luna Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "none" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.6 Luna Responses API Subscription 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (none | low | medium | high | xhigh | max) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.6 Sol Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "none" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.6 Sol Responses API Subscription 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (none | low | medium | high | xhigh | max) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-5.6 Terra Chat Completions 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | medium | high | xhigh) "none" Controls how much reasoning the model should perform before producing an answer. —
GPT-5.6 Terra Responses API Subscription 3 params
SDK method responses.create Subscription
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning.effort
enum (none | low | medium | high | xhigh | max) "medium" Controls how much reasoning the model should perform before producing an answer. —
Reasoning summary
reasoning.summary
enum (auto | concise | detailed) "auto" Controls the level of reasoning summary returned with the response. —
Output 1 param
Parameter Type Default Description Condition
Verbosity
text.verbosity
enum (low | medium | high) "medium" Controls how concise or detailed the model's final text response should be. —
GPT-6 Astra Chat Completions Deprecated 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Top P
top_p
number (0…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
Tools 1 param
Parameter Type Default Description Condition
Tool choice
tool_choice
enum (auto | none | required) — Controls whether the model may call tools, must call one, or skips tool calls. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_schema) "text" Controls whether the model returns normal text or a schema-constrained JSON object. —
GPT-6 Luna Chat Completions Deprecated 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 1 param
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-6 Sol Chat Completions Deprecated 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Top P
top_p
number (0…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
Tools 1 param
Parameter Type Default Description Condition
Tool choice
tool_choice
enum (auto | none | required) — Controls whether the model may call tools, must call one, or skips tool calls. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_schema) "text" Controls whether the model returns normal text or a schema-constrained JSON object. —
GPT-6.1 Sol Chat Completions Deprecated 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 1 param
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
GPT-OSS 120B Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Top P
top_p
number (0…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
Tools 1 param
Parameter Type Default Description Condition
Tool choice
tool_choice
enum (auto | none | required) — Controls whether the model may call tools, must call one, or skips tool calls. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_schema) "text" Controls whether the model returns normal text or a schema-constrained JSON object. —
GPT-OSS 20B Chat Completions 6 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Top P
top_p
number (0…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
Tools 1 param
Parameter Type Default Description Condition
Tool choice
tool_choice
enum (auto | none | required) — Controls whether the model may call tools, must call one, or skips tool calls. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_schema) "text" Controls whether the model returns normal text or a schema-constrained JSON object. —
GPT-OSS Safeguard 120B Chat Completions 4 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Top P
top_p
number (0…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model performs when interpreting the provided safety policy before returning a classification. —
GPT-OSS Safeguard 20B Chat Completions 4 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. OpenAI recommends sampling at 1.0. —
Top P
top_p
number (0…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. OpenAI recommends sampling at 1.0. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high) "medium" Controls how much reasoning the model performs when interpreting the provided safety policy before returning a classification. —
o1 Chat Completions Deprecated 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
o1-mini Chat Completions Retired 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (minimal | low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
o1-preview Chat Completions Retired 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (minimal | low | medium | high) "medium" Controls how much reasoning the model should perform before producing an answer. —
o3 Chat Completions Deprecated 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
o3-mini Chat Completions Deprecated 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
o3-pro Chat Completions Deprecated 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —
o4-mini Chat Completions Deprecated 2 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (16…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (low | medium | high | xhigh) "medium" Controls how much reasoning the model should perform before producing an answer. —

Bedrock

Claude Haiku 4.5 Converse API 7 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
additionalModelRequestFields.thinking.type
enum (disabled | enabled) "disabled" Controls Anthropic extended thinking on Bedrock. Bedrock rejects the adaptive mode the first-party Anthropic API accepts, so only disabled and enabled are listed here. —
Budget tokens
additionalModelRequestFields.thinking.budget_tokens
integer (1024…+∞) — Maximum token budget the model may use for extended thinking before producing the final answer. Must be less than inferenceConfig.maxTokens.
Only when additionalModelRequestFields.thinking.type = "enabled"
Claude Opus 4.5 20251101 Converse API 7 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
additionalModelRequestFields.thinking.type
enum (disabled | enabled) "disabled" Controls Anthropic extended thinking on Bedrock. Bedrock rejects the adaptive mode the first-party Anthropic API accepts, so only disabled and enabled are listed here. —
Budget tokens
additionalModelRequestFields.thinking.budget_tokens
integer (1024…+∞) — Maximum token budget the model may use for extended thinking before producing the final answer. Must be less than inferenceConfig.maxTokens.
Only when additionalModelRequestFields.thinking.type = "enabled"
Claude Opus 4.6 Converse API 7 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
additionalModelRequestFields.thinking.type
enum (disabled | enabled) "disabled" Controls Anthropic extended thinking on Bedrock. Bedrock rejects the adaptive mode the first-party Anthropic API accepts, so only disabled and enabled are listed here. —
Budget tokens
additionalModelRequestFields.thinking.budget_tokens
integer (1024…+∞) — Maximum token budget the model may use for extended thinking before producing the final answer. Must be less than inferenceConfig.maxTokens.
Only when additionalModelRequestFields.thinking.type = "enabled"
Claude Sonnet 4.5 Converse API 7 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
additionalModelRequestFields.thinking.type
enum (disabled | enabled) "disabled" Controls Anthropic extended thinking on Bedrock. Bedrock rejects the adaptive mode the first-party Anthropic API accepts, so only disabled and enabled are listed here. —
Budget tokens
additionalModelRequestFields.thinking.budget_tokens
integer (1024…+∞) — Maximum token budget the model may use for extended thinking before producing the final answer. Must be less than inferenceConfig.maxTokens.
Only when additionalModelRequestFields.thinking.type = "enabled"
Claude Sonnet 4.6 Converse API 7 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
additionalModelRequestFields.thinking.type
enum (disabled | enabled) "disabled" Controls Anthropic extended thinking on Bedrock. Bedrock rejects the adaptive mode the first-party Anthropic API accepts, so only disabled and enabled are listed here. —
Budget tokens
additionalModelRequestFields.thinking.budget_tokens
integer (1024…+∞) — Maximum token budget the model may use for extended thinking before producing the final answer. Must be less than inferenceConfig.maxTokens.
Only when additionalModelRequestFields.thinking.type = "enabled"
DeepSeek R1 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
DeepSeek v3.2 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Devstral 2 123B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Gemma 3 12B IT Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Gemma 3 27B IT Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Gemma 3 4B IT Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GLM-4.7 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GLM-4.7 Flash Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GLM-5 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-OSS 120B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-OSS 20B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-OSS Safeguard 120B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
GPT-OSS Safeguard 20B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Kimi K2 Thinking Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Kimi K2.5 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Llama3 1 70B Instruct Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Llama3 1 8B Instruct Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Llama3 3 70B Instruct Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Llama3 70B Instruct Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Llama3 8B Instruct Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Magistral Small 2509 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
MiniMax M2 Converse API 7 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
additionalModelRequestFields.thinking.type
enum (disabled | enabled) "disabled" Controls Anthropic extended thinking on Bedrock. Bedrock rejects the adaptive mode the first-party Anthropic API accepts, so only disabled and enabled are listed here. —
Budget tokens
additionalModelRequestFields.thinking.budget_tokens
integer (1024…+∞) — Maximum token budget the model may use for extended thinking before producing the final answer. Must be less than inferenceConfig.maxTokens.
Only when additionalModelRequestFields.thinking.type = "enabled"
MiniMax M2.1 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
MiniMax M2.5 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Ministral 3 14B Instruct Converse API 7 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
additionalModelRequestFields.thinking.type
enum (disabled | enabled) "disabled" Controls Anthropic extended thinking on Bedrock. Bedrock rejects the adaptive mode the first-party Anthropic API accepts, so only disabled and enabled are listed here. —
Budget tokens
additionalModelRequestFields.thinking.budget_tokens
integer (1024…+∞) — Maximum token budget the model may use for extended thinking before producing the final answer. Must be less than inferenceConfig.maxTokens.
Only when additionalModelRequestFields.thinking.type = "enabled"
Ministral 3 3B Instruct Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Ministral 3 8B Instruct Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Mistral 7B Instruct Converse API 5 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Mistral Large 2402 Converse API 5 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Mistral Large 3 675B Instruct Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Mistral Small 2402 Converse API 5 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Mixtral 8x7b Instruct Converse API 5 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.top_k
integer (0…+∞) — Limits token sampling to the top K most likely next tokens. Converse carries it through additionalModelRequestFields; it is not part of inferenceConfig. —
Nemotron Nano 12B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Nemotron Nano 3 30B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Nemotron Nano 9B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Nemotron Super 3 120B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Nova 2 Lite Converse API 5 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.inferenceConfig.topK
integer (1…+∞) — Limits token sampling to the top K most likely next tokens. Nova nests it under an inferenceConfig object inside additionalModelRequestFields. —
Nova Lite Converse API 5 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.inferenceConfig.topK
integer (1…+∞) — Limits token sampling to the top K most likely next tokens. Nova nests it under an inferenceConfig object inside additionalModelRequestFields. —
Nova Micro Converse API 5 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.inferenceConfig.topK
integer (1…+∞) — Limits token sampling to the top K most likely next tokens. Nova nests it under an inferenceConfig object inside additionalModelRequestFields. —
Nova Pro Converse API 5 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Top K
additionalModelRequestFields.inferenceConfig.topK
integer (1…+∞) — Limits token sampling to the top K most likely next tokens. Nova nests it under an inferenceConfig object inside additionalModelRequestFields. —
Palmyra Vision 7B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Palmyra X4 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Palmyra X5 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Pixtral Large 2502 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Qwen3 32B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Qwen3 Coder 30B A3B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Qwen3 Coder Next Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Qwen3 Next 80B A3B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Qwen3 Vl 235B A22B Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Voxtral Mini 3B 2507 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —
Voxtral Small 24B 2507 Converse API 4 params
SDK method ConverseCommand API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
inferenceConfig.maxTokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Stop sequences
inferenceConfig.stopSequences
string — A list of strings where the model stops generating further tokens. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
inferenceConfig.temperature
number (0…1 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. Bedrock rejects values above 1 for this model. —
Top P
inferenceConfig.topP
number (0…1 step 0.01) — Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value. —

Anthropic

Claude 3.5 Haiku 20241022 Messages API Retired 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Claude 3.5 Haiku Latest Messages API Retired 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Claude 3.5 Sonnet 20241022 Messages API Retired 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Claude 3.5 Sonnet Latest Messages API Retired 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Claude 3.7 Sonnet 20250219 Messages API Retired 6 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude 3.7 Sonnet Latest Messages API Retired 6 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude 3 Opus 20240229 Messages API Retired 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Claude 3 Opus Latest Messages API 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Claude Fable 5 Messages API 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (adaptive) — Only adaptive thinking is supported; omit the parameter entirely to run without thinking (an explicit disabled value is rejected). —
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Fable 5.1 Messages API 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (adaptive) — Only adaptive thinking is supported; omit the parameter entirely to run without thinking (an explicit disabled value is rejected). —
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Fable 5 Messages API Subscription 4 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (adaptive) — Only adaptive thinking is supported; omit the parameter entirely to run without thinking (an explicit disabled value is rejected). —
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Haiku 4 Messages API 6 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Haiku 4.5 Messages API 6 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Haiku 4.5 20251001 Messages API 6 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled" or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled" or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Haiku 4.5 20251001 Messages API Subscription 6 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled" or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled" or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Haiku 4.5 Messages API Subscription 6 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Haiku 4 Messages API Subscription 6 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Haiku 5.5 Messages API 2 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Claude Opus 4.1 20250805 Messages API Deprecated 7 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled" or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled" or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "enabled"
Claude Opus 4.1 20250805 Messages API Subscription Deprecated 7 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled" or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled" or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "enabled"
Claude Opus 4 20250514 Messages API Retired 7 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled"
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled"
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "enabled"
Claude Opus 4 20250514 Messages API Subscription Retired 7 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled"
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled"
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "enabled"
Claude Opus 4.5 20251101 Messages API 8 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled" or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled" or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 4 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "enabled"
Effort
output_config.effort
enum (low | medium | high) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 4.5 20251101 Messages API Subscription 8 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled" or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled" or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 4 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "enabled"
Effort
output_config.effort
enum (low | medium | high) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 4.6 Messages API 8 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"enabled", "adaptive"} or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"enabled", "adaptive"} or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"enabled", "adaptive"}
Reasoning 4 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type ∈ {"adaptive", "enabled"}
Effort
output_config.effort
enum (low | medium | high | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 4.6 Messages API Subscription 8 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"enabled", "adaptive"} or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"enabled", "adaptive"} or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"enabled", "adaptive"}
Reasoning 4 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type ∈ {"adaptive", "enabled"}
Effort
output_config.effort
enum (low | medium | high | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 4.7 Messages API 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 4.7 Messages API Subscription 4 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 4.8 Messages API 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 4.8 Messages API Subscription 4 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 4 Messages API Subscription 6 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Opus 5 Messages API 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive) "adaptive" Controls the Anthropic thinking mode values supported by this model.
Not when output_config.effort ∈ {"xhigh", "max"}
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 5.5 Messages API 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (adaptive) "adaptive" Controls the Anthropic thinking mode values supported by this model. —
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type ∈ {"adaptive", "enabled"}
Effort
output_config.effort
enum (low | medium | high | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Opus 5 Messages API Subscription 4 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive) "adaptive" Controls the Anthropic thinking mode values supported by this model.
Not when output_config.effort ∈ {"xhigh", "max"}
Thinking display
thinking.display
enum (summarized | omitted) "omitted" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Sonnet 4 20250514 Messages API Retired 7 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled"
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled"
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "enabled"
Claude Sonnet 4 20250514 Messages API Subscription Retired 7 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled"
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled"
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "enabled"
Claude Sonnet 4.5 Messages API 6 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Sonnet 4.5 20250929 Messages API 6 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled" or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled" or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Sonnet 4.5 20250929 Messages API Subscription 6 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type = "enabled" or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type = "enabled" or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type = "enabled"
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Sonnet 4.5 Messages API Subscription 6 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Sonnet 4.6 Messages API 8 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"enabled", "adaptive"} or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"enabled", "adaptive"} or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"enabled", "adaptive"}
Reasoning 4 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type ∈ {"adaptive", "enabled"}
Effort
output_config.effort
enum (low | medium | high | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Sonnet 4.6 Messages API Subscription 8 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"enabled", "adaptive"} or top_p ≠ null
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"enabled", "adaptive"} or temperature ≠ null
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"enabled", "adaptive"}
Reasoning 4 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type ∈ {"adaptive", "enabled"}
Effort
output_config.effort
enum (low | medium | high | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Sonnet 4 Messages API Subscription 6 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied.
Not when thinking.type ∈ {"adaptive", "enabled"}
Top P
top_p
number (0…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens whose cumulative probability reaches this value.
Not when thinking.type ∈ {"adaptive", "enabled"} or temperature ≠ 1
Top K
top_k
integer (0…+∞) 0 Limits token sampling to the top K most likely next tokens.
Not when thinking.type ∈ {"adaptive", "enabled"}
Reasoning 2 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive | enabled) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Budget tokens
thinking.budget_tokens
integer (1024…+∞) 4096 Maximum token budget Anthropic may use for extended thinking before producing the final answer.
Only when thinking.type = "enabled"
Claude Sonnet 5 Messages API 4 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Sonnet 5.5 Messages API 2 params
SDK method messages.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 1 param
Parameter Type Default Description Condition
Effort
output_config.effort
enum (low | medium | high | max) "high" Controls Anthropic response thoroughness and token spend. —
Claude Sonnet 5 Messages API Subscription 4 params
SDK method messages.create Subscription
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 4096 Maximum number of output tokens the model may generate. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking mode
thinking.type
enum (disabled | adaptive) "disabled" Controls the Anthropic thinking mode values supported by this model. —
Thinking display
thinking.display
enum (summarized | omitted) "summarized" Controls whether Anthropic returns summarized or omitted thinking content.
Only when thinking.type = "adaptive"
Effort
output_config.effort
enum (low | medium | high | xhigh | max) "high" Controls Anthropic response thoroughness and token spend. —

NVIDIA

DeepSeek v4 Flash 0731 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
DeepSeek v4 Pro 0813 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
Diffusiongemma 26B A4B IT Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Gemma 4 31B IT Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
GLiNER PII Chat Completions 4 params
SDK method chat.completions.create API key
Sampling 1 param
Parameter Type Default Description Condition
Threshold
threshold
number (0…1) 0.5 Confidence threshold for entity detection. Lower values detect more entities but may include false positives. —
Metadata 3 params
Parameter Type Default Description Condition
Chunk length
chunk_length
integer (1…2048) 384 Context window size for processing. Longer texts are automatically split into chunks with overlap for complete coverage. Must be greater than overlap. —
Overlap
overlap
integer (0…512) 128 Token overlap between chunks to prevent entity clipping. Must be less than chunk_length. —
Flat NER
flat_ner
boolean false When true, prevents overlapping entity spans. When false, may return nested entities such as both a full name and its constituent first name. —
GLM-5.3 Flash Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
GPT-OSS 120B Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
GPT-OSS 20B Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
Kimi K3 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
Laguna Xs 2.1 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
Llama 3.1 NemoGuard 8B Topic Control Chat Completions 6 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) 1024 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…2) 0.5 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Llama 3.1 Nemotron Nano 8B v1 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
Llama 3.1 Nemotron Safety Guard 8B v3 Chat Completions 1 param
SDK method chat.completions.create API key
Sampling 1 param
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Llama 3.1 Nemotron Ultra 253B v1 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
Llama 3.2 11B Vision Instruct Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Llama 3.2 90B Vision Instruct Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Llama 3.3 Nemotron Super 49B v1 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
Llama 3.3 Nemotron Super 49B v1.5 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…65536) 65536 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
MiniMax M3 Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
Mistral Nemotron Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Muse Glimmer 30B Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Seed
seed
integer (0…18446744073709552000) 0 Best-effort deterministic sampling seed. Changing the seed produces a different response with similar characteristics. Fix the seed to reproduce results. —
NemoGuard Jailbreak Detect Chat Completions 0 params
SDK method chat.completions.create API key

No parameters documented yet.

Nemotron 3 Nano 30B A3B Chat Completions 5 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…32768) 16384 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (-∞…1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Seed
seed
integer (0…18446744073709552000) — Best-effort deterministic sampling seed. Repeated requests with the same seed and parameters should return the same result. —
Nemotron 3 Nano Omni 30B A3B Reasoning Chat Completions 3 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…32768) 16384 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (-∞…1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Nemotron 3 Super 120B A12B Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…32768) 16384 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (-∞…1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Seed
seed
integer (0…18446744073709552000) — Best-effort deterministic sampling seed. Repeated requests with the same seed and parameters should return the same result. —
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | high) "high" Controls the reasoning mode. 'none' disables reasoning tokens, 'low' enables low-effort reasoning, and 'high' enables full reasoning. —
Reasoning budget
reasoning_budget
integer (-1…32768) 16384 Maximum number of tokens the model may use for internal reasoning before being forced to end the reasoning trace. Use -1 to disable budget enforcement. —
Nemotron 3 Ultra 550B A55B Chat Completions 7 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…32768) 16384 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (-∞…1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Seed
seed
integer (0…18446744073709552000) — Best-effort deterministic sampling seed. Repeated requests with the same seed and parameters should return the same result. —
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | medium | high) "high" Controls the reasoning mode. 'none' disables reasoning tokens, 'medium' enables efficient reasoning, and 'high' enables full reasoning. —
Reasoning budget
reasoning_budget
integer (-1…32768) 16384 Maximum number of tokens the model may use for internal reasoning before being forced to end the reasoning trace. Use -1 to disable budget enforcement. —
Nemotron 3 Ultra Chat Completions Subscription 6 params
SDK method chat.completions.create Subscription
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…32768) 16384 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (-∞…1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | medium | high) "high" Controls the reasoning mode. 'none' disables reasoning tokens, 'medium' enables efficient reasoning, and 'high' enables full reasoning. —
Reasoning budget
reasoning_budget
integer (-1…32768) 16384 Maximum number of tokens the model may use for internal reasoning before being forced to end the reasoning trace. Use -1 to disable budget enforcement. —
Nemotron 3.5 Lightning 30B A3B Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…32768) 16384 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (-∞…1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | high) "high" Controls the reasoning mode. 'none' disables reasoning tokens, 'low' enables low-effort reasoning, and 'high' enables full reasoning. —
Reasoning budget
reasoning_budget
integer (-1…32768) 16384 Maximum number of tokens the model may use for internal reasoning before being forced to end the reasoning trace. Use -1 to disable budget enforcement. —
Nemotron 3.5 Super Vl 120B A12B Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…32768) 16384 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (-∞…1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Reasoning 2 params
Parameter Type Default Description Condition
Reasoning effort
reasoning_effort
enum (none | low | high) "high" Controls the reasoning mode. 'none' disables reasoning tokens, 'low' enables low-effort reasoning, and 'high' enables full reasoning. —
Reasoning budget
reasoning_budget
integer (-1…32768) 16384 Maximum number of tokens the model may use for internal reasoning before being forced to end the reasoning trace. Use -1 to disable budget enforcement. —
Nemotron Content Safety Reasoning 4B Chat Completions 5 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…32768) 16384 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number (-∞…1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Seed
seed
integer (0…18446744073709552000) — Best-effort deterministic sampling seed. Repeated requests with the same seed and parameters should return the same result. —
Nemotron Mini 4B Instruct Chat Completions 6 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…4096) 1024 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.2 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.7 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Riva Translate 4B Instruct v1.1 Chat Completions 6 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…4096) 512 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Stop
stop
string — A string or list of strings where the API will stop generating further tokens. The returned text will not contain the stop sequence. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.9 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
Step 5 Preview Chat Completions 5 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…16384) 4096 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.6 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Frequency penalty
frequency_penalty
number (-2…2) 0 Penalizes new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. —
Presence penalty
presence_penalty
number (-2…2) 0 Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. —
USDCode Llama 3.1 70B Instruct Chat Completions 4 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…2048) 1024 Maximum number of tokens to generate. Generation stops when this limit is reached. —
Sampling 2 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1) 0.1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Not recommended to modify both temperature and top_p in the same call. —
Top P
top_p
number (-∞…1) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. Not recommended to modify both temperature and top_p in the same call. —
Metadata 1 param
Parameter Type Default Description Condition
Expert type
expert_type
enum (auto | code | knowledge | helperfunction) "auto" The type of expert to use. 'knowledge' answers with USD knowledge, 'code' responds with vanilla OpenUSD code, 'helperfunction' uses high-level helper functions, and 'auto' lets the LLM determine which expert to use. —

Google

Gemini 2.5 Flash Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer (-1…24576) -1 Number of thinking tokens Gemini should use; 0 disables thinking and -1 uses dynamic thinking. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 2.5 Flash Lite Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer 0 Number of thinking tokens Gemini should use; -1 uses dynamic thinking, 0 disables thinking, and fixed budgets start at 512 tokens. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 2.5 Flash Lite Generate content Subscription 8 params
SDK method models.generateContent Subscription
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer 0 Number of thinking tokens Gemini should use; -1 uses dynamic thinking, 0 disables thinking, and fixed budgets start at 512 tokens. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 2.5 Flash Generate content Subscription 8 params
SDK method models.generateContent Subscription
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer (-1…24576) -1 Number of thinking tokens Gemini should use; 0 disables thinking and -1 uses dynamic thinking. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 2.5 Pro Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer (128…32768) — Maximum number of thinking tokens Gemini should use before producing the final answer. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 2.5 Pro Generate content Subscription 8 params
SDK method models.generateContent Subscription
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer (128…32768) — Maximum number of thinking tokens Gemini should use before producing the final answer. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3 Flash Preview Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "minimal" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3 Flash Preview Generate content Subscription 8 params
SDK method models.generateContent Subscription
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "high" Controls Gemini 3 Flash reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.1 Flash Lite Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "minimal" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.1 Flash Lite Preview Generate content Retired 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "minimal" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.1 Flash Lite Preview Generate content Subscription Retired 8 params
SDK method models.generateContent Subscription
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "high" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.1 Flash Lite Generate content Subscription 8 params
SDK method models.generateContent Subscription
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "minimal" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.1 Pro Preview Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (low | medium | high) "low" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.1 Pro Preview Customtools Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (low | medium | high) "low" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.1 Pro Preview Generate content Subscription 8 params
SDK method models.generateContent Subscription
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (low | high) "high" Controls Gemini 3 Pro reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.5 Flash Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "medium" Controls Gemini 3.5 Flash reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.5 Flash Lite Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "medium" Controls Gemini 3.5 Flash reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.6 Flash Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "minimal" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.7 Flash Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (low | medium | high) "low" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 3.8 Flash Generate content Retired 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | low | medium | high) "minimal" Controls Gemini 3.1 Flash-Lite reasoning effort. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini 4 Argon Generate content 7 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer 0 Number of thinking tokens Gemini should use; -1 uses dynamic thinking, 0 disables thinking, and fixed budgets start at 512 tokens. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemini Flash Latest Generate content 8 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 2 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer 0 Number of thinking tokens Gemini should use; -1 uses dynamic thinking, 0 disables thinking, and fixed budgets start at 512 tokens. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemma 3 12B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate; output shares the 128K context window with the input. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —
Gemma 3 1B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…32768) — Maximum number of output tokens the model may generate; output shares the 32K context window with the input. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —
Gemma 3 27B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate; output shares the 128K context window with the input. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —
Gemma 3 4B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…131072) — Maximum number of output tokens the model may generate; output shares the 128K context window with the input. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —
Gemma 3n E2B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…32768) — Maximum number of output tokens the model may generate; output shares the 32K context window with the input. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —
Gemma 3n E4B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…32768) — Maximum number of output tokens the model may generate; output shares the 32K context window with the input. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —
Gemma 4 12B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Google's standardized Gemma 4 sampling uses 1.0. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —
Gemma 4 26B A4B IT Generate content 9 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer 0 Number of thinking tokens Gemini should use; -1 uses dynamic thinking, 0 disables thinking, and fixed budgets start at 512 tokens. —
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | high) — Toggles Gemma 4 reasoning; high enables thinking and minimal disables it. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemma 4 31B IT Generate content 9 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max output tokens
generationConfig.maxOutputTokens
integer (1…65536) — Maximum number of tokens to include in a response candidate. —
Sampling 4 params
Parameter Type Default Description Condition
Temperature
generationConfig.temperature
number (0…2 step 0.1) 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
generationConfig.topP
number (0…1 step 0.01) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
generationConfig.topK
integer (0…+∞) 64 Limits token sampling to the top K most likely next tokens. —
Seed
generationConfig.seed
integer — Optional seed used for decoding when reproducible sampling is desired. —
Reasoning 3 params
Parameter Type Default Description Condition
Thinking budget
generationConfig.thinkingConfig.thinkingBudget
integer 0 Number of thinking tokens Gemini should use; -1 uses dynamic thinking, 0 disables thinking, and fixed budgets start at 512 tokens. —
Thinking level
generationConfig.thinkingConfig.thinkingLevel
enum (minimal | high) — Toggles Gemma 4 reasoning; high enables thinking and minimal disables it. —
Include thoughts
generationConfig.thinkingConfig.includeThoughts
boolean false Controls whether Gemini returns available thought summaries in the response parts. —
Output 1 param
Parameter Type Default Description Condition
Response MIME type
generationConfig.responseMimeType
enum (text/plain | application/json) "text/plain" MIME type for generated text candidates. —
Gemma 4 E2B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Google's standardized Gemma 4 sampling uses 1.0. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —
Gemma 4 E4B IT Generate content 4 params
SDK method models.generateContent API key
Length 1 param
Parameter Type Default Description Condition
Max completion tokens
max_completion_tokens
integer (1…+∞) — Maximum number of output tokens the model may generate. —
Sampling 3 params
Parameter Type Default Description Condition
Temperature
temperature
number 1 Controls randomness. Lower values make outputs more focused; higher values make them more varied. Google's standardized Gemma 4 sampling uses 1.0. —
Top P
top_p
number (0…1) 0.95 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Top K
top_k
integer (0…+∞) 64 Limits generation to the selected number of highest-probability tokens. —

Mistral

Codestral 2508 Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Codestral Latest Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Devstral 2512 Chat Completions Retired 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Devstral Latest Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
GLM-5.2 Chat Completions 10 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Reasoning 1 param
Parameter Type Default Description Condition
Prompt mode
prompt_mode
enum (reasoning) — Enables Mistral's reasoning system prompt; leave unset to disable the default reasoning behavior. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Magistral Medium Latest Chat Completions 10 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Reasoning 1 param
Parameter Type Default Description Condition
Prompt mode
prompt_mode
enum (reasoning) — Enables Mistral's reasoning system prompt; leave unset to disable the default reasoning behavior. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Magistral Small Latest Chat Completions 10 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Reasoning 1 param
Parameter Type Default Description Condition
Prompt mode
prompt_mode
enum (reasoning) — Enables Mistral's reasoning system prompt; leave unset to disable the default reasoning behavior. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Ministral 14B 2512 Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Ministral 14B Latest Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Ministral 3B 2512 Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Ministral 3B Latest Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Ministral 8B 2512 Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Ministral 8B Latest Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Code Latest Chat Completions 7 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Large 2512 Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Large 4 Chat Completions 7 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0.1…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Large 4.0 Chat Completions 7 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0.1…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Large Latest Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Medium Chat Completions 7 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Medium 2604 Chat Completions 7 params
SDK method chat.completions.create API key
Length 1 param
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Medium 3 Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Medium 3.5 Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Medium Latest Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —
Metadata 1 param
Parameter Type Default Description Condition
Safe prompt
safe_prompt
boolean false Controls whether Mistral injects its safety prompt before the conversation. —
Mistral Small 2603 Chat Completions 9 params
SDK method chat.completions.create API key
Length 2 params
Parameter Type Default Description Condition
Max tokens
max_tokens
integer (1…+∞) — Maximum number of tokens to generate in the completion. —
Stop sequence
stop
string — Stops generation when this string is detected. —
Sampling 5 params
Parameter Type Default Description Condition
Temperature
temperature
number (0…1.5 step 0.1) — Controls randomness. Lower values make outputs more focused; higher values make them more varied. —
Top P
top_p
number (0.01…1 step 0.01) 1 Controls nucleus sampling by limiting generation to tokens within the selected cumulative probability. —
Random seed
random_seed
integer (0…+∞) — Seed used for deterministic sampling when reproducible outputs are desired. —
Presence penalty
presence_penalty
number (-2…2 step 0.1) 0 Penalizes repeated words or phrases to encourage a wider variety of generated content. —
Frequency penalty
frequency_penalty
number (-2…2 step 0.1) 0 Penalizes words based on how often they already appear in the generated text. —
Output 1 param
Parameter Type Default Description Condition
Response format
response_format.type
enum (text | json_object | json_schema) "text" Controls whether the model returns normal text or JSON mode output. —