Developer quickstart

Make your first API request in minutes. Learn the basics of the Aivene API and start building.

import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.aivene.com/v1" });

const response = await client.chat.completions.create({
  model: "gpt-4o",
  messages: [{ role: "user", content: "Hello!" }],
});

console.log(response.choices[0].message.content);

Read this first: How billing works

Required

Aivene is metered by tokens, not by request. Before you top up or ship to production, understand the difference between credits (how much you can spend) and rate limits (how fast you can spend it).

Open billing guide

Build paths

Chat Completions

Make direct model requests for text, structured output, tools, and multimodal workflows.

Start with Chat

Guides

Authentication, model selection, best practices, and advanced patterns for production.

Read guides

Models

View all

Start with gpt-4o for complex reasoning and coding, or choose smaller models for lower-latency, lower-cost workloads. All accessible through a single unified API.