New

    Introducing AutoEvals: Find the right model for your task

    OpenAIMultimodal Model

    GPT-5.6 Luna

    The fastest, most affordable member of the GPT-5.6 family. Luna handles long-running professional workflows at a fraction of flagship cost, with a 1M-token context and the full none-to-max reasoning ladder.

    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.6-luna",
      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.6 Luna today

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