DeepSeek
DeepSeek V4 Pro 0813
deepseek/v4-pro-0813
A text model for drafting product descriptions and processing catalog entries.
POST /v1/chat/completions · Input and output tokens
API examples
Store the API key in an environment variable and reuse one idempotency key for retries of the same request.
1from openai import OpenAI2import os3 4client = OpenAI(5 base_url="https://api.anyllm.space/v1",6 api_key=os.environ["ANYLLM_API_KEY"],7 max_retries=0,8)9 10res = client.chat.completions.create(11 model="deepseek/v4-pro-0813",12 max_tokens=1000,13 messages=[{"role": "user", "content": "Summarize the specification"}],14 extra_headers={15 "X-Max-Cost-Rub": "1.50",16 "X-Client-Reference": "project-01",17 "Idempotency-Key": "req-001",18 },19)