Claude-sonnet-4-20250514

Claude Sonnet 4显著增强了其前身Sonnet 3.7的能力,在编码和推理任务中都表现出色,且精度和可控性均有所提高。

Capabilities
"POST", "endpoint": "/v1/chat/completions", "protocol": "openai-chat", "parameters": {"optional": {"stream": {"type": "boolean", "default": false}, "max_tokens": {"type": "integer", "default": 1000}, "temperature": {"max": 2, "min": 0, "type": "number", "default": 0.7}}, "required": ["model", "messages"]}, "validation": {"timeout_ms": 30000, "status_codes": [200], "response_path": "choices[0].message.content", "must_be_non_empty": true}, "test_request": {"model": "{{model}}", "messages": [{"role": "user", "content": "Say hello in one sentence"}], "max_tokens": 50, "temperature": 0.7}}
Input
text, image
Output
text
Regions
global
Last verified
2026-08-15T05:05:43.162646475+00:00
Price
18 IFT / 1M tokens
Documentation
-

Example

curl https://api.inferlink.ai/v1/chat/completions \
  -H 'Authorization: Bearer $INFERLINK_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"model":"anthropic/anthropic/claude-sonnet-4-20250514","messages":[{"role":"user","content":"Hello"}]}'