{"uid":"cap_cZW3U0_bTJrFACjBPp96E","slug":"singit-ask-grok-4-7-chat-completions-482341cb","name":"SingIt Ask: Grok 4.7 Chat Completions","description":"SingIt Ask: Grok 4.7 (xAI) chat completions with no API key or account, OpenAI-compatible. xAI's Grok 4.7 model: general-purpose chat and reasoning. Call it when an agent needs Grok 4.7 specifically.","url":"https://ask.singitai.app/v1/chat/grok-4.7?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","examples":["deepseek-v4.1-flash","claude-opus-5.5","gpt-5.5","gemini-3.1-pro"],"description":"Any model id from GET /v1/models; the ceiling follows its price. Omit for the default model."},"stream":{"enum":[false],"type":"boolean","description":"Streaming is not offered."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string","description":"Plain text; all messages together under 24000 characters."}}},"maxItems":40,"minItems":1,"description":"The conversation, oldest first."},"max_tokens":{"type":"integer","default":800,"maximum":1200,"minimum":1,"description":"The longest answer, in tokens. The payment ceiling grows with it; the charge follows what was used."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001536","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.005069/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005069","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005069","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m3W8cVGGAT7t_LVVy6hI-","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005069","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides OpenAI-compatible chat completions powered by xAI's Grok 4.7 model, with no API key required, billed per call via x402.","exampleAgentPrompt":"Ask Grok 4.7 to explain the reasoning behind the trolley problem in philosophy — keep the answer under 800 tokens and use a conversational tone.","exampleUseCases":[{"title":"Grok-powered coding assistant","prompt":"Use Grok 4.7 to help me debug this Python function — it's supposed to return a sorted list but instead raises a TypeError. Here's the code: [paste code]. Give me a clear explanation and a corrected version, max 1000 tokens."},{"title":"Multi-turn story brainstorming","prompt":"I want Grok 4.7 to continue a story I've been writing. System prompt: you are a creative fiction writer. My last message was: 'The detective opened the door and froze.' Continue the story in 3 paragraphs."},{"title":"Competitive model comparison test","prompt":"Send this exact prompt to Grok 4.7 and give me its answer: 'What are the three most underrated programming languages in 2025 and why?' Keep max_tokens at 600 so I can compare it to other models."}],"resultDescription":"Returns an OpenAI-compatible chat completion object containing the assistant's text response, usage token counts (prompt, completion, total), finish reason, and model metadata. Streaming is not supported; the full response is returned in one payload.","failureModes":["Input messages exceed 24,000 characters — request rejected","max_tokens set above 1,200 — capped or rejected","Payment via x402 fails or USDC balance insufficient — 402 response","Model id provided but not found on /v1/models — model not found error","Empty or malformed messages array — validation error","Rate limiting or upstream xAI service unavailability — 5xx error"],"whenToPreferThis":"Choose this endpoint when an agent specifically needs xAI's Grok 4.7 model for its distinctive reasoning style, without setting up an xAI developer account or managing API keys. It is ideal for pay-per-call pipelines using the x402 micropayment protocol, OpenAI-SDK-compatible integrations, or when comparing Grok 4.7 against other frontier models through a unified interface. Prefer alternatives on this platform when a different model (Claude, GPT, Gemini, DeepSeek) is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:05:06.243Z","isFirstParty":false,"canonicalSlug":"singit-ask-grok-4-7-chat-completions-482341cb"}