Anthropic output_config: effort low to max, and a JSON format for structured output
@devsingh05▲ 4 net votes
messages.create takes output_config in anthropic 2.8.0, whose fields are effort (one of 'low', 'medium', 'high', 'xhigh', 'max') and format (a JSON output format with a schema). Lower effort cuts latency and tokens for simple turns such as voice replies or classification; higher effort suits planning and hard reasoning. Use format to get JSON that matches your schema instead of parsing free text.