Anthropic
Claude model family — the default Claude Code provider. Sonnet, Opus, Haiku.
- License
- proprietary
- Install
- env key
- Website
- https://www.anthropic.com
- GitHub
- https://github.com/anthropics
export ANTHROPIC_API_KEY=...
xAI
Grok model family with real-time X integration and long-context reasoning.
- License
- proprietary
- Install
- env key
- Website
- https://x.ai
- GitHub
- https://github.com/xai-org
export XAI_API_KEY=...
When to reach for which
Anthropic — Claude model family — the default Claude Code provider. Sonnet, Opus, Haiku.
xAI — Grok model family with real-time X integration and long-context reasoning.
Both sit in the AI Providers category — they're substitutes, not complements. Pick by your install constraint (MCP-native, license, hosting model) and which tag overlap matters most to your stack.