AIVAX / Blog

Notes from the operating layer.

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

54 published field notes

Latest blog posts

  1. A row of clear icicles hanging from a frosted wooden rail, decreasing in length from left to right, each with a drop of water at its tip against a blurred pale winter sky

    Pinned AIVAX Labs

    Reflex V1.5: a reranker that reads "from largest to smallest"

    Reflex V1.5 is a new AIVAX reranker. It ranks queries that ask for an order by attribute better than Reflex V1, accepts 15,000 documents per request, and keeps the same request body. What we measured against V1, and where the limits differ.

    Read post
  2. Two ivory paper strips pass under one steel roller, one with groups of black tally marks and the other with a continuous burgundy stripe.

    AIVAX Labs

    MiniMax M4 API: discounted routes and AIVAX Coder access

    Call MiniMax M4 through AIVAX with discounted per-token routes, or use the subscription model ID to draw from your AIVAX Coder quota.

    Read post
  3. The words “Claude API” beside diagonal rows of cobalt-blue posts on sunlit limestone. Three empty sockets interrupt one row.

    AIVAX Labs

    Claude API: "temperature is deprecated for this model"

    Fix the Claude API 400 by omitting temperature, top_p, and top_k. The Anthropic API version determines whether even default values are rejected.

    Read post
  4. Aerial photograph of curved tea plantation terraces stepping down beside a still, dark green reservoir, with one bright lime-green row and the text GLM-5.4 on the water

    AIVAX Labs

    GLM-5.4 API: call it today as an AIVAX subscription model

    Z.ai's pay-as-you-go API for GLM-5.4 has not opened yet. On AIVAX Pro, Max and Ultimate it answers today as @aivax-subscription/glm-5.4, with a 500K context, tool calling and three reasoning efforts, on the plan's monthly subscription quota.

    Read post
  5. Aerial view of a flooded cranberry bog where a curved floating boom gathers crimson berries into a dense mass, with looser bands trailing into scattered berries on dark, still water

    AIVAX Labs

    Re-embedding a RAG corpus: what fits in a day on AIVAX Max and Ultimate

    The daily embedding allowance for AIVAX collections is now 25× Free on Pro, 500× on Max and 2,500× on Ultimate, enough to absorb a nightly sync of a large collection without an embedding bill.

    Read post
  6. Gouache painting of an empty coat-check room at night in violet and magenta: a wall of numbered hooks, mostly empty, with three coats and one glowing paper lantern hanging from them, and a service bell and a torn claim ticket on the wooden counter in front

    AIVAX Labs

    Async LLM API: queue the request, get an ID, fetch the result later

    AIVAX now queues chat, Responses, Messages, extraction, speech and other requests with one async field. What a finished item contains, and a Python pattern that collects results by tag.

    Read post
  7. Linocut print in yellow, cerulean and ochre of an old wooden billboard frame in a field of tall grass, half its boards stacked on the ground, while a small star-shaped sun and a large radiating sun rise behind it and a footpath runs between them

    AIVAX Labs

    gpt-image-1.5 shuts down December 1: GPT Image 2.6 Flare or Sunburst?

    OpenAI retires gpt-image-1.5, gpt-image-1-mini and chatgpt-image-latest on December 1, 2026. I ran the same generation and edit on 1.5, 2.6 Flare and 2.6 Sunburst to see which replacement to start with and what changes in the request.

    Read post
  8. Risograph print in vermilion and cobalt of four narrow gabled townhouses in a row under streaks of wind; three arrow weather vanes on the roofs point the same way and the third one is tilted at a different angle

    AIVAX Labs

    Gemini Decision 1 vs Jev vs OpenAI Decisions: 40 tickets, one request body

    I sent 40 labeled support tickets to Gemini Decision 1, Jev 1.14, GPT-6 Luna Decisions and Perplexity Decider v1.2 with the same request. Accuracy came out nearly even; option order, calibration and tokens per request did not.

    Read post
  9. Colored pencil drawing of a walled kitchen garden: a green wooden door in a coral brick wall is held shut by an iron bar latch and a brass hook latch, while a stone channel carries water through a small arch at the foot of the wall to rows of seedlings on the other side

    AIVAX Labs

    MFA for an AI API account: what it protects, and how not to lock yourself out

    Two-factor authentication on an AI API platform guards the console, not the API keys your services run on. How AIVAX separates the two, why a second authenticator is the backup, and what account recovery still asks for.

    Read post
  10. Overhead view of a clay relief: a thick terracotta book block on the left, its pages laid out as four rows of small tiles separated by teal channels, and an olive wooden rack below holding three cracked tiles, with one intact tile set beside it

    AIVAX Labs

    Index a large PDF for RAG with the AIVAX CLI: OCR page by page, then import

    aivax ocr document splits a PDF into pages, transcribes them and writes RAG-ready JSONL; aivax rag import streams it into a collection. Measured on a 142-page tax guide and a 336-page scanned book, including the two settings that made both finish.

    Read post
  11. Watercolor of a tidal flat under an overcast sky, where a faint horizontal waterline crosses the scene and only three dark rocks rise above it while the rest show as blurred shapes beneath the sea-foam surface

    AIVAX Labs

    RAG similarity threshold: let retrieval come back empty

    Top-k vector search returns k chunks even when your documents can't answer the question. How to read your own scores, where the cutoff sits next to a reranker, and what the model should do when nothing passes.

    Read post
  12. Watercolor on dark toned paper in indigo, midnight blue and dim amber: a wide lit bridge crossing a night canal on the right, and on the left a narrow rope footbridge with a single amber lantern that fades into fog halfway across

    AIVAX Labs

    Cheap Claude API: how to vet a discounted provider or relay

    How to vet a discounted Claude or GPT API relay: test whether it serves the model it names, read its data policy, pick the workloads that tolerate a discount, and choose which AIVAX gateways may use discounted routes.

    Read post
  13. Vermilion paper strips on an off-white page, some peeling up and tied by thin blue threads to a parallel column of cobalt cut-paper shapes on a slate surface

    AIVAX Labs

    Translate a PDF with an LLM: extract the text first, then translate it in chunks

    Translating a PDF with an LLM is two jobs: keeping the layout, or getting the text into another language. For the text, extract Markdown with OCR, split it at headings, and send the chunks to a translation endpoint in batches.

    Read post
  14. A tall stack of translucent paper sheets dissolving into cold mist that condenses into a single water droplet suspended above an empty glass, on a pale stone table against a glacial horizon

    AIVAX Labs

    Summarize PDFs, images, and text with one API call

    AIVAX's Summarization API condenses text, images, and PDFs into prose shaped by optional instructions — one summary per document, in input order, billed only for input.

    Read post
  15. Matte gouache painting in beige, charcoal, bronze and warm gold: an excavation trench where a rectangular block of stratified earth opens like a drawer, revealing a precise grid of small compartments, each holding one artifact — a coin, a key, a seal — while the surrounding strata stay rough and unsorted

    AIVAX Labs

    Turn PDFs and images into JSON with one API call

    AIVAX's Extraction API returns one JSON object per document, shaped by the schema you send. How the schema drives the search, what comes back when a field is missing, and when to extract instead of summarizing or fetching.

    Read post
  16. A sunlit control tower of pale concrete and ochre steel seen from below, its horizontal window bands lit like lines of a terminal screen against a cerulean sky, with a narrow white stair spiraling up the tower's flank

    AIVAX Labs

    AIVAX CLI: operate your account from the terminal

    The AIVAX CLI (@aivax/cli) covers the same products as the API from one binary — gateways, RAG, Batch, OCR, tests — with agent-optimized responses and keys in the OS credential store.

    Read post
  17. Charcoal and pastel drawing on gray paper: a large dark disc tilted on pale rippled sand, with a ring-shaped hub, orange lines across its face and a cracked patch beside the hub; dark rocks glowing orange at their base, and a low horizon ridge glowing orange under a pale sky

    AIVAX Labs

    Unsupported parameter: 'temperature' is not supported with this model: which GPT-6 models accept it

    GPT-6 rejects temperature and top_p above reasoning effort none, and only GPT-6 Sol, Luna and 6.1 Terra can run at none. What AIVAX does with the parameter.

    Read post
  18. Terraced hillside of dry-stone walls in a risograph print of blue and ochre: upright wheat sheaves tied with blue cloth on the upper terraces, and below the lowest wall three sheaves lying scattered in the dirt with their bands loose

    AIVAX Labs

    Extract structured data from a PDF with an LLM API: one document per request

    Send each PDF to AIVAX's extract endpoint in its own request: billing and quota count documents, and a failed batch still bills the ones that finished.

    Read post
  19. Aquatint of a long banquet table in a dark blue hall under arched windows: three cloches lit by an amber lamp on the left, one chair pushed back from the table, and a row of closed cloches running off to the right, with a moon in the far window

    AIVAX Labs

    OpenAI Realtime API interruptions and barge-in: truncate with the audio the user actually heard

    Over WebSocket the client owns playback. Keep a playback ledger per item and send conversation.item.truncate with the milliseconds the user actually heard.

    Read post
  20. Two sandy islands in calm teal water seen from above: the larger holds a loose cluster of terracotta crates, many with blank paper tags, and the smaller holds four crates bound in green cord beside a moored rowboat

    AIVAX Labs

    Expired OpenAI or Gemini batch job: partial results and retrying only what failed

    OpenAI keeps an expired batch's finished responses and lists the rest in an error file. Gemini's guide says an expired job has no results. Retry script included.

    Read post
  21. Seven bronze solids in a row on a pale plaster ledge, most tied with cord to blank paper tags: a sphere, cone, cylinder, cube, half-dome, ring and faceted block, with one larger untagged cube behind them against a dark olive wall in warm side light

    AIVAX Labs

    How to get the cost of each LLM API call: the Consumed-Credits header and pricing streams

    OpenAI's usage object has tokens, not cost. AIVAX sends a Consumed-Credits header on non-streamed calls; for streams, price the final usage chunk.

    Read post
  22. Ink and watercolor of a timber-framed barn taken down for moving: a pale patch of footing stones on the left, oak beams and posts lying in two rows beside a heap of wooden pegs, and one bay already raised on new stones next to a mallet, with green hills and an oak behind

    AIVAX Labs

    OpenAI prompt objects and Agent Builder deprecated: what to move by November 30

    OpenAI shuts down prompt objects and Agent Builder on November 30, 2026. Where the prompt text and an exported workflow can go, and what breaks on the way.

    Read post
  23. 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 deprecation date: December 11, 2026. Migrate to GPT-6.1 Sol, Terra and GPT-6 Luna

    OpenAI shuts down GPT-5, mini, nano, Pro, o3 and o3-pro on December 11, 2026, and now maps them to GPT-6.1 Sol, GPT-6.1 Terra and GPT-6 Luna, not GPT-5.6.

    Read post
  24. 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 deprecation date (January 14, 2027): how to migrate to gpt-6-luna

    OpenAI retires GPT-4o, GPT-4o mini, GPT-4.1 and GPT-4.1 mini on January 14, 2027. Move to gpt-6-luna at effort none, then re-test tool calls, sampling and cost per task.

    Read post
  25. A black basalt wall with one thin vertical slot and a tall arched opening; a broad violet beam from the left narrows into a thread of light along the slot, while a ribbon of light bends through the arch

    AIVAX Labs

    'Function tools with reasoning_effort are not supported': the fix depends on the model

    Chat Completions rejects function tools combined with reasoning_effort on GPT-5.4 and later. Which models accept none, which need Responses, and a gateway workaround.

    Read post
  26. 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

    RAG metadata filtering: pre-filter by tags, metadata and date

    Filter RAG results by metadata, tags and date before ranking, or run a filter-only browse. Syntax, why filters return nothing, and a working AIVAX request.

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

    AIVAX Labs

    Low prompt cache hit rate on OpenAI and Anthropic: causes and how to calculate it

    Calculate your prompt cache hit rate with the right input total for each API, then find the changed prefix, the expired entry or the GPT-6.2 instructions field behind the misses. Covers OpenAI, Anthropic and AIVAX.

    Read post
  28. Five blue paper tags in a column, each on its own blue thread, beside one long yellow paper strip folded back and forth, with a blue thread lying along each end of the strip

    AIVAX Labs

    OpenAI Evals alternatives before November 30: Promptfoo and multi-turn tests

    OpenAI Evals shuts down November 30. Promptfoo can replay saved outputs against recreated graders; multi-turn agent tests have to be written again.

    Read post
  29. 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: measure and cut tool-definition tokens

    Every MCP tool a client loads puts its name, description, and schema into each request. How to measure that overhead and cut it without losing the right tool.

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

    AIVAX Labs

    PDF to Markdown for RAG: extract, chunk, and import JSONL

    Convert a PDF to Markdown with OCR, split it into retrieval-ready chunks, and export JSONL your RAG collection imports. Two API calls and a short script.

    Read post
  31. 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

    Pin a model ID or use an alias? OpenAI's October 23 shutdown fails loudly, the Gemini 2.5 reroute doesn't

    OpenAI's retired IDs fail; from 1 December, Gemini 2.5 Pro and Flash keep answering with a different model. Find retired IDs in fallbacks and jobs, qualify the replacement, and track aliases with a lock file.

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

    AIVAX Labs

    Generate images in Claude Code with an MCP server

    Claude Code has no image model of its own. Connect AIVAX's hosted Media Generation MCP to generate images with size and format control, or MP3 speech, and see each image's cost.

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

    AIVAX Labs

    Idempotent tool calls: stop an LLM agent retry from creating a duplicate ticket

    Idempotency in AI agents starts outside the model: tool_call_id is not a business key. Mint the operation ID in your backend, claim it with the write, and replay the stored result.

    Read post
  34. 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 extraction quality before embedding for RAG

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

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

    AIVAX Labs

    MCP skills vs tools: what the Skills Extension (SEP-2640) adds

    An MCP tool is an action; a skill is the procedure that says when and how to use it. SEP-2640 lets a server ship that procedure next to its tools while the host keeps the decision to load it, but few clients support it yet.

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

    AIVAX Labs

    Free RAG API: what AIVAX Free includes for embeddings, reranking and OCR

    AIVAX Free includes daily allowances for RAG embeddings, Reflex reranking, Julia-1 decisions and Fetch/OCR. What each covers, the request limits that apply, and how to prototype a RAG pipeline inside them.

    Read post
  37. 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

    When an LLM returns invalid JSON: truncation, refusals, repair

    Invalid JSON from an LLM usually means truncation, a refusal, or a schema miss. Where AIVAX healing applies, and what your code must still validate.

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

    AIVAX Labs

    LLM router by complexity: what the classifier costs and when routing pays

    A complexity router sends easy requests to a cheap model and hard ones to a strong one, but the classifier is a model call too. Measured on AIVAX's Complexity Router: the classifier cost more than the answer to a one-word question. When routing per request pays, and when one model is the better choice.

    Read post
  39. 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

    URL to Markdown API for LLMs, plus scanned PDFs and images

    AIVAX Fetch turns a URL into Markdown and reads scanned PDFs and images with OCR, with per-item errors, processing-unit costs and optional JSON by schema. Measured results included.

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

    AIVAX Labs

    Jev and OpenAI Decisions API example: triage a support ticket

    A complete support-ticket triage example for Jev, OpenAI's GPT-6 Luna Decisions and Google's Gemini Decision 1: one request body, the routing code, and the measured tokens, latency and cost for each model.

    Read post
  41. 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 for LLM agents: why you also need a fetch step

    A web search API gives an LLM URLs and snippets, not evidence. How we chain search and fetch, what we keep as an evidence trail, and what each step costs on AIVAX.

    Read post
  42. 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

    Claude Code memory MCP: shared notes, runbooks and a web fetch

    Claude Code's auto memory is a local MEMORY.md per repository. A hosted memory MCP server gives the agent notes that follow it across machines and teammates, read-only runbooks, and a fetch step for anything newer than its training.

    Read post
  43. 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 AI agent memory from poisoning

    Memory poisoning persists across sessions. Scope writes to a verified user, expire on policy, record provenance, and test what a saved claim does later.

    Read post
  44. 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

    OpenAI Batch API rate limits and how a managed job handles 429

    OpenAI limits a batch by size, queued tokens and creation rate. AIVAX Batch admits items one at a time, pauses on a 429 and retries only what failed.

    Read post
  45. 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
  46. Blue request cards, each carrying a yellow state token, travel independently toward three red server blocks in a textured screen print

    AIVAX Labs

    Stateless MCP: migrating off Mcp-Session-Id (2026-07-28 spec)

    MCP 2026-07-28 removes initialize and Mcp-Session-Id. Where session state goes now, how an old client fails against a modern server, and how to keep a server reachable from an AIVAX gateway.

    Read post
  47. 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: what vector search leaves for you to build

    A vector database indexes and searches embeddings. RAG also needs extraction, chunking, updates, ordering and evaluation. Here is where each job lands.

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

    AIVAX Labs

    MCP server security best practices for third-party servers

    How to connect a third-party MCP server safely: review the catalog for tool poisoning, scope the credential, enforce authorization and approval on the server, with the AIVAX gateway settings checked against the code.

    Read post
  49. 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

    Migrating from OpenAI Assistants to Responses after the shutdown

    OpenAI shut down the Assistants API on August 26, 2026. Map threads, runs and file search to Responses, recover saved history, and decide who owns state.

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

    AIVAX Labs

    How to set reasoning effort across OpenAI, Anthropic and Gemini

    What reasoning_effort, Claude's effort and thinking budget, and Gemini's thinking level and budget each control, and what AIVAX sends upstream, returns and charges.

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

    AIVAX Labs

    LLM moderation API: separate layer or model self-assessment?

    AIVAX runs LLM moderation as a gateway layer before generation, either through a separate safeguard model or the main model's self-assessment. When each is enough, with timings from live runs.

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

    AIVAX Labs

    Multi-turn evaluation for LLM agents: simulated user and judge

    Evaluate a multi-turn LLM agent with a simulated user and an LLM judge. A tested AIVAX Agentic Tests run, with real turn scores, outcomes and per-run costs.

    Read post
  53. 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
  54. Smooth stones arranged in decreasing size on warm sand, representing recurring document retrieval

    AIVAX Labs

    Best reranker for RAG: Reflex vs Cohere, Voyage, Jina, Qwen and NVIDIA

    Reflex reranks RAG candidates with semantic and lexical signals instead of a model pass per pair. Where that is enough, what it costs next to the model rerankers on the same endpoint, and how to test the choice.

    Read post