# 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 in · $15.00 out (RMB-anchored quota: `¥1 = $1 quota`, ~86% off USD list rates at `$1 ≈ ¥7`).
> **Web Page**: https://wanapi.ai/model/claude-sonnet-4-6

Anthropic's previous mid-tier model, Claude Sonnet 4.6 (Feb 2026) — balanced speed and cost, 1M context, for high-volume production and agentic coding (superseded by the near-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

### How do I call claude-sonnet-4-6 via WanAPIs?

Send an authenticated request with Authorization: Bearer <WANAPIS_API_KEY> to https://api.wanapis.com using POST /v1/chat/completions and model "claude-sonnet-4-6".

### How much does claude-sonnet-4-6 cost on WanAPIs?

Current live rate: $3.00 in · $15.00 out. WanAPIs uses RMB-anchored quota (¥1 = $1 quota, roughly 1/7 or ~86% off USD-denominated list pricing) with zero monthly subscription.

### Can AI coding agents (Claude Code, Codex, Cursor) discover and use this model?

Yes. Point your agent to https://wanapi.ai/SKILL.md or install npx -y @wanapis/mcp. A machine-readable Markdown spec is also available at /model/claude-sonnet-4-6.md.

## Related Links

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