New

    Introducing AutoEvals: Find the right model for your task

    OpenAIMultimodal Model

    GPT-5 Nano

    The smallest, fastest GPT-5 tier. Reasoning effort dials down to minimal for near-instant responses, with a 400K context and image input — built for high-throughput classification, extraction, and routing.

    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-nano",
      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 Nano today

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