{"uid":"cap_Bcb3PqKj3iSfogOc25TiJ","slug":"farout-deepseek-v4-pro-chat-completions-x402-6ac5010f","name":"FarOut DeepSeek V4 Pro Chat Completions (x402)","description":"Fixed-price chat completions for deepseek-v4-pro on FarOut: flat $0.002 per call (includes up to 4,000 input + 1,000 output tokens). Rate: $0.037/1M input tokens, $0.111/1M output tokens. Pay with USDC on Base using x402. No API key, no account, no prepaid balance.","url":"https://farouter.tech/v1/models/deepseek-v4-pro/chat/completions","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"type":"string","description":"Model id from GET /v1/models, e.g. glm-5.3. No provider prefix."},"stream":{"type":"boolean","description":"SSE streaming."},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","developer","user","assistant","tool"],"type":"string"},"content":{}},"additionalProperties":true},"minItems":1,"description":"Chat messages, [OI]-compatible {role, content}."},"max_tokens":{"type":"integer","minimum":1,"description":"Output token budget. Sets your spending cap; actual usage is what gets settled (true-up)."},"temperature":{"type":"number","maximum":2,"minimum":0,"description":"Sampling temperature."},"max_completion_tokens":{"type":"integer","minimum":1,"description":"Alias of max_tokens (gpt-5.x models)."}}},"responseSchema":{"type":"json","example":{"usage":{"prompt_tokens":6,"completion_tokens":8},"choices":[{"message":{"role":"assistant","content":"Hello! How can I help?"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Vuon8gz7Fvkx2LHdfPG_7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs DeepSeek V4 Pro chat/reasoning inference via a pay-per-call API using USDC on Base — no API key or prepaid balance required.","exampleAgentPrompt":"Ask DeepSeek V4 Pro to write a Python function that sorts a list of dictionaries by a given key, with a max output of 512 tokens — and pay for it with USDC on Base, no API key needed.","exampleUseCases":[{"title":"Agentic coding assistant on-demand","prompt":"Use DeepSeek V4 Pro to generate a complete TypeScript class for a rate-limited HTTP client with retry logic — limit the response to 1024 tokens and pay per call with USDC, no account setup."},{"title":"Autonomous reasoning task in a pipeline","prompt":"Send this multi-step logic problem to DeepSeek V4 Pro and get a reasoned answer: 'If A implies B, B implies C, and C is false, what can we conclude about A?' Keep it under 256 tokens."},{"title":"Anonymous LLM call from a script","prompt":"Without signing up for any service, call DeepSeek V4 Pro and ask it to summarize the following text in 3 bullet points — max 300 tokens — and charge the USDC micropayment automatically."}],"resultDescription":"Returns an OpenAI-compatible JSON response with a choices array containing the assistant's message content and finish_reason, plus a usage object with prompt_tokens and completion_tokens counts.","failureModes":["Insufficient USDC balance or failed x402 payment — returns 402 Payment Required","Invalid or unsupported model ID — returns 400 Bad Request","messages array is empty or malformed — returns 400 validation error","max_tokens or max_completion_tokens set too low for the requested output — truncated response with finish_reason=length","Network timeout on long reasoning outputs — connection dropped mid-stream when streaming is enabled"],"whenToPreferThis":"Choose this endpoint when you need DeepSeek V4 Pro specifically for deep reasoning or coding tasks and want true pay-per-call billing in USDC with no API key, no account, and no prepaid credits — ideal for autonomous agents or scripts that must operate without pre-registered credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:29.122Z","isFirstParty":false}