Pricing
- Input Tokens: $0.400 /M tokens
- Output Tokens: $0.400 /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="yi-medium",
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 Yi Medium cost?
On AIHubMix, Yi Medium costs $0.4 per million input tokens and $0.4 per million output tokens.
How do I call Yi Medium via API?
Who created Yi Medium?
More models from Yi
See all Yi models → Input:$ 3 /M
Output:$ 3 /M
Context:-
TTFT:-
Throughput:-
Input:$ 4 /M
Output:$ 4 /M
Context:-
TTFT:-
Throughput:-
Input:$ 1.8 /M
Output:$ 1.8 /M
Context:-
TTFT:-
Throughput:-
Input:$ 0.2 /M
Output:$ 0.2 /M
Context:-
TTFT:-
Throughput:-
Input:$ 0.000852 /M
Output:$ 0.000852 /M
Context:-
TTFT:-
Throughput:-
AIHubMix© 2023 - 2026 AIHubMix, LLC