Focused server-side examples for building with DeepSeek V4 Flash and Pro on PoYo.
DeepSeek V4 is useful when you need cost-aware coding, reasoning, summarization, and assistant workflows with a fast default path and a stronger pro option.
Try on PoYo | Get API Key | Docs | Pricing | Main Examples
- Chat completions with
deepseek-v4-flash - Upgrade path to
deepseek-v4-pro - OpenAI-style
/v1/chat/completionsrequests - Node.js backend example
- Prompt examples and production integration notes
cp .env.example .env
export POYO_API_KEY="your-api-key"Run the Node.js example:
cd node
npm startKeep POYO_API_KEY on the server. Do not expose it in browser code, mobile apps, screenshots, or public logs.
- Keep
POYO_API_KEYon the server - Send a chat completion request
- Log model, latency, and usage for cost tracking
- Add retries around network failures, not around every model response
This repo uses deepseek-v4-flash, deepseek-v4-pro.
| Path | What it covers |
|---|---|
curl/generate.md |
Copy-paste API request. |
node/ |
Native Node.js backend example. |
docs/prompt-examples.md |
Practical prompts for product workflows and creative tests. |
docs/production-notes.md |
Security and reliability notes before launch. |
make checkOn Windows:
./scripts/check.ps1MIT