New

    Introducing AutoEvals: Find the right model for your task

    Z.aiReasoning Model

    GLM-5.3 Flash

    Z.ai's GLM-5.3 Flash: a fast open-weight reasoning model with image input, a 1M-token context, and 131K max output. Reasoning effort is selectable from none through max, with prompt caching for high-volume agentic and coding workloads.

    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: "glm-5.3-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 GLM-5.3 Flash today

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