Skip to content
DigiTransact AI Learning CentreVibe Coding Academy

All platform tutorials

Model API · Intermediate

DeepSeek

DeepSeek’s API accepts chat requests. Here the model suggests tests; it is not an app host and its output never executes automatically. [sources]

Documentation and availability checked .

Access and costs

The API bills input and output tokens. A general free API allowance is not established by the pricing page. Dashboard or consumer chat access is not an API budget. [sources]

Practical project: Generate test ideas without exposing a key

  1. Set up. Create an API account and key only if you accept the published usage terms. Follow the First API Call guide in a local terminal; set DEEPSEEK_API_KEY outside your code and select a model listed in current pricing.
  2. Prepare the example. Copy the official minimal chat example for your language. Keep the endpoint and environment lookup; replace only the example user message. Never paste the key into the prompt or browser JavaScript.
  3. Ask for one change.
    List four manual tests for a shop discount field that accepts whole numbers from 0 to 30 inclusive. Use columns input, expected result and reason. Return plain text; do not execute anything.
  4. Inspect and revise. Send one request, inspect the returned message and compare it against the rule. If access or billing fails, stop rather than repeatedly retrying.
  5. Check the result. Confirm both boundaries are accepted; a value above 30 and a negative value must be rejected. Store the test table, not the API key or raw account logs.

Strengths and limits

Useful for adding a narrow model call to your workflow. Output can be confidently wrong and every retry may cost money.

Watch alongside the project

DeepSeek · Intermediate

DeepSeek-R1 Crash Course

freeCodeCamp.org · Published · Checked 2026-12-05

Historical R1 course for model context, not a walkthrough of current endpoints or pricing.

Auto-generated English captions listed. YouTube offered Show transcript on the watch page. Watch on YouTube / open transcript

Read the DeepSeek tutorial

Official sources

  1. Official documentation
  2. Official pricing or access (redirects to api-docs.deepseek.com)

These are documentation checks, not paid-account tests. Confirm eligibility and limits in your account before enabling billing.