{"uid":"cap_utY-FSo7JQV-8t8b6nwFb","slug":"prism-network-gpu-inference-api-4f67aa0c","name":"Prism Network GPU Inference API","description":"GPU compute your agents can rent with a wallet. Lease NVIDIA capacity, pay per second in USDG, and settle every lease onchain with a public receipt.","url":"https://api.prismnetwork.tech/inference/v1/inference?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["llama3.2:3b","llama3.1:8b"],"type":"string","description":"Which model answers."},"prompt":{"type":"string","minLength":1,"description":"The prompt, up to 32 KiB."},"options":{"type":"object","properties":{"num_predict":{"type":"integer","maximum":1024,"minimum":1,"description":"Maximum output tokens. Lower is cheaper."}},"description":"Generation options. The price scales with the output cap."}}},"responseSchema":{"type":"json","example":{"model":"llama3.2:3b","usage":{"duration_ms":640,"prompt_tokens":12,"completion_tokens":14},"lease_id":1047,"response":"Metered GPU compute bills by the second and settles onchain."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012144","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.012144/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012144","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012144","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_04tfiESvD29nMQogvDr4w","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012144","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs LLM text inference (Llama 3.1/3.2) on rented NVIDIA GPU capacity, billed per call in USDG with an onchain lease receipt","exampleAgentPrompt":"Use Prism's GPU inference to run a Llama 3.1 8B prompt — 'Summarize the key points of the open-source AI movement in 3 bullet points' — and cap the output at 512 tokens.","exampleUseCases":[{"title":"Crypto-native agent text generation","prompt":"Ask the Prism inference API to complete this prompt using Llama 3.2 3B with a 256-token cap: 'Write a short product description for a biodegradable phone case brand called Greenhold.'"},{"title":"Auditable AI output for compliance","prompt":"Run this legal summary prompt through Prism's Llama 3.1 8B model — 'Explain force majeure in plain English for a non-lawyer' — I need the onchain lease ID so we can audit which GPU served the response."},{"title":"Cost-controlled batch inference via wallet","prompt":"Send this prompt to Prism using llama3.2:3b and limit the output to 100 tokens to keep costs low: 'Generate a catchy tweet about renewable energy.' Pay using my USDG wallet."}],"resultDescription":"Returns a JSON object with the generated text string, the model name used, the GPU lease ID tied to the onchain payment, and optional usage metadata including prompt tokens, completion tokens, and duration in milliseconds.","failureModes":["Insufficient USDG wallet balance — payment fails before inference runs","Prompt exceeds 32 KiB limit — rejected with validation error","Invalid model enum value (only llama3.2:3b and llama3.1:8b supported) — returns 400","num_predict out of range (must be 1–1024) — validation error","GPU lease unavailable or capacity exhausted — service unavailable error","Onchain settlement failure — lease_id may be null in response"],"whenToPreferThis":"Choose this endpoint when you need LLM text generation with crypto-native payment (USDG via x402), want a public onchain audit trail for each inference job, or are building an autonomous agent that must pay for compute from a wallet without credit cards or API key subscriptions. Prefer over OpenAI/Anthropic APIs when decentralization, auditability, or wallet-based billing is a requirement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T04:07:44.392Z","isFirstParty":false,"canonicalSlug":"prism-network-gpu-inference-api-4f67aa0c"}