Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude 4.5 API Examples for PoYo

Model page API docs License: MIT Main examples

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

What This Repo Covers

  • 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

Quick Start

cp .env.example .env
export POYO_API_KEY="your-api-key"

Run the Node.js example:

cd node
npm start

Keep POYO_API_KEY on the server. Do not expose it in browser code, mobile apps, screenshots, or public logs.

Production Pattern

  • Keep POYO_API_KEY on the server
  • Send a Messages API request
  • Log model, latency, and usage for cost tracking
  • Route Opus, Sonnet, and Haiku intentionally

Models

This repo uses claude-opus-4-5-20251101, claude-sonnet-4-5-20250929, claude-haiku-4-5-20251001.

Examples

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.

Run Checks

make check

On Windows:

./scripts/check.ps1

License

MIT

About

Server-side PoYo examples for Claude 4.5 chat, coding, and agent workflows.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages