openai

OpenAI: GPT 4.5 (Preview)

models/GPT-4.5 (Preview)

GPT 4.5 (Preview) is a research preview of OpenAI's latest language model, designed to advance capabilities in reasoning, creativity, and multi turn conversation. It builds on previous iterations with improvements in world knowledge, contextual coherence, and the ability to follow user intent more effectively. The model demonstrates enhanced performance in tasks that require open ended thinking, problem solving, and communication. Early testing suggests it is better at generating nuanced responses, maintaining long context coherence, and reducing hallucinations compared to earlier versions. This research preview is intended to help evaluate GPT 4.5's strengths and limitations in real world use cases as OpenAI continues to refine and develop future models.
Currency$USD
Input$75.00
Output$150.00
Context window128K

Generate API Key Generate your API Key to securely access IndoxHub's AI models. Integrate with OpenAI-compatible tools, run queries, and build powerful AI applications — all with a single secure key.
Endpoint
POSThttps://api.indoxhub.com/api/v1/chat/completions
Configopenai/gpt-4.5-preview
from indoxhub import Client
 
# Initialize the client
with Client(api_key="[LOGIN TO GET API KEY]") as client:
    # Generate a chat completion
    response = client.chat(
        messages=[{"role":"system","content":"You are a helpful assistant."},{"role":"user","content":"What is machine learning and why is it important?"}],
        model="openai/gpt-4.5-preview",
        temperature:"0.7"
    )
 
    # Print the response
    print(response["data"])