OpenRouter Files API
AI overview
Sign in and the AI will write an overview from our coverage.
Headlines · 1
- OpenRouter Guide Builds a Sandbox-Based AI Code Reviewer
OpenRouter published a 233-line Python script that uses the OpenRouter Responses API to upload changed files, test or other context files, and a Git diff to a hosted Linux sandbox. A model can run checks to reproduce suspected bugs and propose V4A patches. The script runs locally, in a Git pre-push hook, or in GitHub Actions, and labels findings as confirmed or unconfirmed, with commands and output supporting confirmed results. In OpenRouter’s own tests of four models on a five-bug change, reviews took one to four minutes and cost $0.015 to $0.045. The Files API, Shell tool, and Apply Patch tool are beta features whose behavior may change; models may also miss bugs, overstate severity, or generate broken patches.
OpenRouter Blog · 🔥 0
Experience and discussion from the community
Share my OpenRouter Files API experienceAsk about OpenRouter Files API
Nobody has shared their experience with OpenRouter Files API yet.