Providers / OpenAI Codex (ChatGPT plan) · All access methods for openai/gpt-6.1-terra
GPT-6.1 Terra
openai-codex/gpt-6.1-terra Subscription
models.dev2026-11-17providers.dev2026-11-08
Type chat · Released 2026-10-26
Input window
922,000 tokensdocumented
models.dev · 2026-11-17
Input alone
Measured at least 920,870
Context window
1,050,000 tokens
Exposed by this provider
Maximum output
128,000 tokens
Per response; not a default
Cache lifetime, short
0 smeasured
providers.dev · 2026-11-07
Cache lifetime, long
Unknown
Not documented or measured
Limits
Input window
| Limit | Value | Source |
|---|---|---|
Input windowinput_window: the most input one request can carry on this entry, in tokens as the provider counts them. | 922,000 tokensdocumentedInput alone | models.dev2026-11-17 |
| Documented The figure the source documents, and the field it is in. | 922,000 tokenslimit.inputDocumentation not contradicted | models.dev2026-11-17 |
| Measured What each limit evaluation that counts gives, one line per evaluation. | at least 920,870 tokens 920,870 accepted · 921,886 refused | Requests sent through CLIProxyAPI 2026-11-08 · Raw result |
How the input window is worked out, and what it does not say
Documented
| Limit | Value | Source |
|---|---|---|
Context windowlimit.context: what this provider accepts for the model, input and output together. | 1,050,000 tokens | models.dev |
Largest inputlimit.input: stated where the input limit is lower than the context window. | 922,000 tokens | models.dev |
Maximum outputlimit.output: the most one response can hold. A maximum, not what you get by default. | 128,000 tokens | models.dev |
Measured tokens
| Date | Measured through | Context | Input accepted | Input refused | Output limit | Requested output accepted | Evidence |
|---|---|---|---|---|---|---|---|
| 2026-11-08 | ChatGPT plan through the Codex login Requests sent through CLIProxyAPI | Unknown | 920,870 | 921,886 | Unknown | Unknown | Raw result |
Price
API list prices of openai/gpt-6.1-terra. This entry is a subscription and is not paid per token.
| Base charge | Rate |
|---|---|
| Input | $1 / 1M tokens |
| Output | $5 / 1M tokens |
| Reasoning output | Unknown |
| Cache read | $0.05 / 1M tokens |
| Cache write | $1.25 / 1M tokens · 30 min lifetime $2.50 / 1M tokens · 12 h lifetime |
| Web search | $10 / 1,000 searches |
Conditional rates
| Condition | Charge | Rate | Applies to |
|---|---|---|---|
| Context above 272,000 tokens | Input | $2 / 1M tokens | Whole request |
| Output | $7.50 / 1M tokens | ||
| Cache read | $0.10 / 1M tokens | ||
| Context above 272,000 tokens and cache lifetime 30 min | Cache write | $2.50 / 1M tokens | Whole request |
| Context above 272,000 tokens and cache lifetime 12 h | Cache write | $5 / 1M tokens | Whole request |
| Service tier priority | Input | $2 / 1M tokens · × 2 | Whole request |
| Output | $10 / 1M tokens · × 2 | ||
| Cache read | $0.10 / 1M tokens · × 2 | ||
| Service tier flex | Input | $0.50 / 1M tokens · × 0.5 | Whole request |
| Output | $2.50 / 1M tokens · × 0.5 | ||
| Cache read | $0.025 / 1M tokens · × 0.5 | ||
| Any region but global | Input | $1.10 / 1M tokens · × 1.1 | Whole request |
| Output | $5.50 / 1M tokens · × 1.1 | ||
| Cache read | $0.055 / 1M tokens · × 1.1 |
Source: models.dev 2026-11-17
Other prices in the source, not shown above (0)
None
Request controls
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Service tier | Unknown | Unknown | Unknown | Unknown | Unknown |
Source: Unknown
Prompt caching
Lifetimes
| Lifetime | Documented for, or measured through | Time since the prompt was cached · served from the cache, in percent, with hits/checks | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| At once | 2.5 min | 5 min | 7.5 min | 10 min | 15 min | 20 min | 25 min | 30 min | 40 min | 50 min | 1 h | 1 h 15 | 1 h 30 | 2 h | 4 h | 8 h | 12 h | 24 h | ||
| Short retention |
| |||||||||||||||||||
| 15 minmeasuredproviders.dev2026-11-07 | A coding agent, through CLIProxyAPI No lifetime asked for · 11 of 31 checks hit Tested from 5 min · First miss 30 min · Also checked: 6 h 0% (0/3), 10 h 0% (0/3) 1 evaluation | 1001/1 | · | 1003/3 | · | · | 1003/3 | · | · | 672/3 | · | · | 331/3 | · | · | 331/3 | 00/3 | 00/3 | 00/3 | · |
harness-2026-11-07/H4 2026-11-07ChatGPT plan through the Codex login · Raw resultreasoning=low · Also checked: 6 h 0% (0/3), 10 h 0% (0/3) | 1001/1 | · | 1003/3 | · | · | 1003/3 | · | · | 672/3 | · | · | 331/3 | · | · | 331/3 | 00/3 | 00/3 | 00/3 | · | |
| 0 smeasuredproviders.dev2026-11-06 | Requests sent through CLIProxyAPI No lifetime asked for · 7 of 19 checks hit Tested from 1 min · First miss 1 min · Also checked: 1 min 33% (1/3), 2 min 67% (2/3), 3 min 33% (1/3), 4 min 0% (0/3) Note finer ages after X2 was cold at 5 min 1 evaluation | 1001/1 | · | 331/3 | 331/3 | · | · | · | · | · | · | · | · | · | · | · | · | · | · | · |
cpa-codex-long-2026-11-06/X2b 2026-11-06ChatGPT plan through the Codex login · Also checked: 1 min 33% (1/3), 2 min 67% (2/3), 3 min 33% (1/3), 4 min 0% (0/3) Raw result | 1001/1 | · | 331/3 | 331/3 | · | · | · | · | · | · | · | · | · | · | · | · | · | · | · | |
| 30 minmeasuredproviders.dev2026-11-07 | OpenAI's Codex CLI No lifetime asked for · 14 of 31 checks hit Tested from 5 min · First miss 1 h · Also checked: 6 h 0% (0/3), 10 h 0% (0/3) 1 evaluation | 1001/1 | · | 1003/3 | · | · | 1003/3 | · | · | 1003/3 | · | · | 672/3 | · | · | 672/3 | 00/3 | 00/3 | 00/3 | · |
harness-2026-11-07/H3 2026-11-07ChatGPT plan through the Codex login · Raw resultreasoning=low · Also checked: 6 h 0% (0/3), 10 h 0% (0/3) | 1001/1 | · | 1003/3 | · | · | 1003/3 | · | · | 1003/3 | · | · | 672/3 | · | · | 672/3 | 00/3 | 00/3 | 00/3 | · | |
| Long retention |
| |||||||||||||||||||
Checks served from the cache, in percent and as hits/checks, by time since the prompt was cached100 All67 Half or more33 Fewer0 None· Not checked at that ageMethodology
Cache modes
| Mode | Supported | Min. tokens | Breakpoints | Targets |
|---|---|---|---|---|
| Automatic implicit | Supported | Unknown | Not applicable | Not applicable |
| Manual explicit | Unknown | Unknown | Unknown | Unknown |
Source: models.dev · Cache modes
Retention
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Cache retention | Unknown | Unknown | Unknown | Unknown | Unknown |
Source: Unknown
Provenance
| Provenance | Value |
|---|---|
| Source | models.dev2026-11-17providers.dev2026-11-08 |
| Inherited from | None |
| Corrections | None |
| Evidence | None |
Data
GET /api/v1/entries/openai-codex/gpt-6.1-terra
Show the full entry as published
{
"id": "gpt-6.1-terra",
"name": "GPT-6.1 Terra",
"description": "Fast, efficient model for visual reasoning, precise computer use, and clear, natural writing.",
"type": "chat",
"family": "gpt-terra",
"canonical_id": "openai/gpt-6.1-terra",
"release_date": "2026-10-26",
"limit": {
"context": 1050000,
"input": 922000,
"output": 128000
},
"capabilities": {
"cache": {
"implicit": true
},
"temperature": true,
"top_k": false,
"top_p": true,
"structured_output": true,
"prompt_cache_key": true,
"system_updates": false,
"effort_updates": false,
"tools": {
"supported": true
},
"reasoning": {
"supported": true,
"effort": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
},
"cost": {
"text": {
"input": {
"price": 0,
"cache": {
"read": 0
}
},
"output": {
"price": 0
}
}
},
"modalities": {
"input": [
"text",
"image/jpeg",
"image/png",
"image/gif",
"image/webp",
"application/pdf"
],
"output": [
"text"
]
},
"api": {
"responses": {
"base_url": "https://chatgpt.com/backend-api/codex",
"sdk": {
"aisdk": "@ai-sdk/openai",
"opencodeai": "@opencode/ai/providers/openai/responses"
},
"capabilities": {
"tools": {
"freeform": [
"text",
"lark",
"regex"
],
"updates": []
}
}
}
},
"open_weights": false,
"knowledge": "2026-06-01",
"last_updated": "2026-10-26",
"providers_dev": {
"origin": "upstream",
"access": "subscription",
"provenance": [],
"inherited": null,
"cache": {
"documented": {
"support": "supported",
"modes": {
"implicit": {
"support": "supported",
"min_tokens": null,
"max_breakpoints": null,
"targets": null
},
"explicit": {
"support": "unknown",
"min_tokens": null,
"max_breakpoints": null,
"targets": null
}
}
},
"retention": {
"support": "unknown",
"parameter": null,
"accepted_values": null,
"default": null,
"profiles": [],
"conditions": [],
"evidence": []
},
"lifetime": {
"short": {
"safe_s": 0,
"basis": "measured",
"source": "providers.dev",
"date": "2026-11-07",
"documented_s": null,
"measured_s": 0,
"documented_status": null,
"clients": 3,
"evaluations": 3,
"checks": 81,
"hits": 32,
"checks_inside": null,
"hits_inside": null,
"tested_from_s": 60,
"first_miss_s": 60
},
"long": {
"safe_s": null,
"basis": "none",
"source": null,
"date": null,
"documented_s": null,
"measured_s": null,
"documented_status": null,
"clients": 0,
"evaluations": 0,
"checks": 0,
"hits": 0,
"checks_inside": null,
"hits_inside": null,
"tested_from_s": null,
"first_miss_s": null
},
"lifetimes": [
{
"retention_profile": "short",
"basis": "measured",
"source": "providers.dev",
"date": "2026-11-07",
"lifetime_s": 900,
"mode": null,
"documented_as": null,
"client": "agent+cliproxyapi",
"client_label": "A coding agent, through CLIProxyAPI",
"parameter": null,
"value": null,
"evaluations": 1,
"evaluation_ids": [
"harness-2026-11-07/H4"
],
"checks": 31,
"hits": 11,
"tested_from_s": 300,
"first_miss_s": 1800,
"results": [
{
"kind": "control",
"age_s": 0,
"hits": 1,
"checks": 1,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 300,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 900,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 1800,
"hits": 2,
"checks": 3,
"hit_rate_pct": 66.67
},
{
"kind": "timed",
"age_s": 3600,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 7200,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 14400,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 21600,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 28800,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 36000,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 43200,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
}
]
},
{
"retention_profile": "short",
"basis": "measured",
"source": "providers.dev",
"date": "2026-11-06",
"lifetime_s": 0,
"mode": null,
"documented_as": null,
"client": "cliproxyapi",
"client_label": "Requests sent through CLIProxyAPI",
"parameter": null,
"value": null,
"evaluations": 1,
"evaluation_ids": [
"cpa-codex-long-2026-11-06/X2b"
],
"checks": 19,
"hits": 7,
"tested_from_s": 60,
"first_miss_s": 60,
"results": [
{
"kind": "control",
"age_s": 0,
"hits": 1,
"checks": 1,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 60,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 120,
"hits": 2,
"checks": 3,
"hit_rate_pct": 66.67
},
{
"kind": "timed",
"age_s": 180,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 240,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 300,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 450,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
}
]
},
{
"retention_profile": "short",
"basis": "measured",
"source": "providers.dev",
"date": "2026-11-07",
"lifetime_s": 1800,
"mode": null,
"documented_as": null,
"client": "codex-cli",
"client_label": "OpenAI's Codex CLI",
"parameter": null,
"value": null,
"evaluations": 1,
"evaluation_ids": [
"harness-2026-11-07/H3"
],
"checks": 31,
"hits": 14,
"tested_from_s": 300,
"first_miss_s": 3600,
"results": [
{
"kind": "control",
"age_s": 0,
"hits": 1,
"checks": 1,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 300,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 900,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 1800,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 3600,
"hits": 2,
"checks": 3,
"hit_rate_pct": 66.67
},
{
"kind": "timed",
"age_s": 7200,
"hits": 2,
"checks": 3,
"hit_rate_pct": 66.67
},
{
"kind": "timed",
"age_s": 14400,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 21600,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 28800,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 36000,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 43200,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
}
]
}
]
},
"evaluations": [
{
"id": "harness-2026-11-07/H3",
"route": "codex-subscription",
"route_label": "ChatGPT plan through the Codex login",
"client": "codex-cli",
"client_label": "OpenAI's Codex CLI",
"date": "2026-11-07",
"request_settings": {
"reasoning": "low"
},
"retention_profile": "short",
"parameter": null,
"value": null,
"results": [
{
"kind": "control",
"age_s": 0,
"hits": 1,
"checks": 1,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 300,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 900,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 1800,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 3600,
"hits": 2,
"checks": 3,
"hit_rate_pct": 66.67
},
{
"kind": "timed",
"age_s": 7200,
"hits": 2,
"checks": 3,
"hit_rate_pct": 66.67
},
{
"kind": "timed",
"age_s": 14400,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 21600,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 28800,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 36000,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 43200,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
}
],
"late_excluded": 0,
"note": null,
"source": "https://github.com/ngvoicu/groundtruth/blob/main/results/harness-2026-11-07/H3.jsonl"
},
{
"id": "harness-2026-11-07/H4",
"route": "codex-subscription",
"route_label": "ChatGPT plan through the Codex login",
"client": "agent+cliproxyapi",
"client_label": "A coding agent, through CLIProxyAPI",
"date": "2026-11-07",
"request_settings": {
"reasoning": "low"
},
"retention_profile": "short",
"parameter": null,
"value": null,
"results": [
{
"kind": "control",
"age_s": 0,
"hits": 1,
"checks": 1,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 300,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 900,
"hits": 3,
"checks": 3,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 1800,
"hits": 2,
"checks": 3,
"hit_rate_pct": 66.67
},
{
"kind": "timed",
"age_s": 3600,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 7200,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 14400,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 21600,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 28800,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 36000,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 43200,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
}
],
"late_excluded": 0,
"note": null,
"source": "https://github.com/ngvoicu/groundtruth/blob/main/results/harness-2026-11-07/H4.jsonl"
},
{
"id": "cpa-codex-long-2026-11-06/X2b",
"route": "codex-subscription",
"route_label": "ChatGPT plan through the Codex login",
"client": "cliproxyapi",
"client_label": "Requests sent through CLIProxyAPI",
"date": "2026-11-06",
"request_settings": {},
"retention_profile": "short",
"parameter": null,
"value": null,
"results": [
{
"kind": "control",
"age_s": 0,
"hits": 1,
"checks": 1,
"hit_rate_pct": 100
},
{
"kind": "timed",
"age_s": 60,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 120,
"hits": 2,
"checks": 3,
"hit_rate_pct": 66.67
},
{
"kind": "timed",
"age_s": 180,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 240,
"hits": 0,
"checks": 3,
"hit_rate_pct": 0
},
{
"kind": "timed",
"age_s": 300,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
},
{
"kind": "timed",
"age_s": 450,
"hits": 1,
"checks": 3,
"hit_rate_pct": 33.33
}
],
"late_excluded": 0,
"note": "finer ages after X2 was cold at 5 min",
"source": "https://github.com/ngvoicu/groundtruth/blob/main/results/cpa-codex-long-2026-11-06/X2b-2026-11-06T21-54-40.json"
}
]
},
"pricing": {
"coverage": "partial",
"billing": "reference",
"reference_ref": "openai/gpt-6.1-terra",
"rules": [
{
"id": "cost.text.input.price",
"when": null,
"meter": "text.input",
"operation": "set",
"amount": 1,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.price",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.input.cache.read",
"when": null,
"meter": "text.cache_read",
"operation": "set",
"amount": 0.05,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.cache.read",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.output.price",
"when": null,
"meter": "text.output",
"operation": "set",
"amount": 5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.output.price",
"period": null,
"resulting_rates": null
},
{
"id": "cost.web_search.price",
"when": null,
"meter": "web_search",
"operation": "set",
"amount": 10,
"currency": "USD",
"unit": {
"name": "search",
"quantity": 1000
},
"applies_to": "all_usage",
"source_path": "cost.web_search.price",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.input.cache.write.30m",
"when": {
"kind": "predicate",
"field": "cache.retention_s",
"op": "eq",
"value": 1800
},
"meter": "text.cache_write",
"operation": "set",
"amount": 1.25,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.cache.write.30m",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.input.cache.write.12h",
"when": {
"kind": "predicate",
"field": "cache.retention_s",
"op": "eq",
"value": 43200
},
"meter": "text.cache_write",
"operation": "set",
"amount": 2.5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.cache.write.12h",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.input.overrides[0].price",
"when": {
"kind": "predicate",
"field": "request.context_tokens",
"op": "gt",
"value": 272000
},
"meter": "text.input",
"operation": "set",
"amount": 2,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.overrides[0].price",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.input.overrides[0].cache.read",
"when": {
"kind": "predicate",
"field": "request.context_tokens",
"op": "gt",
"value": 272000
},
"meter": "text.cache_read",
"operation": "set",
"amount": 0.1,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.overrides[0].cache.read",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.input.overrides[0].cache.write.30m",
"when": {
"kind": "all",
"conditions": [
{
"kind": "predicate",
"field": "request.context_tokens",
"op": "gt",
"value": 272000
},
{
"kind": "predicate",
"field": "cache.retention_s",
"op": "eq",
"value": 1800
}
]
},
"meter": "text.cache_write",
"operation": "set",
"amount": 2.5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.overrides[0].cache.write.30m",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.input.overrides[0].cache.write.12h",
"when": {
"kind": "all",
"conditions": [
{
"kind": "predicate",
"field": "request.context_tokens",
"op": "gt",
"value": 272000
},
{
"kind": "predicate",
"field": "cache.retention_s",
"op": "eq",
"value": 43200
}
]
},
"meter": "text.cache_write",
"operation": "set",
"amount": 5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.input.overrides[0].cache.write.12h",
"period": null,
"resulting_rates": null
},
{
"id": "cost.text.output.overrides[0].price",
"when": {
"kind": "predicate",
"field": "request.context_tokens",
"op": "gt",
"value": 272000
},
"meter": "text.output",
"operation": "set",
"amount": 7.5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
},
"applies_to": "all_usage",
"source_path": "cost.text.output.overrides[0].price",
"period": null,
"resulting_rates": null
},
{
"id": "cost.multipliers[0].factor.text",
"when": {
"kind": "predicate",
"field": "request.service_tier",
"op": "eq",
"value": "priority"
},
"meter": "text.*",
"operation": "multiply",
"amount": 2,
"currency": null,
"unit": null,
"applies_to": "all_usage",
"source_path": "cost.multipliers[0].factor.text",
"period": null,
"resulting_rates": [
{
"meter": "text.input",
"amount": 2,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
},
{
"meter": "text.cache_read",
"amount": 0.1,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
},
{
"meter": "text.output",
"amount": 10,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
}
]
},
{
"id": "cost.multipliers[1].factor.text",
"when": {
"kind": "predicate",
"field": "request.service_tier",
"op": "eq",
"value": "flex"
},
"meter": "text.*",
"operation": "multiply",
"amount": 0.5,
"currency": null,
"unit": null,
"applies_to": "all_usage",
"source_path": "cost.multipliers[1].factor.text",
"period": null,
"resulting_rates": [
{
"meter": "text.input",
"amount": 0.5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
},
{
"meter": "text.cache_read",
"amount": 0.025,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
},
{
"meter": "text.output",
"amount": 2.5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
}
]
},
{
"id": "cost.multipliers[2].factor.text",
"when": {
"kind": "not",
"condition": {
"kind": "predicate",
"field": "request.region",
"op": "eq",
"value": "global"
}
},
"meter": "text.*",
"operation": "multiply",
"amount": 1.1,
"currency": null,
"unit": null,
"applies_to": "all_usage",
"source_path": "cost.multipliers[2].factor.text",
"period": null,
"resulting_rates": [
{
"meter": "text.input",
"amount": 1.1,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
},
{
"meter": "text.cache_read",
"amount": 0.055,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
},
{
"meter": "text.output",
"amount": 5.5,
"currency": "USD",
"unit": {
"name": "token",
"quantity": 1000000
}
}
]
}
],
"rule_order": "listed",
"unparsed": [],
"evidence": [
{
"kind": "documented",
"url": "https://models.dev",
"date": "2026-11-17",
"note": "The cost models.dev records for openai/gpt-6.1-terra: the API list price this subscription entry refers to. Rules are in the order models.dev applies them."
}
]
},
"request_controls": {
"coverage": "unknown",
"items": [
{
"id": "cache.retention",
"support": "unknown",
"when": null,
"bindings": null,
"options": null,
"default": null,
"conditions": [],
"evidence": []
},
{
"id": "service_tier",
"support": "unknown",
"when": null,
"bindings": null,
"options": null,
"default": null,
"conditions": [],
"evidence": []
}
]
},
"limits": {
"measured": [
{
"route": "codex-subscription",
"route_label": "ChatGPT plan through the Codex login",
"client": "cliproxyapi",
"client_label": "Requests sent through CLIProxyAPI",
"context": null,
"output": null,
"input_accepted": 920870,
"input_refused": 921886,
"input_read": null,
"output_accepted": null,
"note": "the limit is on input; official catalogs list a 272K window for this route. The refusal gives no count: it held 921,875 filler words, which at 1 token per word plus 11 is 921,886 tokens (all six accepted requests of the walk fit, 865,000 to 920,859 words, each N + 11). Within 1 % of the documented 922,000, so it is shown beside it and does not replace it (owner's decision of 2026-11-16)",
"date": "2026-11-08",
"source": "https://github.com/ngvoicu/groundtruth/blob/main/results/limits-2026-11-08/limits.jsonl"
}
],
"from_measurement": [],
"input_window": {
"tokens": 922000,
"basis": "documented",
"bound": "limit",
"scope": "input",
"source": "models.dev",
"date": "2026-11-17",
"documented_tokens": 922000,
"documented_field": "limit.input",
"documented_source": "models.dev",
"documented_date": "2026-11-17",
"documented_status": "not_contradicted",
"measured_tokens": 920870,
"measured_bound": "at_least",
"measured_kind": "bracket",
"measured_refused": 921886,
"measured_date": "2026-11-08",
"clients": 1,
"evaluations": 1,
"measurements": [
{
"client": "cliproxyapi",
"client_label": "Requests sent through CLIProxyAPI",
"route": "codex-subscription",
"route_label": "ChatGPT plan through the Codex login",
"date": "2026-11-08",
"tokens": 920870,
"bound": "at_least",
"kind": "bracket",
"accepted": 920870,
"refused": 921886,
"named": null,
"read": null,
"source": "https://github.com/ngvoicu/groundtruth/blob/main/results/limits-2026-11-08/limits.jsonl"
}
]
}
},
"evidence": [],
"verified": "2026-11-08"
}
}