Awaiting First Lab Run — Reproducible Harness Ready
No live OpenAI or Gemini API token/latency runs are published yet
CostPicks never publishes synthetic token multipliers, fabricated pass rates, or fake TTFT numbers. This report stays noindex and excluded from our sitemap until an operator runs npm run benchmark:ai-cost -- --execute --max-budget-usd=30 and commits the validated JSON output. Below is our exact reproducible task suite and published model list-price matrix.
Reproducible AI API Cost Harness & List-Price Matrix
Monthly Real AI API Cost & Hidden-Token Benchmark (OpenAI vs Gemini)
Reproducible developer task suite measuring real billed USD vs list pricing, hidden reasoning & tool-call token multipliers, Zod JSON pass rates, p50/p95 TTFT, and true cost per 1,000 valid outputs.
Editorial Independence & Affiliate Disclosure: CostPicks may earn a commission when you sign up or purchase through links on this page, at no extra cost to you. Every offer displays its verification status and last-checked date.
Target OpenAI & Gemini Model Matrix (Published List Pricing)
Open AI Credit Burn Estimator →| Provider & Model | Model Class | Run Scope | List Input ($/1M) | List Output ($/1M) | Web Search Tool | Official Pricing Source |
|---|---|---|---|---|---|---|
| OpenAI GPT-5 mini (gpt-5-mini) | Reasoning / Thinking | Default run | $0.25 | $2.00 | $0.010/call | https://openai.com/api/pricing/ |
| OpenAI GPT-4.1 mini (gpt-4.1-mini) | Standard Non-Reasoning | Default run | $0.40 | $1.60 | $0.010/call | https://openai.com/api/pricing/ |
| OpenAI GPT-5 (gpt-5) | Reasoning / Thinking | Default run | $1.25 | $10.00 | $0.010/call | https://openai.com/api/pricing/ |
| Google Gemini 3.8 Flash (gemini-3.8-flash) | Reasoning / Thinking | Default run | $0.75 | $3.75 | $0.014/call | https://ai.google.dev/gemini-api/docs/pricing |
| Google Gemini 4 Hydrogen (gemini-4-hydrogen) | Reasoning / Thinking | Default run | $1.50 | $7.50 | $0.014/call | https://ai.google.dev/gemini-api/docs/pricing |
| Google Gemini 2.5 Flash (gemini-2.5-flash) | Reasoning / Thinking | Legacy baseline | $0.30 | $2.50 | $0.035/call | https://ai.google.dev/gemini-api/docs/pricing |
| Google Gemini 2.5 Pro (gemini-2.5-pro) | Reasoning / Thinking | Legacy baseline | $1.25 | $10.00 | $0.035/call | https://ai.google.dev/gemini-api/docs/pricing |
4 Deterministic Developer Task Categories
Structured JSON Extraction
Extracting strictly typed incident, billing, Docker Compose, and webhook records validated against deterministic Zod schemas.
Multi-Step Tool Calling
Selecting ordered tool invocations and typed argument payloads for cloud cost audits, DB tuning, and alert routing.
Code Refactoring
Refactoring TypeScript, SQL, and Python snippets into safe, bounded implementations with structured complexity and edge-case notes.
Search-Grounded Technical Q&A
Answering architectural and API pricing specification questions using live provider web search grounding (OpenAI Responses API web_search at $0.01/call vs Gemini google_search at $0.014/call on Gemini 3.8/4 and $0.035/call on Gemini 2.5) in structured JSON with explicit confidence and official reference domains.
AI API Benchmark Methodology FAQ
What is the hidden token multiplier in AI API billing?
Modern reasoning and thinking models generate internal reasoning/thought tokens—and tool-calling overhead tokens—that are billed at full output or input token rates even though they never appear in the visible answer. The hidden token multiplier measures total billed output + tool-overhead tokens divided by visible output tokens.
Why measure cost per 1,000 valid Zod outputs instead of headline $/1M tokens?
A low headline per-million-token price can still cost more in production if hidden reasoning tokens inflate output volume by 3x or if malformed JSON outputs require retries. Measuring actual billed USD per 1,000 schema-valid completions captures both hidden token inflation and reliability.
How does CostPicks keep the monthly AI API benchmark reproducible and budget-safe?
The runner (scripts/run-ai-cost-benchmark.ts) uses a fixed deterministic prompt suite and seed, defaults safely to --dry-run (0 API calls), enforces a hard --max-budget-usd ceiling with upfront worst-case reservations, stops immediately on HTTP 429, and never sends private user data.