gpt-5.6-terra pricing and API access

Run gpt-5.6-terra through Code By AI for $0.33 per 1M input tokens and $2.00 per 1M output tokens. OpenAI lists the same model at $2.50 and $15.00; you pay about 87% less than that, with no monthly subscription.

gpt-5.6-terra is the default model for Codex requests, so omitting the model parameter routes here.

Official price

$2.50

per 1M tokens, USD

Your price

$0.33

per 1M tokens, USD

You save

−87%

1/7.5 of official price

gpt-5.6-terraOfficial priceYour price
Input$2.50$0.33
Cached input$0.25$0.03
Output$15.00$2.00

How to use gpt-5.6-terra

In config.toml add a [model_providers.codebyai] block with base_url = "https://www.codebyai.net/api/agent", set model_provider = "codebyai", and save your Code By AI key as OPENAI_API_KEY in auth.json, and use the model ID gpt-5.6-terra. The Codex guide walks through the full configuration.

model_provider = "codebyai"
model = "gpt-5.6-terra"

[model_providers.codebyai]
name = "codebyai"
base_url = "https://www.codebyai.net/api/agent"
wire_api = "responses"
requires_openai_auth = true
Read the Codex setup guide

Compare other Codex models

Your price /1M

Similar price on other channels

gpt-5.6-terra FAQ