OpenAI logo

GPT 5.1 Codex

openai/gpt-5.1-codexResponses
  • Function calling
  • Vision
  • Reasoning
  • Web search

OpenAI

GPT 5.1 Codex (openai/gpt-5.1-codex) is a chat model from OpenAI with a 272,000-token context window and 128,000 max output tokens, priced at $1.25/1M input and $10.00/1M output tokens. Available via the haimaker.ai OpenAI-compatible API.

Overview

OpenAI's Codex model specialized for code generation, software engineering, and agentic coding tasks.

Specifications

ModeResponses
SupportsFunction calling, Vision, Reasoning, Web search
Not supportedURL context

Frequently asked questions

What is the context window of GPT 5.1 Codex?

GPT 5.1 Codex (openai/gpt-5.1-codex) has a 272,000-token context window and supports up to 128,000 output tokens per request.

How much does GPT 5.1 Codex cost?

GPT 5.1 Codex is priced at $1.25 per 1M input tokens and $10.00 per 1M output tokens when accessed via the haimaker.ai OpenAI-compatible API.

What features does GPT 5.1 Codex support?

GPT 5.1 Codex supports function calling, vision, reasoning, web search.

How do I use GPT 5.1 Codex via API?

Send requests to https://api.haimaker.ai/v1/chat/completions with model "openai/gpt-5.1-codex" using any OpenAI-compatible SDK. Authentication uses a Bearer API key from https://app.haimaker.ai.