{"uid":"cap_j4FFSFavpw7CxRaDDt-3_","slug":"laminarity-relay-deepseek-v4-flash-chat-completions-4f589710","name":"Laminarity Relay – DeepSeek-V4-Flash Chat Completions","description":"Pay-per-request LLM inference for AI agents, served by open-weight models (DeepSeek, GLM, MiniMax). OpenAI-compatible; paid in USDC via x402 — no signup, no API keys.","url":"https://api.laminarity.uk/v1/deepseek-v4-flash/chat/completions?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"model":{"enum":["deepseek-ai/DeepSeek-V4-Flash-0731"],"type":"string","default":"deepseek-ai/DeepSeek-V4-Flash-0731","description":"Model id from GET /v1/models."},"stream":{"type":"boolean","default":false},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant"],"type":"string"},"content":{"type":"string"}}}},"max_tokens":{"type":"integer","minimum":1,"description":"Upper bound on completion tokens; lower values cost less."},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":{"type":"json","example":{"id":"chatcmpl-example","model":"deepseek-ai/DeepSeek-V4-Flash-0731","usage":{"total_tokens":12,"prompt_tokens":9,"completion_tokens":3},"object":"chat.completion","choices":[{"index":0,"message":{"role":"assistant","content":"Hello!"},"finish_reason":"stop"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001231","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.001231/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001231","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001231","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CcxhwUQ1Yf16yPn2Mt8cp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001231","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs pay-per-request LLM chat inference using DeepSeek-V4-Flash-0731, billed per call in USDC via x402 with no signup or API keys required.","exampleAgentPrompt":"Ask DeepSeek-V4-Flash to explain quantum entanglement in simple terms — keep the reply under 200 tokens and use a temperature of 0.7.","exampleUseCases":[{"title":"Keyless agent-to-agent reasoning","prompt":"I need you to send a reasoning task to the DeepSeek-V4-Flash model — ask it to summarize this customer complaint in one sentence, keep it under 100 tokens, and just pay the per-request fee automatically."},{"title":"Dynamic content generation in a pipeline","prompt":"Generate a witty one-liner product description for 'self-heating coffee mug' using DeepSeek-V4-Flash at temperature 1.2, max 60 tokens — no need to set up an account, just pay as you go."},{"title":"Autonomous agent sub-task delegation","prompt":"My orchestration agent needs to delegate a math word problem to a cheaper fast model — send it to DeepSeek-V4-Flash with a system prompt saying 'you are a math tutor', limit to 150 tokens, and pay per call in USDC."}],"resultDescription":"A JSON chat completion object in OpenAI format containing the assistant's reply text, finish reason (e.g. 'stop'), and token usage stats (prompt tokens, completion tokens, total tokens).","failureModes":["Payment failure or insufficient USDC balance causes a 402 Payment Required response","Invalid or missing messages array returns a 400 Bad Request","Exceeding model context window causes truncation or error","Temperature outside 0–2 range is rejected with a validation error","Network timeout if the model takes too long to respond under high load"],"whenToPreferThis":"Choose this endpoint when you need OpenAI-compatible LLM inference without managing API keys or subscriptions, especially in agentic pipelines that can pay per call in USDC via x402. It is ideal for cost-sensitive, high-frequency agent tasks where DeepSeek-V4-Flash's speed and low per-call price ($0.001231 USDC) outweigh needing a specific proprietary model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T06:33:11.825Z","isFirstParty":false,"canonicalSlug":"laminarity-relay-deepseek-v4-flash-chat-completions-4f589710"}