Freemium

DeepSeek Coder API

DeepSeek Coder API provides developers with AI-powered code generation, analysis, and transformation tools to boost productivity. Supporting multiple programming languages and frameworks, this API simplifies writing and maintaining high-quality code. Ideal for software engineers, data scientists, and automation developers looking to accelerate their coding workflow using state-of-the-art AI models.

1

Endpoints

0

Views

Jul 20, 2025

Last Checked

100 requests/day

Rate Limit

API Endpoints

Generates and completes programming code

Full URL

https://coder.deepseek.com/api/v1/completions

Code Examples

curl -X POST 'https://coder.deepseek.com/api/v1/completions' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

{
  "model": "deepseek-coder-6.7b",
  "messages": [
    {
      "role": "user",
      "content": "def fibonacci(n):"
    }
  ],
  "temperature": 0.2
}

Example Response

{
  "usage": {
    "total_tokens": 45
  },
  "choices": [
    {
      "message": {
        "content": "if n <= 0:\n    return 0\nelif n == 1:\n    return 1\nelse:\n    return fibonacci(n-1) + fibonacci(n-2)"
      }
    }
  ]
}

Version

v1

Rate Limit

1000 tokens/minute
Tags
ai-codingcode-generationgenerative-aiproductivity
Technical Details
Authentication
API Key
Response Formats
JSON
Availability
global
Status
Published
Rate Limits

100 requests/day (free)

Supported Languages
PythonJavaScriptJava
Use Cases
developer tools
code assistance
https://api-docs.deepseek.com/quick_start/pricing

Related APIs

Discover similar APIs that might interest you

APIopen source

Appwrite Backend API

Appwrite is a comprehensive open-source ...

Category
Development
Endpoints
1
backendserver
APIopen source

Temporal Workflow API

Temporal is a powerful open-source engin...

Category
Development
Endpoints
1
orchestrationworkflows
APIfreemium

GitHub Copilot API

GitHub Copilot API offers developers AI-...

Category
Development
Endpoints
1
ai-codingproductivity
DeepSeek Coder API for AI Code Generation & Analysis | Free API Hub