{"uid":"cap_i1WQZR6jExkMwBB3HLQlb","slug":"netintel-chat-completions-llm-gateway-5b9a12df","name":"NetIntel Chat Completions (LLM Gateway)","description":"Network intelligence API — 138 endpoints, all pay-per-call via x402 micropayments (USDC on Base or Solana mainnet).\n\nNetIntel is agent fair-trade aligned: transparent per-call pricing in USDC on Base or Solana via x402, no API keys or signup, and automatic no-charge on server errors, upstream failures, and input-validation rejections — failed calls are never billed across NetIntel's network, domain, and data-intelligence endpoints.","url":"https://netintel-production-440c.up.railway.app/api/v1/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["model","messages"],"properties":{"model":{"type":"string","description":"Model id, e.g. gpt-4o-mini. Free catalog: GET /v1/models"},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"type":"string","description":"system, user, or assistant"},"content":{"type":"string","description":"Message text"}}},"description":"OpenAI chat messages: [{role, content}]"},"max_tokens":{"type":"number","description":"Max output tokens (clamped to the model's cap)."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"id":{"type":"string"},"model":{"type":"string"},"usage":{"type":"object"},"object":{"type":"string"},"choices":{"type":"array"}}}}}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-9f2f28d90a3c4e0f8f1c2d3e","model":"gpt-4o-mini","usage":{"total_tokens":15,"prompt_tokens":13,"completion_tokens":2},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hi!"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Wd1gQZfNquIXRmrYdlqht","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides an OpenAI-compatible chat completions endpoint powered by GPT-4o-mini, billed per-call via x402 USDC micropayments with no API key required.","exampleAgentPrompt":"Send this message to the AI and get a response: 'What are three tips for writing cleaner Python code?' — use pay-per-call billing so I don't need to manage API keys.","exampleUseCases":[{"title":"Keyless LLM in an agent pipeline","prompt":"I need to call GPT-4o-mini from my automation script without storing an API key — can you run this prompt through the pay-per-call chat completions endpoint: 'Summarize the following support ticket in one sentence: customer says checkout keeps failing on mobile.'"},{"title":"One-off AI answer for a user query","prompt":"My user just asked 'What's the difference between USDC and USDT?' — fire that off to the AI chat completions endpoint and return the answer, billing me the $0.10 per-call fee in USDC."},{"title":"Prototyping a chatbot without a subscription","prompt":"I'm testing a chatbot idea and don't want to set up an OpenAI account yet — can you send 'You are a friendly cooking assistant. User: How do I make a roux?' to the chat completions endpoint and show me what comes back?"}],"resultDescription":"Returns an OpenAI-compatible JSON chat completion object containing: a unique completion ID, the model name (gpt-4o-mini), the assistant's reply text inside choices[0].message.content, finish_reason (e.g. 'stop'), and a usage block with prompt_tokens, completion_tokens, and total_tokens.","failureModes":["Invalid or malformed messages array — returns 4xx validation error, no charge","Upstream OpenAI service unavailable — returns server error, no charge per NetIntel policy","Malformed JSON request body — rejected at input validation, no charge","Model name not recognized — validation rejection, no charge","x402 payment not included or insufficient — payment required error before processing"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible chat completions without managing API keys or subscriptions, want transparent pay-per-call USDC billing (no failed-call charges), and are building on an x402-enabled agent stack using Base or Solana mainnet. Ideal for sporadic or low-volume LLM calls where a monthly subscription is wasteful, or for agents that need to self-fund inference costs autonomously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:45:09.971Z","isFirstParty":false}