Claude
In short
Claude is Anthropic's AI assistant and the family of language models behind it, used through chat apps, the Claude API and tools such as Claude Code.
What is Claude?
Claude is an AI assistant made by Anthropic, a company founded in 2021, and also the name of the large language models that power it. Since its release in March 2023, people have used it to write, analyze documents and data, answer questions and write code, through apps on the web, on desktop computers and on phones.
The models come in tiers: Opus, the most capable; Sonnet, a balance of capability and speed; and Haiku, the fastest and cheapest. Developers reach them through the Claude API and through cloud platforms such as Amazon Bedrock and Google Cloud's Vertex AI. The apps add projects that keep files and instructions together, artifacts for documents and small apps made in the chat, web search, and connectors to other tools built on MCP.
Anthropic trains Claude with a written set of principles it publishes, which it calls a constitution, describing how Claude should behave: to be helpful and honest and to avoid causing harm.
Claude is sometimes confused with Claude Code. Claude is the assistant and its models; Claude Code is one of the tools built on them, a coding agent that works in a terminal or an editor. Claude has a free plan and several paid plans with higher limits.
Key takeaways
- Claude is Anthropic's AI assistant and its family of language models.
- The models come in tiers: Opus, Sonnet and Haiku.
- It is used through apps, the Claude API and cloud platforms.
- Claude Code is a coding agent built on Claude models.
- There is a free plan and several paid plans.
Example
import anthropic
client = anthropic.Anthropic() # reads ANTHROPIC_API_KEY
message = client.messages.create(
model="claude-sonnet-5-5",
max_tokens=500,
messages=[{"role": "user", "content": "Explain a race condition in two sentences."}],
)
print(message.content[0].text)Readers ask
Who makes Claude?
Anthropic, an AI safety and research company founded in 2021 by former OpenAI researchers.
What is the difference between Opus, Sonnet and Haiku?
They are sizes of Claude model. Opus is the most capable and the most expensive, Haiku the fastest and cheapest, and Sonnet sits in between; each new generation brings new versions of them.
Is Claude free?
There is a free plan with lower limits. Paid plans add more use and more features, and the API is billed by the number of tokens used.
See also
- Claude vs ChatGPTClaude, from Anthropic, and ChatGPT, from OpenAI, are both AI assistants; they differ in the models behind them, a few features and the tools around them.
- LLMAI & Machine Learning, p. 35An LLM is a machine learning model trained on huge amounts of text that generates language by repeatedly predicting the next most likely piece of text.
- Claude CodeAI & Machine Learning, p. 15Claude Code is Anthropic's AI coding agent: it reads your codebase, edits files, runs commands and works with git in a terminal, IDE, desktop app or browser.
- ChatGPTAI & Machine Learning, p. 11ChatGPT is OpenAI's AI assistant: a chat app built on its GPT models that answers questions, writes, analyzes files, searches the web and creates images.
- GPTAI & Machine Learning, p. 30GPT (Generative Pre-trained Transformer) is OpenAI's family of large language models that generate text by predicting the next token.
- AI AlignmentAI & Machine Learning, p. 4AI alignment is the field of making AI systems pursue the goals and values their designers intend, so they behave helpfully, honestly, and safely.
- Prompt EngineeringAI & Machine Learning, p. 48Prompt engineering is the practice of designing, testing, and refining the instructions given to an AI model so it produces accurate, consistent, useful output.
Free · once a week
Software and AI, explained once a week
The week's software and AI news with every term explained, plus a term to learn and a quick quiz. A two-minute read.
See this week's issueAbout this page
Spotted a mistake or something missing on this page?Suggest an edit
How pages are made