Tutorial

Tutorial posts from the AIHubMix team.

  • MiniMax M3.1 Flash Effort Levels: Why the Default Cost 7× Low on the Same Bug Fix

    MiniMax M3.1 Flash Effort Levels: Why the Default Cost 7× Low on the Same Bug Fix

    MiniMax M3.1 Flash has five thinking levels and no off switch. If you don't pick a level, the model picks the deepest one for you. MiniMax's text generation guide says effort "defaults to max when omitted." That default is expensive in a way that's easy to miss. AIHubMix ran the same two-bug fix at every level. The default used about 10× the thinking tokens of low and took about 6× as long, and every run at every level passed all 215 tests. The model's thinking cost rose with the effort settin

    7 min readTutorial
  • Moving Off MiniMax M2.5/M2.7 Before Nov 18: Fixing M3.1 Flash's "requires adaptive thinking" 400

    Moving Off MiniMax M2.5/M2.7 Before Nov 18: Fixing M3.1 Flash's "requires adaptive thinking" 400

    MiniMax is retiring M2.5 and M2.7 on 18 November 2026, and the switch has already started. Since 19 October, the two older families have been closed to new users, and plan requests that name them are served by M3.1 Flash. If you're on pay-as-you-go, you have four weeks to change the model ID yourself. Most M2.7 code runs on M3.1 Flash unchanged. The trouble comes from one design choice: M3.1 Flash always thinks, and it thinks at the deepest level unless you say otherwise. That produces one lou

    9 min readTutorial
  • How to Set Up Codex config.toml: Custom API, Proxy, and Common Errors

    How to Set Up Codex config.toml: Custom API, Proxy, and Common Errors

    Codex keeps its settings in one file, config.toml: which model to use, which API to call, and how much the agent may do without asking. The format changed several times in 2026, and many guides from earlier in the year show settings that now stop Codex from starting. This guide gives you a working config first, then the parts most people change: profiles, project settings, the sandbox, and a proxy. At the end is a list of the errors you're likely to see, with what each one means. Checked again

    7 min readTutorial
  • Migrating to DeepSeek V4.1 Flash 1017: The reasoning_content 400, the Silent Alias Swap, and Peak-Hour Billing

    Migrating to DeepSeek V4.1 Flash 1017: The reasoning_content 400, the Silent Alias Swap, and Peak-Hour Billing

    Most migrations start with changing a model name. DeepSeek V4.1 Flash 1017 did it the other way round: on October 17, 2026, DeepSeek kept the name deepseek-flash and changed the model behind it. Anyone calling deepseek-flash, deepseek-v4-flash, or deepseek-v4-flash-vision-exp on DeepSeek's API was moved over without touching a line of code. On AIHubMix the new checkpoint has its own ID, deepseek-v4.1-flash-1017, so you choose when to move. Either way, these are the problems to check: Prob

    9 min readTutorial
  • Qwen3.8 Free on AIHubMix: Fix 429s, "Rate Limited by Provider", and a Drained Token Pool

    Qwen3.8 Free on AIHubMix: Fix 429s, "Rate Limited by Provider", and a Drained Token Pool

    Most problems with qwen3.8-max-free and qwen3.8-flash-free come from three places: the free-tier caps, the campaign capacity GMI Cloud has set aside upstream, and how quickly thinking tokens and agent context drain a 1M-token daily pool. Some of these show up as errors. Others show up as an odd-looking answer, or an empty quota by lunchtime. Alongside them, the everyday API errors still apply: a wrong key or model ID, a context that's too long, a broken tool-call history, JSON mode, content mode

    13 min readTutorial
  • x402 Tutorial: Let Your AI Agent Top Up AIHubMix with USDC

    x402 Tutorial: Let Your AI Agent Top Up AIHubMix with USDC

    AIHubMix 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

    7 min readTutorial
  • Moving to Gemini 4 Argon from Gemini 3.1 Pro or 3.8 Flash: What Breaks and How to Fix It

    Moving to Gemini 4 Argon from Gemini 3.1 Pro or 3.8 Flash: What Breaks and How to Fix It

    Gemini 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

    9 min readTutorial
  • Gemini 4 Argon Thinking Levels and Long Decode: Defaults, Costs and When to Use Each

    Gemini 4 Argon Thinking Levels and Long Decode: Defaults, Costs and When to Use Each

    Gemini 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

    8 min readTutorial
  • AIHubMix Supports JanitorAI Roleplay Chat, with Zero Data Retention on by Default

    AIHubMix Supports JanitorAI Roleplay Chat, with Zero Data Retention on by Default

    AIHubMix 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

    5 min readTutorial
  • Which AIHubMix Free Model to Use for JanitorAI Roleplay

    Which AIHubMix Free Model to Use for JanitorAI Roleplay

    Short 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

    6 min readTutorial