What the sandbox does
The Sandbox sends one prompt to several models of the same category at once and lays the results side by side with their cost and duration. It is the quickest way to choose a model before you write code.
- Open the Sandbox and choose a category.
- Pick the models to compare and write one prompt.
- Run them together. Each result shows its output, cost and time.
Sandbox runs use the same queue and pricing as the API. They are charged to your balance and appear in Requests marked with the source sandbox.
The same comparison in code
There is no batch endpoint: submit one request per model, in parallel, and poll each. These 3 text to image models all accept a body with only prompt:
- black-forest-labs/flux-2-pro$0.03 / megapixel
- FLUX.2 [pro]. Production text to image model from Black Forest Labs, focused on prompt adherence and photoreal detail.
- google/nano-banana-pro$0.15 / image
- Nano Banana Pro. Google's Gemini based image model, strong at layout, legible text and multi subject scenes.
- openai/gpt-image-2$0.08 / image
- GPT Image 2. OpenAI's image generation model, good at following long, detailed instructions.
for MODEL in black-forest-labs/flux-2-pro google/nano-banana-pro openai/gpt-image-2; do
curl -s -X POST "https://inferlane.net/api/v1/queue/$MODEL" \
-H "Authorization: Key $API_KEY" \
-H "Content-Type: application/json" \
-d '{"prompt":"A matte ceramic bottle on a stone ledge, soft window light"}'
echo
doneComparing fairly
- Keep the prompt identical and leave model specific options at their defaults for a first pass.
- Compare
billing.amount, not the list price: units differ between models (per image, per megapixel). - Fix the
seedon models that accept one when you rerun, so changes come from your prompt and not from chance.