OpenAIMultimodal Model

    GPT-5.4

    OpenAI's early-2026 frontier reasoning model with a 1M-token context and reasoning effort from none to xhigh. A capable all-rounder for coding and knowledge work, now priced below its GPT-5.5 and 5.6 successors.

    import OpenAI from "openai";
    
    const openai = new OpenAI({
      baseURL: "https://api.inference.net/v1",
      apiKey: "<YOUR_API_KEY>",
    });
    
    const completion = await openai.chat.completions.create({
      model: "gpt-5.4",
      messages: [
        {
          role: "user",
          content: "What is the meaning of life?"
        }
      ],
      stream: true,
    });
    
    for await (const chunk of completion) {
      process.stdout.write(chunk.choices[0]?.delta.content as string);
    }

    Start building with GPT-5.4 today

    Serverless, OpenAI-compatible, and billed per token. No commitments.