Boletim de engenharia
Notas de campo sobre agentes de programação, escolha de modelos, gasto com tokens e protocolos de comunicação.
Ainda não há conteúdo neste idioma, então aqui estão as publicações mais recentes de todos os idiomas.
-
Receitas de desenvolvimento
ZH
让新工程师第一天就能与助手协作:七步配置指南
从独立密钥、仓库说明到测试门禁,用七个步骤搭建可复现、可审查的助手工作环境,让新工程师先理解代码,再安全提交第一个改动。
-
Por dentro dos protocolos
ZH
通过兼容 OpenAI 的端点获取结构化 JSON:七步接入
从连接配置、结构定义到响应校验,逐步构建可靠的结构化 JSON 流程,并处理模型兼容性、拒答、截断与降级。
-
Por dentro dos protocolos
ZH
模型接口集成测试:从请求拦截到故障验证的七步实战
用七个步骤构建模型接口集成测试,覆盖请求校验、响应夹具、重试、流式输出与工具调用,并明确模拟测试与真实契约验证的边界。
-
Por dentro dos protocolos
ZH
读懂限流响应头:从识别字段到安全重试的七步指南
通过七个步骤正确理解请求与令牌配额、重置时间和重试提示,避免单位误读、重复重试与并发争抢。
-
Por dentro dos protocolos
ZH
用七个步骤为 Node.js SDK 配置替代端点
从环境变量、客户端初始化到最小请求、错误排查和上线检查,逐步配置 Node.js SDK 的替代端点,避免路径、密钥和重试策略中的常见问题。
-
Por dentro dos protocolos
ZH
用 OpenAI 兼容接口构建微型 CLI
通过一个 OpenAI 兼容接口,逐步构建支持模型切换、流式输出和错误处理的轻量命令行工具。
-
Por dentro dos protocolos
ZH
企业代理下接通 API 客户端:从出口配置到流式验收
用七个步骤排查企业代理、证书、鉴权与流式响应,让命令行工具和 API 客户端共享可验证、可维护的连接配置。
-
Por dentro dos protocolos
ZH
长流式响应超时:从定位断点到安全恢复的七步排查
区分连接、首段等待、读取空闲与总时限,逐层检查客户端和代理,并用取消、重试与故障注入验证长流式响应的可靠性。
-
Contas do gasto em tokens
ZH
Token 计数端点:七步决定何时调用
从端点兼容性、完整请求组装到预算检查与失败降级,逐步建立实用的 Token 计数流程,避免每次请求都增加一次往返。
-
Por dentro dos protocolos
ZH
按量计费 API 的 402 与 403:六步定位与恢复
从响应留证、计费核验到权限排查,逐步区分 402 与 403,并设计不会盲目重试、自动充值或绕过权限的恢复流程。
-
Por dentro dos protocolos
EN
API Key Hygiene: A Seven-Step Team Walkthrough
A practical walkthrough for engineering teams to inventory, isolate, store, monitor, rotate, and revoke API keys without slowing delivery.
-
Por dentro dos protocolos
EN
Anthropic SDK: A Custom Base URL Walkthrough
Configure the Anthropic Python SDK for a custom endpoint, verify authentication and model IDs, and test errors, streaming, and production behavior.
-
Por dentro dos protocolos
EN
Retries and Idempotency for Model API Calls
A numbered walkthrough for retrying model requests safely, controlling duplicate work, and protecting tool execution from repeated side effects.
-
Por dentro dos protocolos
EN
Monitor API Latency From Your Own Code
A practical walkthrough for measuring API latency, streaming responsiveness, retries, and tail performance inside your application.
-
Por dentro dos protocolos
EN
Separate API Keys Without Operational Chaos
A numbered walkthrough for separating project API keys, securing deployments, tracking usage, and rotating credentials without disruption.
-
Por dentro dos protocolos
EN
Concurrency Limits: An Eight-Step Design Walkthrough
Build reliable API workloads with bounded queues, shared concurrency budgets, deadline-aware retries, and practical overload tests.
-
Por dentro dos protocolos
EN
Streaming Responses with SSE: A Practical Walkthrough
Build reliable SSE streaming with correct event parsing, incremental rendering, cancellation, and explicit completion handling.
-
Por dentro dos protocolos
EN
Handling 429 Errors Without Making Them Worse
A practical walkthrough for classifying 429 responses, respecting retry delays, controlling concurrency, and testing graceful recovery.
-
Por dentro dos protocolos
EN
What a 401 From an API Relay Usually Means
A numbered walkthrough for tracing relay authentication failures, checking credentials, and separating client mistakes from upstream problems.
-
Por dentro dos protocolos
EN
OpenAI-Compatible Endpoints: An Engineer’s Walkthrough
A practical, numbered guide to API compatibility, SDK configuration, streaming, tool calls, retries, and production checks.
-
Matriz de modelos
EN
Gemini generateContent: A Developer Walkthrough
Build a reliable Gemini native API integration, from request payloads and response parsing to conversation state, streaming, and retries.
-
Receitas de desenvolvimento
EN
Prepaid Credit, Refunds, and Unused Balance
A practical walkthrough of prepaid API balances, usage accounting, refund eligibility, and safe shutdown checks.
-
Receitas de desenvolvimento
EN
Inexpensive Models for Lint-Style Checks
A numbered walkthrough for building useful AI lint checks with narrow rules, structured findings, bounded costs, and reliable CI behavior.
-
Contas do gasto em tokens
EN
Estimate the Bill Before an Agent Runs a Migration
A numbered walkthrough for scoping migration work, measuring a pilot, estimating retries, and enforcing a practical spending limit.
-
Contas do gasto em tokens
EN
Track API Spend Across Tokens Without Losing Context
A numbered engineering walkthrough for attributing API costs, reconciling usage, and enforcing budgets across multiple tokens.
-
Contas do gasto em tokens
EN
Does Streaming Change What You Pay?
A numbered walkthrough of streaming, token billing, usage tracking, cancellations, and retries for production API integrations.
-
Contas do gasto em tokens
EN
Build Reliable Spend Alerts from a Usage Log
A numbered walkthrough for turning API usage events into accurate budget alerts, with deduplication, late-event handling, and safe delivery.
-
Contas do gasto em tokens
EN
Generate Better Test Suites Without Overspending
A numbered walkthrough for generating useful tests while controlling context, retries, model selection, and maintenance costs.
-
Contas do gasto em tokens
EN
Estimate Tokens Before a Whole-Repository Scan
A numbered walkthrough for measuring repository tokens, budgeting agent passes, and checking real usage before a full scan.
-
Receitas de desenvolvimento
EN
Stop Long Agent Sessions from Draining Credit
A numbered engineering walkthrough for controlling agent costs with bounded context, targeted tool output, checkpoints, and explicit stop conditions.
-
Receitas de desenvolvimento
EN
How Weekly Capacity Ceilings Behave
A numbered engineering walkthrough of weekly capacity ceilings, reset windows, accounting, retries, and safe fallback behavior.
-
Fluxos com agentes
EN
A Student Budget Setup for Coding Agents
A practical walkthrough for learning with coding agents while controlling API spending, protecting credentials, and building real engineering skills.
-
Contas do gasto em tokens
EN
Reading a Per-Request Cost Log, Line by Line
A numbered walkthrough for tracing request charges, interpreting token usage, and reconciling retries, cache activity, and billing records.
-
Contas do gasto em tokens
EN
Set a Token Budget for Every Pull Request
A practical walkthrough for allocating, enforcing, and reviewing AI token budgets across pull request workflows.
-
Receitas de desenvolvimento
EN
Pay-As-You-Go or Capacity: Find the Break-Even
A numbered engineering walkthrough for comparing usage billing with capacity commitments, including workload mix, overflow, and operational costs.
-
Contas do gasto em tokens
EN
Route Easy Tasks to Cheaper Models, Safely
A practical walkthrough for lowering model spend with task classification, validation, selective escalation, and measurable quality checks.
-
Contas do gasto em tokens
EN
Why Token Counts Surprise New Users: 7 Steps
A practical walkthrough of tokenization, hidden context, reasoning, caching, and usage logging for engineers building with model APIs.
-
Contas do gasto em tokens
EN
Cache Writes vs. Reads: Follow the Token Bill
A numbered engineering walkthrough of cache pricing, break-even math, prompt layout, expiration, and billing checks.
-
Contas do gasto em tokens
EN
A Model Spend Budget for Five Engineers
A practical walkthrough for setting team limits, measuring API costs, routing work, and preventing surprise model spend.
-
Matriz de modelos
EN
Choose a Model for Code Translation in 8 Steps
A practical walkthrough for selecting a code translation model using semantic checks, executable tests, and measured migration costs.
-
Contas do gasto em tokens
EN
Prompt Caching: How Cache Reads Lower the Bill
A numbered walkthrough for structuring reusable prompts, verifying cache reads, and measuring real savings without confusing hits with free tokens.
-
Fluxos com agentes
EN
Estimate Your Monthly Claude Code Cost in Seven Steps
Build a monthly Claude Code budget from measured usage, actual token rates, caching, and the tasks you expect to finish.
-
Fluxos com agentes
EN
Per-Token Billing for Coding Agents: A Walkthrough
Trace a coding agent’s bill from prompts and tool calls to caching, retries, and practical controls for predictable spending.
-
Matriz de modelos
ZH
代码跨语言迁移怎么选模型:七步找到可靠方案
从迁移边界、候选模型和真实样本出发,通过编译、差分测试与完整成本核算,选择适合代码跨语言翻译的模型。
-
Receitas de desenvolvimento
ZH
自动补全该用小模型还是大模型:七步建立选型与升级策略
从补全边界、上下文组织到延迟测量与分级路由,逐步判断自动补全任务何时适合小模型,何时值得调用大模型。
-
Receitas de desenvolvimento
ZH
用 Hunyuan 4 与 MiMo V2.6 Pro 维护中文代码库:七步落地
从整理中文业务术语到验证补丁,用统一任务比较 Hunyuan 4 与 MiMo V2.6 Pro,并建立可回滚、可审计的代码修改流程。
-
Matriz de modelos
ZH
哪个模型写的提交信息最清楚?用六步找到适合团队的答案
用真实差异、统一提示和匿名评审,比较模型生成提交信息的清晰度,避免空泛描述、虚构动机和遗漏兼容性变化。
-
Matriz de modelos
ZH
把 Fable 模型放进工程流程:六步找到合适的位置
从任务拆分、上下文准备到评测与上线,用六步判断 Fable 模型适合承担哪些工程工作,并建立可验证、可回退的使用方式。
-
Matriz de modelos
ZH
前端组件生成模型怎么选:从统一任务到回归验证的七步比较法
用统一输入、硬性检查、交互测试与修改任务比较前端组件生成模型,把视觉效果、工程质量和实际成本纳入同一套选型流程。
-
Matriz de modelos
ZH
GPT-5.6 Sol 与 GPT-6.1 Sol 重构对比:七步验证再选型
从冻结行为契约到审查补丁,用同一套任务比较 GPT-5.6 Sol 与 GPT-6.1 Sol,依据回归风险、人工修正和实际费用选择重构模型。
-
Matriz de modelos
ZH
用 MiniMax M3 编写多语言代码注释:六步落地流程
从语言约定、上下文准备到差异审查与持续集成,用六个步骤把 MiniMax M3 纳入多语言代码注释流程,减少语义漂移和维护负担。
-
Receitas de desenvolvimento
ZH
SQL 调优该选哪个模型:从执行计划到实测的七步筛选法
用真实慢查询比较模型:准备脱敏上下文,检查执行计划、语义与索引建议,再按验证成本、延迟和调用费用选择适合的调优助手。
-
Matriz de modelos
EN
Opus vs Sonnet: When the Larger Model Earns Its Keep
A practical walkthrough for deciding when to escalate engineering work from Sonnet to Opus, using tests, failure costs, and measured outcomes.
-
Por dentro dos protocolos
EN
Comparing Reasoning Models on Concurrency Bugs
A numbered walkthrough for testing reasoning models on race conditions, deadlocks, cancellation, and the quality of their proposed fixes.
-
Matriz de modelos
EN
Which Model Should Write Your Documentation?
A numbered walkthrough for choosing a documentation model using real tasks, source grounding, executable checks, and review effort.
-
Matriz de modelos
EN
Grok 4.7 for Quick Scripting: A Practical Comparison
A numbered walkthrough for comparing Grok 4.7 on small scripting tasks, with practical checks for correctness, safety, and iteration cost.
-
Matriz de modelos
EN
Qwen3.8 Max vs GLM-5.3 for Backend Work
A numbered walkthrough for comparing Qwen3.8 Max and GLM-5.3 on API changes, database migrations, debugging, and production readiness.
-
Matriz de modelos
EN
Read Long Specifications with Kimi K3 in 8 Steps
A practical walkthrough for turning long specifications into traceable requirements, resolved questions, and reviewable engineering tasks.
-
Matriz de modelos
EN
DeepSeek V4 Pro for Algorithm-Heavy Code
A practical walkthrough for using DeepSeek V4 Pro to design, verify, and integrate algorithm-heavy code without trusting plausible output.
-
Matriz de modelos
EN
Context Windows: A Monorepo Walkthrough
A practical walkthrough of token budgets, repository retrieval, and verification for reliable AI-assisted work in monorepos.