Pricing
- Input Tokens: $0.02 /M tokens
- Output Tokens: $0.02 /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://shkq.org/v1",
)
response = client.chat.completions.create(
model="text-embedding-004",
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 Text Embedding 004 cost?
On AIHubMix, Text Embedding 004 costs $0.02 per million input tokens and $0.02 per million output tokens.
How do I call Text Embedding 004 via API?
Who created Text Embedding 004?
More models from Google
See all Google models → Input:$ 2 /M
Output:$ 12 /M
Context:-
TTFT:-
Throughput:-
- Input: $ 2 /M
- Output: $ 12 /M
- Web Search: $0.014/request
- Cache Storage: $1/h/M tokens
- Input Audio: $1/M tokens
- Input Video: $1/M tokens
Input:$ 0 /M
Output:$ 0 /M
Context:1M
TTFT:-
Throughput:-
Input:$ 2 /M
Output:$ 12 /M
Context:-
TTFT:-
Throughput:-
Input:$ 2 /M
Output:$ 12 /M
Context:-
TTFT:-
Throughput:-
0.04$/image ;2.49m/tokens
Aihubmix supports the gemini-2.5-flash-image model (known on social media as nano-banana); you can add the extra parameter modalities=["text", "image"] via the OpenAI-compatible chat interface. This model allows adjustment of the generated image’s aspect ratio through parameters, but requires using the native Gemini SDK.
© 2023 - 2026 AIHubMix, LLC