LLM ReferenceLLM Reference
OpenRouter

Using GPT-5.4 Image 2 on OpenRouter

Implementation guide · GPT-5.4 · OpenAI

Serverless

Quick Start

  1. 1
    Create an account at OpenRouter and generate an API key.
  2. 2
    Use the OpenRouter SDK or REST API to call openai/gpt-5.4-image-2 — see the documentation for request format.
  3. 3
    You'll be billed $8.00/1M input, $15.00/1M output tokens. See full pricing.

Code Examples

See OpenRouter documentation for integration details.

About OpenRouter

OpenRouter provides a unified interface for Large Language Models with better pricing, improved uptime, and no subscription requirements. Route across providers for cost optimization and reliability.

Multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.

Pricing on OpenRouter

TypePrice (per 1M)
Input tokens$8.00
Output tokens$15.00

Capabilities

VisionMultimodalReasoningFunction CallingTool UseStructured OutputsCode Execution

About GPT-5.4 Image 2

GPT-5.4 Image 2 combines OpenAI's GPT-5.4 model with state-of-the-art image generation, enabling both advanced text understanding and high-quality image creation at 256K context.

Model Specs

Released2026-03-01
Context256K
ArchitectureDecoder Only

Provider

OpenRouter
OpenRouter

OpenRouter, Inc.

New York, NY, USA