Best Model for This
Costs assume ~500 tokens input + ~800 tokens output per article, at today’s published prices. All three are in the free tier.
Quick Start
Tips & Best Practices
- Use
response_format: json_object— the model is asked for JSON instead of freeform text. Nothing validates the answer, so parse it inside atry. - Temperature 0.7–0.9 for creative content — lower temperatures produce repetitive, generic prose.
- Batch with
asyncio.gather/Promise.all— parallel generation cuts wall-clock time by 5-10x. - Two-pass pipeline beats one big prompt — outline first, then expand. Better structure, more coherent output.
Cost Estimate
Assumes 500 tokens input + 800 tokens output per article (outline + full content, two API calls).
Built with Kyma
- Affitor/content-pipeline generates multilingual affiliate content from structured program data, with
claude-sonnet-4-6as the quality default.
Next Steps
- Structured Outputs — enforce JSON schemas
- Prompt Caching — cache system prompts for repeated pipelines
- Model Aliases — use
bestfor highest quality output