openai · CODEX
GPT-6.1 Terra API Pricing
Check the model ID and provider reference rates for GPT-6.1 Terra, along with current pricing availability on CODEX.
Effective CODEX API rates
USD per 1M tokens. Quota rates use the current AI in IDE base price × 0.8. Provider prices as of 2026-11-02.
| AI in IDE quota rate | Reference provider rate | |
|---|---|---|
| Input | $0.80 | $1.00 |
| Cache read | $0.04 | $0.05 |
| Output | $4.00 | $5.00 |
Use GPT-6.1 Terra in your client
Create a CODEX API key in your dashboard, replace YOUR_DASHBOARD_API_KEY, and run this request in a Bash-compatible terminal. The key and its funding source need a positive balance; this request consumes quota.
This example includes all the text needed for the task. It does not read your local project.
curl --globoff --fail-with-body 'https://api.aiinide.com/responses' \
-H "Authorization: Bearer YOUR_DASHBOARD_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"gpt-6.1-terra","reasoning":{"effort":"low"},"input":"Rewrite this sentence in plain English: The application facilitates the modification of account settings.","max_output_tokens":4096}'Check for status: "completed" and an output_text item in output[].content[], such as “The app lets you change your account settings.” Wording may vary. If the status is incomplete, check incomplete_details.reason. The output limit includes reasoning tokens; increase it if they exhaust the limit. Then check your usage records.
View setup guideExample: usage versus a top-up purchase
Each row uses a 3:1 input-to-output mix and no cache reads. Quota consumed is the cost of that mix. The top-up column is a separate purchase.
| Monthly tokens | Reference API cost | Quota this example consumes | Smallest top-up that covers it |
|---|---|---|---|
| 1M | $2.00 | $1.60 | 50 dollars of quota, priced at $7.99 |
| 10M | $20.00 | $16.00 | 50 dollars of quota, priced at $7.99 |
| 100M | $200.00 | $160.00 | 175 dollars of quota, priced at $27.05 |
The quota column is what this token mix consumes. The top-up column is the smallest purchase the slider accepts: $50, then steps of $25. A small task does not cost that purchase. Examples round top-up quota up to the next $25 with a $50 minimum. Actual charges vary by usage, plan, context, speed, and promotions.
Protocol, channels, and tools
- Protocol
- OpenAI Responses
- Path
- /responses
- API key header
- Authorization: Bearer
Channels and this model ID
- AWSQ is not compatible with this model ID.
- CCMAX is not compatible with this model ID.
- CODEX is compatible with this model ID and uses 0.8× the configured model price when the model is in the catalog.
- GEMINI is not compatible with this model ID.
Tool limits on this channel
File search is unavailable. code_interpreter, image_generation, and a shell that is not local are rejected because their usage fee cannot be calculated. Remote MCP is rejected. Web search is priced per call. Server-stored context and remote file or image URLs are rejected; images must be data URLs and files need inline file_data.
GPT-6.1 Terra API FAQ
How much does GPT-6.1 Terra API cost?
Reference rates for GPT-6.1 Terra are USD 1 input, USD 0.05 cache read, and USD 5 output per 1M tokens. AI in IDE applies 0.8× its configured model price when charging quota.
What is the GPT-6.1 Terra model ID?
The model ID is gpt-6.1-terra.
How do I use GPT-6.1 Terra in my IDE?
Create a CODEX API key, run the setup example on this page, and follow the linked IDE guide.