> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# DeepSeek API - Access DeepSeek Models via AIsa

> Current AIsa guide to DeepSeek model IDs, context windows, and endpoints, including deepseek-r1, deepseek-v3, deepseek-v3.1, deepseek-v3.2, deepseek-v4-flash, deepseek-v4-pro, and deepseek-v4.1-flash.

AIsa gives you OpenAI-compatible access to the current DeepSeek model family with one API key, unified billing, usage logs, and gateway routing.

`deepseek-v4-pro` exposes `POST /v1/messages`, `POST /v1/chat/completions`, and `POST /v1/responses`. Other DeepSeek routes in the current catalog use `POST /v1/chat/completions`.

## Supported DeepSeek models

| Model ID | Context | Capabilities | Best for |
| - | -: | - | - |
| `deepseek-r1` | 262,144 | Coding, Text | Reasoning-heavy tasks |
| `deepseek-v3` | 262,144 | Coding, Text | Low-cost general and coding work |
| `deepseek-v3.1` | 262,144 | Coding, Text | Balanced reasoning and coding |
| `deepseek-v3.2` | 128,000 | Coding, Text | Very low-cost general use |
| `deepseek-v4-flash` | 262,144 | Coding, Text | Lowest-cost high-throughput DeepSeek route |
| `deepseek-v4-pro` | 262,144 | Coding, Text | Stronger DeepSeek route with multiple endpoint styles |
| `deepseek-v4-pro-0813` | — | Text | Pinned snapshot of `deepseek-v4-pro` |
| `deepseek-v4-flash-0731` | — | Text | Pinned snapshot of `deepseek-v4-flash` |
| `deepseek-v4-flash-vision-exp` | — | Text | Experimental vision variant of V4 Flash |
| `deepseek-v4.1-flash` | — | Text | Newest DeepSeek flash route (V4.1) |

Current prices for these models are on [aisa.one/models](https://aisa.one/models).

## Quickstart

```python theme={null}
from openai import OpenAI

client = OpenAI(api_key="YOUR_AISA_API_KEY", base_url="https://api.aisa.one/v1")

response = client.chat.completions.create(
    model="deepseek-v4-flash",
    messages=[{"role": "user", "content": "Review this pull request for security and correctness."}]
)
print(response.choices[0].message.content)
```

## Common choices

| Need | Use |
| - | - |
| Cheapest DeepSeek text/coding | `deepseek-v4-flash` |
| General current DeepSeek route | `deepseek-v3.2` |
| Reasoning-focused route | `deepseek-r1` |
| Messages or Responses endpoint compatibility | `deepseek-v4-pro` |

## Data privacy

AIsa routes DeepSeek requests through an enterprise-backed aggregation path. Customer data is not used for model training under AIsa's enterprise agreements. For compliance details, [contact us](mailto:developer@aisa.one).

## Next

* [All Chinese AI models](/docs/guides/chinese-llms)
* [Qwen models](/docs/guides/chinese-llms/qwen)
* [AI model pricing](/docs/guides/pricing/ai-model-pricing-llm-inference)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.