mock

mock

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

Price (USD)

Billed itemPrice
Input$0.30/ 1M tokens
Output$1.20/ 1M tokens

The tier is chosen by the total input tokens of the request, and the whole request is billed at that tier. How billing works

Providers

You pay the price above whichever provider serves the request.

Provider Price Time to first token p50 Throughput p50 7-day availability
mock
$0.30
$1.20
No data yetNo data yetNo data yet

Latency, throughput and availability will come from measurements of real traffic; until they exist no numbers are shown.

Call it

OpenAI-compatible · 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."}]}'
Anthropic Messages · curl
curl https://api.test.whocare.xyz/v1/messages \
  -H "x-api-key: $GATEWAY_API_KEY" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model": "mock", "max_tokens": 256,
       "messages": [{"role": "user", "content": "Say hello in one sentence."}]}'
Gemini · curl
curl "https://api.test.whocare.xyz/v1beta/models/mock:generateContent" \
  -H "x-goog-api-key: $GATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contents": [{"parts": [{"text": "Say hello in one sentence."}]}]}'