Understand Doubao parameter differences and usage across compatible protocols.
For Doubao models, adjust your chosen protocol's parameters using this page. See Chat Completions, Responses and Messages for full request and response structures.
Supports enabled/disabled; thinking is enabled by default
reasoning_effort
Default: high; effective levels: low/medium/high; minimal disables thinking. Compatibility values map none to minimal and xhigh/max to high
max_tokens
Default: 4096; limits the final answer only, excluding thinking; not a combined budget
max_completion_tokens
Includes thinking and the final answer; the official Chat field range is 1~65536. Mutually exclusive with max_tokens; do not use the model's advertised maximum output as this field's limit
temperature, top_p
Ranges: [0,2] and [0,1], respectively; the fixed-temperature 1 rule from some old Seed 2.0 versions does not apply
frequency_penalty, presence_penalty
Unsupported by Seed 2.0 and later; a capability limitation, not official deprecation
stop, logprobs
The vendor does not support these by default on deep-thinking models; none of these three models is a listed exception
reasoning_content, encrypted_content
Returns a thinking summary and encrypted original by default. Replay encrypted_content unchanged for multi-turn tools; summaries cannot replace it. If both are supplied, encrypted content takes precedence
stream_options.chunk_include_usage
Default: false; true returns cumulative usage in each chunk. Do not sum cumulative counts across chunks
stream_options.include_usage
Controls the final total-usage chunk before completion. Lite returns request usage by default; other models require explicit enabling. Cumulative per-chunk usage and final total usage are separate settings
response_format
Supports json_object/json_schema, with the vendor's Beta designation; strict: true constrains the supported Schema subset, not every JSON Schema keyword
Optional in the vendor API, unlike Claude's required field; the examples still explicitly set the output budget
output_config.effort
Controls thinking effort using model defaults and compatibility mappings; do not move Chat's top-level field into this request
output_format
Top-level extension supporting text/json_object/json_schema; put the Schema in output_format.schema, not Claude's output_config.format
temperature, top_p
Ranges: [0,2] and [0,1], respectively, including valid top_p: 0
stop_sequences
The general field accepts a string or array, but the vendor does not support it by default for deep-thinking models. A listed field alone does not guarantee stop behavior
Historical thinking blocks
Replay returned thinking and signature completely, keeping values and block order unchanged; do not fabricate signatures or reconstruct history from summaries
Chat / Responses enable it automatically and cannot disable it; matching prefixes need at least 1024 Token on these models, without guaranteeing hits
prompt_cache_key
Chat / Responses cache-routing hint; keep it stable within a conversation. The same key does not guarantee a fixed instance or a cache hit
Responses caching
Native explicit-cache extension enabled by type: "enabled"; prefix: true writes only a prefix without generating a response, while false generates and writes cache normally
caching combination restrictions
Cannot combine with instructions or non-Function tools; do not reuse another vendor's TTL or Session Header
Cache usage
Chat: inspect usage.prompt_tokens_details.cached_tokens; Responses: usage.input_tokens_details.cached_tokens; Messages: returned usage.cache_read_input_tokens and usage.cache_creation_input_tokens