GPT 6 Luna: cheapest smart paid model for OpenCode

Contents
Introduction
Pricing and ids
Connect in OpenCode
Skills and agents fit
Example workflow
Privacy and limits
Troubleshooting

Introduction

GPT 6 Luna is the small member of the GPT 6 family (Astra, Sol, Luna) on OpenCode Console. It is the cheapest smart paid model: roughly ten cents per 1M input tokens, yet good enough as a full agent — it follows tools, keeps context, and survives long refactors. Use it as the step-up when the free OpenCode model is rate-limited, for overnight runs, and for CI jobs where every cent counts. Reserve Claude Opus 5.5 for the hard final pass.

Pricing and ids

VariantConsole idPrice / 1M in+out
Luna up to 272K tokensopencode/gpt-6-luna$0.10 / $0.50, cached read $0.01
Luna above 272K tokensopencode/gpt-6-luna$0.20 / $0.75
Sol, middle siblingopencode/gpt-6-sol$2.00 / $10.00

Endpoint family:

https://opencode.ai/inference/v1/responses

Context: Luna is cheaper than most Flash, Nano and Mini models at comparable quality as an agent. Verify current prices in the Console models docs before budgeting.

Connect in OpenCode

Same Console key as the other Console models, then pin Luna as default or per agent in opencode.jsonc at the project root:

vi opencode.jsonc

{ "$schema": "https://opencode.ai/config.json", "model": "opencode/gpt-6-luna" }

One-shot review from CI with no TUI:

opencode run --standalone --model opencode/gpt-6-luna "Review this repository for correctness and summarize issues"

Skills and agents fit

Luna likes checklist skills: preconditions, diff-before-write, exact test command, stop conditions. Best matches from Five complete examples: db-migrate and git-release. In the aredel repo it owns page plus blocks plus verify. Agent side, it runs builder: edits allowed, tests allowed, push denied. Pair it with @test-writer for coverage on every feature.

Example workflow

Routine paid build after free triage:

With builder and @test-writer, add cursor pagination to orders with three tests, show git diff --stat and stop

Use the reviewer subagent with @api-review on git diff --cached

Luna does the implementation steps, then hands the staged diff to Claude Opus 5.5 for the verdict. For background work set the review command to subagent: true and keep typing in the parent.

Privacy and limits

Paid Console requests follow the provider data policy with limited retention for safety, unlike a free contributor tier that may train on prompts. Luna is therefore the default for customer code that the free OpenCode model must not see. Set monthly workspace limits and review opencode stats --cost --models weekly — Luna is cheap per token but long sessions still add up.

Troubleshooting

Official sources:

Article author: Arthur Isaev

Related articles
AI
Models for OpenCode
Muse Spark 1.3
Free OpenCode model
GPT 6 Luna
Claude Opus 5.5
OpenCode coding agent

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.com
Write to info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: