{"slug":"deepseek-v3.2-exp","name":"DeepSeek V3.2 Exp","family":"deepseek","family_name":"DeepSeek","developer":"DeepSeek","color":"#1e3a8a","status":"preview","released":"2025-09-29","snapshot_of":null,"open":true,"context":128000,"max_output":147456,"knowledge_cutoff":"2025-07","modalities":["text"],"output_modalities":["text"],"reasoning":true,"tools":true,"structured_output":true,"huggingface":"deepseek-ai/DeepSeek-V3.2-Exp","speed":15,"latency":2.44,"short":"An open-weights, text-only model from DeepSeek, released September 2025, priced far below the registry median. Its benchmark scores sit mostly below the median, so cost is its main draw.","strengths":["Blended price of $0.31 per million tokens, against a median of $1.01","14th of 194 on intelligence points per dollar","Open weights with tool calling, structured output and reasoning mode","128k context window and up to 147k response tokens"],"weaknesses":["Intelligence index 51.4, 85th of 114, below the median of 59.5","SciCode 38.9%, 83rd of 96, against a median of 50.2%","WebDev Arena rating 1367, 72nd of 85, well below the median of 1506"],"best_for":"Cost-sensitive agents using tool calling or structured output on text tasks, where top benchmark scores are not required.","long":"DeepSeek V3.2 Exp was released in September 2025 with open weights. It accepts text input only and offers a 128k context window and up to 147k response tokens. It supports tool calling, reasoning mode and structured output. Its knowledge cutoff is July 2025, and it is available from DeepSeek and OpenRouter.\n\nPrice is the main reason to consider it. It costs $0.27 per million input tokens and $0.41 per million output tokens, a blended $0.31 against a registry median of about $1.01. That places it 14th of 194 on intelligence points per dollar, and 45th of 194 on price.\n\nThe benchmark results are weaker. Its intelligence index is 51.4, 85th of 114 and below the median of 59.5. It also ranks low on SciCode and WebDev Arena, and its LMArena text score is close to the median. It suits agents where low cost matters more than peak capability.","described":true,"gateway":false,"byok":true,"string":"deepseek:deepseek-v3.2-exp","input":0.27,"output":0.41,"cache_read":null,"blended":0.305,"efficiency":168.5,"bench":{"index":51.4,"scicode":38.9,"webdev":1367,"lmarena":1424.9,"eci":144.4},"offers":[{"provider":"deepseek","name":"DeepSeek","model_id":"deepseek-v3.2-exp","api":["openai"],"input":0.27,"output":0.41,"cache_read":null,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":128000,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"deepseek:deepseek-v3.2-exp","gateway_string":null},{"provider":"openrouter","name":"OpenRouter","model_id":"deepseek/deepseek-v3.2-exp","api":["openai"],"input":0.27,"output":0.41,"cache_read":null,"cache_write":null,"input_tiers":[],"output_tiers":[],"context":163840,"deprecated":false,"gateway":false,"gateway_route":null,"byok":true,"string":"openrouter:deepseek/deepseek-v3.2-exp","gateway_string":null}],"ranks":{"intelligence":82,"popularity":125,"efficiency":14,"speed":180,"price":45},"top_score":0.541,"about":["An open-weights, text-only model from DeepSeek, released September 2025, priced far below the registry median. Its benchmark scores sit mostly below the median, so cost is its main draw.","DeepSeek V3.2 Exp was released in September 2025 with open weights. It accepts text input only and offers a 128k context window and up to 147k response tokens. It supports tool calling, reasoning mode and structured output. Its knowledge cutoff is July 2025, and it is available from DeepSeek and OpenRouter.","Price is the main reason to consider it. It costs $0.27 per million input tokens and $0.41 per million output tokens, a blended $0.31 against a registry median of about $1.01. That places it 14th of 194 on intelligence points per dollar, and 45th of 194 on price.","The benchmark results are weaker. Its intelligence index is 51.4, 85th of 114 and below the median of 59.5. It also ranks low on SciCode and WebDev Arena, and its LMArena text score is close to the median. It suits agents where low cost matters more than peak capability."],"examples":[{"file":"hello.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['DEEPSEEK_API_KEY'] = '...'\n\nagent = Agent('deepseek:deepseek-v3.2-exp', instructions='Be concise, reply with one sentence.')\n\nresult = agent.run_sync('Where does \"hello world\" come from?')\nprint(result.output)","soon":false},{"file":"structured_output.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\n\nfrom pydantic import BaseModel\nfrom pydantic_ai import Agent\n\nos.environ['DEEPSEEK_API_KEY'] = '...'\n\n\nclass CityLocation(BaseModel):\n    city: str\n    country: str\n\n\nagent = Agent('deepseek:deepseek-v3.2-exp', output_type=CityLocation)\n\nresult = agent.run_sync('Where were the olympics held in 2012?')\nprint(result.output)\n#> city='London' country='United Kingdom'","soon":false},{"file":"tools.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport os\nimport random\n\nfrom pydantic_ai import Agent, RunContext\n\nos.environ['DEEPSEEK_API_KEY'] = '...'\n\nagent = Agent(\n    'deepseek:deepseek-v3.2-exp',\n    deps_type=str,\n    instructions=\"You're a dice game, roll the die and see if it matches the user's guess.\",\n)\n\n\n@agent.tool_plain\ndef roll_dice() -> str:\n    \"\"\"Roll a six-sided die and return the result.\"\"\"\n    return str(random.randint(1, 6))\n\n\n@agent.tool\ndef get_player_name(ctx: RunContext[str]) -> str:\n    \"\"\"Get the player's name.\"\"\"\n    return ctx.deps\n\n\nresult = agent.run_sync('My guess is 4', deps='Anne')\nprint(result.output)","soon":false},{"file":"streaming.py","lang":"python","code":"# /// script\n# dependencies = [\"pydantic-ai\"]\n# ///\nimport asyncio\nimport os\n\nfrom pydantic_ai import Agent\n\nos.environ['DEEPSEEK_API_KEY'] = '...'\n\nagent = Agent('deepseek:deepseek-v3.2-exp')\n\n\nasync def main():\n    async with agent.run_stream('Explain prompt caching in three bullet points.') as response:\n        async for text in response.stream_text(delta=True):\n            print(text, end='', flush=True)\n\n\nasyncio.run(main())","soon":false},{"file":"pax.sh","lang":"sh","code":"export DEEPSEEK_API_KEY='...'\n\nuvx pax --model 'deepseek:deepseek-v3.2-exp'","soon":true},{"file":"pi.sh","lang":"sh","code":"# npm install -g @earendil-works/pi-coding-agent\nexport DEEPSEEK_API_KEY='...'\n\npi --model 'deepseek/deepseek-v3.2-exp'","soon":false},{"file":"codex.sh","lang":"sh","code":"# npm install -g @openai/codex\nexport DEEPSEEK_API_KEY='...'\n\ncodex --model 'deepseek-v3.2-exp' \\\n  -c model_provider='deepseek' \\\n  -c model_providers.deepseek.name='DeepSeek' \\\n  -c model_providers.deepseek.base_url='https://api.deepseek.example/v1' \\\n  -c model_providers.deepseek.env_key='DEEPSEEK_API_KEY'","soon":false},{"file":"ai_sdk.ts","lang":"ts","code":"// npm install ai @ai-sdk/deepseek\nimport { createDeepSeek } from '@ai-sdk/deepseek'\nimport { generateText } from 'ai'\n\nprocess.env.DEEPSEEK_API_KEY = '...'\n\nconst deepseek = createDeepSeek({ apiKey: process.env.DEEPSEEK_API_KEY })\n\nconst { text } = await generateText({\n  model: deepseek('deepseek-v3.2-exp'),\n  system: 'Be concise, reply with one sentence.',\n  prompt: 'Where does \"hello world\" come from?',\n})\nconsole.log(text)","soon":false}],"benchmarks":[{"id":"index","name":"Intelligence index","unit":"","desc":"Our composite of the benchmarks below, 0-100","category":"reference","floor":0,"ceiling":100,"url":"/methodology/","credit":"Pydantic, from the sources credited below"},{"id":"scicode","name":"SciCode","unit":"%","desc":"Scientific programming problems written by researchers","category":"coding","floor":0,"ceiling":100,"url":"https://scicode-bench.github.io/","credit":"SciCode, via Epoch AI (CC BY 4.0)"},{"id":"webdev","name":"WebDev Arena","unit":"","desc":"Rating from human votes on web apps the models built","category":"coding","floor":1000,"ceiling":1900,"url":"https://web.lmarena.ai/leaderboard","credit":"LMArena, via Epoch AI (CC BY 4.0)"},{"id":"lmarena","name":"LMArena text","unit":"","desc":"Rating from blind human votes between pairs of chat responses","category":"preference","floor":1100,"ceiling":1600,"url":"https://lmarena.ai/leaderboard/text","credit":"LMArena (CC BY 4.0)"},{"id":"eci","name":"Epoch Capabilities Index","unit":"","desc":"Epoch AI's own composite across about 40 benchmarks; shown for comparison, not part of our index","category":"reference","floor":80,"ceiling":180,"url":"https://epoch.ai/benchmarks/eci","credit":"Epoch AI (CC BY 4.0)"}],"generated":"2026-11-25","gaps":{"speed":3,"index":80,"description":0}}