# OpenAI: GPT-5 Pro — Use via Hanzo AI API > GPT-5 Pro is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for ... Access via Hanzo's OpenAI-compatible API. Context: 400K. Get started free. [Models](https://hanzo.ai/models)/[OpenAI](https://hanzo.ai/models/openai)/gpt-5-pro # OpenAI: GPT-5 Pro [OpenAI](https://hanzo.ai/models/openai) GPT-5 Pro is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and... text [Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat) ## Specifications Context Window 400K Modalities text Input $18.00 / M tokens Output $144.00 / M tokens Status available Category third-party Model ID openai/gpt-5-pro ## Quick Start TypeScript ``` import OpenAI from 'openai' const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: 'https://api.hanzo.ai/v1' }) const response = await client.chat.completions.create({ model: 'openai/gpt-5-pro', messages: [{ role: 'user', content: 'Hello!' }] }) console.log(response.choices[0].message.content) ``` Python ``` from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="openai/gpt-5-pro", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content) ``` cURL ``` curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d '{ "model": "openai/gpt-5-pro", "messages": [{"role": "user", "content": "Hello!"}] }' ``` Go ``` package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "openai/gpt-5-pro", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) } ``` ## More from OpenAI [OpenAI: GPT-3.5 Turbo16KGPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.](https://hanzo.ai/models/openai/gpt-3.5-turbo)[OpenAI: GPT-3.5 Turbo (older v0613)4KGPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.](https://hanzo.ai/models/openai/gpt-3.5-turbo-0613)[OpenAI: GPT-3.5 Turbo 16k16KThis model offers four times the context length of gpt-3.5-turbo, allowing it to support approximately 20 pages of text in a single request at a higher cost. Training data: up...](https://hanzo.ai/models/openai/gpt-3.5-turbo-16k)[OpenAI: GPT-3.5 Turbo Instruct4KThis model is a variant of GPT-3.5 Turbo tuned for instructional prompts and omitting chat-related optimizations. Training data: up to Sep 2021.](https://hanzo.ai/models/openai/gpt-3.5-turbo-instruct)[OpenAI: GPT-3.5 Turbo (batch)16KGPT-3.5 Turbo is OpenAI's fastest model. It can understand and generate natural language or code, and is optimized for chat and traditional completion tasks. Training data up to Sep 2021.](https://hanzo.ai/models/openai/gpt-3.5-turbo:batch)[OpenAI: GPT-48KOpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...](https://hanzo.ai/models/openai/gpt-4) [View all OpenAI models →](https://hanzo.ai/models/openai) ## Use OpenAI: GPT-5 Pro via Hanzo AI One API key. Every major model. OpenAI-compatible. Start free. [Get Free API Key](https://hanzo.ai/signup)[Browse All Models](https://hanzo.ai/models)