gpt-6.1-terra pricing and API access

Run gpt-6.1-terra through Code By AI for $0.13 per 1M input tokens and $0.67 per 1M output tokens. OpenAI lists the same model at $1.00 and $5.00; you pay about 87% less than that, with no monthly subscription.

Official price

$1.00

per 1M tokens, USD

Your price

$0.13

per 1M tokens, USD

You save

−87%

1/7.5 of official price

gpt-6.1-terraTop up & try
Official priceYour price
Input$1.00$0.13
Cached input$0.05$0.0067
Output$5.00$0.67

How to use gpt-6.1-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-6.1-terra. The Codex guide walks through the full configuration.

model_provider = "codebyai"
model = "gpt-6.1-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

No key yet? Create one

Compare other Codex models

Your price /1M

Similar price on other channels

gpt-6.1-terra FAQ

Get started

Four steps to your first request

  1. 01

    Create a free account

    Sign up with Google, GitHub or email and set a password. No card is required.

  2. 02

    Generate an API key

    Create a key in one click from the dashboard. It lets your CLI authenticate with Code By AI.

  3. 03

    Top up your balance

    Add credit before your first request; usage is charged per token from your balance.

  4. 04

    Point your CLI at Code By AI

    Export one base-URL variable, or add a model provider block to config.toml. The setup guides list the exact lines for each agent.

Use it nowTop up to send a requestWhat a working month costs

No card required to sign up · API usage requires a top-up