Getting Started

Welcome to the Pnyx documentation. Learn how to integrate our LLM network into your applications and explore our benchmark methodology.

What is Pnyx?

Pnyx is a decentralized LLM network platform that provides:

  • Unified API access to multiple LLM providers
  • Comprehensive benchmarking and leaderboard for LLM performance
  • Smart routing to optimize for quality, cost, and latency
  • Real-time metrics and usage tracking
  • Transparent evaluation methodology
  • Permissionless model provider integration through Pocket Network

Model providers can connect their LLMs to the network and earn rewards based on performance. Check out the Model Setup Guide to learn how to join the network.

Quick Start Guide

1

Get Started

Explore the Pnyx platform and start integrating with our AI routing services.

2

Make Your First Request

Use the API to send your first chat completion request. here's a simple example:

curl https://mainnet-gateway.pnyxai.com/relay/text-generation/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "PNYX/pocket_network",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
4

Explore the Platform

Check out the Leaderboard to compare LLM performance, try the Playground to test models interactively, or dive into the API Reference for detailed documentation.

Need Help?

If you have questions or need assistance, here are some helpful resources: