Documentation

INFINITE Protocol gives token holders direct access to Claude and Gemini APIs. No subscriptions, no credit cards — just hold $INFINITE and use the tools.

Quickstart

Get up and running in under a minute.

1. Buy $INFINITE

Get tokens on PumpSwap. Access starts at 10K $INFINITE.

2. Connect Wallet

Open the dashboard and connect Phantom, Solflare, or Backpack.

3. Get API Key

Sign a message to verify holdings. Your API key (inf_xxxxx) is issued instantly.

4. Start Building

Use the dashboard chat or plug your key into any app.

Authentication

Authentication uses Solana wallet signatures. Your wallet signs a timestamped message, the proxy verifies your Ed25519 signature and checks your $INFINITE balance via Helius RPC.

POST /auth/register Content-Type: application/json { "walletAddress": "YOUR_SOLANA_ADDRESS", "signature": "BASE58_SIGNATURE", "message": "INFINITE_AUTH_1708000000000" }

On success, you receive an API key prefixed with inf_. Include it as a Bearer token in all subsequent requests.

Authorization: Bearer inf_xxxxx

Balance is re-checked on each request (cached for 5 minutes). If your holdings drop below a tier threshold, your limits adjust automatically.

Chat

Send messages to Claude or Gemini models. The API follows Anthropic's message format.

POST /v1/chat Authorization: Bearer inf_xxxxx Content-Type: application/json { "model": "claude-sonnet-4-6", "messages": [ {"role": "user", "content": "Analyze this token's on-chain metrics"} ], "max_tokens": 1024 }

Available models depend on your tier:

  • Claude Sonnet
    Best for coding, analysis, and complex reasoning. Available to all tiers.
  • Gemini Flash
    Fast responses, great for quick queries. Available to all tiers.
  • Gemini Pro
    Extended context and deeper reasoning. Operator tier and above.
  • Claude Opus
    Most capable model for complex tasks. Architect tier only.

Streaming

Stream responses via Server-Sent Events. Supports agentic tool-use loops (up to 3 rounds), web search with source extraction, and proper SSE termination.

POST /v1/chat/stream Authorization: Bearer inf_xxxxx Content-Type: application/json { "model": "claude-sonnet-4-6", "messages": [ {"role": "user", "content": "Write a Solana swap function"} ], "max_tokens": 2048 }

The response is an SSE stream. Each event contains a chunk of the response. The stream ends with a [DONE] event.

Multi-Model

Send the same prompt to up to 4 models simultaneously and get all responses back. Unique to INFINITE — no other token-gated proxy offers parallel multi-model inference.

POST /v1/multi Authorization: Bearer inf_xxxxx Content-Type: application/json { "models": ["claude-sonnet-4-6", "gemini-2.5-flash"], "messages": [ {"role": "user", "content": "Explain yield farming"} ], "max_tokens": 1024 }

Response returns all model outputs in parallel:

{ "id": "inf-multi-xxx", "type": "multi", "responses": [ { "model": "claude-sonnet-4-6", "content": [...], "usage": { "input_tokens": 12, "output_tokens": 340 } }, { "model": "gemini-2.5-flash", "content": [...], "usage": { "input_tokens": 12, "output_tokens": 295 } } ] }

The streaming variant POST /v1/multi/stream emits SSE events prefixed with model_start, model_result, and model_error per model. Defaults to Claude Sonnet + Gemini Flash if no models array is provided. Max 4 models per request.

Trading & Research Tools

The dashboard includes built-in tools powered by the same API. These are available to all holders through the web interface.

  • AI Chat
    Full-featured chat with Claude and Gemini. Supports model switching, conversation history, and web search.
  • AI Trading Agents
    Signals, wallet tracking, and sentiment analysis. AI-powered market intelligence for Solana tokens.
  • Token Intelligence
    Audit smart contracts, track whale wallets, and scan social sentiment — all powered by AI.
  • Image Generation
    Generate PFPs, memes, and marketing visuals. No per-image fees.

SDK

Zero-dependency JavaScript SDK. ESM-only, works in Node 18+ and browsers.

npm install @infinite-protocol/sdk
import { InfiniteClient } from '@infinite-protocol/sdk'; const client = new InfiniteClient({ apiKey: 'inf_xxxxx' }); // Chat const response = await client.chat({ model: 'claude-sonnet-4-6', messages: [{ role: 'user', content: 'Hello' }] }); // Streaming for await (const chunk of client.chatStream({ ... })) { process.stdout.write(chunk); } // Multi-model const multi = await client.multi({ models: ['claude-sonnet-4-6', 'gemini-2.5-flash'], messages: [{ role: 'user', content: 'Compare yield farming strategies' }] }); // Treasury status const treasury = await client.treasury();

The SDK handles authentication, streaming SSE parsing, and error handling. See the full API in sdk/src/client.js.

Tier System

Your access level is determined by your $INFINITE token balance. Balance is checked via Helius RPC and cached for 5 minutes.

Tier Holdings Daily Limit Models
Signal 10K $INFINITE ~1,000 calls Claude Sonnet, Gemini Flash
Operator 100K $INFINITE ~10,000 calls + Gemini Pro
Architect 1M $INFINITE Unlimited + Claude Opus

Rate limits scale dynamically with the treasury health. When the treasury is flush, a multiplier increases effective limits. The treasury agent monitors this 24/7.

Treasury

The protocol is funded by pump.fun creator fees. Every trade generates a fee that splits 50% to the API treasury, 40% to development, and 10% to community.

An autonomous treasury agent monitors the SOL balance, calculates API budget runway, and dynamically adjusts rate limit multipliers:

  • Surplus (1.5x)
    Treasury well above target. All rate limits boosted 50%.
  • Healthy (1.0x)
    Normal operating range. Base rate limits apply.
  • Cautious (0.7x)
    Below target. Limits reduced to extend runway.
  • Critical (0.3x)
    Low balance. Aggressive throttling to prevent outage.

The treasury wallet is public and verifiable on-chain. Check GET /treasury for live balance, runway, and health status.