# How to get a DeepSeek API key

Source: https://thinkbeside.com/learn/how-to-get-deepseek-api-key

Updated 2026-11-17 - Sources checked 2026-11-17

**Short answer:** Apply for a key on the DeepSeek Platform, in its API keys section, and keep it in an environment variable. Usage is charged against a topped-up or a granted balance, with granted balance used first. Prices are per million tokens and differ for the Flash and Pro models. DeepSeek's docs link the pricing page.

## Create the key

DeepSeek's documentation says to apply for a key at the DeepSeek Platform, where an API keys section lets you apply for one [s1]. It suggests keeping the key in an environment variable rather than in your code [s1]. It does not describe the sign-up screens, so follow the platform's own prompts.

## Balance and pricing

Charges are deducted from your topped-up balance or from a granted balance, and if you have both, the granted balance is used first [s2]. DeepSeek prices tokens per million, with separate input, cached-input and output rates, and the rates differ between the Flash and Pro models. They also differ between peak and off-peak hours [s2]. DeepSeek says it may change prices and recommends checking the page regularly [s2], so this page gives no figures.

## Which model, and whether it reads images

DeepSeek's model list shows two current models, a Flash model that accepts images and a Pro model that does not, both with a context of about a million tokens [s2]. Thinkbeside follows the same split: image attachments are offered for the Flash model only, so choose it when you want to ask about a screenshot or a figure.

## Use the key in Thinkbeside

Open Settings in the Thinkbeside side panel, choose DeepSeek and paste the key. It is encrypted and kept in this browser, is never synced to your account, and is never given to web pages. Requests with it go from the panel straight to DeepSeek. See [DeepSeek in Chrome's side panel](/use/deepseek-chrome-extension).

## Sources

- s1: [Your first API call](https://api-docs.deepseek.com/), DeepSeek, checked 2026-11-17

- s2: [Models and pricing](https://api-docs.deepseek.com/quick_start/pricing), DeepSeek, checked 2026-11-17

## Is the DeepSeek API free?

No. Usage is charged against a topped-up or a granted balance, at the per-token prices on DeepSeek's pricing page [s2].

## Which DeepSeek model can read images?

DeepSeek's model list shows its Flash model accepting images and its Pro model not [s2]. Thinkbeside offers image attachments for the Flash model only.

## How does DeepSeek treat my data?

The pricing page says nothing about data use, so read DeepSeek's own terms and privacy policy before sending anything sensitive. With your own key, Thinkbeside sends requests straight from your browser to DeepSeek, under DeepSeek's terms.

Your DeepSeek key, in a sidebar: [See the DeepSeek sidebar](https://thinkbeside.com/use/deepseek-chrome-extension)

