Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt

Use this file to discover all available pages before exploring further.

Model ID
deepseek-ai/DeepSeek-V3.2-Exp
This model continues to provide high-quality, consistent responses across diverse tasks, from natural language understanding and reasoning to code generation and function calling, while maintaining a strong balance between performance and computational efficiency.

Model Information

  • Model Path: deepseek-ai/DeepSeek-V3.2-Exp
  • Release Type: Experimental (Enhanced Contextual and Reasoning Capabilities)

Key Improvements Over V3.1

  • Extended context length and improved long-range coherence.
  • More stable and accurate tool/function calling.
  • Enhanced reasoning and factual accuracy in complex tasks.
  • Improved response efficiency and output determinism under low temperatures.

API Usage

You can interact with DeepSeek-V3.2-Exp through the standard DeepSeek Chat Completions API endpoint.
Below are example usages for shell (cURL) and Python.

API Examples

Example 1: Basic Chat Completion

Generate a conversational response from DeepSeek-V3.2-Exp.

Shell

curl --request POST \
  --url https://api.gmi-serving.com/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer *************' \
  --data '{
    "model": "deepseek-ai/DeepSeek-V3.2-Exp",
    "messages": [
      {"role": "system", "content": "You are a helpful AI assistant"},
      {"role": "user", "content": "List 3 countries and their capitals."}
    ],
    "temperature": 0,
    "max_tokens": 500
  }'
Function Call
curl --request POST \
  --url https://api.gmi-serving.com/v1/chat/completions \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer *************' \
  --data '{
    "temperature": 0,
    "max_tokens": 100,
    "model": "deepseek-ai/DeepSeek-V3.2-Exp",
    "tools": [
        {
            "type": "function",
            "function": {
                "name": "query_weather",
                "description": "Get the weather for a given city. The user must provide a city name.",
                "parameters": {
                    "type": "object",
                    "properties": {
                        "city": {
                            "type": "string",
                            "description": "The city name, e.g. Beijing"
                        }
                    },
                    "required": ["city"]
                }
            }
        }
    ],
    "messages": [
        {
            "role": "user",
            "content": "How's the weather in Qingdao today?"
        }
    ]
}'

Python SDK usage

import requests
import json

url = "https://api.gmi-serving.com/v1/chat/completions"
headers = {
    "Content-Type": "application/json",
    "Authorization": "Bearer *************"
}

payload = {
    "model": "deepseek-ai/DeepSeek-V3.2-Exp",
    "messages": [
        {"role": "system", "content": "You are a helpful AI assistant"},
        {"role": "user", "content": "List 3 countries and their capitals."}
    ],
    "temperature": 0,
    "max_tokens": 500
}

response = requests.post(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=2))