AIVAX / Blog

Notes from the operating layer.

Field notes on AI infrastructure, retrieval, model operations and the systems that keep every request visible.

32 published field notes

Latest blog posts

  1. Three chipped white ceramic beads and four glossy cyan ones in a diagonal cluster, resting on layered navy paper

    AIVAX Labs

    GPT-5 and o3 API shutdown, Dec 11 2026: how to migrate to GPT-5.6 Sol, Terra, Luna

    OpenAI retires GPT-5, mini, nano, o3 and Pro on Dec 11, 2026. Move to GPT-5.6 Sol, Terra or Luna: input costs 2-8x more; retest tools and effort.

    Read post
  2. A linocut of stepping stones crossing a bright blue channel: cracked ochre stones sink on the left, and smooth white stones curve away to a sunlit bank crowded with sunflowers

    AIVAX Labs

    GPT-4o and GPT-4.1 API shutdown on January 14, 2027: how to migrate to gpt-6-luna

    OpenAI removes GPT-4o and GPT-4.1 from the API on January 14, 2027. Migrate to gpt-6-luna: effort none, no temperature/top_p, re-test tools and cost.

    Read post
  3. A black basalt wall with one thin vertical slot and a tall arched opening; a broad violet beam stops at the slot while a ribbon of light bends through the arch

    AIVAX Labs

    How to fix 'Function tools with reasoning_effort are not supported' in Chat Completions

    Fix the 400 on gpt-5.6-sol Chat Completions: set reasoning_effort to none or move function tools to Responses. Includes AIVAX BYOK setup.

    Read post
  4. A narrow beam of cold light passes through a facade of silver and frosted-glass louvers and falls on three pale-blue glass spheres on an icy floor

    AIVAX Labs

    How to filter RAG results by metadata, tags and date

    Filter RAG results by metadata, tags and date before ranking, or run a filter-only search. Syntax, common mistakes and a working AIVAX request.

    Read post
  5. Vermilion archways cross a pale tiled courtyard, shifting out of alignment beside a single black tile and casting long diagonal shadows.

    AIVAX Labs

    Why is my prompt cache hit rate low? Prefix breakers in OpenAI and Anthropic requests

    Prompt caches reuse only an identical prefix. Check timestamps, tools, compaction, and TTL, and compute the hit rate correctly, including on AIVAX.

    Read post
  6. Separate blue paper pieces beside a continuous folded yellow strip, with blue threads connecting the paper shapes

    AIVAX Labs

    OpenAI Evals shutdown: where do multi-turn agent tests go before November 30?

    Manually recreate OpenAI Evals datasets and graders in Promptfoo, then choose between its multi-turn tests and AIVAX gateway conversations.

    Read post
  7. A dense cluster of tiny pink glass seedpods narrows toward three larger coral pods on a rippled sage-green surface.

    AIVAX Labs

    Too many MCP tools: how to reduce tool-definition tokens in your agent's context

    Measure what MCP tool definitions cost, then cut it with allowlists, deferred tool search, or a shell. What each option needs and what AIVAX supports.

    Read post
  8. Five cut bamboo sections stacked beside curled paper in a misty bamboo grove

    AIVAX Labs

    How to convert a PDF to Markdown for RAG and split it into chunks

    Convert a PDF to Markdown with OCR, split it into chunks for retrieval, and export JSONL for a RAG collection. Code and a free demo included.

    Read post
  9. A row of weathered wooden stakes with pale bands stands in wet tidal sand at dusk, a lantern hanging from the nearest one, while driftwood and a small rowboat drift along curved currents

    AIVAX Labs

    OpenAI GPT-4, o1, o3-mini and o4-mini shutdown on October 23, 2026: what breaks and what to check

    OpenAI shut down GPT-4, o1, o3-mini, o4-mini and other models on October 23, 2026, so requests naming them now fail. Find the IDs left in fallbacks and jobs, then check each replacement's parameters, output and cost.

    Read post
  10. A red fabric ribbon opens into a broad sail and deep pleated folds against a charcoal background

    AIVAX Labs

    How to generate images and speech from Claude Code, Cursor or VS Code with MCP

    Configure AIVAX's hosted Media Generation MCP, discover models and prices, and generate images or MP3 speech with explicit tool and privacy limits.

    Read post
  11. Two dark teal glacial streams converge into one channel between textured white and pale blue ice banks, seen from directly above

    AIVAX Labs

    How to make LLM tool calls idempotent so a retry doesn't create a duplicate ticket

    Deduplicate the same tool operation; changed arguments create a new one. Require an explicit conflict policy to allow only one write per request.

    Read post
  12. Sunlit open-air concrete room with blank paper sheets clipped to slatted walls, diagonal bands of yellow light across them, and a blue ring on a stand in the foreground

    AIVAX Labs

    How to check PDF and scan ingestion quality before you embed for RAG

    Before embedding, sample real pages, write the facts you expect, and grade each generated document for wrong numbers, lost table headers, and missing facts.

    Read post
  13. An open paper folio connected by red thread to folded blue paper pieces on an ivory field

    AIVAX Labs

    How MCP skills carry a workflow across the server boundary

    SEP-2640 lets MCP servers offer discoverable workflow skills as resources. The host still decides what to load, verify, approve, and execute.

    Read post
  14. Four distinct botanical forms grow from one pale seed pod in a sunlit greenhouse

    AIVAX Labs

    Free RAG API: embeddings, reranking and OCR limits on AIVAX Free

    AIVAX Free has separate daily allowances for RAG embeddings, Reflex reranking, Julia-1 decisions and Fetch/OCR. What each covers and what is still billed.

    Read post
  15. Rough cracked clay vessels on a wooden bench passing under a glowing brass caliper gauge, emerging as smooth measured vessels on a ledger grid

    AIVAX Labs

    How to fix invalid JSON from an LLM API with structured outputs

    Check truncation, refusals and schema support first. In AIVAX, distinguish native response_format from response_schema validation and bounded healing.

    Read post
  16. Three branching channels of water pass through separate gates before converging into a single measuring basin

    AIVAX Labs

    Route by complexity, price by the task

    A lower token rate does not tell you what a completed task costs. AIVAX's Complexity Router selects a model and reasoning effort for each request so teams can measure quality and spend at the task level.

    Read post
  17. A ceramic water mill turning a mixed stream of paper sheets, photo prints, and ledger pages into a single clear channel of plain text slips

    AIVAX Labs

    How to extract text from a URL, scanned PDF or image for an LLM pipeline

    Use AIVAX Fetch to extract text from URLs, scanned PDFs and images, with per-item errors, processing-unit usage and optional schema-guided JSON.

    Read post
  18. A brass sorting machine on a wooden desk sliding three blank paper tickets down chutes into wooden trays

    AIVAX Labs

    Decisions API example: triage a support ticket by urgency, department and frustration

    Triage a support ticket in one Decisions API call: urgency (noul), team (choice) and frustration (score), with curl, routing code and model prices.

    Read post
  19. An ice-white evidence table where pale-blue conduits connect many translucent search cards to three open source documents under glass mounts

    AIVAX Labs

    Web search API vs. page fetch for LLM research: why snippets are not enough

    Use search to discover URLs and fetch to read their content. Retain queries, results, and extracted passages so LLM answers can cite evidence.

    Read post
  20. A glasshouse conservatory at dawn where labeled seedling trays feed a long irrigation channel that runs past open gardening manuals toward the glasshouse doors

    AIVAX Labs

    Give your coding agent a memory it can read and a world it can fetch

    Coding agents lose context between sessions and guess at the world outside the repo. AIVAX's Collections and Web Utilities MCP servers give them writable semantic memory plus fetch and search — with scoped credentials, bounded retrieval, and explicit write control.

    Read post
  21. A weathered wall of card-catalog drawers with blank brass label plates, one drawer half-open with a slipped card tied by a single red thread to a small brass desk lamp

    AIVAX Labs

    How to protect LLM agent memory from poisoning

    Secure persistent agent memory with scoped writes, expiry, provenance, and review. Understand AIVAX externalUserId boundaries and deletion limits.

    Read post
  22. A stone sluice gate with three channels meters a river of record-cards into calm terraced basins while a gatekeeper works a lever

    AIVAX Labs

    How to run thousands of LLM requests in batch with rate limits and retries

    Use bounded concurrency, balance checks, targeted retries, and resumable jobs to process thousands of LLM requests without replaying completed work.

    Read post
  23. Terraced night gardens crossed by thin diagram paths with node dots, one ember-red path veering away past a small stone watchtower

    AIVAX Labs

    From test to monitor: the judge trajectory as a production signal

    Agentic Tests already scores every turn of a simulated conversation. Applied to real production traffic, the same trajectory signal — score, at-risk state, persistent loss — tells you when a live conversation is drifting before the user gives up.

    Read post
  24. Blue request cards, each carrying a yellow state token, travel independently toward three red server blocks in a textured screen print

    AIVAX Labs

    Migrate an MCP server off Mcp-Session-Id: the stateless 2026-07-28 spec

    MCP 2026-07-28 drops initialize and Mcp-Session-Id. Move state to explicit handles, make retries safe, and keep a legacy path for older clients.

    Read post
  25. Botanical flat lay in cream, pink, and green with pressed leaves, handmade papers, bowls, and a vessel of grains

    AIVAX Labs

    RAG vs vector database: is vector search enough?

    A vector database handles vector search. RAG also needs source preparation, updates and context assembly. Compare what to build and what to manage.

    Read post
  26. Translucent capsules carried on deep-blue currents pass through gated openings in a porous white boundary into calm terraced channels

    AIVAX Labs

    How to safely connect third-party MCP servers

    Review MCP tools, credentials and imported instructions before connecting. Apply authorization and approval rules, with AIVAX configuration examples.

    Read post
  27. A scaffold bridge carries seed pods, glass vessels and archives from a root-bound grove monolith across a gorge into an open modular garden

    AIVAX Labs

    Migrate OpenAI Assistants threads, runs and file search to the Responses API

    Map Assistants threads, runs and file search to Responses after the shutdown. Recover saved history and decide which state your application should own.

    Read post
  28. A precision glass-and-metal translator separating layered signals into visible and opaque output channels

    AIVAX Labs

    How to set reasoning effort across providers: OpenAI, Anthropic and Gemini

    Compare OpenAI reasoning effort, Anthropic thinking and Gemini thinking controls. Configure AIVAX requests and handle summaries, state and token costs.

    Read post
  29. A monumental stone gateway filtering irregular colored fragments before they enter a calm central chamber

    AIVAX Labs

    LLM input moderation: system prompt or separate moderation step?

    Use a separate moderation step to decide whether input may proceed before generation. System prompts guide behavior; they do not enforce permissions.

    Read post
  30. A tactile tabletop evaluation with three parallel conversation tracks converging on a final scored outcome

    AIVAX Labs

    How to test multi-turn AI agent conversations with a simulated user and an LLM judge

    Define an observable goal, simulate a user, and judge the full conversation. Inspect weak turns, recovery, outcomes, and costs with AIVAX Agentic Tests.

    Read post
  31. A broad field of document cards narrowing into a candidate set and then an ordered shortlist

    AIVAX Labs

    Do I Need a Reranker for RAG? Semantic Search vs. Reranking

    Test a reranker when relevant documents rank too low. Fix missing candidates first, then measure answer quality, latency, and cost.

    Read post
  32. Smooth stones arranged in decreasing size on warm sand, representing recurring document retrieval

    AIVAX Labs

    Rerank RAG Results Without a Cross-Encoder: When to Use Reflex

    Reflex reranks RAG candidates without a cross-encoder, using semantic and lexical signals and per-account reuse of document representations.

    Read post