Skip to main content

Cost effective, open source, powerful LLM DeepSeek API

Explore DeepSeek chat and reasoning models. Check PiAPI's current LLM documentation, model availability, and pricing before integrating.

About our DeepSeek R1 API!

Capabilities from the production model page.

Cost Effective.

Review current model pricing and availability before sending production traffic.

Reinforcement Learning.

R1-Zero demonstrates chain-of-thought (CoT) purely through reinforcement learning (RL), without relying on supervised fine-tuning (SFT).

Multi-Stage Training with Cold Start Data.

DeepSeek incorporates cold-start data to fine-tune the base model, with reasoning-oriented RL, rejection sampling, and supervised fine-tuning, achieving performance comparable to OpenAI-o1-1217.

Distillation for Smaller Models.

DeepSeek enables the distillation of reasoning capabilities into smaller dense models. By fine-tuning open source models like Qwen and Llama with the 800k samples from R1.

Strong Performance across Diverse Tasks.

R1 scores 79.8% Pass@1 on AIME 2024, and 97.3% on MATH - 500, on par with OpenAI-o1-1217. It also excels in coding-related tasks, achieving a high rating on Codeforces, and in other tasks such as creative writing, general question answering, and long - context understanding

Get started

Create your API key

Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.

Top up credits

Add credits on the billing page when you are ready to scale beyond the free tier.

Call the API

POST your first task following the API docs, then poll the task until the result is ready.

Iterate with the API

Use the API docs and the request example above to iterate on prompts and settings before wiring them into your product.

Frequently asked questions

What is PiAPI's DeepSeek API page?

This page introduces DeepSeek chat and reasoning models. Check PiAPI's LLM documentation and current pricing for supported models and request details before integrating.

Who is the intended user for the DeepSeek API?

The DeepSeek API is created for developers who want to incorporate state of the art language and reasoning capabilities into their generative AI applications. This feature is ideal for any AI powered coding assistants, literature review, documentation summary, translation applications, marketing and advertising related applications.

How to get started with integrating the API?

Create a PiAPI account and API key, then check the LLM documentation for the current request format and supported models.

How do I make calls to the API?

PiAPI's LLM completions documentation describes an HTTPS POST request to /v1/chat/completions with Bearer token authentication. Confirm the model name and availability before sending a DeepSeek request.

Is there a limit to the total number of requests or concurrent number of requests I can make?

Limits and availability can vary by model. Check the current documentation and your account limits before planning production concurrency.

How does the API handle errors?

Our API returns error codes and messages in the HTTP response to help identify the issue. Please refer to our documentation for more details.

What is the license for the DeepSeek model?

The DeepSeek Models have a custom open-source licenseand it is permissible for commercial use for any lawful purpose. Developers do not need to register or apply with DeepSeek before using the open-source models. Developer can also develop derivative models and product applications based on the Models.

What is the pricing options for the API?

See PiAPI's current pricing page and your Workspace balance for model rates and credit terms.

How do I pay for this API?

We have integrated Stripe in our payment system, which will allow payments to be made from most major credit card providers.

More questions? See the API docs.