Developers

One OpenAI-compatible endpoint. Swap the base URL and you're on the network.

Full API reference

API keys

Sign in to see your API keys.

Usage & billing

Sign in to see your balance.

Quickstart

curl https://api.harnessnetwork.ai/v1/chat/completions \
  -H "Authorization: Bearer $HARNESS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-5-5",
    "messages": [{"role": "user", "content": "Hello from the network"}]
  }'

Model ids are provider/model from the table below. Unsupported parameters return 400 with the parameter name instead of being dropped. Add network.data_tier to steer placement; the contributor and their provider can read your prompt, so use the trusted tier for sensitive work.

Models and prices

ModelOnlineList priceNetwork priceDiscount
Loading catalog.

Prices are dollars per million tokens, input and output. A request pays the network price at the moment it starts, never above list. Legacy network:text-* tiers still work and let the network pick any provider. claude-sonnet-5-5 and friends route only to devices advertising exactly that model.