# DeepSeek V4 Flash 0731 API

> DeepSeek V4 Flash 0731 is a sparse mixture-of-experts model from DeepSeek, with 13B active parameters out of 284B total. This re-post-trained revision is suited for coding, reasoning, and agent workflows.

Source: https://www.sandbase.ai/models/deepseek/deepseek-v4-flash-0731
API reference: https://www.sandbase.ai/models/deepseek/deepseek-v4-flash-0731/docs

## Facts

- Provider: DeepSeek
- Type: Language model
- Model ID: `deepseek/deepseek-v4-flash-0731`
- Price: $0.22 per 1M input tokens, $0.90 per 1M output tokens (25% off list price)
- Context window: 1M tokens, up to 384K output tokens
- Capabilities: chat, reasoning, structured output, function calling
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Chat Completions API: `POST https://api.sandbase.ai/v1/chat/completions`

```bash
curl -X POST https://api.sandbase.ai/v1/chat/completions \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "deepseek/deepseek-v4-flash-0731",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 2048
}'
```

## FAQ

### How do I call DeepSeek V4 Flash 0731 through SandBase?

Create a SandBase API key, then send requests with the model ID "deepseek/deepseek-v4-flash-0731" to Chat Completions API (/v1/chat/completions) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### How much does DeepSeek V4 Flash 0731 cost?

$0.22 per 1M input tokens and $0.90 per 1M output tokens with the current 25% discount (list price $0.30 / $1.20), billed per request from your SandBase balance.

### What is the context window of DeepSeek V4 Flash 0731?

1M tokens of context, with up to 384K output tokens per response.

### How does DeepSeek V4 Flash 0731 score on benchmarks?

DeepSeek V4 Flash 0731 scores 34.3 on the Artificial Analysis Intelligence Index (v4.3), ranking #33 of 83 models on SandBase; Coding Index 69.1, Agentic Index 41.0. Source: Artificial Analysis, measured as DeepSeek V4 Flash 0731 (Max).

### Which features does DeepSeek V4 Flash 0731 support?

DeepSeek V4 Flash 0731 supports reasoning, function calling, structured output. See Specifications above for the full list.

### Do I need a separate DeepSeek account?

No. One SandBase API key and balance gives you access to DeepSeek V4 Flash 0731 and the other models in the catalog; you do not need to sign up with DeepSeek separately.
