{"uid":"cap_a74GYNl11FuXon44LdsIQ","slug":"gpt-5-4-mini-code-review-triage-mini-tier-40297b53","name":"GPT-5.4-mini Code Review Triage (Mini Tier)","description":"Fast code-review triage for obvious bugs, lint risks, and missing tests. Model tier: mini; upstream model: gpt-5.4-mini. Price is derived from official OpenAI relative token costs with a local margin and floor. Pay up to $0.003232 per request with x402 USDC on Base. Public paid calls are limited to 700000 input characters and 4096 output tokens.","url":"https://gpt55.558686.xyz/v1/tools/code-review/mini","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string","maxLength":700000,"minLength":1},"focus":{"type":"string"},"language":{"type":"string"},"max_tokens":{"type":"integer","maximum":4096,"minimum":1},"temperature":{"type":"number","maximum":2,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.00293","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003232/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003232","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003232","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MwmxqOCDaRACXMJfQnPqo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003232","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs fast AI-powered code-review triage to surface obvious bugs, lint risks, and missing tests using a mini-tier GPT model, paid via x402 USDC on Base.","exampleAgentPrompt":"Can you do a quick code review triage on this Python function for obvious bugs, lint risks, and missing tests? Here's the code: `def divide(a, b): return a / b` — focus on error handling and keep the response under 500 tokens.","exampleUseCases":[{"title":"Pre-commit bug detection for pull requests","prompt":"Before I submit this PR, can you quickly scan my TypeScript function for obvious bugs and lint issues? Here's what I wrote: `function fetchUser(id: string) { const response = fetch(url + id); return response.json(); }` — just flag anything that would definitely break or cause linting problems, and keep it brief."},{"title":"Test coverage gaps in new modules","prompt":"I just wrote a new utility module for our payment processing and want a fast sanity check. Can you review this JavaScript code for obvious errors and tell me what test cases I'm probably missing? Here's the snippet: `const processPayment = (amount, cardToken) => { return api.charge(amount, cardToken); }` — focus on test gaps mainly."},{"title":"Quick quality check before sharing code","prompt":"Can you do a fast AI code review on this Python script I'm about to share with my team? Look for obvious mistakes, lint risks, and anything that jumps out as wrong: `def calculate_total(items): total = 0; for item in items: total += item.price; return total` — just give me the critical issues, nothing exhaustive."}],"resultDescription":"Returns an AI-generated code review identifying obvious bugs, lint risks, and missing test gaps in the submitted code, up to 4096 output tokens. Response is scoped to the provided focus area and language context.","failureModes":["Input code exceeds 700,000 character limit — request rejected","max_tokens exceeds 4096 — validation error","Empty or missing code field — request rejected","Payment failure or insufficient USDC balance via x402 — 402 response","Temperature out of range (0–2) — validation error","Upstream model unavailable — 5xx error"],"whenToPreferThis":"Choose this endpoint when you need fast, cheap AI-assisted code review triage for a single code snippet and want structured feedback on bugs, lint risks, and missing tests without running a full static analysis pipeline. Ideal for pre-commit checks, PR triage, or quick sanity checks where cost sensitivity matters and a mini-tier model is sufficient.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:59.109Z","isFirstParty":false}