The three surfaces
All authenticated with Authorization: Bearer sk-airo-…. Inference also accepts the Anthropic-style x-api-key header.
Inference
https://api.inferhub.devPOST
/v1/chat/completionsPOST
/v1/messagesPOST
/v1/responsesGET
/v1/modelsManagement API
https://inferhub.dev/apiGET
/keysGET
/meGET
/usage/logsPOST
/publisher/earnings/transferMCP server
https://inferhub.dev/mcp/sseSSE
tools for agents~45
toolsQuickstart
Management API (curl)
# list your API keys
curl https://inferhub.dev/api/keys \
-H "Authorization: Bearer sk-airo-..."
# balance + profile
curl https://inferhub.dev/api/me \
-H "Authorization: Bearer sk-airo-..."MCP — Claude Code / Cursor
# connect InferHub as an MCP server (SSE transport)
claude mcp add --transport sse inferhub \
https://inferhub.dev/mcp/sse \
--header "Authorization: Bearer sk-airo-..."
# then ask: "list my inferhub providers"For the OpenAI / Anthropic SDK inference quickstart, see Docs.
Common endpoints
Keys & account
- GET
/api/keys - POST
/api/keys - GET
/api/me - DELETE
/api/me
Billing
- GET
/api/deposit-address - POST
/api/topups - GET
/api/usage/logs
Routing
- GET
/api/catalog - PUT
/api/budgets/{id} - POST
/api/combos
Publisher
- GET
/api/publisher/providers - POST
/api/publisher/providers - PUT
/api/publisher/upstreams/{slug}/asks/{id} - POST
/api/publisher/withdrawals
Good to know
- Model names: address inference as
prefix/model(e.g.ocg/glm-5.1), a bare alias,combo/<slug>, orfree/<slug>/<model>. - Money: all amounts are USDC decimal strings. Deposits, transfers, and withdrawals are idempotent with atomic conditional ledger debits — concurrent requests can't overdraw.
- Errors:
{ "error": { "code", "message" } }with a RESTful status.
Full API reference
Browse every endpoint, request body, and response in a dedicated, interactive reference — try any request with your sk-airo- key.