Our goal is provide thorough and detailed reviews to help researchers conduct the best research. See more examples here.
uv venv && uv pip install openaireview
# or: pip install openaireviewFor development:
git clone https://github.com/ChicagoHAI/OpenAIReview.git
cd OpenAIReview
uv venv && uv pip install -e .
# or: pip install -e .For math-heavy PDFs, install Marker separately to get accurate LaTeX extraction. Without Marker, PDFs are processed with PyMuPDF which cannot extract math symbols correctly.
# Install Marker CLI in an isolated environment (avoids dependency conflicts)
uv tool install marker-pdf --with psutilMarker is used automatically when available on PATH. It is most useful for math-heavy PDFs, but runs very slowly without a GPU. For papers with math, we recommend using .tex source, .md, or arXiv HTML URLs instead of PDF when possible — these always produce correct output without needing Marker.
First, set an API key for any supported provider:
export OPENROUTER_API_KEY=your_key_here # OpenRouter (supports all models)
# or
export OPENAI_API_KEY=your_key_here # OpenAI native
# or
export ANTHROPIC_API_KEY=your_key_here # Anthropic native
# or
export GEMINI_API_KEY=your_key_here # Google Gemini nativeOr create a .env file in your working directory (see .env.example).
Then review a paper and visualize results:
# Review a local file
openaireview review paper.pdf
# Or review directly from an arXiv URL
openaireview review https://arxiv.org/html/2602.18458v1
# Visualize results
openaireview serve
# Open http://localhost:8080Review an academic paper for technical and logical issues. Accepts a local file path or an arXiv URL.
| Option | Default | Description |
|---|---|---|
--method |
progressive |
Review method: zero_shot, local, progressive, progressive_full |
--model |
anthropic/claude-opus-4-6 |
Model to use |
--output-dir |
./review_results |
Directory for output JSON files |
--name |
(from filename) | Paper slug name |
Start a local visualization server to browse review results.
| Option | Default | Description |
|---|---|---|
--results-dir |
./review_results |
Directory containing result JSON files |
--port |
8080 |
Server port |
- PDF (
.pdf) — uses Marker for high-quality extraction with LaTeX math; falls back to PyMuPDF if Marker is not installed - DOCX (
.docx) — via python-docx - LaTeX (
.tex) — plain text with title extraction from\title{} - Text/Markdown (
.txt,.md) — plain text - arXiv HTML — fetch and parse directly from
https://arxiv.org/html/<id>orhttps://arxiv.org/abs/<id>
| Variable | Default | Description |
|---|---|---|
OPENROUTER_API_KEY |
OpenRouter API key (supports all models) | |
OPENAI_API_KEY |
OpenAI native API key | |
ANTHROPIC_API_KEY |
Anthropic native API key | |
GEMINI_API_KEY |
Google Gemini native API key | |
MODEL |
anthropic/claude-opus-4-6 |
Default model |
Set one API key. The provider is auto-detected from whichever key is set. See .env.example for a template.
All models available on OpenRouter are supported — use any model ID via --model. The following models have built-in pricing for accurate cost tracking in the visualization:
| Model | Input ($/1M tokens) | Output ($/1M tokens) |
|---|---|---|
anthropic/claude-opus-4-6 |
$5.00 | $25.00 |
anthropic/claude-opus-4-5 |
$5.00 | $25.00 |
openai/gpt-5.2-pro |
$21.00 | $168.00 |
google/gemini-3.1-pro-preview |
$2.00 | $12.00 |
For models not listed above, a default rate of $5.00/$25.00 per 1M tokens is used.
- zero_shot — single prompt asking the model to find all issues
- local — deep-checks each chunk with surrounding window context (no filtering)
- progressive — sequential processing with running summary, then consolidation
- progressive_full — same as progressive but returns all comments before consolidation
A deep-review skill is bundled with the package. It runs a multi-agent pipeline — one sub-agent per paper section plus cross-cutting agents — and produces severity-tiered findings (major / moderate / minor).
Install once:
pip install openaireview
openaireview install-skillThen in any Claude Code project:
/openaireview paper.pdf
/openaireview https://arxiv.org/abs/2602.18458
Finally, run openaireview serve to see results.
Install with dev dependencies (includes pytest):
uv pip install -e ".[dev]"Run tests:
pytest tests/Integration tests that call the API require OPENROUTER_API_KEY and are skipped automatically when it's not set.
Benchmark data and experiment scripts are in benchmarks/. See benchmarks/REPORT.md for results.
