{"uid":"cap_uamFj1PLA96zF_UvvJBTg","slug":"joule-compute-ai-inference-8b31db70","name":"JOULE Compute AI Inference","description":"AI inference (7 models available)","url":"https://compute.lumenbro.com/api/v1/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["meta-llama/Llama-3.3-70B-Instruct","meta-llama/Llama-3.2-3B-Instruct","meta-llama/Llama-4-Scout-17B-16E-Instruct","mistralai/Mistral-Small-24B-Instruct-2501","deepseek-ai/DeepSeek-V3","Qwen/Qwen2.5-72B-Instruct","deepseek-ai/DeepSeek-R1"],"type":"string","description":"Model ID for inference"},"stream":{"type":"boolean","description":"Enable SSE streaming (optional)"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}},"minItems":1,"description":"Chat messages in OpenAI format"},"max_tokens":{"type":"number","description":"Maximum output tokens (optional)"},"temperature":{"type":"number","description":"Sampling temperature 0-2 (optional)"}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-abc123","usage":{"total_tokens":18,"prompt_tokens":10,"completion_tokens":8},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello! How can I help?"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002105","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.002105/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002105","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002105","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rRdalYJ6Aezf8DE0X1GcW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002105","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs AI chat completions via POST against an OpenAI-compatible endpoint supporting 7 available models","exampleAgentPrompt":"Using JOULE Compute's chat completions endpoint, send this message to an available model and return the response: 'Explain the concept of recursion in one sentence.'","exampleUseCases":[{"title":"Summarize customer support ticket","prompt":"Use JOULE Compute to send this support ticket to one of the available models and give me a concise summary of the issue and suggested resolution: 'Customer says their order #48291 arrived damaged and they want a replacement or refund, they've been waiting 3 weeks already.'"},{"title":"Generate product description copy","prompt":"Using JOULE Compute's chat completions endpoint, ask an available model to write a compelling 3-sentence product description for a wireless noise-cancelling headphone targeting remote workers, and return what it comes up with."},{"title":"Classify user intent from message","prompt":"Send this user message to a JOULE Compute model and have it classify the intent as one of: purchase, refund, technical support, or general inquiry — just return the label and a one-line reason. Message: 'Hey, my app keeps crashing every time I try to log in, what do I do?'"}],"resultDescription":"Returns an OpenAI-compatible chat completion object with the assistant's reply text, the finish reason (e.g. 'stop'), an index, and token usage stats (prompt tokens, completion tokens, total tokens), all under a unique completion ID.","failureModes":["Invalid or missing model name returns 400 or model-not-found error","Payment not included or insufficient USDC balance results in 402 Payment Required","Malformed messages array causes 400 Bad Request","Rate limiting or capacity issues may return 429 Too Many Requests","Unsupported model among the 7 available returns an error"],"whenToPreferThis":"Choose this endpoint when you need a pay-per-call, OpenAI-compatible AI chat completions API with micro-payment billing via x402/USDC, particularly when integrating with x402-aware agents or pipelines that handle on-chain payments and need access to 7 hosted models without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:40:38.290Z","isFirstParty":false}