# Anthropic API

官方 API、API key、API 账户计费。所有调用必须遵守 Anthropic 的服务条款和使用政策。

```
openprogram providers login anthropic
```

```
from openprogram.runtime.agent.runtime.factory import create_runtime

runtime = create_runtime(provider="anthropic", model="claude-sonnet-4-6")
```

[认证](https://fzkuji.github.io/OpenProgram/docs/models/auth.zh.html) · [服务商配置](https://fzkuji.github.io/OpenProgram/docs/models/providers.zh.html)
