Focused server-side examples for building with the Claude 4.5 model family on PoYo.
Claude 4.5 is useful when teams need coding, agent, document, and assistant workflows with a clear path across Opus, Sonnet, and Haiku variants.
Try on PoYo | Get API Key | Docs | Pricing | Main Examples
- Claude Messages API requests with
claude-sonnet-4-5-20250929 - Upgrade paths to Opus and Haiku 4.5 variants
- Server-side API key handling
- 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 Messages API request
- Log model, latency, and usage for cost tracking
- Route Opus, Sonnet, and Haiku intentionally
This repo uses claude-opus-4-5-20251101, claude-sonnet-4-5-20250929, claude-haiku-4-5-20251001.
| 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