Skip to content

Commit a2dea26

Browse files
Added changelog next details
1 parent 3cca581 commit a2dea26

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed
31.1 KB
Loading

src/content/changelogs-next/2025-01-07-aig-provider-deepseek.mdx

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,25 @@ date: 2025-01-02T11:00:00Z
88

99
AI Gateway now supports **DeepSeek**, bringing the total number of AI providers available to **16**—giving you more options than ever for observing your AI workloads through AI Gateway. With AI Gateway, you can track **analytics**, store **logs**, and monitor **token usage** to optimize your AI applications.
1010

11+
![AI Gateway adds DeepSeek as a provider](~/assets/images/ai-gateway/deepseek.png)
12+
1113
To get started, simply update the base URL of your DeepSeek API calls to pass through AI Gateway. For detailed setup instructions, see our [DeepSeek provider documentation](/ai-gateway/providers/deepseek/).
1214

1315
### Example
1416

15-
```bash
16-
curl -X POST https://<your-ai-gateway-url>/deepseek/v1/inference \
17-
-H "Authorization: Bearer <your-deepseek-token>" \
18-
-H "Content-Type: application/json" \
19-
-d '{
20-
"prompt": "What is the capital of France?",
21-
"options": {
22-
"model": "ds-large",
23-
"temperature": 0.7
24-
}
17+
### cURL
18+
19+
```bash title="Example fetch request"
20+
curl https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/deepseek/chat/completions \
21+
--header 'content-type: application/json' \
22+
--header 'Authorization: Bearer DEEPSEEK_TOKEN' \
23+
--data '{
24+
"model": "deepseek-chat",
25+
"messages": [
26+
{
27+
"role": "user",
28+
"content": "What is Cloudflare?"
29+
}
30+
]
2531
}'
32+
```

0 commit comments

Comments
 (0)