For Developers

Sogni SDK

Build with decentralized power.
Integrate the power of the Sogni Supernet within your AI Tools using our Sogni SDK - available for TypeScript, JavaScript, and Python projects

Power your apps with Sogni Supernet

A DePIN Protocol for Creative AI fuelled by two tiers of Decentralized Power
Fast Sogni Supernet
A Network of High-End GPUs
Optimized for Speed
Relaxed Sogni Supernet
A Network of Apple Mac Devices
Optimized for Cost

Sogni SDK

Built for Creative AI Apps

Add library to your project using npm, yarn, or pip
npm install @sogni-ai/sogni-client
yarn add @sogni-ai/sogni-client
pip install sogni-client

For developers

From prototype to production.

Enterprise grade API key management

Give each app or agent its own developer key, with daily, monthly and lifetime spending limits, model restrictions, allowed IP addresses and an expiry date. Rotate, pause or revoke keys independently, and track usage by day and model. Accounts support up to 99 keys, including the Original key.

API key guide →
Manage API keys →

Sogni MCP for your AI assistant

Connect your AI assistant to Sogni MCP to discover models, check costs and create images, video and audio using your Sogni account. Use a remote MCP client that supports API-key authentication. No skill installation is required.

Building your own application? Use the REST API for chat completions, direct tool execution, durable chat runs and creative workflows.

Connect with Sogni MCP →
REST API reference →
Browse models and API examples →