One API key, three protocols, pay for what you use

Keep your OpenAI, Anthropic or Gemini SDK and change only the base URL and key to reach the 3 models in the catalogue, from 2 vendors. Prices are published in USD to nine decimal places.

Sign up and create an API key Browse models How billing works

Three protocol endpoints

/v1/chat/completions and /v1/responses (OpenAI), /v1/messages (Anthropic), /v1beta/models (Gemini). When the inbound and upstream protocols differ, the gateway translates.

Reserve first, settle on actual usage

Each request reserves an estimate from your balance; when the upstream answers it is settled once at actual usage and the current price, and the difference is returned. An interrupted stream is settled on the usage recorded so far, or on the estimate when nothing was recorded.

Every request can be reconciled

usage.cost in the response is the cost of that request; /v1/generation returns, by request ID, the list cost, the amount charged and the quantity, unit price and amount of every billed item.

Your first call

Create an API key in the console, put it in the GATEWAY_API_KEY environment variable and run:

curl
curl https://api.test.whocare.xyz/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ds-flash",
       "messages": [{"role": "user", "content": "Say hello in one sentence."}]}'

Popular models

ds-flash

deepseek · Chat

ds-flash

DeepSeek deepseek-flash (real upstream)

Input
$0.18 / 1M tokens
Output
$0.72 / 1M tokens
Context
1M
In → out
Text → Text

Tool callingStructured outputReasoningPrompt caching

Example code
curl
curl https://api.test.whocare.xyz/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ds-flash",
       "messages": [{"role": "user", "content": "Say hello in one sentence."}]}'

ds-pro

deepseek · Chat

ds-pro

DeepSeek deepseek-v4-pro (real upstream)

Input
$0.792 / 1M tokens
Output
$2.376 / 1M tokens
Context
1M
In → out
Text → Text

Tool callingStructured outputReasoningPrompt caching

Example code
curl
curl https://api.test.whocare.xyz/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "ds-pro",
       "messages": [{"role": "user", "content": "Say hello in one sentence."}]}'

mock

mock · Chat

mock

Fake model answered by the staging mock upstream. Free to try; no real model behind it.

Input
$0.30 / 1M tokens
Output
$1.20 / 1M tokens
Context
128K
In → out
Text → Text

Tool callingStructured outputPrompt caching

Example code
curl
curl https://api.test.whocare.xyz/v1/chat/completions \
  -H "Authorization: Bearer $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "mock",
       "messages": [{"role": "user", "content": "Say hello in one sentence."}]}'

All 3 models