# Telnyx Inference – DeepSeek-V4-Flash-0731 Chat Completions (Large Context, Metered)

> Telnyx Inference – DeepSeek-V4-Flash-0731 Chat Completions (Large Context, Metered) is a paid API for AI agents from x402.telnyx.com, paid per call via x402, $0.041977/call, status unknown (last checked 2026-10-15).

Runs OpenAI-compatible chat completions using DeepSeek-V4-Flash-0731 on Telnyx's inference infrastructure, billed per call for large/metered context usage

## Facts

- Endpoint: POST https://x402.telnyx.com/v1/chat/completions/_t/deepseek-v4-flash-0731/upto?utm_source=zero.xyz
- Price: $0.041977/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/telnyx-inference-deepseek-v4-flash-0731-chat-completions-large-82ad54e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S1rpNZa6EP8za9fBWpH5C

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability telnyx-inference-deepseek-v4-flash-0731-chat-completions-large-82ad54e2 -d '<json body>'
```

Example prompt: Using the DeepSeek-V4-Flash-0731 model on Telnyx, send a chat completion with a system prompt that says 'You are a helpful assistant' and a user message asking 'Explain quantum entanglement in simple terms', with a max of 512 tokens and temperature 0.7.

## When to prefer this

Choose this endpoint when you need a fast, cost-effective OpenAI-compatible chat completion using DeepSeek-V4-Flash-0731 with support for large context inputs (up to 900K characters per message), tool/function calling with up to 16 tools, and pay-per-call USDC billing via x402 — especially when running agentic workflows that require metered, unpredictable usage volumes without subscription commitments.

## Known failure modes

- Payment failure if x402 USDC payment is rejected or insufficient — returns 402 Payment Required
- Context length exceeded if messages exceed 900,000 characters — request is rejected
- Invalid model identifier if model field is changed from the fixed value — returns 422 or 400
- Rate limiting or capacity errors — returns 429 or 503
- Malformed messages array (missing role or content) — returns 400 validation error

## How this service works

Chat completions via Telnyx Inference (deepseek-ai/DeepSeek-V4-Flash-0731). OpenAI-compatible. $0.005214 USDC per call. (upto metered — large context)

## Output

Returns an OpenAI-compatible chat completion response containing the assistant's generated message, finish reason, token usage counts, and optionally tool call objects if tools were provided in the request.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "n": {
   "type": "integer",
   "const": 1,
   "description": "Fixed to one completion per paid call."
  },
  "model": {
   "type": "string",
   "const": "deepseek-ai/DeepSeek-V4-Flash-0731",
   "description": "Model identifier; fixed to deepseek-ai/DeepSeek-V4-Flash-0731 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": 8192,
   "minimum": 1
  },
  "temperature": {
   "type": "number",
   "maximum": 2,
   "minimum": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/telnyx-inference-deepseek-v4-flash-0731-chat-completions-large-82ad54e2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.telnyx.com](https://www.zero.xyz/host/x402.telnyx.com/llms.txt)
