๐ Authentication & API Key Management
All requests to the Cloud GPU Rating REST API and MCP Server require authentication using an active API key prefixed with cgr_live_. API keys can be generated, labeled, rotated, or revoked instantly in the Admin Control Center.
Passing Your API Key
We recommend transmitting your API key via the standard HTTP Authorization header using the Bearer scheme:
Alternatively, the API supports the custom header X-API-Key: cgr_live_... or query parameter ?api_key=cgr_live_... for rapid curl testing.
โก Rate Limits & Response Headers
Rate limits are enforced on a per-key sliding window of 60 seconds. Each response returns informative HTTP headers indicating your current quota:
| Header | Description | Example |
|---|---|---|
X-RateLimit-Limit |
Maximum allowed requests per minute for this key. | 120 |
X-RateLimit-Remaining |
Number of requests remaining in current window. | 118 |
X-Response-Time |
Backend execution and database query latency. | 2.14ms |
Retry-After |
Seconds to wait before retrying (returned on HTTP 429). | 60 |
๐ก๏ธ Permission Scopes
Keys can be constrained to granular permissions to protect administrative actions:
| Scope | Access Level | Allowed Operations |
|---|---|---|
read:providers |
Read Only | Query provider profiles, categories, and availability filters. |
read:pricing |
Read Only | Access aggregate spot rates, H100 hourly pricing, and historic ranges. |
read:benchmarks |
Read Only | Access vLLM tokens/sec, InfiniBand latency, and FLOPS per dollar metrics. |
read:guides |
Read Only | Query technical guides, key takeaways, and deployment blueprints. |
read:ads |
Read Only | Query ad spaces, active sponsor campaigns, and performance impressions/clicks. |
write:ads |
Write Only | Create, update, toggle, or upload creatives for ad space campaigns. |
write:providers |
Write Only | Create and update provider profiles via POST and PUT endpoints. |
mcp:tools |
Model Protocol | Execute JSON-RPC tools and access read-only resources over MCP. |
admin:full |
Superadmin | Full access including record deletion and administrative control. |
/api/v1/health
Public (No Key Required)
Returns service uptime, SQLite database connectivity status, and server latency.
/api/v1/providers
Scope: read:providers
Query verified GPU cloud providers with optional filtering parameters:
q: Keyword search (e.g.?q=Runpodor?q=InfiniBand)cat: Filter by category (e.g.?cat=Specialized GPU Cloud)gpu: Filter by hardware model (e.g.?gpu=H100or?gpu=RTX+4090)max_price: Maximum starting rate (e.g.?max_price=1.00)limit&offset: Pagination parameters (default: 50, max: 100)
/api/v1/pricing
Scope: read:pricing
Returns the normalized spot and on-demand GPU pricing matrix with calculated market statistics (min, median, max) across flagship architectures (H100 SXM5, RTX 4090, AMD MI300X, L40S).
/api/v1/benchmarks
Scope: read:benchmarks
Access empirical bare-metal interconnect benchmarks (InfiniBand Quantum-2 vs RoCEv2), inference serving throughput across vLLM and TensorRT-LLM (tokens/sec), and FLOPS per dollar calculations.
/api/v1/ads
Scope: read:ads / write:ads
๐ข Ad Spaces & Sponsorship Management API
Programmatically manage image banners, HTML/JS code embeds, and native sponsor cards across all website ad spaces.
1. List Available Ad Spaces & Live Capacity
2. Query Active Campaigns
3. Create or Deploy New Ad Campaign
4. Update or Delete Ad Campaign
/api/mcp-server.php
Official MCP 2024-11-05
๐ค Model Context Protocol (MCP) Integration
Cloud GPU Rating provides a fully compliant Model Context Protocol (MCP) JSON-RPC 2.0 server. This allows AI assistants like Claude Desktop, Cursor IDE, and custom agentic frameworks to invoke GPU cloud lookup tools and read live catalogs directly within conversation context.
Claude Desktop Configuration
Add the following configuration to your claude_desktop_config.json:
Cursor IDE Configuration
In Cursor, open Cursor Settings > Features > MCP and add a new server or configure .cursor/mcp.json:
Available MCP Tools
| Tool Name | Purpose | Parameters |
|---|---|---|
list_gpu_cloud_providers |
Filter and search GPU cloud directory | query, category, gpu_model, max_price |
get_provider_details |
Fetch full hardware and review profile | slug (required) |
compare_gpu_pricing |
Compare hourly rates across clouds | gpu_architecture (h100, rtx4090, mi300x) |
find_best_gpu_cloud |
AI workload recommendation engine | workload, budget_per_hour, interconnect_required |
list_gpu_cloud_guides |
Query architecture & vLLM blueprints | None |
list_ads |
Query ad campaigns by slot and status with live CTR stats | slot, status |
manage_ad |
Create, update, toggle active status, or delete ad campaigns | action, ad_id, title, slot, format, image_url, target_url |
get_ad_spaces |
Query available ad slots, recommended dimensions, and active count | None |
list_partners |
List footer partner badges, directory links, and backlink widgets | status: "all"|"active"|"paused" |
manage_partner |
Create, update, toggle active status, or delete footer partner badges | action, partner_id, name, format, html_code, ... |
Available MCP Resources
cgpu://providers/catalogโ Complete JSON catalog of verified providerscgpu://pricing/matrixโ Normalized hourly pricing datasetcgpu://benchmarks/summaryโ Interconnect latency and tokens/sec benchmark data
๐ค AI Agent Discovery & LLM Protocols
Cloud GPU Rating provides first-class, machine-readable specifications designed specifically for autonomous LLM crawlers, AI coding assistants (Claude Desktop, Cursor, Copilot, ChatGPT), and retrieval-augmented generation (RAG) pipelines.
| Protocol / Standard | URL | Format | Target AI Consumers |
|---|---|---|---|
| LLMs Discovery Standard | /llms.txt |
Markdown | Perplexity, Cursor, Copilot, NotebookLM |
| LLMs Full Knowledge Base | /llms-full.txt |
Extended Markdown | Large-context models (Claude 3.5 Sonnet, GPT-4o, Gemini 1.5 Pro) |
| AI Permissions Standard | /ai.txt |
Text Manifest | Autonomous Web Scrapers & Indexers |
| ChatGPT Plugin Manifest | /.well-known/ai-plugin.json |
JSON | OpenAI Custom GPTs & Assistants |
| OpenAPI 3.1.0 Specification | /openapi.json | /openapi.yaml |
JSON / YAML | Swagger, Postman, AutoGPT, LangChain |
| Model Context Protocol Manifest | /.well-known/mcp.json |
JSON | Anthropic Claude Desktop & Cursor IDE |
| High-Density AI Index | /api/v1/ai-index | /ai-index.json |
Clean JSON | Zero-auth RAG pipelines & LLM prompt injection |
RAG Ingestion Snippet
Autonomous agents and python crawlers can fetch our live high-density AI index without authentication headers: