Toknix Documentation

Unified AI API infrastructure. Access 40 foundation models through OpenAI and Anthropic-compatible endpoints with one API key, prepaid crypto billing, and prompt caching.

Toknix is a unified AI model gateway engineered for high-concurrency developer workflows, autonomous agent harnesses, and enterprise infrastructure. With a single secret API key, developers can route traffic across 40 leading foundation models from Anthropic, OpenAI, Google, xAI, DeepSeek, Zhipu AI, and Moonshot AI.

Overview

Instead of maintaining separate billing relationships, API keys, SDK dependencies, and rate limit monitors across multiple AI providers, Toknix provides a single, low-latency edge proxy. The gateway handles request translation, automatic prompt caching, failover routing, and prepaid token metering.

Zero Email & Pure Crypto Deposits

Toknix accounts require no email, password, or KYC. Accounts are identified solely by a 10-digit numerical PIN. Billing is purely usage-based from a prepaid USD balance funded via cryptocurrency (BTC, ETH, USDT, USDC, LTC, SOL), starting at just $5.

Request Formats & Base URLs

Toknix accepts both OpenAI and Anthropic standard wire formats. Existing client libraries, official SDKs, and developer tools work out-of-the-box by updating just the Base URL and API Key:

Protocol FormatEndpointBase URL to Configure
OpenAI Chat CompletionsPOST /v1/chat/completionshttps://api.toknix.in/v1
OpenAI Responses APIPOST /v1/responseshttps://api.toknix.in/v1
Anthropic Messages APIPOST /v1/messageshttps://api.toknix.in
Model CatalogGET /v1/modelshttps://api.toknix.in/v1
Account & BalanceGET /v1/balancehttps://api.toknix.in/v1

Every public model is cross-compatible across all formats. You can invoke Claude models through OpenAI Chat Completions, or invoke DeepSeek and GLM models through Anthropic Messages.

Core Infrastructure

  • 40 Frontier & High-Speed Models: Unified access to Gemini 4, GPT-6, Claude Opus/Sonnet, Grok 4.7, DeepSeek V4.1, GLM 5.3, and Kimi K3.
  • Uncensored & Abliterated Weights: Specialized abliterated models for vulnerability testing, red-team security audits, and unrestricted creative synthesis.
  • Automatic Prompt Caching: Frequently recurring context prefixes receive automatic cache hits with discounts up to 90% (down to $0.003/1M tokens on GLM 5.3 Flash).
  • Prepaid Crypto Billing: Add balance starting from $5 with automatic on-chain credit and bonus tiers up to 16%. Failed requests with 5xx errors are never charged.
  • Subkeys & Team Quotas: Provision independently funded subkeys with spend caps for team members, CI/CD pipelines, or autonomous agent loops.

Follow our quickstart guides to start making calls or configure your favourite coding agent: