Skip to content
ChatGPT API
Documentation

Documentation

Which ChatGPT model fits your task

Last updated:

Choose a family by the work: Astra, Sol, Terra and Luna serve different roles. Compare the available versions and current prices below.

Available models and rates

Compare current model versions and prices per million short-context tokens. The full pricing table also shows longer-context rates.

gpt-6.2-astragpt-6.2-solgpt-6.1-terra
Suitable tasksComplex reasoning and hard codingEveryday coding and agentsEveryday code and text
Input / 1M$0.72$0.18$0.09
Output / 1M$3.60$0.90$0.45
Cached input$0.036$0.009$0.0045
long from> 272,000> 272,000> 272,000

Astra

For complex reasoning, difficult code changes, large refactors and long agent workflows with many constraints.

Complex reasoning and hard coding

Sol

A balanced choice for professional work, everyday coding, code review and agents.

Everyday coding and agents

Terra

A versatile family for everyday code and text: feature work, explanations, documentation and editing.

Everyday code and text

Luna

The fastest family for high-volume simple tasks at lower cost: classification, field extraction and short summaries.

Fast, high-volume simple tasks

How to select a model

Start with the family that fits the work, then check quality, response time and the cost of a completed task on your own examples.

  1. 1Choose Sol for everyday coding and agents, or Terra for a mix of code and text.
  2. 2Use Astra when the work requires complex reasoning, difficult debugging or large refactors.
  3. 3Use Luna for classification, field extraction, short summaries and other simple tasks at scale.

Test on your own data

Collect representative examples, including difficult and unusual inputs, and run the same set through each candidate.

  • Answers accepted without corrections
  • Retries needed
  • Cost per successful task
  • Response latency
  • Empty, incomplete and unusually long inputs

Estimated monthly API cost

Example workload: 10,000 requests a month, each with 2,000 input and 500 output tokens, without caching.

ModelPer month
gpt-6.2-astra$32.40
gpt-6.2-sol$8.10
gpt-6.1-terra$4.05

Estimates use current rates. Your bill depends on actual tokens, context tier, cache usage and retries.

Models marked legacy

Earlier model versions that remain available are listed separately. Check their current prices and use the family guide when planning a migration.

gpt-6.1-sol
A balanced choice for professional work, everyday coding, code review and agents.
gpt-6-astra
For complex reasoning, difficult code changes, large refactors and long agent workflows with many constraints.
gpt-6-luna
The fastest family for high-volume simple tasks at lower cost: classification, field extraction and short summaries.
gpt-6-sol
A balanced choice for professional work, everyday coding, code review and agents.
gpt-5.6-luna
The fastest family for high-volume simple tasks at lower cost: classification, field extraction and short summaries.
gpt-5.6-sol
A balanced choice for professional work, everyday coding, code review and agents.
gpt-5.6-terra
A versatile family for everyday code and text: feature work, explanations, documentation and editing.

Change the model in a request

Use an available model ID in the model field. Your key, base URL and request format stay the same.

An ID from the API catalog
{
  "model": "gpt-6.2-astra",
  "messages": [{ "role": "user", "content": "..." }]
}

Model FAQ

Which model should I start with?+

Choose by task: Astra for complex reasoning and hard coding, Sol for everyday coding and agents, Terra for versatile code and text, and Luna for fast, high-volume simple tasks. Pick an available version from the current list and check its token prices.

How do Astra, Sol, Terra and Luna differ?+

Astra focuses on complex reasoning and difficult code, Sol balances everyday coding and agents, Terra covers versatile everyday code and text, and Luna prioritizes speed and lower cost for simple tasks at scale.

Which family should I choose to reduce cost?+

Luna is the family to consider for lower-cost, high-volume simple tasks such as classification, field extraction and short summaries. Check the live pricing table for the exact rates of each available version.

Can I use several models in one project?+

Yes. Use Sol for everyday coding and agents, Astra for hard reasoning and code, Terra for mixed code and text, and Luna for simple bulk tasks. Select an available version of each family; the key and base URL stay the same.

Next steps