New

    Introducing AutoEvals: Find the right model for your task

    GoogleMultimodal Model

    Gemini 2.5 Flash

    Google's proven price-performance workhorse. Gemini 2.5 Flash takes text, image, audio, and video across a 1M-token context with controllable thinking — a dependable default for summarization, chat, and high-volume multimodal pipelines.

    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: "gemini-2.5-flash",
      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 Gemini 2.5 Flash today

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