# claude-sonnet-4-6 API — WanAPIs

> **Model ID**: `claude-sonnet-4-6` · **Provider**: Anthropic · **Category**: chat · **Endpoint**: `POST /v1/chat/completions`
> **Live Price**: $3.00 输入 · $15.00 输出 (RMB-anchored quota: `¥1 = $1 quota`, ~86% off USD list rates at `$1 ≈ ¥7`).
> **Web Page**: https://wanapis.com/model/claude-sonnet-4-6

Anthropic 上一代中端模型 Claude Sonnet 4.6（2026-02 发布），速度与成本均衡、100 万上下文，适合高并发生产与智能体编程（已被近 Opus 水准的 Sonnet 5 取代）。

**Also known as**: Anthropic claude-sonnet-4-6

## Live Pricing & Specs

- **Input (per 1M tokens)**: $3.00 quota (¥3 ≈ $0.429 USD)
- **Output (per 1M tokens)**: $15.00 quota (¥15 ≈ $2.14 USD)

## Quickstart (cURL)

```bash
curl https://api.wanapis.com/v1/chat/completions \
  -H "Authorization: Bearer $WANAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-4-6","messages":[{"role":"user","content":"Hello"}]}'
```

## FAQ

### 如何通过 WanAPIs 调用 claude-sonnet-4-6？

在请求头携带 Authorization: Bearer <WANAPIS_API_KEY>，向 https://api.wanapis.com 的 POST /v1/chat/completions 传入 model="claude-sonnet-4-6" 即可调用。

### claude-sonnet-4-6 在 WanAPIs 上如何计费？

当前实时标价：$3.00 输入 · $15.00 输出。WanAPIs 采用人民币元锚定额度（¥1 = $1 等价额度，约合美元官方价的 1/7），无月租无保底。

### Claude Code、Codex 等 AI Agent 可以自动接入这个模型吗？

可以。直接把 https://wanapis.com/SKILL.md 发给 Agent，或安装 npx -y @wanapis/mcp；本页也提供纯 Markdown 规格文档 /model/claude-sonnet-4-6.md 供 Agent 直接读取。

## Related Links

- Web Landing Page: https://wanapis.com/model/claude-sonnet-4-6
- Agent Skill Router: https://wanapis.com/SKILL.md
- Complete Live Pricing (Markdown): https://wanapis.com/pricing.md
- OpenAPI 3.1 Spec: https://wanapis.com/openapi.json
- MCP Server Card: https://wanapis.com/.well-known/mcp.json
