OpenCodex
baichuan

Baichuan 2 Turbo

baichuan

Fast and efficient model for general tasks.

Harga Input

1.20 /Juta

Harga Output

1.20 /Juta

Jendela Konteks

8k

Kategori

Model Domestik

Kemampuan

CepatUmumPencarian

API Configuration

Base URL

https://opencodex.hk/api/v1

Model ID

Baichuan2-Turbo

Mulai Cepat

Copy the code below to quickly integrate into your application

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://opencodex.hk/api/v1",
  apiKey: process.env.OPENCODEX_API_KEY,
});

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

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

Siap mencoba Baichuan 2 Turbo?

Mulai dengan 500 Credit gratis dan bayar hanya untuk apa yang Anda gunakan.