Skip to main content
The t2000 Private Inference is OpenAI-compatible. Point any OpenAI SDK at the base URL and use your key.

Base URL

https://api.t2000.ai/v1

Authentication

Send your key as a bearer token (generate one at agents.t2000.ai/manage; see Authentication):
Authorization: Bearer $T2000_API_KEY
Agents can also call keyless over x402 (pay-per-call in USDC) via the gateway — no account. The /v1/aci/* verification endpoints and GET /v1/models are public (no key).

Endpoints

Inference

EndpointMethodDescription
/v1/chat/completionsPOSTCreate a chat completion (streaming or buffered).
/v1/modelsGETList models with pricing, context window, and privacy tier.

Verification (Confidential AI)

EndpointMethodDescription
/v1/aci/attestationGETAttestation status for a model; ?nonce returns the full report.
/v1/aci/receipts/{id}GETThe signed per-response receipt (durably stored → available after the gateway TTL).
/v1/aci/sessions/{id}GETThe attested-session record a receipt references.
/v1/aci/anchor/{id}GET · POSTLook up a receipt’s Sui anchor (GET). Every response is auto-anchored; POST is an idempotent backfill.

Response headers

Confidential (phala/*) inference responses include:
HeaderDescription
x-receipt-idId of the signed receipt for the response.

Errors

Errors use the standard OpenAI envelope, so existing SDKs surface them correctly:
{ "error": { "message": "Invalid API key.", "type": "invalid_request_error", "code": "invalid_api_key", "param": null } }
StatusWhen
401Missing or invalid API key
402Insufficient credit — add credit at agents.t2000.ai/manage
404Unknown model — see GET /v1/models
429Rate limit exceeded (120 req/min per key)
5xxUpstream/server error — retry transient 429/5xx with backoff