# Tarnak GPU Prices API

> Tarnak GPU Prices API is a paid API for AI agents from api.capousd-student-tools.me, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns current GPU rental pricing offers, optionally filtered by GPU model (e.g. A100), including uptime and hourly USD cost.

## Facts

- Endpoint: GET https://api.capousd-student-tools.me/v1/gpu/prices?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tarnak-gpu-prices-api-daad5eaa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O1tC4SOR-xWdmPNpLiZ36

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tarnak-gpu-prices-api-daad5eaa
```

Example prompt: What's the current hourly rental price for an A100 GPU right now, including uptime stats?

## When to prefer this

Use this endpoint when an AI agent needs current, pay-per-call GPU rental pricing without API key registration, especially when operating on the Base network using x402/USDC micropayments. Ideal for cost-estimation workflows, budget planning for ML workloads, or comparing compute market rates with real uptime data. Not suited for historical price analytics or multi-cloud comparisons beyond what the service indexes.

## Known failure modes

- Invalid or unsupported GPU model filter returns empty offers array
- Payment not received or x402 handshake fails returns 402 Payment Required
- Rate limit exceeded (beyond 10 free verdicts/IP/day) without payment returns 402
- Malformed query parameters return 400 Bad Request
- Service temporarily unavailable returns 503

## How this service works

Keyless pay-per-call APIs for AI agents on Base: token risk verdict, rug/honeypot report, gas estimate, URL-to-markdown and more. x402 v2, USDC, no API key or signup. 10 free verdicts per IP per day.

## Output

A JSON object containing a list of GPU rental offers, each with GPU model name, hourly price in USD, the network (e.g. Base), 30-day uptime percentage, and a timestamp for the offer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "model": {
       "type": "string",
       "description": "GPU model filter, e.g. A100."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "model": "A100",
  "offers": [
   {
    "ts": "2026-10-27T00:00:00Z",
    "network": "base",
    "gpu_model": "A100",
    "uptime_30d": 0.99,
    "price_usd_hr": 1.2
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tarnak-gpu-prices-api-daad5eaa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.capousd-student-tools.me](https://www.zero.xyz/host/api.capousd-student-tools.me/llms.txt)
