OpenAI shuts down GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini in the API on January 14, 2027. Which model OpenAI recommends, what happens after, and how to test a replacement on your prompts first.
How much notice OpenAI, Anthropic and Google give before retiring an API model, what deprecated, legacy, retired and shutdown mean, what happens to your calls after, and the upcoming dates (December 2026).
Leaderboards can't tell you which AI model is best for your product. A step-by-step method to compare models on your real prompts: pass rate, cost per 1,000 runs and latency, with a table you can copy.
What LLM-as-a-judge evaluation is, when to use it instead of exact checks, how to write judge rules that give consistent pass/fail answers, and the known biases to guard against.
LLM evaluation for teams shipping AI features: what to measure, which metrics are worth it, how to test prompts across models, and the tools available, from a spreadsheet to eval frameworks.
How to build a golden dataset for testing LLM prompts and models: where to get real prompts, how many you need, what to include, how to write the expected result, and how to keep it private.
How LLM leaderboards and benchmarks work (human votes, standard tests, price and speed trackers), what they are good for when choosing an API model, and why they can't replace a test on your own prompts.
API prices of 25 current models from OpenAI, Anthropic, Google, xAI, Mistral, DeepSeek, Qwen and others, per million input and output tokens and per 1,000 typical requests. Plus why the cheapest list price isn't always the cheapest model for you.
Calculate what an LLM API costs for your prompts: the formula, a calculator for any model's price per million tokens, how to get real token counts, and what makes the bill differ from the estimate.
Why the same open-weight model costs and performs differently across inference providers and on OpenRouter, what quantization and context limits change, and how to pick a provider for your prompts.
Which LLM latency numbers matter (time to first token, tokens per second, total time, p95), how to measure them on your own prompts, and what makes an LLM API faster.
How model choice works in n8n AI workflows (chat model sub-nodes, OpenRouter for many labs with one key), how to switch models safely, and how to test a cheaper model on your workflow's real inputs.
OpenAI API prices per million tokens for GPT-6.2, GPT-6.1, GPT-6 Luna, GPT-5.x and older models, with cached input, batch, flex, fast tiers and long-context rates, cost per 1,000 requests, and which models are being shut down.
Anthropic Claude API prices per million tokens for Fable 5.2, Opus 5.5, Sonnet 5.5, Haiku 5.5 and older models, with prompt caching, batch, fast mode and long-context rules, and cost per 1,000 requests.
Google Gemini API prices per million tokens for Gemini 4 Carbon, Argon, Neon, Hydrogen and the Flash models, the January 2027 Flash price change, batch, priority, caching and free tier, and cost per 1,000 requests.
DeepSeek API prices per million tokens for deepseek-flash (V4.1 Flash) and deepseek-v4-pro, cache hit vs miss, the off-peak half-price hours, cost per 1,000 requests, and DeepSeek through other providers.
xAI Grok API prices per million tokens for grok-4.7, grok-4.6, grok-4.5, grok-4.3 and grok-4.20, cached input, the 200K-token long-prompt rule, and cost per 1,000 requests.