# Anthropic vs OpenAI

Both are commercial model provider options with comparable terms, so the choice comes down to which model of the problem you prefer — compare the descriptions below rather than the licence.

| | Anthropic | OpenAI |
| --- | --- | --- |
| Licence | Proprietary | Proprietary |
| Pricing | usage based | usage based |
| Self-hostable | No | No |
| Languages | TypeScript, Python | TypeScript, Python |
| Install | npm install @anthropic-ai/sdk | npm install openai |
| Keys required | ANTHROPIC_API_KEY | OPENAI_API_KEY |

## Anthropic — published scores

- SWE-bench Verified: 96% — leaderboard, SWE-bench Verified leaderboard, 2026-08-18. https://benchlm.ai/benchmarks/sweVerified

## Full pages

- https://newagent.build/c/anthropic
- https://newagent.build/c/openai

## Machine interfaces

- `GET https://newagent.build/api/registry` — every component as JSON
- `GET https://newagent.build/api/vendors` — vendors, with the repo and releases feed to watch
- `GET https://newagent.build/api/advise?q=<plain english>` — recommended stack for a description
- `GET https://newagent.build/api/stack?<layer>=<id>&format=sh|json|md|yml|agents|env` — a stack as files
- `GET https://newagent.build/llms.txt` — the whole registry in one fetch

Any page here also returns markdown if you send `Accept: text/markdown`.