Pricing
- Input Tokens: $2 /M tokens
- Output Tokens: $2 /M tokens
Input Modalities
Try this model
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="davinci-002",
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 Davinci 002 cost?
How do I call Davinci 002 via API?
Who created Davinci 002?
More models from OpenAI
See all OpenAI models →- Input: $ 10 /M
- Output: $ 50 /M
- Web Search: $0.01/request
GPT-6 Astra is OpenAI's newest and most intelligent model, with industry-leading performance in computer operations, web browsing, software engineering, scientific research, and professional work. It excels at executing multi-step workflows across code, browsers, and various professional software. Astra can achieve better results with significantly fewer output tokens, making its estimated API cost per task lower.
$0.017 per minute (same as OpenAI's official rate, no markup), charged by the audio duration transcribed in real time. Usage is settled to the second, rounded up to the next whole second.
OpenAI's latest realtime speech-to-text model, built for low-latency use — it streams incremental transcripts as audio arrives, ideal for live captions, dictation, and voice interfaces. Supports automatic transcription across 57 languages, with keyword/context hints and a tunable latency-vs-accuracy tradeoff.
Token-based pricing: Text input $5 / 1M tokens | Image input $8 / 1M tokens | Image output $30 / 1M tokens
GPT-Image-2.5 Flare is OpenAI's latest image model, the fastest and suited for everyday high-quality image generation. It accepts text and image inputs and produces image outputs. The model supports quality settings: low, medium, high, xhigh, max, and auto.
Token-based pricing: Text input $5 / 1M tokens | Image input $8 / 1M tokens | Image output $30 / 1M tokens
GPT Image 2.5 Sunburst is OpenAI's latest image model, capable of generating and editing images from text and image inputs. It is suitable for workflows that require extremely high editing precision. The model supports quality settings: low, medium, high, xhigh, max, and auto.
- Input: $ 4 /M
- Output: $ 20 /M
- Web Search: $0.01/request
GPT-5.6 Sol (limited-time 50% off) is OpenAI’s frontier reasoning model for complex coding, professional knowledge work, deep research, and long-running agents. It supports a roughly 1.05M-token context window, image understanding, and extensive tool use. Compared with Terra and Luna, Sol prioritizes capability and reliability on demanding tasks.
- Input: $ 0.2 /M
- Output: $ 1.2 /M
- Web Search: $0.01/request
GPT-5.6 Luna is designed for cost-sensitive, high-volume workloads. It roughly corresponds to the nano model tier used in earlier GPT-5 families.
© 2023 - 2026 AIHubMix, LLC