Providers / OpenAI · All access methods for openai/gpt-6.1-terra
GPT-6.1 Terra
openai/gpt-6.1-terra API key
models.dev2026-11-17
Type chat · Released 2026-10-26
Input window
922,000 tokensdocumented
models.dev · 2026-11-17
Input alone
Context window
1,050,000 tokens
Exposed by this provider
Maximum output
128,000 tokens
Per response; not a default
Cache lifetime, short
30 mindocumented
models.dev · 2026-11-17
Cache lifetime, long
12 hdocumented
models.dev · 2026-11-17
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.input | models.dev2026-11-17 |
| Measured What each limit evaluation that counts gives, one line per evaluation. | Not measured | – |
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 |
|---|---|---|---|---|---|---|---|
| No limits were measured on this entry. | |||||||
Price
| 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 | Supported | Unknown | flexpriority | Unknown | None recorded |
Source: models.dev 2026-11-17
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 |
| |||||||||||||||||||
| 30 mindocumentedmodels.dev2026-11-17 | Manual explicit As documented: 30m | Not applicable | ||||||||||||||||||
| Long retention |
| |||||||||||||||||||
| 12 hdocumentedmodels.dev2026-11-17 | Manual explicit As documented: 12h | Not applicable | ||||||||||||||||||
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 | 1,024 | Not applicable | Not applicable |
| Manual explicit | Supported | 1,024 | 4 | Unknown |
Source: models.dev · Cache modes
Retention
| Control | Support | Request field | Accepted values | Default | Conditions |
|---|---|---|---|---|---|
| Cache retention | Supported | prompt_cache_options.ttlRequest body, top level prompt_cache_breakpoint.ttlRequest body, on a content block | Short: 30mLong: 12h | 30m | "12h" is documented for the Responses API only. |
Source: developers.openai.com/api/docs/guides/prompt-caching#cache-lifetime-gpt-5-6-and-later 2026-11-14
Provenance
| Provenance | Value |
|---|---|
| Source | models.dev2026-11-17 |
| Inherited from | None |
| Corrections | None |
| Evidence | None |
Data
GET /api/v1/entries/openai/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": {
"min_tokens": 1024
},
"explicit": {
"ttl": [
"30m",
"12h"
],
"min_tokens": 1024,
"max_breakpoints": 4
}
},
"temperature": true,
"top_k": false,
"top_p": true,
"structured_output": true,
"prompt_cache_key": true,
"store": true,
"system_updates": true,
"effort_updates": false,
"service_tier": [
"flex",
"priority"
],
"tools": {
"supported": true
},
"reasoning": {
"supported": true,
"effort": [
"none",
"low",
"medium",
"high",
"xhigh",
"max"
]
}
},
"cost": {
"text": {
"input": {
"price": 1,
"cache": {
"read": 0.05,
"write": {
"30m": 1.25,
"12h": 2.5
}
},
"overrides": [
{
"when": {
"context": {
"gt": 272000
}
},
"price": 2,
"cache": {
"read": 0.1,
"write": {
"30m": 2.5,
"12h": 5
}
}
}
]
},
"output": {
"price": 5,
"overrides": [
{
"when": {
"context": {
"gt": 272000
}
},
"price": 7.5
}
]
}
},
"multipliers": [
{
"when": {
"service_tier": {
"equals": "priority"
}
},
"factor": {
"text": 2
}
},
{
"when": {
"service_tier": {
"equals": "flex"
}
},
"factor": {
"text": 0.5
}
},
{
"when": {
"not": {
"region": {
"equals": "global"
}
}
},
"factor": {
"text": 1.1
}
}
],
"web_search": {
"price": 10
}
},
"modalities": {
"input": [
"text",
"image/jpeg",
"image/png",
"image/gif",
"image/webp",
"application/pdf"
],
"output": [
"text"
]
},
"api": {
"responses": {
"base_url": "https://api.openai.com/v1",
"sdk": {
"aisdk": "@ai-sdk/openai",
"opencodeai": "@opencode/ai/providers/openai/responses"
},
"capabilities": {
"effort_updates": true,
"tools": {
"choice": [
"auto",
"none",
"required",
"tool"
],
"freeform": [
"text",
"lark",
"regex"
],
"strict": true,
"updates": [
"add",
"remove",
"replace"
],
"search": true
}
}
},
"chat-completions": {
"base_url": "https://api.openai.com/v1",
"sdk": {
"aisdk": "@ai-sdk/openai",
"opencodeai": "@opencode/ai/providers/openai/chat"
},
"capabilities": {
"tools": {
"choice": [
"auto",
"none",
"required",
"tool"
],
"freeform": [
"text",
"lark",
"regex"
],
"strict": true,
"updates": []
}
}
}
},
"open_weights": false,
"knowledge": "2026-06-01",
"last_updated": "2026-10-26",
"experimental": {
"modes": {
"fast": {
"service_tier": "priority",
"body": {
"service_tier": "priority"
}
},
"flex": {
"body": {
"service_tier": "flex"
}
},
"pro": {
"body": {
"reasoning": {
"mode": "pro"
}
}
}
}
},
"providers_dev": {
"origin": "upstream",
"access": "api",
"provenance": [],
"inherited": null,
"cache": {
"documented": {
"support": "supported",
"modes": {
"implicit": {
"support": "supported",
"min_tokens": 1024,
"max_breakpoints": null,
"targets": null
},
"explicit": {
"support": "supported",
"min_tokens": 1024,
"max_breakpoints": 4,
"targets": null
}
}
},
"retention": {
"support": "supported",
"parameter": {
"name": "prompt_cache_options.ttl",
"location": "Request body, top level"
},
"accepted_values": [
"30m",
"12h"
],
"default": "30m",
"profiles": [
{
"profile": "short",
"value": "30m"
},
{
"profile": "long",
"value": "12h"
}
],
"conditions": [
"\"12h\" is documented for the Responses API only."
],
"evidence": [
{
"kind": "documented",
"url": "https://developers.openai.com/api/docs/guides/prompt-caching#cache-lifetime-gpt-5-6-and-later",
"date": "2026-11-14",
"note": "GPT-5.6 and later: 'In the Responses API, set prompt_cache_options.ttl to choose the minimum cache lifetime': \"30m\" (default) or \"12h\". 'Set prompt_cache_breakpoint.ttl to override it for an individual explicit breakpoint. Omitting both settings preserves the default \"30m\" behavior.' The summary of model differences gives the supported values as '\"30m\" (default), or \"12h\" in the Responses API'."
}
]
},
"lifetime": {
"short": {
"safe_s": 1800,
"basis": "documented",
"source": "models.dev",
"date": "2026-11-17",
"documented_s": 1800,
"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
},
"long": {
"safe_s": 43200,
"basis": "documented",
"source": "models.dev",
"date": "2026-11-17",
"documented_s": 43200,
"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": "documented",
"source": "models.dev",
"date": "2026-11-17",
"lifetime_s": 1800,
"mode": "explicit",
"documented_as": "30m",
"client": null,
"client_label": null,
"parameter": null,
"value": null,
"evaluations": 0,
"evaluation_ids": [],
"checks": 0,
"hits": 0,
"tested_from_s": null,
"first_miss_s": null,
"results": null
},
{
"retention_profile": "long",
"basis": "documented",
"source": "models.dev",
"date": "2026-11-17",
"lifetime_s": 43200,
"mode": "explicit",
"documented_as": "12h",
"client": null,
"client_label": null,
"parameter": null,
"value": null,
"evaluations": 0,
"evaluation_ids": [],
"checks": 0,
"hits": 0,
"tested_from_s": null,
"first_miss_s": null,
"results": null
}
]
},
"evaluations": []
},
"pricing": {
"coverage": "partial",
"billing": "per_use",
"reference_ref": null,
"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 this entry. Rules are in the order models.dev applies them: base prices, overrides in their order, then multipliers."
}
]
},
"request_controls": {
"coverage": "partial",
"items": [
{
"id": "cache.retention",
"support": "supported",
"when": null,
"bindings": [
{
"location": "body",
"path": "/prompt_cache_options/ttl",
"scope": "request"
},
{
"location": "body",
"path": "/prompt_cache_breakpoint/ttl",
"scope": "content_block"
}
],
"options": [
{
"value": "30m",
"attributes": {
"retention_s": 1800,
"profile": "short"
},
"settings": null,
"when": null
},
{
"value": "12h",
"attributes": {
"retention_s": 43200,
"profile": "long"
},
"settings": null,
"when": null
}
],
"default": {
"value": "30m"
},
"conditions": [
"\"12h\" is documented for the Responses API only."
],
"evidence": [
{
"kind": "documented",
"url": "https://developers.openai.com/api/docs/guides/prompt-caching#cache-lifetime-gpt-5-6-and-later",
"date": "2026-11-14",
"note": "GPT-5.6 and later: 'In the Responses API, set prompt_cache_options.ttl to choose the minimum cache lifetime': \"30m\" (default) or \"12h\". 'Set prompt_cache_breakpoint.ttl to override it for an individual explicit breakpoint. Omitting both settings preserves the default \"30m\" behavior.' The summary of model differences gives the supported values as '\"30m\" (default), or \"12h\" in the Responses API'."
}
]
},
{
"id": "service_tier",
"support": "supported",
"when": null,
"bindings": null,
"options": [
{
"value": "flex",
"attributes": null,
"settings": null,
"when": null
},
{
"value": "priority",
"attributes": null,
"settings": null,
"when": null
}
],
"default": null,
"conditions": [],
"evidence": [
{
"kind": "documented",
"url": "https://models.dev",
"date": "2026-11-17",
"note": "Imported capabilities; corrections are recorded in providers_dev.provenance."
}
]
}
]
},
"limits": {
"measured": [],
"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": null,
"measured_tokens": null,
"measured_bound": null,
"measured_kind": null,
"measured_refused": null,
"measured_date": null,
"clients": 0,
"evaluations": 0,
"measurements": []
}
},
"evidence": [],
"verified": null
}
}