~/beer-and-code
▪ next event Workshop: Jev na Prática para Devs · 14 Oct · 19h — duração de 2h a 3h, ao vivo via Google Meet save your seat ›
~ / author / lucas-souza-virgu $ whoami
Lucas Souza

Lucas Souza

{AI Engineer} — apaixonado por Laravel, arquitetura de software e construir produtos com impacto. Compartilho aqui tutoriais, descobertas e reflexões sobre o dia a dia de engenharia.

78 posts
73 #openai · #ia
GPT-5.6 Sol vs Terra vs Luna: Pricing by Tier and Which to Use

What's the difference between GPT-5.6 Sol, Terra and Luna? Same generation, three tiers: Sol is the agentic top end ($5/$30 per 1M tokens), Terra is the middle ground ($2/$12) and Luna is the cheap, fast one ($0.20/$1.20). With the pricing in effect since the July 30 cut, here's when each one is worth it and when Sol is just wasted budget.

26 Jun · 11 min ›
74 #openai · #ia
Claude Code vs Codex: Codex Wins the Terminal by 13 Points, Claude Wins the Hard Repo by 10

Claude Code or Codex? The answer comes with numbers: Codex opens a 13-point lead on Terminal-Bench (82.7% vs 69.4%) and Claude Code opens a 10-point lead on SWE-bench Pro (69.2% vs 58.6%), which is the benchmark for real multi-file problems. On SWE-bench Verified they tie. Here is the verdict by scenario, the real cost per dev, and the criterion that matters more than quality: how much control you want during the task.

19 Jun · 10 min ›
75 #ia · #ai-agents
Fable 5 vs Opus 4.8: which one to use (and the 10 tasks where the difference shows)

Fable 5 or Opus 4.8, which one should you use? A straight verdict by task type, with the 10 concrete situations where Fable gets it done and Opus 4.8 did it badly or not at all: migration at scale, code from a screenshot, long-running agents and reasoning over documents. Plus what each one costs and the cases where Opus 4.8 is still the right call.

09 Jun · 11 min ›
76 #tool-use · #llm-as-a-judge
Code Review Prompt: 5 Patterns That Raise Signal from 12% to 67%

An LLM code review prompt your team will actually read: five patterns (diff-anchored, severity gate, tool use before guessing, mandatory citation, and self-grading with a threshold) that raise the signal ratio from ~20% to above 60%. Comes with a complete REVIEW.md and a GitHub Actions workflow ready to plug into a Laravel project.

24 May · 15 min ›
77 #ia · #engenharia-de-software
AI Engineer Salary in Brazil in 2026: R$ 7k to R$ 38k as an Employee, and Why Contractors Earn 50% More

There are three markets running in parallel for AI Engineers in Brazil, and each one has its own range, tax rate and negotiation criteria: CLT (salaried employment), PJ (contractor) and foreign contracts through an EOR. Here are the three 2026 ranges by level, with sources, plus the 1.5x ratio between CLT and PJ, the all-in cost a foreign employer actually pays for you, and the three specializations that move the number more than stack or tenure.

10 May · 17 min ›
78 #laravel · #php
Spec-Driven Development: A Practical Guide from PRD to Code

Vibe coding with an agent in Laravel works until the feature has business rules. Then the agent makes things up. Spec-Driven Development fixes that by turning the specification into the source of truth. In this post we walk through the PRD, spec, plan, tasks, code and tests cycle on a feature that looks silly: exporting a sales report as a PDF. PHP stack, Claude Code and Spec Kit, from scratch.

04 May · 13 min ›
Meet the Clã Beer and Code
playing