Skip to main content
DeepSeek V3.1 is available through AnyFast via an OpenAI-compatible interface. It excels at complex reasoning, coding, and multi-turn conversations.

Key capabilities

  • OpenAI-compatible — Works as a drop-in replacement with the OpenAI SDK
  • Long context — Handles large documents and multi-turn conversations
  • Streaming — Supports real-time token streaming via SSE
  • Strong reasoning — Designed for complex, multi-step tasks

Quick example

curl https://www.anyfast.ai/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-v3-1",
    "messages": [
      { "role": "user", "content": "Explain quantum entanglement in simple terms." }
    ]
  }'

Parameters

ParameterTypeRequiredDescription
modelstringYesMust be deepseek-v3-1
messagesarrayYesList of { role, content } objects
max_tokensintegerNoMaximum tokens to generate
temperaturefloatNo02. Controls randomness. Default: 1
streambooleanNoEnable SSE streaming. Default: false
top_pfloatNoNucleus sampling threshold
stopstring / arrayNoSequences that stop generation

API Reference

View the interactive API playground for DeepSeek V3.1.