# DeepSeek V4.1 Flash Metered Chat (Telnyx)

> DeepSeek V4.1 Flash Metered Chat (Telnyx) is a paid API for AI agents from x402.telnyx.com, paid per call via x402, $0.110962/call, status unknown (last checked 2026-10-15).

Runs chat completions using DeepSeek-V4.1-Flash via Telnyx Inference, OpenAI-compatible, with per-call metered billing up to large context windows

## Facts

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

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 deepseek-v4-1-flash-metered-chat-telnyx-e7dd100f -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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

## Output

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.

## 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.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
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/deepseek-v4-1-flash-metered-chat-telnyx-e7dd100f/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)
