Baichuan4
BaichuanPricing
- Input Tokens: $16.000 /M tokens
- Output Tokens: $16.000 /M tokens
Input Modalities
Try this model
Python
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AIHUBMIX_API_KEY"],
base_url="https://aihubmix.com/v1",
)
response = client.chat.completions.create(
model="Baichuan4",
messages=[
{
"role": "user",
"content": "Hello, how are you?"
}
],
max_tokens=1024,
stream=False,
)
print(response.choices[0].message.content)Frequently asked questions
How much does Baichuan4 cost?
On AIHubMix, Baichuan4 costs $16 per million input tokens and $16 per million output tokens.
How do I call Baichuan4 via API?
Who created Baichuan4?
More models from Baichuan
Copy ID
Input:$ 1.9 /M
Output:$ 1.9 /M
Context:-
TTFT:-
Throughput:-
Copy ID
Input:$ 3.8 /M
Output:$ 3.8 /M
Context:-
TTFT:-
Throughput:-
Copy ID
Input:$ 0.16 /M
Output:$ 0.16 /M
Context:-
TTFT:-
Throughput:-
Copy ID
Input:$ 2.4 /M
Output:$ 2.4 /M
Context:-
TTFT:-
Throughput:-
AIHubMix© 2023 - 2026 AIHubMix, LLC