You can follow their documentation here: https://api-docs.deepseek.com/

Gateway Integration

1

Create a Helicone account

Log into helicone or create an account. Once you have an account, you can generate an API key.

2

Create a DeepSeek AI account

Log into platform.deepseek.ai or create an account. Once you have an account, you can generate an API key from your dashboard.

3

Set HELICONE_API_KEY and DEEPSEEK_API_KEY as environment variable

HELICONE_API_KEY=<your API key>
DEEPSEEK_API_KEY=<your API key>
4

Modify the base URL and add Auth headers

Replace the following DeepSeek AI URL with the Helicone Gateway URL:

https://api.deepseek.ai/v1/chat/completions -> https://deepseek.helicone.ai/v1/chat/completions

and then add the following authentication headers:

Authorization: Bearer <your API key>

Now you can access all the models on FireworksAI with a simple fetch call:

Example

curl \
  --header 'Authorization: Bearer <DEEPSEEK_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "deepseek-chat",
    "messages": [{"role": "user", "content": "Say this is a test"}]
}' \
  --url https://deepseek.helicone.ai/chat/completions

For more information on how to use headers, see Helicone Headers docs. And for more information on how to use DeepSeek AI, see DeepSeek AI Docs.