{"uid":"cap_HMhtHPrcj2uQXoJVWWEcf","slug":"1rpc-ai-multi-model-ai-chat-completions-1ec11274","name":"1RPC.ai Multi-Model AI Chat Completions","description":"Payment required for 1RPC AI service access","url":"https://1rpc.ai/v1/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string"},"messages":{"type":"array"}}},"responseSchema":{"type":"object","required":["id","object","created","model","choices"],"properties":{"id":{"type":"string"},"model":{"type":"string"},"usage":{"type":"object","required":["prompt_tokens","completion_tokens","total_tokens"],"properties":{"total_tokens":{"type":"number"},"prompt_tokens":{"type":"number"},"completion_tokens":{"type":"number"},"prompt_tokens_details":{"type":"object","properties":{"audio_tokens":{"type":"number"},"cached_tokens":{"type":"number"}},"additionalProperties":false},"completion_tokens_details":{"type":"object","properties":{"audio_tokens":{"type":"number"},"reasoning_tokens":{"type":"number"},"accepted_prediction_tokens":{"type":"number"},"rejected_prediction_tokens":{"type":"number"}},"additionalProperties":false}},"additionalProperties":false},"object":{"enum":["chat.completion"],"type":"string"},"choices":{"type":"array","items":{"type":"object","required":["index","message","finish_reason"],"properties":{"index":{"type":"number"},"message":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["assistant"],"type":"string"},"content":{"type":"string","nullable":true},"refusal":{"type":"string","nullable":true}},"additionalProperties":true},"logprobs":{"nullable":true},"finish_reason":{"enum":["stop","length","content_filter"],"type":"string","nullable":true}},"additionalProperties":false}},"created":{"type":"number"},"service_tier":{"type":"string","nullable":true},"system_fingerprint":{"type":"string","nullable":true}},"additionalProperties":false},"example":{"request":{"model":"gpt-4o","messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What are three creative names for a coffee shop in Brooklyn?"}]},"response":{"id":"chatcmpl-DpntY1vNLnDCUH55P432m10QWTD6t","model":"gpt-4o-2024-08-06","usage":{"total_tokens":247,"prompt_tokens":147,"completion_tokens":100,"prompt_tokens_details":{"audio_tokens":0,"cached_tokens":0},"completion_tokens_details":{"audio_tokens":0,"reasoning_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0}},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Here are three creative names for a coffee shop in Brooklyn:\n\n1. **Brooklyn Brews & Blues** - A catchy name that hints at both the coffee brews and the local music vibe.\n   \n2. **The Gotham Grind** - Playing on New York City's nickname, this name suggests both a city vibe and the daily ritual of grinding coffee.\n   \n3. **Bean & Barrel** - A nod to both coffee beans and a rustic, welcoming atmosphere, perfect for a neighborhood spot.","refusal":null,"annotations":[]},"logprobs":null,"finish_reason":"stop"}],"created":1781238896,"service_tier":"default","system_fingerprint":"fp_1712d0c93b"}},"exampleRequest":{"model":"gpt-4o","messages":[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What are three creative names for a coffee shop in Brooklyn?"}]},"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3Xoo4x0041uEUMmR4SVuX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Routes chat completion requests across multiple AI models with zero-trace privacy via a pay-per-call API compatible with OpenAI's chat completions format","exampleAgentPrompt":"Using 1RPC's zero-trace multi-model router, send this conversation to gpt-4o and get a response: system says 'You are a helpful assistant' and the user asks 'What are three creative names for a coffee shop in Brooklyn?'","exampleUseCases":[{"title":"Anonymous AI legal draft review","prompt":"I need to review a sensitive legal document without any data retention. Use 1RPC's zero-trace router to send this to gpt-4o: system says 'You are an expert legal assistant. Summarize key clauses and flag potential risks.' and the user says 'Here is the contract section: [pasted clause text]. What are the main risks I should be aware of?'"},{"title":"Private mental health journaling assistant","prompt":"Help me process my thoughts privately — I don't want this stored anywhere. Route through 1RPC's zero-trace gateway to a capable model: system says 'You are a compassionate journaling coach. Help the user reflect on their feelings without judgment.' and the user says 'I've been feeling overwhelmed at work lately and I'm not sure how to cope. What are some grounding techniques I can try tonight?'"},{"title":"Crypto-paid competitive research queries","prompt":"I want to run a competitive analysis query anonymously using pay-per-call crypto micropayments. Send this through 1RPC to gpt-4o: system says 'You are a business strategy analyst.' and the user asks 'What are the top five differentiators that make a B2B SaaS product stand out in a crowded market, and how should a startup position itself against incumbents?'"}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing: a unique completion ID, the model used, the assistant's reply message content, finish reason (stop/length/content_filter), and token usage statistics (prompt tokens, completion tokens, total tokens).","failureModes":["Payment not provided or insufficient — 402 Payment Required returned before completion is processed","Invalid or unsupported model name — model not found or not available via 1RPC routing","Malformed messages array — missing required role or content fields causes a 400 error","Content filtered by model — finish_reason set to content_filter with null content","Rate limiting or capacity issues — service temporarily unavailable"],"whenToPreferThis":"Choose this endpoint when you need a privacy-preserving, zero-trace LLM gateway that supports multiple model backends under a single OpenAI-compatible interface, especially when paying per-call via crypto micropayments (x402/USDC) is acceptable and data retention by the provider must be minimized.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T18:30:27.897Z","isFirstParty":false,"canonicalSlug":"1rpc-ai-multi-model-ai-chat-completions-1ec11274"}