From
$0.039
per image
openai/gpt-image-2LiveWhat a request costs here, against the unit the model bills on. Every response returns the exact figure as cost.
$0.039
per image
$0.728
per image
The rate depends on what you ask for. Send the parameters that select one — resolution, duration, quality — and the request is billed at that row. Send none and the route’s default configuration applies, and that is the row you are charged.
| Configuration | Rate |
|---|---|
| Low (1K) | $0.039 per image |
| Default (Low 2K) | $0.0455 per image |
| Low (2K) | $0.0455 per image |
| Low (4K) | $0.052 per image |
| Medium (1K) | $0.065 per image |
| Low (8K) | $0.0715 per image |
| Low (10K) | $0.091 per image |
| Low (12K) | $0.117 per image |
| Medium (2K) | $0.1235 per image |
| Medium (4K) | $0.1885 per image |
| High (1K) | $0.208 per image |
| Medium (8K) | $0.2275 per image |
| Medium (10K) | $0.26 per image |
| Medium (12K) | $0.299 per image |
| High (2K) | $0.4095 per image |
| High (4K) | $0.611 per image |
| High (8K) | $0.6435 per image |
| High (10K) | $0.6825 per image |
| High (12K) | $0.728 per image |
The model id is the only field that changes between models on the same endpoint.
curl https://api.routehook.ai/v1/images/generations \
-H "Authorization: Bearer $ROUTEHOOK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-image-2",
"prompt": "a night market in the rain"
}'