{"uid":"cap_DaVjKfuhAts4iOHosc0le","slug":"deepseek-v4-1-flash-metered-chat-telnyx-e7dd100f","name":"DeepSeek V4.1 Flash Metered Chat (Telnyx)","description":"Featured model. Chat completions via Telnyx Inference (deepseek-ai/DeepSeek-V4.1-Flash). OpenAI-compatible. $0.013259 USDC per call. (upto metered — large context)","url":"https://x402.telnyx.com/v1/chat/completions/_t/deepseek-v4.1-flash/upto?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"n":{"type":"integer","const":1,"description":"Fixed to one completion per paid call."},"model":{"type":"string","const":"deepseek-ai/DeepSeek-V4.1-Flash","description":"Model identifier; fixed to deepseek-ai/DeepSeek-V4.1-Flash on this route."},"tools":{"type":"array","items":{"type":"object"},"maxItems":16},"messages":{"type":"array","items":{"type":"object","required":["role","content"],"properties":{"role":{"enum":["system","user","assistant","tool"],"type":"string"},"content":{"type":"string","maxLength":900000}}},"maxItems":32,"description":"OpenAI-style chat messages."},"max_tokens":{"type":"integer","maximum":16384,"minimum":1},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.110962","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.110962/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.110962","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.110962","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ixJ9Nm6Q2bXlWgfW2IKYh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.110962","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs chat completions using DeepSeek-V4.1-Flash via Telnyx Inference, OpenAI-compatible, with per-call metered billing up to large context windows","exampleAgentPrompt":"Using the DeepSeek V4.1 Flash model on Telnyx, send this conversation to get a completion: system prompt 'You are a helpful assistant', user message 'Summarize the key risks in this contract: [contract text]', with up to 4096 tokens and temperature 0.7.","exampleUseCases":[{"title":"Long document Q&A with DeepSeek","prompt":"I have a 50-page legal document I need to query — send it to DeepSeek V4.1 Flash on Telnyx as a user message and ask it to identify all indemnification clauses, using up to 16000 tokens in the response."},{"title":"Multi-turn agent reasoning loop","prompt":"Run a multi-turn conversation with DeepSeek V4.1 Flash via Telnyx: start with the system prompt 'You are a coding assistant', then pass my last three messages and its previous replies, and get the next response at temperature 0.2."},{"title":"Tool-calling workflow with DeepSeek","prompt":"I need DeepSeek V4.1 Flash to decide which of my three tools to call — send it the user request 'What's the weather in Tokyo?' along with my weather, search, and calendar tool definitions, and return whichever tool call it picks."}],"resultDescription":"An OpenAI-compatible chat completion response containing an assistant message, finish reason, token usage counts, and optionally tool call instructions if tools were provided. The response reflects output from the deepseek-ai/DeepSeek-V4.1-Flash model running on Telnyx Inference infrastructure, supporting up to 16,384 output tokens and a large input context.","failureModes":["Payment failure or insufficient USDC balance returns a 402 Payment Required error","Exceeding max_tokens limit of 16384 causes a validation error","Messages array exceeding 32 items or content exceeding 900,000 characters is rejected","Invalid role values in messages result in schema validation errors","More than 16 tools defined causes the request to be rejected","Model overload or Telnyx Inference unavailability returns a 503 or timeout","Malformed JSON body returns a 400 Bad Request"],"whenToPreferThis":"Choose this endpoint when you need a fast, capable DeepSeek Flash model with large context support (up to ~900k characters input) and are comfortable with per-call USDC billing via the x402 payment protocol. Prefer it over smaller/cheaper siblings like Gemma 2B or GLM-5.3-Flash when task complexity demands a stronger frontier model, and over heavier models like Kimi K3 when speed matters more than extended reasoning chains. Ideal for agents that need OpenAI-compatible chat completions with tool-calling support without managing inference infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T06:30:21.866Z","isFirstParty":false,"canonicalSlug":"deepseek-v4-1-flash-metered-chat-telnyx-e7dd100f"}