Using the Claude API for business: accounts, models and data terms
What the Claude API is and how your software uses it
The Claude API is the way your own software talks to Claude. Your application sends a request containing instructions and content, the model returns a reply, and your software decides what to do with it. This differs from a chat app, where a person types into a ready-made window.
You pay for usage rather than for a seat, so cost follows the volume and size of your requests. The key that authenticates those requests is a secret. It belongs on your server, never in a mobile app or a web page visitors can open, because anyone who copies it can spend your budget.
Accounts, organisations and workspaces
Set up the account structure before the first build. Moving keys and rewriting logs later is slow, and it is easy to get wrong.
- One organisation for the company, so billing, members and policies sit in one place.
- Separate workspaces for each project and each environment, such as development, testing and production. A test script should not be able to spend the production budget or read production data.
- Named members with roles, and removal of people who leave. Review who can create keys.
- Keys issued per workspace, stored in a secrets manager or your hosting platform's secret settings, and rotated when someone with access leaves.
- Spending limits and usage reports, where the console offers them. The exact options change, so check the console's current documentation.
Choosing a model tier for each task
Claude models come in tiers offered at different levels of speed, capability and cost. The largest tier suits hard reasoning and careful writing. Smaller tiers suit high-volume, quick work such as sorting, tagging or short replies. Model names and versions change, so read the current model list in the documentation rather than an older article.
Pin the model name in configuration rather than scattering it through the code, so you can move a task to another model after a test.
- Classify and route. A smaller model can decide what kind of request has arrived, and a stronger model handles only the difficult ones.
- Draft with review. Use a mid-tier model for drafts, and keep a person in the approval step before anything leaves the company.
- Test each choice on your own cases, using the method in the guide on choosing a language model.
Data use terms and where your data goes
API traffic is covered by the terms that apply to business and API use, which can differ from the terms of a consumer app. Read the current data use, retention and privacy terms before you send customer data, and check that they allow your intended use. If personal data is involved, confirm the position with your legal or compliance adviser.
Access through a cloud platform may follow that platform's terms and regions rather than the direct terms. Check which regions are available and where processing happens for the route you choose.
- Send only the fields each task needs. A customer's full record is rarely required to draft a reply.
- Keep your own logs, and set a retention period for them that matches your obligations.
- Record which route, region and model handled each request, so you can answer a customer's question later.
Rate limits, errors and retries
Rate limits cap how many requests and how many tokens an organisation can send in a period. The limits depend on the model and on your usage tier, and they are published in the documentation. Plan for them, rather than discovering them during a launch.
- Handle rate-limit responses with exponential backoff, so retries spread out rather than hammering the service.
- Queue background jobs such as nightly summaries, and keep customer-facing requests on a separate path.
- Cap the output length for each task, so one long reply does not hold up the queue or inflate the bill.
- Log the model, token counts and status of every call. A runaway retry loop shows up in these logs well before it shows up on the invoice.
Common mistakes, and where to check current details
Most problems come from a short list of habits. Avoid these and the API is straightforward to run.
Model names, limits, pricing, regions and data terms change, so this guide describes the mechanism rather than current figures. Check the Claude API documentation, the pricing and limits pages in the console, Anthropic's current privacy and data terms, and the documentation of any cloud platform you use. Read the date on each page.
- Putting the key in front-end code or in a shared document.
- Sharing one workspace between development and production.
- Building on a model name without a test, then finding the model retired or behaving differently after an update.
- Skipping human review for messages that leave the company.
How Hundred Seas helps
Hundred Seas is a product studio in Taipei. We build AI agents and AI CRM systems on Claude and OpenAI models, and we choose the model for each task on cost, speed, quality and where the client's data has to stay. We are a registered partner in Anthropic's Claude Partner Network and an OpenAI partner.
Our work starts with a scope step of about one week at a fixed price, which ends in a written plan, a clickable prototype and a firm quote. The build follows in weekly releases of working software over two to four weeks, and a monthly run plan keeps the software running and up to date.
Questions
- Do I need a developer to use the Claude API?
- In practice, yes. The API is a programming interface, so someone has to write the code that sends requests, handles errors and stores results. Most staff reach Claude through ready-made apps, or through a product built on the API. A builder can set up the keys, workspaces and logging so the system does not depend on one person's laptop.
- Is API usage the same as a Claude subscription?
- No. A subscription for a chat app is a fixed fee for a person using a ready-made interface. API usage is billed by the volume of requests your software sends, under terms written for that use. The two may have different data terms as well, so check both before deciding which one the team uses with customer data.
- Where is my data processed when I use the API?
- It depends on the route you use and on the provider's current terms. Direct API access and access through a cloud platform can differ in regions and in how the terms apply. Read the current documentation for each route, and ask for the processing location in writing before you send personal data.
- How do I keep my API key safe?
- Store it in a secrets manager or the secret settings of your hosting platform, never in source code or a shared document. Give each environment its own key in its own workspace, and rotate the key when someone with access leaves or you suspect a leak. Watch usage so that an unexpected spike shows up quickly.
- What happens when my requests hit a rate limit?
- The API returns a response saying you have sent too many requests or tokens in a period. Your software should wait and retry with increasing delays, and background work should go into a queue. Check the rate limits page for your model and usage tier, because the limits change and depend on your account.