Pricing
- Input Tokens: $10 /M tokens
- Output Tokens: $30 /M tokens
Input Modalities
Output Modalities
- Text
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="gpt-4-vision-preview",
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 GPT 4 Vision Preview cost?
How do I call GPT 4 Vision Preview via API?
Who created GPT 4 Vision Preview?
Compare GPT 4 Vision Preview
More models from OpenAI
See all OpenAI models →GPT-6.1 Terra is OpenAI’s multimodal reasoning model, supporting text and image inputs for tasks such as product photo matching, technical drawing interpretation, application interface interaction, and text drafting and revision. It combines speed and efficiency with visual reasoning, precise computer use, and clear, natural writing.
Token-based pricing: Text input $5 / 1M tokens | Image input $8 / 1M tokens | Image output $30 / 1M tokens
GPT-Image-2.6 Flare is OpenAI’s image generation and editing model for posters, product imagery, and rapid creative iteration. The Images 2.6 family delivers 50% faster image generation, with Flare producing images in as little as six seconds at low quality and improving layout quality for professional visuals. It supports GIF creation, SVG exports, markup-guided editing, and a complexity parameter for controlling scene planning.
Token-based pricing: Text input $5 / 1M tokens | Image input $8 / 1M tokens | Image output $30 / 1M tokens
GPT-Image-2.6 Sunburst is OpenAI’s image generation and editing model for visual work requiring detail, precision, and consistency across edits. The Images 2.6 family delivers 50% faster image generation, while Sunburst offers higher-quality generation and greater consistency at medium or high quality settings. It supports GIF creation, SVG exports, markup-guided editing, and a complexity parameter for controlling scene planning.
- Input: $ 2 /M
- Output: $ 10 /M
- Web Search: $0.01/request
GPT-6.1 Sol is OpenAI's latest model in the GPT-6 series, specifically designed for complex programming and agent workflows. GPT-6.1 Sol's performance in complex programming, computer operations, and professional work tasks is close to Astra, but at a lower cost. You can compare the two on your own tasks to weigh quality against cost.
- Input: $ 0.1 /M
- Output: $ 0.5 /M
- Web Search: $0.01/request
GPT-6 Luna is OpenAI's latest and most efficient model, designed for focused, high-throughput tasks.
- Input: $ 2 /M
- Output: $ 10 /M
- Web Search: $0.01/request
GPT-6 Sol is OpenAI's latest model in the GPT-6 series, specifically designed for complex programming and agent workflows.