Understand Step parameter differences and usage across compatible protocols.
For Step models, adjust your chosen protocol's parameters using this page. See Chat Completions, Responses and Messages for full request and response structures.
Step extension, default general, which returns reasoning through reasoning; use deepseek-style to read reasoning_content
Reasoning fields in responses
Read from choices[].message in non-streaming responses and choices[].delta in streams; when reasoning and reasoning_content are both returned, they contain the same text, so do not append both
max_tokens
Use this field to set the output budget; both models have a 64K output limit
tools[].type
Use function; neither model supports the built-in web_search tool
Both models cache prefixes in blocks of 256 tokens; inputs shorter than 256 tokens cannot hit the cache. Keep prefixes and media content identical across repeated requests
Chat: usage.cached_tokens
Number of cached input tokens; a value greater than 0 indicates a hit
Replace MODEL_ID with the full model ID available at your chosen protocol endpoint and use your own API Key. All three examples use the low effort supported by both models.
curl 'https://api.agtcloud.cn/v1/chat/completions' \ -H 'Authorization: Bearer your-api-key' \ -H 'Content-Type: application/json' \ --data '{ "model": "MODEL_ID", "messages": [{"role": "user", "content": "Explain how to troubleshoot an API timeout in three points"}], "reasoning_effort": "low", "reasoning_format": "general", "max_tokens": 4096 }'