AxonSDK routes AI inference to the fastest, cheapest backend — GPU clusters, TEE nodes, or hyperscale clouds — through a single, provider-agnostic interface. Available for TypeScript and Python, with the same shape in both.
Full-featured SDK for Node, Next.js, Cloudflare Workers, and React Native. Drop-in OpenAI-compatible inference handler included.
npm install @axonsdk/sdk
Async-native Python SDK with OpenAI-compatible calls, automatic retries, and live provider pricing. Type-checked end to end.
pip install axonsdk-py
Infrastructure moves fast. AxonSDK keeps your application code still — swap providers, regions, or runtimes without touching inference logic.
One interface for io.net, Akash, Acurast, Fluence, Koii, AWS, GCP, Azure, Cloudflare, and Fly.io.
Circuit breaking, health monitoring, and automatic failover across providers with live pricing signals.
Drop-in /v1/chat/completions endpoint — point your existing OpenAI client at AxonSDK.
SSRF protection, HTTPS-only egress, and DNS-rebinding defence built into every request.
The same config, the same methods, the same mental model — in TypeScript and Python.
Free forever. No telemetry. No lock-in. Fork it, audit it, self-host the router.
Move between languages without rethinking your inference layer.
import { AxonRouter } from '@axonsdk/sdk'; const router = new AxonRouter({ providers: ['ionet', 'akash', 'acurast'], strategy: 'cheapest-healthy', }); const res = await router.send({ model: 'axon-llama-3-70b', messages: [{ role: 'user', content: 'ping' }], }); console.log(res.choices[0].message.content);
from axonsdk import AxonRouter router = AxonRouter( providers=["ionet", "akash", "acurast"], strategy="cheapest-healthy", ) res = await router.send( model="axon-llama-3-70b", messages=[{"role": "user", "content": "ping"}], ) print(res.choices[0].message.content)
Edge GPU networks, TEE processors, and hyperscale clouds — all reachable through the same AxonSDK call. Add a provider; don't rewrite your app.
Pick your language. Install in one line. Change providers without changing code.