GPT 5.1 Codex

Neural Network

GPT-5.1-Codex is an OpenAI model for development: gpt-5.1-codex API for interactive sessions and long autonomous task execution.

Main

/

Models

/

GPT 5.1 Codex
128 000

Max answer length

(in tokens)

400 000

Context size

(in tokens)

147,32 ₽

Prompt cost

(per 1M tokens)

1 178,57 ₽

Answer cost

(per 1M tokens)

*Prices are shown for API usage via ECO providers.
bothub
BotHub: Try neural networks for freebot

Caps remaining: 0 CAPS
Code example and API for GPT 5.1 CodexWe offer full access to the OpenAI API through our service. All our endpoints fully comply with OpenAI endpoints and can be used both with plugins and when developing your own software through the SDK.Create API key
Javascript
Python
Curl
illustaration

How it works GPT 5.1 Codex?

GPT-5.1-Codex is a specialized version of OpenAI's GPT-5.1, tuned for programming and engineering processes. Unlike the base GPT-5.1, it is optimized specifically for development: it maintains an interactive dialogue while you edit code step-by-step, and confidently handles long autonomous work on complex tasks that need to be completed without constant prompts. In BotHub, the model works from Russia without a VPN or foreign card, and you pay per token — no subscription, and tokens do not expire. With over 250 models available in one window, you can compare Codex's response with another model in a few clicks, and the unified OpenAI-compatible API allows you to switch models in production without rewriting the integration. Chats are encrypted via AES-GCM, data is not saved, and for companies, we offer contracts, invoices, electronic document management, and an admin panel with limits. It is useful when you need to analyze an unfamiliar repository, refactor an old module, find the cause of a floating bug, build a service or script from scratch, as well as review pull requests and cover code with tests.

Frequently asked questions about GPT 5.1 Codex

Can I use GPT 5.1 Codex results for commercial purposes?

You can use generated results for commercial purposes. You own all rights to the content you create. The only restriction: make sure your prompt does not include copyrighted third-party material. You are responsible for respecting the rights to any input data.

What can gpt-5.1-codex do and what tasks is it suitable for?

This is an OpenAI Codex model tailored for working with code: writing new modules, refactoring, finding bugs, and explaining someone else's project. A 400,000-token context allows you to upload a large codebase along with documentation. It is also suitable for engineering tasks, document analysis, and agent scenarios.

How much text can gpt-5.1-codex write in a single response?

The output limit is 128,000 tokens per response. This is enough for a voluminous module, a large refactoring, or a detailed analysis with comments without breaking the task into parts. The input context is 400,000 tokens, so the response takes the entire submitted project into account.

Can gpt-5.1-codex reason before answering?

Yes, reasoning before answering is supported: the model builds a chain of thought before providing a result. Settings for reasoning effort and response detail are available — for simple edits, you can save tokens, and for complex architectural tasks, you can let the model think longer.

Does gpt-5.1-codex support function calling and JSON output?

Yes, the model can call functions and return structured JSON according to a given schema — this is the foundation for agents that trigger your tools and APIs themselves. In BotHub, everything works via a unified OpenAI-compatible API, so you can switch to another model without rewriting the integration.

Can I upload images, audio, or video to gpt-5.1-codex?

In addition to text, the model accepts images and documents as input: a screenshot with an error, an architecture diagram, or a PDF with specifications. We have no information about audio and video support, so count on text, images, and files — for media formats, BotHub has specialized models.

How well does gpt-5.1-codex understand Russian?

We do not have specific data on language support, so we won't make any promises — it's easier to test it with your own task. The BotHub interface, support, and payment with Russian cards are available without a VPN, and tokens do not expire, so a test request costs nothing extra.

Support ServiceOpen from 10:00 to 18:00 MSK