Key Info

OpenRouter does not charge users for failed generations: zero output tokens with a blank finish reason, an error finish reason, or broken/empty image output all cost 0 credits. The protection is on by default for all models, even when upstream providers still bill OpenRouter.

Highlights

  • 0 output tokens + blank finish reason = 0 credits
  • Error finish reason = 0 credits
  • Broken or empty image output = 0 credits
  • Enabled by default across all models
  • Applies even when providers still charge OpenRouter