by OpenAIReleased Nov 13, 2025
openai/gpt-5.1-codexGPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....
| Billed for | You pay |
|---|---|
| Input tokens | $1.50 / 1M |
| Output tokens | $12.00 / 1M |
| Cached input, read | $0.16 / 1M |
| Each web search | $0.01 |
import OpenAI from "openai";const ai = new OpenAI({ baseURL: "https://relayfor.si/api/v1", apiKey: process.env.RELAYFOR_ROUTER_KEY,});const reply = await ai.chat.completions.create({ model: "openai/gpt-5.1-codex", messages: [{ role: "user", content: "Welcome the 1,000th holder in one line." }],});$1.50 per million input tokens and $12.00 per million output tokens, paid from the token's AI credit. A call of 2,000 tokens in and 500 out costs about $0.009.
Make a router key for one of your tokens on the dashboard, point any OpenAI or Anthropic SDK at https://relayfor.si/api/v1 and send the model id openai/gpt-5.1-codex. The token's AI credit pays for each call.
Up to 400,000 tokens of context, and up to 128,000 tokens in one answer.
No. The RFS Router passes each call through and keeps only its token counts and cost, for the token's usage page.
| Provider | Answered, 24 h |
|---|---|
| Azure | 100% |