This page in plain text
The Claude API: what it is good at and how to start
The same models as the Claude app, called from your own code and paid for by use. The chat on this site runs on it. Which model you pick changes the cost a great deal, which is why we tested three before choosing.
Best for: adding Claude to your own site or app. See the Claude API.
What it is good at
- A chat that knows your page. Send the page’s text with the question and the answer comes from what you wrote.
- The same job, many times. Sorting, tagging and summarising thousands of items with one instruction.
- A choice of sizes. A small fast model for simple work and a larger one for hard work, from the same API.
Try this first: instructions for a chat on your own page
You answer questions about [what the page or product is] for [who the readers are].
Use only the text you are given with each question. If the answer is not in it, say the page does not say.
Keep answers under [length], in plain language.
Never invent a price, a date, a policy or a name.
What to use The Claude API for
- Answer customers on your own website. A chat that answers from what your page says, at any hour. It is how the chat on this site works.
All twelve jobs are on our solutions page.
How The Claude API got here
- 4 March 2024: Claude 3 comes in three sizes. Opus, Sonnet and Haiku: a large, a middle and a small fast model. Picking the size that fits the job became part of using AI well.
- 22 October 2024: Computer use: AI operates the screen. An experimental ability for Claude to look at a screen, move the pointer, click and type. AI started doing the task, not just describing it.
- 25 November 2024: The Model Context Protocol. An open standard for connecting assistants to the places your data lives: files, business tools, databases. The plumbing that lets an assistant work with your own material.
- 17 November 2026: Claude Opus 5.5 and Sonnet 5.5. Faster and cheaper to run than the models they replace. Sonnet 5.5 answers members’ questions on this site, and Haiku 5.5 answers guests’.
More on the AI timeline.
Learn The Claude API properly
- Building with the Claude API, by Anthropic. How to call Claude from your own code: messages, system prompts, tools, and the patterns that real applications use.
- Anthropic’s courses on GitHub, by Anthropic. Anthropic’s own notebooks on the API, prompting, evaluating prompts and tool use. Run them and change them as you go.
- Which Claude model should you use?. Our test of three models on cost, speed and answers.
What to watch
- Your API key is a password that spends money. Keep it on the server, never in a page, and set a spending limit.
- You pay for every request, including the ones a stranger makes on your site. Put a limit on how many each visitor gets.
The Claude API or the OpenAI API?
This site’s chat runs on Claude, a deliberate choice: Claude communicates better. For a first AI feature either one will do. For something that talks or writes we would start with Claude; if you need images, speech or transcription, the OpenAI API has those in one account. The full comparison. Read about The OpenAI API.
Other tools we use: ChatGPT, Claude, Claude Code, Codex, The OpenAI API, AI Engine, ElevenLabs, Gemini, Perplexity, NotebookLM, Midjourney. Or see all tools.
Ask Another AI Guy
I'm just Another AI Guy.
You're chatting with our fast model. Create a free account for the more thorough one, and more messages.