Skip to content

CompuX-ai/AI-Compute-Credit-Marketplace

English | 中文 | 日本語 | Deutsch | Українська

CompuX

AI Compute Credit Marketplace

Convert $1M in financing into $1.25-1.5M in compute credits.
OpenAI-compatible API. Multi-provider. No lock-in.

License Website API Docs Learn Twitter LinkedIn


What is CompuX?

CompuX is a three-sided marketplace connecting AI startups, compute providers, and capital partners. We turn financing into compute credits at a 25-50% multiplier -- $1M becomes $1.25-1.5M in usable compute.

Drop-in OpenAI replacement. Change one line of code:

# Before (OpenAI)
from openai import OpenAI
client = OpenAI(api_key="sk-...")

# After (CompuX) -- same SDK, same API, 25-50% cheaper
from openai import OpenAI
client = OpenAI(
    api_key="your-compux-key",
    base_url="https://api.compux.ai/v1"
)

response = client.chat.completions.create(
    model="gpt-4o",
    messages=[{"role": "user", "content": "Hello from CompuX!"}]
)

Why CompuX?

  • 25-50% cost savings through compute credit financing (not discounts -- real financial multiplier)
  • OpenAI-compatible API -- drop-in replacement, zero code changes
  • Multi-provider -- OpenAI, Anthropic, Google, Mistral, open-source models
  • Blockable credits -- collateralized compute that lenders can freeze/unfreeze
  • No lock-in -- switch providers anytime, keep your credits

Documentation

API Reference

Everything you need to integrate CompuX into your application:

Page What you'll learn
Quickstart Get running in 5 minutes — Python, TypeScript, Go, cURL
API Reference Endpoints, parameters, request/response schemas
Available Models 100+ models across 6 providers with pricing
Authentication API keys, scopes, rotation, sandbox environment
Error Handling HTTP status codes, error schema, retry logic
Rate Limits RPM/TPM limits by plan, rate limit headers
Pricing Plans, credit costs, financing multipliers, calculator

Code Examples

Example Language What it shows
quickstart.py Python Basic chat completion
quickstart.ts TypeScript Chat, streaming, multi-model comparison
streaming.py Python Real-time token streaming
error_handling.py Python Retry logic with exponential backoff
async_client.py Python High-throughput async with concurrency control
function_calling.py Python Tool use / function calling
langchain_integration.py Python LangChain + CompuX integration

Knowledge Base (Learn)

Deep-dive articles on AI compute economics, financing, and infrastructure:

Section Pages What you'll learn
Concepts 34 Compute credits, token operators, GPU economics, LLM routing
Comparisons 9 CompuX vs OpenRouter, Together AI, Lambda Labs, venture debt
Use Cases 7 Startups, lenders, GPU providers, dev tools
FAQ 10 Pricing, integration, collateral, getting started

Quick Start

1. Get your API key

Sign up at app.compux.ai and create an API key.

2. Make your first request

curl https://api.compux.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-4o",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

3. Use with any OpenAI-compatible SDK

# Python
from openai import OpenAI
client = OpenAI(api_key="YOUR_API_KEY", base_url="https://api.compux.ai/v1")
// TypeScript
import OpenAI from 'openai';
const client = new OpenAI({ apiKey: 'YOUR_API_KEY', baseURL: 'https://api.compux.ai/v1' });

How It Works

AI Startup                    CompuX                      Compute Provider
    |                           |                               |
    |-- Needs compute --------->|                               |
    |                           |-- Financing ($1M) ----------->|
    |                           |<-- Credits ($1.25-1.5M) ------|
    |<-- Blockable credits -----|                               |
    |                           |                               |
    |-- API call (OpenAI fmt)-->|-- Routes to best provider --->|
    |<-- Response --------------|<-- Response ------------------|

Layer 5: Token Operator -- CompuX operates at Layer 5 of the AI value chain, between infrastructure (GPUs) and applications (AI products). We optimize the flow of compute credits like a financial operator.

Key Concepts

Concept Description
Compute Credits Standardized units of compute across providers
Credit Transfusion Converting financing into amplified compute credits
Blockable Credits Credits that can be frozen/unfrozen as collateral
Token Operator Layer 5 entity managing compute credit flow
Multi-Provider Routing Automatic selection of optimal provider per request

Read more in our Concepts section.

Community & Support

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

License

This project is licensed under the MIT License -- see LICENSE for details.