Tutorial posts from the AIHubMix team.
x402 Tutorial: Let Your AI Agent Top Up AIHubMix with USDCAIHubMix now accepts USDC top-ups. Your AI agent can add credit to its own account with the USDC in its wallet: no web page to open, and no one has to click a button. With x402, a top-up can be as small as $1. The agent tops up as it goes, so you don't have to load a large balance in advance. It takes two steps: get a token, a wallet, and some USDC ready on the web and in an app, then run our ready-made top-up script with one command. About 20 seconds after payment, the credit shows up in yo
Moving to Gemini 4 Argon from Gemini 3.1 Pro or 3.8 Flash: What Breaks and How to Fix ItGemini 4 Argon became generally available on October 13, 2026, under the model ID gemini-4-argon, on the paid Gemini API, on Vertex AI and on AIHubMix. AIHubMix lists it at $2 per million input tokens, $10 per million output tokens and $0.10 per million cached input tokens, the same as Google's introductory rate. Google's rate runs until November 30; from December 1 it doubles to $4 and $20. [TBD: AIHubMix price from December 1] Changing the model string is the easy part. Google's What's new i
Gemini 4 Argon Thinking Levels and Long Decode: Defaults, Costs and When to Use EachGemini 4 Argon became generally available on October 13, 2026, and with it Google documented the two settings that decide what an Argon request costs and how long it takes: the thinking level and the output limit. Argon offers three thinking levels, low, medium and high, and defaults to medium. Responses stop at 64K tokens unless you turn on long decode, which lets a single response run to 1M tokens. There's a catch in the defaults. Every published Argon benchmark ran at high: Google evaluated
AIHubMix Supports JanitorAI Roleplay Chat, with Zero Data Retention on by DefaultAIHubMix supports roleplay chat. Connect it to JanitorAI as a proxy, pick a free model, and your characters reply through AIHubMix. Every AIHubMix account also has Zero Data Retention (ZDR) turned on by default, so we don't log, store, or keep your messages, your character prompts, or the model's replies. The short version: * Roleplay chat: AIHubMix connects to JanitorAI as a proxy. Dozens of free models are available, and our first pick for roleplay chat is xiaomi-mimo-v2.6-pro-free. * Ze
Which AIHubMix Free Model to Use for JanitorAI RoleplayShort answer: start with xiaomi-mimo-v2.6-pro-free, save one or two general chat models as backups, and keep low-cap and coding models out of long sessions. Treat that as a starting point, not a ranking. There's no official roleplay benchmark for AIHubMix's free models, and none of the model pages mention roleplay. This post covers how to choose and how to test, so you can decide based on your own characters. Why there's no "best model" list AIHubMix's free model catalog lists dozens of mod
AIHubMix Free Model Limits for JanitorAI: 10 Trial Calls, the $1 Unlock, and the Token CapA new AIHubMix account gets 10 trial calls in total, shared across every free model. They are not 10 per day or one every few minutes. A one-time top-up of $1 or more switches the account to daily quotas: 100 requests a day, 10 a minute, and 1M tokens a day, shared across the whole free catalog. For long JanitorAI chats, the 1M-token pool is usually what runs out first, well before you reach 100 replies. The rest of this guide explains each limit, shows how fast a JanitorAI chat uses the token
How to Pay on AIHubMix with AlipayTo unlock AIHubMix's free models for everyday use, you need one top-up of $1 or more. The $1 amount works through the Alipay option on the top-up page, paid from the Alipay app. Card checkout through Stripe, including the Alipay button inside the Stripe checkout, starts at $15. After any top-up of $1 or more, the AIHubMix free models page says your account "permanently" switches to daily quotas: 100 requests a day, 10 a minute, and 1M tokens a day across all free models. It's a one-time step,
How to Use AIHubMix Free Models in JanitorAI: Proxy Setup and Common ErrorsJanitorAI can talk to any OpenAI-compatible API through its Proxy option, and AIHubMix is one. The whole setup is four values typed into one form: Name: anything you like, e.g. AIHubMix MiMo Proxy URL: https://aihubmix.com/v1/chat/completions API key: your AIHubMix key Model: xiaomi-mimo-v2.6-pro-free Leave Custom prompt empty, press Test, then Add, and refresh the page. That's it. Most failures reported in the JanitorAI community come from one of those four fields being sl
Codex Compaction Fails With "response protection is unavailable": It's the Web Search, Not Your ContextSince October 8, 2026, long Codex sessions have been dying the moment they try to compact. The error reads stream disconnected before completion: response protection is unavailable, retries don't help, and the conversation can't continue. Most reports involve gpt-6.1-sol, but gpt-6-astra and gpt-5.6-sol fail the same way. It shows up behind self-hosted proxies, and it also shows up in the official Codex app with a direct ChatGPT login. The short answer: the context isn't too big, and your netw
Migrating from Claude Haiku 4.5 to 5.5: Five 400 Errors and the Quiet ChangesChanging claude-haiku-4-5 to claude-haiku-5-5 is the smallest part of this migration. Five request patterns that worked on Haiku 4.5 now return a 400 error, and several more changes fail no request but alter what you get back, what it costs, or how the model behaves inside an agent. Anthropic says existing Haiku 4.5 prompts should work well on Haiku 5.5 without changes. The request code around those prompts is a different story. This post lists each problem as you'll meet it: what you'll see,