🎮 GPU Marketplace Guide

Access AI inference, fine-tuning, and GPU rentals across DCDN Cloud's decentralized node network.

Overview

The GPU Marketplace provides three core services:

AI Inference

OpenAI-Compatible API

Use our API as a drop-in replacement for OpenAI. Just change the base URL:

curl https://dcdncloud.com/api/v1/gpu/inference \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dcdn-smart",
    "messages": [{"role": "user", "content": "Hello!"}],
    "max_tokens": 200
  }'

Available Models

Model IDDescriptionPricing
dcdn-smartClaude Sonnet 4.6 — best price/performance$3 / $15 per 1M tokens
dcdn-fastFast inference, lower latency$0.25 / $1.25 per 1M tokens
dcdn-reasoningDeep reasoning model$3 / $15 per 1M tokens
gpt-4oOpenAI GPT-4o$2.50 / $10 per 1M tokens
gpt-4o-miniOpenAI GPT-4o Mini$0.15 / $0.60 per 1M tokens
claude-*Anthropic Claude modelsVaries by model
gemini-*Google Gemini modelsVaries by model
deepseek-*DeepSeek modelsVaries by model
meta-llama/*Meta Llama modelsVaries by model

21 named models available, plus any OpenRouter model ID works as passthrough.

💡 Pricing uses prefix matching — the most specific model prefix wins. Input and output tokens are priced separately.

Streaming

curl https://dcdncloud.com/api/v1/gpu/inference/stream \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dcdn-fast",
    "messages": [{"role": "user", "content": "Write a poem"}],
    "stream": true
  }'

Batch Inference

curl -X POST https://dcdncloud.com/api/v1/gpu/inference/batch \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "dcdn-smart",
    "prompts": ["Hello", "Summarize quantum computing", "Translate to French: Good morning"],
    "max_tokens": 200
  }'

Fine-tuning

Create a Training Job

curl -X POST https://dcdncloud.com/api/v1/gpu/training/create \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/Llama-3-8B",
    "dataset_url": "https://example.com/data.jsonl",
    "epochs": 3,
    "learning_rate": 2e-5
  }'

Monitor Jobs

# List all training jobs
curl https://dcdncloud.com/api/v1/gpu/training/jobs \
  -H "Authorization: Bearer YOUR_TOKEN"

# Get specific job
curl https://dcdncloud.com/api/v1/gpu/training/jobs/{job_id} \
  -H "Authorization: Bearer YOUR_TOKEN"

Cancel a Job

curl -X DELETE https://dcdncloud.com/api/v1/gpu/training/jobs/{job_id} \
  -H "Authorization: Bearer YOUR_TOKEN"

GPU Rentals

Rent bare GPU instances by the hour — similar to Vast.ai or RunPod.

Rent a GPU

curl -X POST https://dcdncloud.com/api/v1/gpu/rent \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "node_id": "DCDN-SA-c47e",
    "hours": 4
  }'

List Rentals

curl https://dcdncloud.com/api/v1/gpu/rentals \
  -H "Authorization: Bearer YOUR_TOKEN"

Cancel Rental

curl -X DELETE https://dcdncloud.com/api/v1/gpu/rentals/{id} \
  -H "Authorization: Bearer YOUR_TOKEN"

Pricing

GPU rental prices are set by node operators. The platform does not add markups. Revenue split:

Dashboard Features

The GPU Marketplace dashboard includes:

x402 Agentic Payments

AI agents can pay for inference per-request using the x402 protocol (USDC on Base chain) — no API key needed.

Related Docs