GPT-6.1 Sol
Use o GPT-6.1 Sol por 30% do preço da OpenAI: $0.60/1M de entrada, $3.00/1M de saída. Compare com GPT-6 Sol e Astra, além de configuração com curl, Python e Codex.
A codebase you don't know is a risk, not a hurdle. The plan should burn down that risk in order: understand, run, trace, spike, then make the change small enough that "production-ready" is a property you can demonstrate, not a hope.
Here are the first five steps, with the evidence you collect at each.
Step 1 — Get it building and the baseline green (half day)
Read the README, the manifest(s), the CI config, and any architecture docs. Boot the app locally, run the full test suite, run the linter/typechecker.
Evidence: The exact commands that reproduce a clean build and a passing test suite from a fresh checkout (recorded output, not memory of it). A one-page map you wrote yourself: where the entry points are, the layers, the build/test toolchain, and the main risks to your feature (e.g. "this touches cron jobs and payments").
Step 2 — Trace the smallest end-to-end slice that resembles your feature (half day)
Don't start with your feature. Pick a neighboring one that already works and follow it from entry to persistence. Note the conventions along the way: how errors surface, how config is injected, how logging is done, how tests are written.
Evidence: An annotated trace — file → function → what it does — for that slice. A written list of "conventions I must follow" (not intuitions; things you observed in real code). A named shortlist of the 3–5 files you will actually touch. If you can't produce this trace, you're not ready to write code.
Step 3 — Spike the core path (day 2)
Build the ugly version: hardcoded values, no error handling, no tests. The purpose is to confirm the path you traced in step 2 is real and to surface what you didn't know you didn't know.
Evidence: A working spike demonstrating the feature's central data path, alongside a list of every assumption the spike broke and what you corrected. That correction list is the most valuable document in this whole plan.
Step 4 — Write the contract before the code (half of day 2 / day 3)
Once the spike proves the path, pin down what production needs: the inputs/outputs, the error cases, where it sits in the conventions from step 2. Then write the tests — they'll be red, but they're the specification.
Evidence: A one-to-two-page design doc, an agreed interface/API shape (with the team if there is one), and a red test suite that encodes intended behavior. If you can't write the contract without consulting the code, you haven't finished step 2.
Step 5 — Implement in small, verified increments (days 3–4)
Replace the spike with the real thing in small commits, each one keeping the suite green, leaning on the existing patterns. Run lint/tests/typecheck per commit — CI, not just locally — and exercise the actual path against a real instance (staging or a local environment that isn't stubbed).
Evidence: A branch with progressive commits, each green in CI; coverage on the new code; something that proves it works against reality (a test result, a log trace, a screenshot); and a review by at least one person who knows the codebase. The review counts as evidence — an unfamiliar codebase has tribal knowledge you cannot extract from the files alone.
Steps 6+ would be the things that actually make it "shipped": a migration plan and its rollback, feature flagging, observability, the release and post-release verification. But the first five get you to a reviewed, green, working slice in staging — which is the point at which you can say "this will work in production" with evidence behind it, instead of a guess.
Executar abre o AI Chat com este prompt. São necessários início de sessão e créditos.
Detalhes do modelo
Use a mesma chave de modelo no Playground, nas solicitações da API e nos fluxos de trabalho internos.
- ID do modelo
- gpt-6.1-sol
- Provedor
- OpenAI
- Protocolo
- OpenAI Chat Completions
- Janela de contexto
- 1,050,000 tokens
- Saída máxima
- 128,000 tokens
O que é GPT-6.1 Sol
Exemplos de código do GPT-6.1 Sol
Experimente GPT-6.1 Sol em 3 passos
- 01
Defina o esforço de raciocínio
Comece com medium. Aumente para high, xhigh ou max para problemas que exigem planejamento antes de responder, e reduza para low quando a latência for mais importante que a profundidade.
- 02
Envie um prompt
Cole sua tarefa real em vez de um exemplo básico. O uso de tokens e os créditos consumidos são exibidos abaixo de cada resposta, para que você possa calcular o custo da carga de trabalho antes de se comprometer.
- 03
Copie a chamada de API
Mova a mesma requisição para o seu código com o ID de modelo gpt-6.1-sol. O tool calling funciona tanto no Chat Completions quanto na Responses API.
FAQ
01Quanto custa o GPT-6.1 Sol no AIReiter?
O GPT-6.1 Sol custa $0.60 por 1M de tokens de entrada e $3.00 por 1M de tokens de saída no AIReiter, o que representa 30% dos valores oficiais de $2.00 e $10.00 da OpenAI. Leituras de entrada em cache custam $0.03 por 1M contra os $0.10 oficiais, e gravações em cache custam $0.75 por 1M. Requisições acima de 272K tokens de entrada são cobradas a 2x na entrada e 1.5x na saída.
02O que mudou em relação ao GPT-6 Sol?
Os preços base de entrada e saída são os mesmos do GPT-6 Sol, mas a entrada em cache custa a metade do preço, a 5% da taxa sem cache em vez de 10%. O esforço de raciocínio ganha a configuração max, enquanto as configurações none e minimal deixam de ser suportadas. A janela de contexto, o limite de saída e a sobretaxa de contexto longo permanecem inalterados.
03O GPT-6.1 Sol é melhor que o GPT-6 Astra?
Não. O Astra continua sendo o modelo GPT-6 mais avançado da OpenAI, e o GPT-6.1 Sol fica um nível abaixo. O ponto forte do Sol é o custo: seus preços de entrada e saída para contexto curto são um quinto dos preços do Astra, custando $2 contra $10 na entrada e $10 contra $50 na saída por 1M de tokens. Direcione para o Astra apenas onde o Sol comprovadamente não for suficiente.
04Qual é a janela de contexto?
O GPT-6.1 Sol possui uma janela de contexto de 1.050.000 tokens com até 128.000 tokens de saída, e entrada e saída compartilham esse limite. Na prática, a parte econômica da janela são os primeiros 272K tokens de entrada: acima disso, toda a requisição é cobrada a 2x nas taxas de entrada e cache e 1.5x na saída.
05Quais configurações de esforço de raciocínio são suportadas?
O GPT-6.1 Sol aceita low, medium, high, xhigh e max, com medium como padrão. As configurações none e minimal aceitas por alguns modelos GPT anteriores não são suportadas. Configurações mais altas geram mais tokens de raciocínio, que são cobrados como saída, portanto comece com medium e aumente apenas para problemas que exijam planejamento.
06O GPT-6.1 Sol suporta tool calling?
Sim. Na própria API da OpenAI, o GPT-6.1 Sol suporta tool calling apenas por meio da Responses API, e não no Chat Completions. No AIReiter, o tool calling funciona tanto em https://aireiter.com/api/v1/chat/completions quanto em https://aireiter.com/api/v1/responses com o modelo gpt-6.1-sol, portanto os loops de ferramentas existentes no Chat Completions continuam funcionando sem alterações.
07Como uso o GPT-6.1 Sol no Codex CLI?
Adicione um provedor aireiter ao ~/.codex/config.toml com base_url https://aireiter.com/api/v1, wire_api definido como responses e env_key definido como AIREITER_API_KEY, depois defina model como gpt-6.1-sol. Exporte sua chave do AIReiter nessa variável de ambiente e inicie o Codex. A configuração completa está na seção de código acima.
08Quando o GPT-6.1 Sol foi lançado?
A OpenAI lançou o GPT-6.1 Sol em 29 de setembro de 2026 como uma atualização do GPT-6 Sol. Ele está disponível na API da OpenAI e no ChatGPT Work e Codex para planos pagos. No AIReiter, ele está disponível no playground e na API desde o lançamento, por 30% do preço oficial por token.