deepseek chat completions
deepseek_chat_completionsOpenAI-compatible chat completions on DeepSeek V4 Flash, fast and inexpensive frontier model with tool calling and a 1M-token context. Set your OpenAI SDK base URL to https://agentrxi.com/v1/deepseek and pay per token with x402 instead of an API key: $0.88 per million input and $2.64 per million output tokens, minimum $0.002 a call, at most $0.0740. The 402 quotes your request's maximum; "upto" payers are charged only the tokens used. Same request/response shape as OpenAI (tool calling, reasoning, streaming supported), up to 8192 output tokens. Costs $0.0740 USDC per call (x402).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Ignored; always deepseek-v4-flash | |
| tools | No | OpenAI function tools | |
| stream | No | ||
| messages | Yes | ||
| max_tokens | No | ||
| temperature | No |