Skip to main content
DeepSeek provides high-performance reasoning and chat models. DeepSeek supports Chat Completions, Responses, and Anthropic Messages requests.
DeepSeek is a built-in provider you can pay for with credits, so a provider key is optional. Add your own DeepSeek key to bill usage to your DeepSeek account instead of your ngrok.ai credits.

Setup

1

Create an access key and add credits

Follow the quickstart to create an access key and purchase credits in app.ngrok.ai.
2

Store your DeepSeek API key (optional)

Skip this step to pay with credits. To bring your own key, sign up at platform.deepseek.com and create an API key. Then add a provider key and create an access key configuration with a deepseek routing rule that uses it.
3

Send requests

Send requests with your access key:

Peak and off-peak pricing

DeepSeek charges double its off-peak price during peak hours: 01:00–04:00 and 06:00–10:00 UTC, Monday through Friday, except Chinese public holidays. All other hours are off-peak.
  • Pay with credits: ngrok.ai charges DeepSeek’s off-peak price at every hour, including peak hours.
  • Your own DeepSeek key: DeepSeek bills you directly, at its peak price during peak hours.
See DeepSeek’s pricing page for current prices.

Available models

See the model catalog. deepseek-flash is DeepSeek V4.1 Flash. DeepSeek has retired V4 Flash and serves requests for deepseek-v4-flash with V4.1 Flash, so use deepseek-flash in new code.

Next steps