# gpt-image relay checker

> Check a gpt-image relay end to end in a sandbox: image size, format, quality settings, edits and errors, compared with the official OpenAI API.

- Type: SandBase tool
- Category: Model test
- Page: https://www.sandbase.ai/tools/models/gpt-image-test

## How it works

1. **One-off sandbox** Each check runs in a fresh SandBase sandbox that is destroyed afterwards. Requests to your relay leave from there, not from our servers.
2. **Official protocol, per model** Requests and responses are checked against the OpenAI Images API spec, and against what the named model officially accepts: gpt-image-2 must reject xhigh, gpt-image-2.5 must render it.
3. **Real decoding** Every image is decoded: pixel size, format, alpha channel, image count, and a check for flat placeholder images. A 200 with a wrong image fails.
4. **Same skill, local or here** The checker is an Agent Skill you can download. Run it on your own machine (the key never leaves it) or here; the cases and scoring are the same.

## FAQ

### Is my API key safe?

The key is encrypted with a one-time token and handed to a sandbox that claims it once; the sealed copy is erased on claim, or after 5 minutes if never claimed. It is never written to a log, a report or the database. Use a dedicated test key anyway, and revoke it afterwards.

### How much does a check cost?

The sandbox is free. Every test makes one real call to your relay, so your relay bills you for it. The form shows the number of calls before you start, and Quick keeps it to a handful.

### How can it tell gpt-image-2 from 2.5?

Each model has an official capability profile. gpt-image-2 must reject quality=xhigh and max; 2.5 Flare and Sunburst must render them and produce a real alpha channel. A relay that serves the cheaper model under the newer name fails exactly those tests.

### What does “compared with OpenAI” mean?

We ran the full suite against api.openai.com for each model, three times, and published the medians and the actual images. Your report shows pass/fail, latency, pixel size and output tokens side by side; far fewer output tokens usually means a lower tier is rendering.

### Why did a test fail when the relay returned 200?

Status codes prove nothing. The image is decoded: wrong pixel size, wrong format, a missing alpha channel, too few images or a flat placeholder all fail, even with a 200.

### Can I run it without the website?

Yes. Download the skill and ask your agent, or run scripts/check.sh yourself. Same cases, same scoring, same report format; the key stays on your machine.
