{"uid":"cap_5Qm1s3XYGvVblmAi0l55V","slug":"chat-deepseek-v3-2-openai-compatible-5faeeeee","name":"Chat DeepSeek V3 2 (OpenAI-Compatible)","description":"OpenAI-style chat completion from DeepSeek-V4-Flash-0731. Base LLM chat with messages and max_tokens. Returns: an OpenAI-style chat completion from the model the service is named for (DeepSeek-V4-Flash-0731, Qwen3-32B or Llama-3.1-8B-Instruct): POST {messages: [{role, content}], max_tokens <= 1024}; returns the assistant message, the model, and its token usage. Messages up to 16,000 characters in total.","url":"https://ari001.tailb4ac3a.ts.net/v1/ventures/x402_chain_reads_v1/chat_deepseek_v3_2?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"]},"content":{"type":"string"}}},"maxItems":32,"minItems":1},"max_tokens":{"type":"integer","maximum":1024,"minimum":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lJefN3CGnrxaZRipLkwJ6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Provides OpenAI-style chat completions via DeepSeek-V4-Flash-0731 (or Qwen3-32B / Llama-3.1-8B-Instruct), accepting multi-turn messages and returning the assistant reply with token usage","exampleAgentPrompt":"Ask the DeepSeek model to explain the difference between supervised and unsupervised learning in plain English, in at most 300 tokens.","exampleUseCases":[{"title":"Draft marketing copy from bullet points","prompt":"Take these product bullet points and turn them into a punchy two-paragraph marketing blurb — use DeepSeek to write it, keeping it under 500 tokens: fast shipping, eco-friendly packaging, 30-day returns."},{"title":"Multi-turn coding assistant session","prompt":"I need to debug this Python function — start with a system message saying you're a senior Python engineer, then have the user ask why this loop is off-by-one: 'for i in range(1, len(arr)): print(arr[i])'. Cap the reply at 400 tokens."},{"title":"Summarize a long support thread","prompt":"Summarize this customer support conversation into a three-sentence resolution note using the DeepSeek model, max 200 tokens — here are the messages: [customer: 'my order never arrived', agent: 'let me check', agent: 'it was lost in transit, we'll reship']."}],"resultDescription":"Returns an OpenAI-style chat completion object containing the assistant's reply text, the model identifier used (DeepSeek-V4-Flash-0731, Qwen3-32B, or Llama-3.1-8B-Instruct), and token usage counts (prompt tokens, completion tokens, total tokens).","failureModes":["Input messages exceed 16,000 characters total — request rejected","max_tokens exceeds 1024 — request rejected","Messages array is empty or missing — validation error","Network timeout if the model is under load","Role value outside system/user/assistant enum — validation error","Payment not settled (x402) — 402 response before inference runs"],"whenToPreferThis":"Choose this endpoint when you need a cost-effective ($0.003/call), OpenAI-compatible chat completion backed by DeepSeek-V4-Flash-0731, and your conversation fits within 16,000 characters and 1,024 output tokens. It is ideal for agents already structured around the OpenAI messages format who want to swap in a DeepSeek or Qwen3 model without changing message structure. Prefer sibling endpoints (Qwen3-32B, Llama-3.1-8B) if model-specific behaviour matters more than cost; prefer this one for a good balance of capability and price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-22T13:26:12.260Z","isFirstParty":false,"canonicalSlug":"chat-deepseek-v3-2-openai-compatible-5faeeeee"}