Use case

LLM API for a customer support chatbot

A support bot reads a question plus your help content and writes an answer. The bill is tokens in (the question and the help text you pass) and tokens out (the answer), so the model choice and the prompt size set the cost.

Prices checked Nov 26, 2026

What you can build

  • A chat widget that answers from your help center
  • A triage step that classifies tickets and drafts a reply for an agent to approve
  • Routing: a small model for simple questions, a larger one for hard ones

Models to start with

These are starting points to test on your own inputs, chosen by price and listed capabilities. We publish no quality or speed benchmarks.

TaskModelPriceWhy start here
Triage and simple answersClaude Haiku 5.5$0.06 in, $0.30 out per 1M tokensThe lowest-priced chat model we sell; try it first on your real tickets.
Everyday repliesGemini 4 Hydrogen$0.60 in, $3.00 out per 1M tokensTakes text, images, video, audio and PDFs, which helps when customers send screenshots.
Hard casesClaude Sonnet 5.5$0.80 in, $4.00 out per 1M tokensA step up in price for the questions the small model fails on your test set.

Worked cost example

50,000 conversations a month, 3,000 tokens in and 400 out each. Each conversation includes about 2,500 tokens of retrieved help text. Same traffic priced on three models; split your own traffic between them.

ItemModel and tierQuantityCost
On Claude Haiku 5.5Claude Haiku 5.550,000 requests, 3,000 in and 400 out tokens each$15.00
On Gemini 4 HydrogenGemini 4 Hydrogen50,000 requests, 3,000 in and 400 out tokens each$150.00
On Claude Sonnet 5.5Claude Sonnet 5.550,000 requests, 3,000 in and 400 out tokens each$200.00

Each row prices the same workload on a different model. They are alternatives, not a sum.

Prices checked 2026-11-26, in dollars at 100 credits = $1. Failed tasks are not charged. Put your own numbers into the media cost calculator or the LLM cost calculator.

How to build it

  1. Collect 100 real tickets and write the answer you would want for each.
  2. Run them on each model and compare answers and token usage.
  3. Route by difficulty: send what the small model gets right to it.
  4. Cap max_tokens and set a spend limit on the API key.

A request to Claude Haiku 5.5 looks like this. Same key and endpoint for every model; see the API docs for the full reference.

curl https://api.tapmodels.com/v1/chat/completions \
  -H "Authorization: Bearer $TAPMODELS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "claude-haiku-5-5",
    "messages": [
      {
        "role": "user",
        "content": "Plan a zero-downtime migration of a 40M-row table."
      }
    ],
    "max_tokens": 1024
  }'

Frequently asked questions

How do I keep costs predictable?

Cap max_tokens, trim the help text you pass in, and set a spend limit on the key. The LLM cost calculator shows the monthly total for your token counts.

Is the endpoint OpenAI-compatible?

Yes: POST /v1/chat/completions. There is also an Anthropic-compatible /v1/messages route. See the docs for streaming.