Skip to content

Providers / OpenAI (GPT)

OpenAI (GPT)

OpenAI is a US AI lab and the maker of the GPT models. Its current generation is GPT-6, sold in named tiers: Astra at the top, Sol for general work and Luna as the low-cost tier. GPT-6.1 Sol came a week after GPT-6 Sol. The earlier GPT-5.6 generation has Sol, Terra and Luna tiers, and GPT-5.5, GPT-5.5 Pro and GPT-5.4 are older models.

Models

USD per 1M tokens · prices as of 2026-11-21

ModelBest forInputOutputContext
GPT-5.4$2.8787$17.2723266K
GPT-5.5$5.7574$34.5445266K
GPT-5.6 Luna$0.2303$1.3818266K
GPT-5.6 Sol$4.6059$23.0297266K
GPT-5.6 TerraCoding agent, everyday work$2.3030$13.8178266K
GPT-6 AstraHardest tasks, cost second$11.5148$57.5742266K
GPT-6 LunaQuick edits, autocomplete-style tasks · Cheap bulk work$0.1151$0.5757266K
GPT-6 SolCoding sessions with reasoning on or off · Long context$2.3030$11.5148266K
GPT-6.1 SolCoding agent, hard problems · Long context$2.3030$11.5148266K
GPT-5.5 ProOne hard problem, quality over speedPrice coming soon1.05M

Which model for which job

JobUseInput / output per 1MWhy
Coding agent, hard problemsGPT-6.1 Sol$2.3030 / $11.5148Reasoning always on; OpenAI’s main pick for hard, multi-step coding work
Coding agent, everyday workGPT-5.6 Terra$2.3030 / $13.8178Mid tier; you can turn reasoning off to save tokens
Coding sessions with reasoning on or offGPT-6 Sol$2.3030 / $11.5148Effort from none to max
Quick edits, autocomplete-style tasksGPT-6 Lunawith low or no reasoning$0.1151 / $0.5757Low-priced tier
Long contextGPT-6 SolGPT-6.1 Sol$2.3030 / $11.5148$2.3030 / $11.5148About 1M tokens on both; see the long-prompt note below
Cheap bulk workGPT-6 Lunawith the Batch API$0.1151 / $0.5757Low per-token price, runs off-peak
Hardest tasks, cost secondGPT-6 Astra$11.5148 / $57.5742Top model of the GPT-6 generation
One hard problem, quality over speedGPT-5.5 ProPrice coming soonThinks harder, but slower; Responses and Batch APIs only

Data handling

What Yunshu does

Pricing notes

Use it in your coding tool

Paste these settings to use GPT-5.4. Swap in any OpenAI model ID from the table above.

export ANTHROPIC_BASE_URL=https://api.yunshurouter.com
export ANTHROPIC_AUTH_TOKEN=YOUR_YUNSHU_KEY
export ANTHROPIC_MODEL=gpt-5.4
export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1

Run these in your shell before starting Claude Code, or put them in ~/.claude/settings.json (see the guide). No /v1 in the address: Claude Code adds it. The last line stops Claude Code sending fields only Anthropic models accept. Full guide →

Questions

Is there a GPT API without an OpenAI account?
How much does GPT-6.1 Sol cost per token?
Can I use GPT models in the Codex CLI with Yunshu?
What is the difference between Sol, Terra and Luna?
Does Yunshu support OpenAI embeddings or image generation?