# WRAITH Nexus > One OpenAI-compatible API for 250+ AI models (text, vision, embeddings, images, text to speech, speech to text) from Venice and NEAR AI, paid in USDC on Monad (chain 143). Humans use API keys registered on chain; agents can pay per call with x402 or prepay and sign in with their wallet. Every call is a signed record anchored on Monad. Operated by Farnsworth Artificial Inteli LLC (WRAITH). Base URL: https://ai.dagentx.com/v1 (Anthropic clients: https://ai.dagentx.com) ## Docs - [Setup](https://ai.dagentx.com/docs): get USDC on Monad, deposit, register a key, connect SDKs and tools - [Agents and x402](https://ai.dagentx.com/agents): pay per call (HTTP 402, USDC on eip155:143, scheme exact) or prepay + SIGN-IN-WITH-X - [Models and prices](https://ai.dagentx.com/models): every model id and price, fee included - [Models JSON](https://ai.dagentx.com/assets/models.json): machine-readable price list - [Agent skill](https://ai.dagentx.com/wraith-nexus-SKILL.md): drop-in SKILL.md for Claude Code and other agents - [x402 agent script](https://ai.dagentx.com/x402-agent.mjs): complete Node client for both payment modes ## Authentication - API key: `Authorization: Bearer crk__` (or `x-api-key`). Keys are created at https://ai.dagentx.com/account; only a sha256 is stored on chain. - x402 per call: call without credentials, receive 402 with `PAYMENT-REQUIRED` (x402 v2), retry with `PAYMENT-SIGNATURE`. Amount = worst-case cost of that request; unused value stays as the payer's credit. - Prepay: `POST /v1/x402/top-up?usd=N` ($1 to $1,000), then send `SIGN-IN-WITH-X` = base64(JSON {address, message, signature, chainId: 143}); message is EIP-4361 with domain ai.dagentx.com, uri = exact URL called, issued within 5 minutes, single-use nonce. ## Endpoints - POST /v1/chat/completions (OpenAI format, streaming supported) - POST /v1/messages (Anthropic format) - POST /v1/embeddings - POST /v1/images/generations - POST /v1/audio/speech - POST /v1/audio/transcriptions (multipart) - GET /v1/models - GET /relay/account (balance, cap, settlements) - GET /relay/usage?fromSeq=N (your call records), GET /relay/proof/ (Merkle proof) ## Errors 401 bad or revoked key or sign-in · 402 payment required · 429 balance too low, daily cap reached or rate limit · 503 retry shortly ## On chain (Monad, chain 143) - CandorCredits (balances, keys, caps, settlement): 0x4e4b2fDD7026df99B91aEA847D248326C9e33751 - CandorLedger (anchored call records): 0x4f61d1d660Aac70b76e6c5276e6eD9f6A1444059 - USDC: 0x754704Bc059F8C67012fEd69BC8A327a5aafb603 ## Contact timowhite88@dagentx.com