# AIHubMix — all verified model integration guides (llms-full.txt) > One-fetch concatenation of every verified per-model guide (209 models). Canonical per-model form: any model page plus `/llms.txt`, e.g. https://aihubmix.com/model/glm-5.3-flash/llms.txt — site index: https://aihubmix.com/llms.txt — agent onboarding: https://aihubmix.com/agents.md Models without a verified guide are not included; discover them in the live catalog (no auth): https://aihubmix.com/api/v1/models?type=llm&sort_by=order # GLM 5.3 Flash Model id on AIHubMix: `glm-5.3-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5.3-Flash is a high-efficiency multimodal model from Z.AI. It supports a context window of roughly 1 million tokens, along with text, image, and video inputs, and includes tool-calling capabilities. It is primarily designed for coding agents, complex reasoning, and long-horizon software engineering tasks. Built on the existing GLM technology stack, the model has been further post-trained and optimized to deliver strong performance while placing greater emphasis on inference efficiency, responsiveness, and cost.The model is offered at a limited-time 50% discount; users are welcome to try it. - Developer: Z.AI - Context window: 1,000,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Pricing: $0.113/M input tokens, $0.394/M output tokens, $0.028/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-5.3-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"glm-5.3-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/glm-5.3-flash - Try in browser: https://playground.aihubmix.com/?model=glm-5.3-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/glm-5.3-flash.58b9f17b.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-5.3-flash/llms.txt --- # GLM 5.3 Model id on AIHubMix: `glm-5.3` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5.3 is Z.AI’s coding and agentic reasoning model, built for complex software engineering, long-running agent tasks, vulnerability analysis, and other demanding workloads. Building on GLM-5.2, it incorporates further post-training improvements to deliver stronger coding performance, better task execution, and greater token efficiency. We currently offer the production-ready GLM-5.3 API with unlimited concurrency, making it well suited for high-throughput workloads, coding agents, and large-scale automation. For a limited time, GLM-5.3 is available at 10% off. - Developer: Z.AI - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $1.127/M input tokens, $3.944/M output tokens, $0.282/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-5.3","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"glm-5.3","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/glm-5.3 - Try in browser: https://playground.aihubmix.com/?model=glm-5.3 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/glm-5.3.b25562e1.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-5.3/llms.txt --- # Coding GLM 5.3 Model id on AIHubMix: `coding-glm-5.3` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5.3 is Z.ai’s reasoning model for coding and agentic workflows, designed for complex software engineering, long-running agents, and vulnerability analysis. It uses the same base model as GLM-5.2, with scaled post-training improving coding, task execution, and token efficiency. This model is a limited-time preview version of GLM-5.3, intended for testing and evaluation only. Service stability is not guaranteed, and we do not recommend using it in production environments. We’re waiting for the official commercial API release and will integrate it as soon as official support becomes available. - Developer: Z.AI - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Release date: 2026-08-14 - Pricing: $0.06/M input tokens, $0.22/M output tokens, $0.015/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-glm-5.3","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-glm-5.3","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-glm-5.3 - Try in browser: https://playground.aihubmix.com/?model=coding-glm-5.3 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-glm-5.3.5df68331.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-glm-5.3/llms.txt --- # Coding GLM 5.3 (free) Model id on AIHubMix: `coding-glm-5.3-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding-glm-5.3-free is the open and free version of coding-glm-5.3. To ensure stable service performance, usage limits are in place: up to 5 requests per minute, 500 requests per day, and a daily token allowance of 1 million. **Free tier of `coding-glm-5.3`.** The capability list and parameter schema below are those of `coding-glm-5.3` — the two ids are served by the same upstream model through the same gateway, so what the model can do is identical. What differs is quota: the free tier is rate- and volume-limited, and can return HTTP 429 where the paid id would not. Send requests with `"model":"coding-glm-5.3-free"`, not `"coding-glm-5.3"`. For the paid id's own document see https://aihubmix.com/model/coding-glm-5.3/llms.txt. - Developer: Z.AI - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-glm-5.3-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-glm-5.3-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-glm-5.3-free - Try in browser: https://playground.aihubmix.com/?model=coding-glm-5.3-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-glm-5.3.5df68331.json — per-protocol parameters with types, ranges, enums and defaults, published under `coding-glm-5.3` (same upstream model). Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find `coding-glm-5.3`, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-glm-5.3-free/llms.txt --- # Hy3 (free) Model id on AIHubMix: `hy3-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Hy3 official version is honed for real-world business scenarios, using a Mixture-of-Experts (MoE) architecture with 295B total parameters and 21B activated parameters. It natively supports a 256K context window and offers multiple thinking modes: no_think (ultra-fast response), think_low (quick thinking), and think_high (deep reasoning), balancing ultra-fast responses, complex reasoning, and invocation cost. Compared with the Preview version, Hy3—based on real business feedback from Tencent Yuanbao, WorkBuddy, ima, Marvis, and others—focuses on improving the Coding Agent, long-form understanding, multi-turn context continuity, search QA, and complex task execution, performing more stably in reducing hallucinations, improving task completion, and engineering usability. It is better suited to practical scenarios such as frontend tasks, cross-file code development, long-document analysis, office automation, and multi-step Agent workflows. **Free tier of `hy3`.** The capability list and parameter schema below are those of `hy3` — the two ids are served by the same upstream model through the same gateway, so what the model can do is identical. What differs is quota: the free tier is rate- and volume-limited, and can return HTTP 429 where the paid id would not. Send requests with `"model":"hy3-free"`, not `"hy3"`. For the paid id's own document see https://aihubmix.com/model/hy3/llms.txt. - Developer: Hunyuan - Context window: 256,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"hy3-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"hy3-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/hy3-free - Try in browser: https://playground.aihubmix.com/?model=hy3-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/hy3.e4fcfc76.json — per-protocol parameters with types, ranges, enums and defaults, published under `hy3` (same upstream model). Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find `hy3`, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/hy3-free/llms.txt --- # MiniMax M3 (free) Model id on AIHubMix: `minimax-m3-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > MiniMax-M3 is a versatile multimodal foundation model developed by MiniMax that supports text, image, and video inputs to generate text outputs. With a massive context window of 1,048,576 tokens, it is capable of processing and understanding vast amounts of information. This model is highly optimized for complex tasks, making it exceptionally well-suited for coding and long-horizon agentic workflows. **Free tier of `minimax-m3`.** The capability list and parameter schema below are those of `minimax-m3` — the two ids are served by the same upstream model through the same gateway, so what the model can do is identical. What differs is quota: the free tier is rate- and volume-limited, and can return HTTP 429 where the paid id would not. Send requests with `"model":"minimax-m3-free"`, not `"minimax-m3"`. For the paid id's own document see https://aihubmix.com/model/minimax-m3/llms.txt. - Developer: Minimax - Context window: 1,048,576 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"minimax-m3-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"minimax-m3-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/minimax-m3-free - Try in browser: https://playground.aihubmix.com/?model=minimax-m3-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/minimax-m3.43bed83b.json — per-protocol parameters with types, ranges, enums and defaults, published under `minimax-m3` (same upstream model). Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find `minimax-m3`, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/minimax-m3-free/llms.txt --- # Gemini 3.7 Flash Model id on AIHubMix: `gemini-3.7-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 3.7 Flash is Google’s natively multimodal reasoning model for coding, agents, web development, and knowledge work. It supports a 1M-token context window and adjustable thinking levels. Compared with Gemini 3.6 Flash, it improves coding, tool use, multi-step planning, and instruction following. - Developer: Google - Context window: 1,048,576 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Streaming, Tool calling, Web search, URL context, Code interpreter, Computer use, File search, Structured outputs, Prompt caching - Release date: 2026-08-13 - Pricing: $0.75/M input tokens, $3.75/M output tokens, $0.075/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.7-flash:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.7-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.7-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.7-flash - Try in browser: https://playground.aihubmix.com/?model=gemini-3.7-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.7-flash.31512fbf.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.7-flash/llms.txt --- # MiniMax M2.7 (free) Model id on AIHubMix: `minimax-m2.7-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Developed by Minimax, MiniMax-M2.7 is a next-generation large language model designed for autonomous, real-world productivity and continuous improvement. Featuring a generous 196,608-token context window, the model integrates advanced agentic capabilities through multi-agent workflows. It is uniquely built to actively participate in its own evolution, delivering highly adaptable and intelligent performance. **Free tier of `minimax-m2.7`.** The capability list and parameter schema below are those of `minimax-m2.7` — the two ids are served by the same upstream model through the same gateway, so what the model can do is identical. What differs is quota: the free tier is rate- and volume-limited, and can return HTTP 429 where the paid id would not. Send requests with `"model":"minimax-m2.7-free"`, not `"minimax-m2.7"`. For the paid id's own document see https://aihubmix.com/model/minimax-m2.7/llms.txt. - Developer: Minimax - Context window: 196,608 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"minimax-m2.7-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"minimax-m2.7-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/minimax-m2.7-free - Try in browser: https://playground.aihubmix.com/?model=minimax-m2.7-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/minimax-m2.7.84bf5826.json — per-protocol parameters with types, ranges, enums and defaults, published under `minimax-m2.7` (same upstream model). Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find `minimax-m2.7`, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/minimax-m2.7-free/llms.txt --- # Dots 3 Note Preview (free) Model id on AIHubMix: `dots-3-note-preview-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Dots3-Note Preview is an open-weight mixture-of-experts model developed by Dots Studio, featuring 16B active parameters out of 280B total. As the lightest model in the Dots 3 family, it is designed for efficient performance while supporting an expansive context length of 512,000 tokens. This preview version provides an accessible way to experience the capabilities of the Dots 3 architecture. - Developer: Dots Studio - Context window: 512,000 tokens - Input modalities: text, image - Capabilities: Thinking, Tool calling, Document input - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"dots-3-note-preview-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"dots-3-note-preview-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/dots-3-note-preview-free - Try in browser: https://playground.aihubmix.com/?model=dots-3-note-preview-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/dots-3-note-preview-free.703185f7.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/dots-3-note-preview-free/llms.txt --- # Gemini 3.7 Flash (free) Model id on AIHubMix: `gemini-3.7-flash-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 3.7 Flash free version: fFree model resources are limited and provided only for trial use; stability cannot be guaranteed, and you may encounter 429 errors during use. If you need to use it in a production environment and require unlimited concurrency with absolute stability, please choose the official version: gemini-3.7-flash - Developer: Google - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Streaming, Tool calling, Web search, URL context, Code interpreter, Computer use, File search, Structured outputs, Prompt caching - Release date: 2026-08-13 - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.7-flash-free:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.7-flash-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.7-flash-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.7-flash-free - Try in browser: https://playground.aihubmix.com/?model=gemini-3.7-flash-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.7-flash-free.a5387099.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.7-flash-free/llms.txt --- # GLM 5.2 Model id on AIHubMix: `glm-5.2` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow engineering standards more consistently, and complete the full development workflow from requirements to multi-platform deployment in a single task. - Developer: Z.AI - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Release date: 2026-06-16 - Pricing: $1.127/M input tokens, $3.944/M output tokens, $0.282/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-5.2","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"glm-5.2","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/glm-5.2 - Try in browser: https://playground.aihubmix.com/?model=glm-5.2 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/glm-5.2.ae18c79d.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-5.2/llms.txt --- # DeepSeek V4 Flash 0731 Model id on AIHubMix: `deepseek-v4-flash-0731` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > DeepSeek-V4-Flash-0731(deepseek-v4-flash-0731) is an open-source MoE large language model developed by the Chinese AI company DeepSeek, with support for a million-token context window. It is designed for coding, complex reasoning, tool use, agentic workflows, and long-document processing. Its advantages include strong performance with fewer active parameters and improved efficiency through DSpark speculative decoding. Compared with DeepSeek V4-Flash Preview, it offers significantly stronger coding and agent capabilities, while outperforming DeepSeek V4-Pro Preview on several benchmarks with fewer active parameters. - Developer: DeepSeek - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Release date: 2026-07-31 - Pricing: $0.142/M input tokens, $0.284/M output tokens, $0.028/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"deepseek-v4-flash-0731","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"deepseek-v4-flash-0731","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/deepseek-v4-flash-0731 - Try in browser: https://playground.aihubmix.com/?model=deepseek-v4-flash-0731 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/deepseek-v4-flash-0731.c1fc8c28.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/deepseek-v4-flash-0731/llms.txt --- # DeepSeek V4 Pro 0813 Model id on AIHubMix: `deepseek-v4-pro-0813` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > DeepSeek V4 Pro 0813 is DeepSeek’s high-performance general-purpose reasoning and agent model, designed for complex reasoning, coding, long-document analysis, and agentic workflows. It supports thinking and non-thinking modes, a 1M-token context window, up to 384K output, tool calling, and the Responses API. Compared with V4 Flash 0731, Pro prioritizes capability on complex tasks, while Flash focuses on speed, cost efficiency, and high concurrency. - Developer: DeepSeek - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Release date: 2026-08-13 - Pricing: $0.692/M input tokens, $2.075/M output tokens, $0.023/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"deepseek-v4-pro-0813","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"deepseek-v4-pro-0813","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/deepseek-v4-pro-0813 - Try in browser: https://playground.aihubmix.com/?model=deepseek-v4-pro-0813 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/deepseek-v4-pro-0813.f872d9c4.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/deepseek-v4-pro-0813/llms.txt --- # Grok 4.6 Model id on AIHubMix: `grok-4.6` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Grok 4.6 is xAI’s (SpaceXAI) flagship multimodal reasoning model for coding, long-running agents, knowledge work, and interactive application development. It supports image understanding, a 500K context window, tool calling, and structured outputs. Compared with Grok 4.5, it offers stronger multi-step execution, self-verification, coding, and visual project generation. - Developer: Grok - Context window: 500,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Document input, Structured outputs, Prompt caching, Server-side sessions - Release date: 2026-08 - Pricing: $2/M input tokens, $6/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"grok-4.6","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"grok-4.6","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/grok-4.6 - Try in browser: https://playground.aihubmix.com/?model=grok-4.6 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/grok-4.6.d1d831c9.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/grok-4.6/llms.txt --- # Mai Thinking 1 Model id on AIHubMix: `mai-thinking-1` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > MAI-Thinking-1 is Microsoft’s first inference model in the MAI series, built for enterprise-scale workloads. With excellent reasoning, mathematical, and general intelligence capabilities, combined with superior cost-effectiveness, it makes high-throughput, 24/7 AI workloads economically viable. - Developer: Microsoft - Context window: 256,000 tokens - Input modalities: text - Capabilities: Streaming, Tool calling, Prompt caching - Pricing: $2/M input tokens, $8/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"mai-thinking-1","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"mai-thinking-1","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/mai-thinking-1 - Try in browser: https://playground.aihubmix.com/?model=mai-thinking-1 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/mai-thinking-1.d78004c6.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/mai-thinking-1/llms.txt --- # Wan3.0 Video Model id on AIHubMix: `wan3.0-video` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wan 3.0 (Tongyi Wanxiang 3.0) is an integrated video generation and editing model launched by Alibaba’s Tongyi Lab. It is suitable for scenarios such as advertising, e-commerce, short films, character animation, video editing, and document-to-video. Its advantages include native support for videos up to 30 seconds long and the unified handling of reference content such as text, images, audio, video, documents, spreadsheets, presentations, and web pages, delivering more realistic visuals and audio, stable character consistency, and capabilities for referencing, editing, replication, and driving. Compared with Wan 2.7, which split text-to-video, image-to-video, reference generation, and editing across multiple models, Wan 3.0 integrates these capabilities into a single model, making the creative workflow more unified and flexible. - Developer: Qwen - Input modalities: image, text, audio, video - Pricing: per-generation — see https://aihubmix.com/model/wan3.0-video ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan3.0-video","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "adaptive" | 16:9, 9:16, 1:1, 4:3, 3:4, null, … | | `duration` | integer|null | no | 5 | -1, 2, 3, 4, 5, 6, … | | `extra` | object,null | no | | | | `generate_audio` | boolean,null | no | "ture" | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "1080p" | 720p, 1080p, null, 480p | | `seed` | integer,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan3.0-video/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan3.0-video/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan3.0-video - Try in browser: https://playground.aihubmix.com/?model=wan3.0-video - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan3.0-video/llms.txt --- # GPT 5.6 Sol Disc Model id on AIHubMix: `gpt-5.6-sol-disc` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.6 Sol (limited-time 50% off) is OpenAI’s frontier reasoning model for complex coding, professional knowledge work, deep research, and long-running agents. It supports a roughly 1.05M-token context window, image understanding, and extensive tool use. Compared with Terra and Luna, Sol prioritizes capability and reliability on demanding tasks. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching, Server-side sessions - Release date: 2026-08-18 - Pricing: $4/M input tokens, $20/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.6-sol-disc","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.6-sol-disc","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.6-sol-disc - Try in browser: https://playground.aihubmix.com/?model=gpt-5.6-sol-disc - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.6-sol-disc.ddd9289e.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.6-sol-disc/llms.txt --- # Doubao Seedance 2.5 260628 Model id on AIHubMix: `doubao-seedance-2-5-260628` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Seedance 2.5 is ByteDance Seed’s next-generation unified multimodal audio-video generation model, designed for filmmaking, advertising, education, simulation, and long-form content creation. It generates up to 30 seconds of synchronized audio and video in one pass and supports multi-round extensions. Compared with Seedance 2.0, it offers stronger storytelling, smoother transitions, richer reference support, improved realism, and more precise editing. - Developer: ByteDance - Input modalities: image, text - Pricing: per-generation — see https://aihubmix.com/model/doubao-seedance-2-5-260628 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seedance-2-5-260628","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "adaptive" | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, … | | `duration` | integer|null | no | -1 | -1, 4, 5, 6, 7, 8, … | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | true | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 480p, 720p, null | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/doubao-seedance-2-5-260628/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/doubao-seedance-2-5-260628/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/doubao-seedance-2-5-260628 - Try in browser: https://playground.aihubmix.com/?model=doubao-seedance-2-5-260628 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seedance-2-5-260628/llms.txt --- # GPT 5.6 Luna Model id on AIHubMix: `gpt-5.6-luna` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.6 Luna is designed for cost-sensitive, high-volume workloads. It roughly corresponds to the nano model tier used in earlier GPT-5 families. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching, Server-side sessions - Pricing: $0.2/M input tokens, $1.2/M output tokens, $0.02/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.6-luna","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.6-luna","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.6-luna - Try in browser: https://playground.aihubmix.com/?model=gpt-5.6-luna - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.6-luna.576711f4.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.6-luna/llms.txt --- # GPT 5.6 Sol Model id on AIHubMix: `gpt-5.6-sol` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT‑5.6 Sol sets a new standard for both intelligence and efficiency, achieving state-of-the-art results across coding, knowledge work, cybersecurity, and science while outperforming previous and competing frontier models with fewer tokens and at lower estimated cost. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching, Server-side sessions - Pricing: $4/M input tokens, $20/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.6-sol","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.6-sol","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.6-sol - Try in browser: https://playground.aihubmix.com/?model=gpt-5.6-sol - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.6-sol.d95098e9.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.6-sol/llms.txt --- # GPT 5.6 Terra Model id on AIHubMix: `gpt-5.6-terra` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.6 Terra is designed for workloads that balance intelligence and cost. It roughly corresponds to the mini model tier used in earlier GPT-5 families. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching, Server-side sessions - Pricing: $2/M input tokens, $12/M output tokens, $0.2/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.6-terra","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.6-terra","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.6-terra - Try in browser: https://playground.aihubmix.com/?model=gpt-5.6-terra - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.6-terra.0db848a4.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.6-terra/llms.txt --- # Agnes 2.5 Flash Model id on AIHubMix: `agnes-2.5-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Agnes 2.5 Flash is Agnes AI’s fast and efficient language model, an upgraded, fully available model based on Agnes 2.0 Flash. It continues to use an OpenAI-compatible Chat Completions interface and has been optimized for coding tasks, agent workflows, tool calls, multi-turn dialogue, reasoning, and image understanding. - Developer: Agnes - Context window: 512,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Pricing: $0.03/M input tokens, $0.15/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"agnes-2.5-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"agnes-2.5-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/agnes-2.5-flash - Try in browser: https://playground.aihubmix.com/?model=agnes-2.5-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/agnes-2.5-flash.c38b2f3f.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/agnes-2.5-flash/llms.txt --- # Agnes 2.5 Pro Model id on AIHubMix: `agnes-2.5-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Agnes 2.5 Pro is Agnes AI’s paid inference model and the commercially stable version of the Agnes 2.5 Pro Alpha ranking model, suitable for advanced coding, scientific reasoning, long-context analysis, agent workflows, and multimodal understanding. The model is accessed via an OpenAI-compatible Chat Completions API. - Developer: Agnes - Context window: 1,000,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Pricing: $0.45/M input tokens, $0.9/M output tokens, $0.0038/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"agnes-2.5-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"agnes-2.5-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/agnes-2.5-pro - Try in browser: https://playground.aihubmix.com/?model=agnes-2.5-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/agnes-2.5-pro.6208361a.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/agnes-2.5-pro/llms.txt --- # Agnes 2.5 Pro Alpha Model id on AIHubMix: `agnes-2.5-pro-alpha` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Agnes 2.5 Pro Alpha is Agnes AI’s paid inference model, suitable for advanced coding, scientific reasoning, long-context analysis, agent workflows, and multimodal understanding. The model is accessed via an OpenAI-compatible Chat Completions API. - Developer: Agnes - Context window: 1,000,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Pricing: $0.45/M input tokens, $0.9/M output tokens, $0.0038/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"agnes-2.5-pro-alpha","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"agnes-2.5-pro-alpha","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/agnes-2.5-pro-alpha - Try in browser: https://playground.aihubmix.com/?model=agnes-2.5-pro-alpha - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/agnes-2.5-pro-alpha.e155e249.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/agnes-2.5-pro-alpha/llms.txt --- # Agnes Image 2.1 Flash Model id on AIHubMix: `agnes-image-2.1-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Agnes Image 2.1 Flash is Agnes AI’s high-performance image generation and image editing model, supporting text-to-image, image-to-image, and multi-image composition. It is suitable for creative design, marketing visuals, e-commerce product images, and social content production. - Developer: Agnes - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/agnes-image-2.1-flash ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"agnes-image-2.1-flash","prompt":"","size":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `mask` | - | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `output_format` | string,null | no | "png" | png, jpeg, null | | `prompt` | string | yes | | | | `size` | string,null | yes | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/agnes-image-2.1-flash/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/agnes-image-2.1-flash/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/agnes-image-2.1-flash - Try in browser: https://playground.aihubmix.com/?model=agnes-image-2.1-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/agnes-image-2.1-flash/llms.txt --- # Grok 4.5 Model id on AIHubMix: `grok-4.5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Grok 4.5 was trained on datasets spanning knowledge in coding, science, engineering, and math. With both intelligent and efficient reasoning, Grok 4.5 excels at real engineering tasks and exceeds comparable leading models at these tasks. - Developer: Grok - Context window: 500,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Document input, Structured outputs, Prompt caching, Server-side sessions - Release date: 2026-07 - Pricing: $2/M input tokens, $6/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"grok-4.5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"grok-4.5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/grok-4.5 - Try in browser: https://playground.aihubmix.com/?model=grok-4.5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/grok-4.5.618f9d66.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/grok-4.5/llms.txt --- # Lfm 2.5 2.6b (free) Model id on AIHubMix: `lfm-2.5-2.6b-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > LFM-2.5-2.6B is a compact reasoning model developed by Liquid, featuring a generous 128,000 token context length. It is highly suited for agent workflows, data extraction, retrieval-augmented generation (RAG), and long-context processing. However, the developer advises against using this model for agentic coding tasks. - Developer: Liquid - Context window: 128,000 tokens - Input modalities: text - Capabilities: Thinking, Tool calling, Structured outputs - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"lfm-2.5-2.6b-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"lfm-2.5-2.6b-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/lfm-2.5-2.6b-free - Try in browser: https://playground.aihubmix.com/?model=lfm-2.5-2.6b-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/lfm-2.5-2.6b-free.51a9e9d6.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/lfm-2.5-2.6b-free/llms.txt --- # MiniMax H3 Model id on AIHubMix: `minimax-h3` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > MiniMax H3 (minimax-h3) is a general-purpose omni-modal generation model developed by the Chinese AI company MiniMax. It can jointly understand text, images, video, and audio while generating videos of up to 15 seconds in 2K resolution with native stereo sound. It is designed for advertising, branding, e-commerce, product design, UI/UX, and gaming. Compared with Hailuo 01 and Hailuo 02, H3 evolves from specialized video generation into a unified model for multimodal creation, reference-based editing, text rendering, and motion transfer. - Developer: Minimax - Input modalities: text, image, audio, video - Pricing: per-generation — see https://aihubmix.com/model/minimax-h3 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"minimax-h3","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "2K" | 768P, 2K, null | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/minimax-h3/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/minimax-h3/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/minimax-h3 - Try in browser: https://playground.aihubmix.com/?model=minimax-h3 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/minimax-h3/llms.txt --- # Muse Glimmer 30B Model id on AIHubMix: `muse-glimmer-30b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Muse Glimmer 30B is a dense causal language model distilled from Muse Spark, designed for autonomous agent work. It combines multi-step reasoning, robust pattern-based tool invocation, and fault-recovery capabilities, and offers multimodal understanding via a ViT-G/14 perceptual encoder of roughly 1.8 billion parameters, supporting interleaved text and image inputs, a context window of over 131K tokens, and optional inference strength settings (from low to ultra-high). Muse Glimmer is trained on data in over 100 languages, performs strongly for its size on agent benchmarks including MCP Atlas, DeepSearch QA, Gaia2, and SWE-Bench Pro, and is released under the Apache 2.0 license. - Developer: Meta - Context window: 131,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling - Pricing: $0.35/M input tokens, $1.5/M output tokens, $0.04/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"muse-glimmer-30b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"muse-glimmer-30b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/muse-glimmer-30b - Try in browser: https://playground.aihubmix.com/?model=muse-glimmer-30b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/muse-glimmer-30b.bb4c53d4.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/muse-glimmer-30b/llms.txt --- # Nemotron Lightning 3.5 30B A3B Model id on AIHubMix: `nemotron-lightning-3.5-30b-a3b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > NVIDIA Nemotron 3.5 Lightning is an open mixture-of-experts model from NVIDIA, featuring 3 billion active parameters out of 30 billion total. It supports an extensive context window of up to 1,000,000 tokens. This model is designed to deliver efficient performance for high-throughput agentic workloads and specialized tasks. Compared with Nemotron 3 Super and Ultra, Lightning is smaller and optimized for fast, high-volume execution, while the larger models focus on complex planning and advanced reasoning. - Developer: Nvidia - Context window: 262,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs - Pricing: $0.05/M input tokens, $0.2/M output tokens, $0.01/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-lightning-3.5-30b-a3b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-lightning-3.5-30b-a3b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-lightning-3.5-30b-a3b - Try in browser: https://playground.aihubmix.com/?model=nemotron-lightning-3.5-30b-a3b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-lightning-3.5-30b-a3b.00c3c6b8.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-lightning-3.5-30b-a3b/llms.txt --- # Qwen3.8 2.4t A95B Model id on AIHubMix: `qwen3.8-2.4t-a95b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen3.8-2.4T-A95B is Alibaba’s most powerful Qwen model to date. It is a 2.4‑trillion‑parameter sparse Mixture-of-Experts (MoE) model with approximately 95 billion active parameters. It is built for autonomous, long‑duration tasks: multi‑day code runs, reproducing research papers, and self‑improvement. - Developer: Qwen - Context window: 262,000 tokens - Input modalities: text, image - Capabilities: Thinking, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Pricing: $2/M input tokens, $6/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.8-2.4t-a95b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.8-2.4t-a95b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.8-2.4t-a95b - Try in browser: https://playground.aihubmix.com/?model=qwen3.8-2.4t-a95b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.8-2.4t-a95b.044deeb7.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.8-2.4t-a95b/llms.txt --- # Claude Opus 5 Model id on AIHubMix: `claude-opus-5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Opus 5 is Anthropic’s flagship model for demanding reasoning, coding, and long-horizon agentic work. It is particularly strong at end-to-end software tasks, code review and bug finding, visual analysis of charts and documents, complex office deliverables, and coordinating parallel subagents. The model maintains strong instruction following and tool use across extended tasks, while remaining effective at lower effort settings for workloads that prioritize latency and token efficiency. - Developer: Anthropic - Context window: 1,000,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Release date: 2026-07-24 - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-5 - Try in browser: https://playground.aihubmix.com/?model=claude-opus-5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-5.02d5d85b.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-5/llms.txt --- # Gemini 3.6 Flash Model id on AIHubMix: `gemini-3.6-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 3.6 Flash provides sustained frontier-level intelligence optimized for real-world tasks at a higher speed and lower cost. Designed for the agentic era, it excels at code generation, agentic execution, and spatial reasoning. This model is particularly effective for rapid agentic loops involving complex coding cycles and iterations. - Developer: Google - Context window: 1,048,576 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, Computer use, File search, Structured outputs, Prompt caching - Release date: 2026-07-21 - Pricing: $1.5/M input tokens, $7.5/M output tokens, $0.15/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.6-flash:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.6-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.6-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.6-flash - Try in browser: https://playground.aihubmix.com/?model=gemini-3.6-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.6-flash.e94f5f69.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.6-flash/llms.txt --- # Ling 3.0 Tiny (free) Model id on AIHubMix: `ling-3.0-tiny-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Ling 3.0 Tiny is a mixture-of-experts model from InclusionAI, featuring 1.3B active parameters out of a total of 7.9B. It is designed for responsive agents, instruction following, and multi-turn conversations, supporting an extensive context length of 262,144 tokens. This makes it an efficient and powerful choice for conversational AI applications. - Developer: Inclusionai - Context window: 262,144 tokens - Input modalities: text - Capabilities: Tool calling - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"ling-3.0-tiny-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"ling-3.0-tiny-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/ling-3.0-tiny-free - Try in browser: https://playground.aihubmix.com/?model=ling-3.0-tiny-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/ling-3.0-tiny-free.660bf716.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/ling-3.0-tiny-free/llms.txt --- # Nemotron 3.5 Lightning (free) Model id on AIHubMix: `nemotron-3.5-lightning-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > NVIDIA Nemotron 3.5 Lightning is an open mixture-of-experts model from NVIDIA, featuring 3 billion active parameters out of 30 billion total. It supports an extensive context window of up to 1,000,000 tokens. This model is designed to deliver efficient performance for high-throughput agentic workloads and specialized tasks. Compared with Nemotron 3 Super and Ultra, Lightning is smaller and optimized for fast, high-volume execution, while the larger models focus on complex planning and advanced reasoning. - Developer: Nvidia - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-3.5-lightning-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-3.5-lightning-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-3.5-lightning-free - Try in browser: https://playground.aihubmix.com/?model=nemotron-3.5-lightning-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-3.5-lightning-free.319c6abb.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-3.5-lightning-free/llms.txt --- # Qwen3.8 Max Model id on AIHubMix: `qwen3.8-max` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen 3.8 Max(qwen3.8-max) is Alibaba Cloud’s flagship native vision-language model, built on a 2.4-trillion-parameter Mixture-of-Experts (MoE) architecture and supporting context windows of up to 1 million tokens. It is well suited for complex multimodal understanding, advanced reasoning, software development, agentic workflows, and long-context processing. At a similar price to Qwen3.7-Max, Qwen3.8-Max delivers significant improvements in reasoning, coding, and agent capabilities, with overall performance comparable to today’s leading models. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Release date: 2026-08-03 - Pricing: $1.69/M input tokens, $5.07/M output tokens, $0.169/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.8-max","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.8-max","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.8-max - Try in browser: https://playground.aihubmix.com/?model=qwen3.8-max - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.8-max.e84bbff4.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.8-max/llms.txt --- # Claude Sonnet 5 Model id on AIHubMix: `claude-sonnet-5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Sonnet 5 is the next generation of Anthropic's Sonnet model family. It is a drop-in upgrade for Claude Sonnet 4.6 with three behavior changes: adaptive thinking is on by default, manual extended thinking now returns a 400 error (it was deprecated on Claude Sonnet 4.6), and setting sampling parameters (temperature, top_p, top_k) to non-default values returns a 400 error - Developer: Anthropic - Context window: 1,000,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $2/M input tokens, $10/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/claude-sonnet-5:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-sonnet-5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-sonnet-5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-sonnet-5 - Try in browser: https://playground.aihubmix.com/?model=claude-sonnet-5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-sonnet-5.b5adb812.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-sonnet-5/llms.txt --- # Kimi K3 Model id on AIHubMix: `kimi-k3` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Kimi K3 is Kimi’s flagship model for long-horizon coding and end-to-end knowledge work, with a 1M-token context window and industry-leading intelligence. - Developer: Moonshot AI - Context window: 1,048,576 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $3/M input tokens, $15/M output tokens, $0.3/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"kimi-k3","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"kimi-k3","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/kimi-k3 - Try in browser: https://playground.aihubmix.com/?model=kimi-k3 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/kimi-k3.5e156603.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/kimi-k3/llms.txt --- # Ling 3.0 Flash (free) Model id on AIHubMix: `ling-3.0-flash-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Developed by Inclusionai, ling-3.0-flash-free is a 124B-parameter Mixture-of-Experts (MoE) model with approximately 5.1B parameters activated per token. Featuring an expansive context length of 262,144 tokens, this model is built to handle extensive datasets and long-form content. It is designed with token efficiency and production-scale agentic inference as key priorities to enable seamless developer deployment. - Developer: InclusionAI - Context window: 262,144 tokens - Input modalities: text - Capabilities: Thinking, Tool calling, Structured outputs - Release date: 2026-07-23 - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"ling-3.0-flash-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"ling-3.0-flash-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/ling-3.0-flash-free - Try in browser: https://playground.aihubmix.com/?model=ling-3.0-flash-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/ling-3.0-flash-free.400a6fc7.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/ling-3.0-flash-free/llms.txt --- # Muse Spark 1.2 Model id on AIHubMix: `muse-spark-1.2` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Muse Spark 1.1 is a multimodal reasoning model from Meta, built for agentic tasks. It accepts text, images, video, audio, and PDF documents and returns text, with a 1M-token context window. - Developer: Meta - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Citations, Prompt caching, Background mode, Server-side sessions - Pricing: $1.375/M input tokens, $4.675/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"muse-spark-1.2","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"muse-spark-1.2","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/muse-spark-1.2 - Try in browser: https://playground.aihubmix.com/?model=muse-spark-1.2 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/muse-spark-1.2.a5e74255.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/muse-spark-1.2/llms.txt --- # Qwen3.8 Max Preview Model id on AIHubMix: `qwen3.8-max-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen 3.8 Max Preview(Qwen3.8-Max-Preview) is the latest-generation foundation model in the Qwen family, packing 2.4T parameters and still evolving. Compared with the previous flagship Qwen 3.7 Max, it delivers major gains in core capabilities like Coding and Cowork (professional productivity), with world-leading performance on complex, long-horizon tasks such as full-stack development, data analysis, and Office workflows. Launch offer: Credits are consumed at just 20% of the standard rate, effectively 5× your usage. Limited time only. - Developer: Qwen - Context window: 983,616 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Pricing: $0.338/M input tokens, $1.014/M output tokens, $0.034/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.8-max-preview","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.8-max-preview","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.8-max-preview - Try in browser: https://playground.aihubmix.com/?model=qwen3.8-max-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.8-max-preview.d76ce989.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.8-max-preview/llms.txt --- # Gemini 3.1 Flash Lite Image Model id on AIHubMix: `gemini-3.1-flash-lite-image` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Google's newest, most compact, and most cost-effective image generation and editing model, designed for large-scale use. - Developer: Google - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/gemini-3.1-flash-lite-image ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.1-flash-lite-image","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `prompt` | string | yes | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/gemini-3.1-flash-lite-image/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/gemini-3.1-flash-lite-image/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/gemini-3.1-flash-lite-image - Try in browser: https://playground.aihubmix.com/?model=gemini-3.1-flash-lite-image - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.1-flash-lite-image/llms.txt --- # Gemini 3.5 Flash Lite Model id on AIHubMix: `gemini-3.5-flash-lite` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 3.5 Flash-Lite is a low-latency, cost-effective multimodal model optimized for high-throughput, low-cost execution for subagent tasks and document parsing. The model supports text, image, video, audio, and PDF inputs, and is designed for high-volume agentic workflows, simple data extraction, and applications where latency and API cost are the primary constraints. - Developer: Google - Context window: 1,048,576 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, File search, Structured outputs, Prompt caching - Release date: 2026-07-21 - Pricing: $0.3/M input tokens, $2.5/M output tokens, $0.03/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.5-flash-lite:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.5-flash-lite","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.5-flash-lite","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.5-flash-lite - Try in browser: https://playground.aihubmix.com/?model=gemini-3.5-flash-lite - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.5-flash-lite.3503a47d.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.5-flash-lite/llms.txt --- # Gemini 3.5 Flash Lite (free) Model id on AIHubMix: `gemini-3.5-flash-lite-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 3.5 Flash-Lite free version: Free model resources are limited and provided only for trial use; stability cannot be guaranteed, and you may encounter 429 errors during use. If you need to use it in a production environment and require unlimited concurrency with absolute stability, please choose the official version:gemini-3.5-flash-lite. - Developer: Google - Context window: 1,048,576 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, Structured outputs, Prompt caching - Release date: 2026-07-21 - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.5-flash-lite-free:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.5-flash-lite-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.5-flash-lite-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.5-flash-lite-free - Try in browser: https://playground.aihubmix.com/?model=gemini-3.5-flash-lite-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.5-flash-lite-free.cfab5f4a.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.5-flash-lite-free/llms.txt --- # Gemini 3.6 Flash (free) Model id on AIHubMix: `gemini-3.6-flash-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 3.6 Flash free version: fFree model resources are limited and provided only for trial use; stability cannot be guaranteed, and you may encounter 429 errors during use. If you need to use it in a production environment and require unlimited concurrency with absolute stability, please choose the official version: gemini-3.6-flash - Developer: Google - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, Computer use, Structured outputs, Prompt caching - Release date: 2026-07-21 - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.6-flash-free:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.6-flash-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.6-flash-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.6-flash-free - Try in browser: https://playground.aihubmix.com/?model=gemini-3.6-flash-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.6-flash-free.9ab4f58c.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.6-flash-free/llms.txt --- # GLM 5.2 Fast Preview Model id on AIHubMix: `glm-5.2-fast-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5.2-Fast-Preview is the high-speed version of Zhipu AI’s flagship model GLM-5.2, supporting a 1M ultra-long context. The model’s capabilities are aligned with the GLM-5.2 standard version, offering logical reasoning, long-text understanding, and code generation. Through inference acceleration optimizations, output TPS can reach 1.5–2× that of the GLM-5.2 standard version, significantly improving output speed. It is suitable for scenarios sensitive to output speed, such as real-time dialogue, multi-turn Agent calls, and streaming code generation. - Developer: Z.AI - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Release date: 2026-06-16 - Pricing: $2.254/M input tokens, $7.889/M output tokens, $0.564/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-5.2-fast-preview","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"glm-5.2-fast-preview","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/glm-5.2-fast-preview - Try in browser: https://playground.aihubmix.com/?model=glm-5.2-fast-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/glm-5.2-fast-preview.27ee8829.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-5.2-fast-preview/llms.txt --- # Muse Spark 1.1 Model id on AIHubMix: `muse-spark-1.1` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Muse Spark 1.1 is a multimodal reasoning model from Meta, built for agentic tasks. It accepts text, images, video, audio, and PDF documents and returns text, with a 1M-token context window. - Developer: Meta - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Citations, Prompt caching, Background mode, Server-side sessions - Pricing: $1.375/M input tokens, $4.675/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"muse-spark-1.1","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"muse-spark-1.1","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/muse-spark-1.1 - Try in browser: https://playground.aihubmix.com/?model=muse-spark-1.1 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/muse-spark-1.1.490b95c2.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/muse-spark-1.1/llms.txt --- # Claude Fable 5 Model id on AIHubMix: `claude-fable-5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Anthropic's most capable widely released model, for the most demanding reasoning and long-horizon agentic work(This model is extremely expensive and is not recommended for casual use.) - Developer: Anthropic - Context window: 1,000,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Memory tool, Structured outputs, Citations, Prompt caching - Release date: 2026-06-09 - Pricing: $11/M input tokens, $55/M output tokens, $1.1/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-fable-5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-fable-5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-fable-5 - Try in browser: https://playground.aihubmix.com/?model=claude-fable-5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-fable-5.7c6e20cd.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-fable-5/llms.txt --- # Claude Opus 4.8 Model id on AIHubMix: `claude-opus-4-8` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Opus 4.8 is Anthropic’s newest and most powerful publicly available model. It is suitable for the most complex tasks. It is Anthropic’s strongest model for complex reasoning, long-horizon agent programming, and highly autonomous work.claude-opus-4-8 does not display thought content by default; you need to set the additional parameter "display": "summarized" to enable it - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-8","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-4-8","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-4-8 - Try in browser: https://playground.aihubmix.com/?model=claude-opus-4-8 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-4-8.99287118.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-4-8/llms.txt --- # Hy3 Model id on AIHubMix: `hy3` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Hy3 official version is honed for real-world business scenarios, using a Mixture-of-Experts (MoE) architecture with 295B total parameters and 21B activated parameters. It natively supports a 256K context window and offers multiple thinking modes: no_think (ultra-fast response), think_low (quick thinking), and think_high (deep reasoning), balancing ultra-fast responses, complex reasoning, and invocation cost. Compared with the Preview version, Hy3—based on real business feedback from Tencent Yuanbao, WorkBuddy, ima, Marvis, and others—focuses on improving the Coding Agent, long-form understanding, multi-turn context continuity, search QA, and complex task execution, performing more stably in reducing hallucinations, improving task completion, and engineering usability. It is better suited to practical scenarios such as frontend tasks, cross-file code development, long-document analysis, office automation, and multi-step Agent workflows. - Developer: Hunyuan - Context window: 256,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $0.156/M input tokens, $0.625/M output tokens, $0.039/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"hy3","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"hy3","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/hy3 - Try in browser: https://playground.aihubmix.com/?model=hy3 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/hy3.e4fcfc76.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/hy3/llms.txt --- # Doubao Seed 2.1 Pro Model id on AIHubMix: `doubao-seed-2-1-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > A new generation of large models moving toward production-grade intelligence, comprehensively upgrading coding, agent, and multimodal capabilities with stronger autonomous planning, long-horizon execution, and dynamic recovery abilities to handle real, complex enterprise tasks. - Developer: ByteDance - Context window: 256,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Web search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: $0.929/M input tokens, $4.647/M output tokens, $0.186/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seed-2-1-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"doubao-seed-2-1-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/doubao-seed-2-1-pro - Try in browser: https://playground.aihubmix.com/?model=doubao-seed-2-1-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/doubao-seed-2-1-pro.cc717690.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seed-2-1-pro/llms.txt --- # Doubao Seed 2.1 Turbo Model id on AIHubMix: `doubao-seed-2-1-turbo` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Balancing performance and cost, comprehensively upgrading coding, agent, and multimodal capabilities, with stronger autonomous planning, long-horizon execution, and dynamic recovery abilities to handle real, complex enterprise tasks. - Developer: ByteDance - Context window: 256,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: $0.465/M input tokens, $2.324/M output tokens, $0.093/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seed-2-1-turbo","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"doubao-seed-2-1-turbo","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/doubao-seed-2-1-turbo - Try in browser: https://playground.aihubmix.com/?model=doubao-seed-2-1-turbo - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/doubao-seed-2-1-turbo.3e63cf9f.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seed-2-1-turbo/llms.txt --- # Gemini 3.5 Flash Model id on AIHubMix: `gemini-3.5-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 3.5 Flash provides sustained frontier-level intelligence optimized for real-world tasks at a higher speed and lower cost. Designed for the agentic era, it excels at sub-agent deployment, multi-step workflows, and long-horizon tasks at scale. This model is particularly effective for rapid agentic loops involving complex coding cycles and iterations. - Developer: Google - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, Computer use, File search, Structured outputs, Prompt caching - Release date: 2026-05-19 - Pricing: $1.5/M input tokens, $9/M output tokens, $0.15/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.5-flash:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.5-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.5-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.5-flash - Try in browser: https://playground.aihubmix.com/?model=gemini-3.5-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.5-flash.45d7e32f.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.5-flash/llms.txt --- # Grok Build 0.1 Model id on AIHubMix: `grok-build-0.1` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Fast coding model trained specifically for agentic coding workflows. - Developer: Grok - Context window: 256,000 tokens - Input modalities: text, image - Capabilities: Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $1/M input tokens, $2/M output tokens, $0.2/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"grok-build-0.1","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"grok-build-0.1","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/grok-build-0.1 - Try in browser: https://playground.aihubmix.com/?model=grok-build-0.1 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/grok-build-0.1.5d9263c9.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/grok-build-0.1/llms.txt --- # Coding Kimi K3 Model id on AIHubMix: `coding-kimi-k3` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms - Developer: Moonshot AI - Context window: 1,048,576 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $0.44/M input tokens, $1.613/M output tokens, $0.066/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-kimi-k3","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-kimi-k3","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-kimi-k3 - Try in browser: https://playground.aihubmix.com/?model=coding-kimi-k3 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-kimi-k3.0bb0af15.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-kimi-k3/llms.txt --- # Happyhorse 1.1 I2v Model id on AIHubMix: `happyhorse-1.1-i2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > HappyHorse-1.1-I2V supports image-to-video generation, further enhancing visual texture, dynamic performance, and cross-segment consistency. The model can more accurately understand input images and carry forward the creative intent, delivering significant improvements in character skin texture, ID consistency across segments, motion smoothness, text rendering stability, and audio–visual synchronization, producing higher-quality videos that are more realistic and natural, rich in detail, and more consistent. - Developer: Qwen - Input modalities: text, video, image - Pricing: per-generation — see https://aihubmix.com/model/happyhorse-1.1-i2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"happyhorse-1.1-i2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/happyhorse-1.1-i2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/happyhorse-1.1-i2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/happyhorse-1.1-i2v - Try in browser: https://playground.aihubmix.com/?model=happyhorse-1.1-i2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/happyhorse-1.1-i2v/llms.txt --- # Happyhorse 1.1 R2v Model id on AIHubMix: `happyhorse-1.1-r2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > HappyHorse-1.1-R2V supports reference-based video generation, further improving the stable preservation of subject, scene style, and visual consistency. The model supports up to nine reference images as input, and can more accurately understand and carry forward creative intent, offering stronger controllability and expressiveness in characters, scenes, style, and camera/shot performance. - Developer: Qwen - Input modalities: text, video - Pricing: per-generation — see https://aihubmix.com/model/happyhorse-1.1-r2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"happyhorse-1.1-r2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, null | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/happyhorse-1.1-r2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/happyhorse-1.1-r2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/happyhorse-1.1-r2v - Try in browser: https://playground.aihubmix.com/?model=happyhorse-1.1-r2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/happyhorse-1.1-r2v/llms.txt --- # Happyhorse 1.1 T2v Model id on AIHubMix: `happyhorse-1.1-t2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > HappyHorse-1.1-T2V supports text-to-video generation, further enhancing text semantic understanding, camera/shot orchestration, and dynamic generation performance. The model can more accurately realize creative intent, producing higher-quality videos with smoother, more natural movements, richer detail, and greater consistency in character actions, scene atmosphere, visual aesthetics, and physical motion. - Developer: Qwen - Input modalities: text, video - Pricing: per-generation — see https://aihubmix.com/model/happyhorse-1.1-t2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"happyhorse-1.1-t2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, null | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/happyhorse-1.1-t2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/happyhorse-1.1-t2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/happyhorse-1.1-t2v - Try in browser: https://playground.aihubmix.com/?model=happyhorse-1.1-t2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/happyhorse-1.1-t2v/llms.txt --- # Coding GLM 5.2 (free) Model id on AIHubMix: `coding-glm-5.2-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding glm 5.2 free (coding-glm-5.2-free) is a free coding-focused API route offered by AIHubMix, powered by Z.ai’s open-source flagship GLM-5.2 model. It is suitable for code generation, debugging, project-level development, tool use, and long-running agent tasks, with support for reasoning, function calling, and structured outputs. Compared with GLM-5.1, it offers stronger coding capabilities and a 1-million-token context window. Each account is limited to 5 requests per minute, 500 requests per day, and 1 million free tokens per day. - Developer: Z.AI - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Release date: 2026-06-16 - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-glm-5.2-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-glm-5.2-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-glm-5.2-free - Try in browser: https://playground.aihubmix.com/?model=coding-glm-5.2-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-glm-5.2-free.2fcf2bb0.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-glm-5.2-free/llms.txt --- # Coding Kimi K3 (free) Model id on AIHubMix: `coding-kimi-k3-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding-kimi-k3-free is the open and free version of coding-kimi-k3. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: Moonshot AI - Context window: 1,048,576 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-kimi-k3-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-kimi-k3-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-kimi-k3-free - Try in browser: https://playground.aihubmix.com/?model=coding-kimi-k3-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-kimi-k3-free.5066ff28.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-kimi-k3-free/llms.txt --- # Gemini 3.1 Flash Image Model id on AIHubMix: `gemini-3.1-flash-image` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > gemini-3.1-flash-image (Nano Banana 2) features professional-grade visual intelligence, lightning-fast efficiency, and realistic, grounded generative capabilities. This model serves as the high-efficiency counterpart to Gemini 3 Pro Image, optimized for speed and high-volume developer use cases. - Developer: Google - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/gemini-3.1-flash-image ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.1-flash-image","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 1:1, 3:2, 2:3, 3:4, 1:4, 4:1, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `prompt` | string | yes | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/gemini-3.1-flash-image/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/gemini-3.1-flash-image/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/gemini-3.1-flash-image - Try in browser: https://playground.aihubmix.com/?model=gemini-3.1-flash-image - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.1-flash-image/llms.txt --- # GPT Oss 20B (free) Model id on AIHubMix: `gpt-oss-20b-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Developed by OpenAI, gpt-oss-20b-free is an open-weight 21B parameter model released under the Apache 2.0 license. This model utilizes a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass. It supports an expansive context window of up to 131,072 tokens, making it well-suited for long-context tasks. - Developer: Openai - Context window: 131,072 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-oss-20b-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-oss-20b-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-oss-20b-free - Try in browser: https://playground.aihubmix.com/?model=gpt-oss-20b-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-oss-20b-free.0ac9ff1e.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-oss-20b-free/llms.txt --- # Kimi K2.7 Code Model id on AIHubMix: `kimi-k2.7-code` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Kimi K2.7 Code is Kimi’s most intelligent Coding model, capable of completing programming tasks with higher success rates in long context. It features a native multimodal architecture that supports text, image, video input, and thinking modes, and dialogue and agent tasks. - Developer: Moonshot AI - Context window: 262,144 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $0.95/M input tokens, $3.999/M output tokens, $0.161/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"kimi-k2.7-code","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"kimi-k2.7-code","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/kimi-k2.7-code - Try in browser: https://playground.aihubmix.com/?model=kimi-k2.7-code - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/kimi-k2.7-code.1fea2d4d.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/kimi-k2.7-code/llms.txt --- # Kimi K2.7 Code Highspeed Model id on AIHubMix: `kimi-k2.7-code-highspeed` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > High-Speed version of Kimi K2.7 Code model, with output speed of approximately 180 Tokens/s and up to 260 Tokens/s in short context scenarios, delivering a more extreme coding experience. - Developer: Moonshot AI - Context window: 262,144 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $1.9/M input tokens, $7.999/M output tokens, $0.322/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"kimi-k2.7-code-highspeed","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"kimi-k2.7-code-highspeed","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/kimi-k2.7-code-highspeed - Try in browser: https://playground.aihubmix.com/?model=kimi-k2.7-code-highspeed - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/kimi-k2.7-code-highspeed.7c665e30.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/kimi-k2.7-code-highspeed/llms.txt --- # Gemini 3 Pro Image Model id on AIHubMix: `gemini-3-pro-image` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini-3-Pro-Image (Nano Banana Pro) is a high-performance image generation and editing model built on Gemini 3 Pro. It delivers enhanced multimodal understanding and real-world semantic reasoning, enabling fast creation of well-structured visual content such as infographics, product sketches, and multi-subject scenes. It can also leverage real-time knowledge through Search grounding. The model excels in text rendering, consistent multi-image blending, and identity preservation, while offering fine-grained creative controls like localized edits, lighting and focus adjustments, camera transformations, and flexible aspect ratios. It’s ideal for rapid design, concept previews, product visualization, and everyday image generation workflows. - Developer: Google - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/gemini-3-pro-image ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3-pro-image","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `prompt` | string | yes | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/gemini-3-pro-image/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/gemini-3-pro-image/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/gemini-3-pro-image - Try in browser: https://playground.aihubmix.com/?model=gemini-3-pro-image - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3-pro-image/llms.txt --- # Kling V3 Omni Model id on AIHubMix: `kling-v3-omni` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > VIDEO 3.0 Omni: All-in-One Multimodal Input, Voice-Driven Characters, Direct Audio-Visual Output, and Storyboarding Building on the Kling VIDEO O1 and Kling VIDEO 2.6, the Kling 3.0 Model Series leverage a deeply integrated unified model training framework, achieving more native multimodal input and output. It combines Native Audio with Element Consistency Control, and breaks through duration limits. - Developer: KLing - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/kling-v3-omni ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"kling-v3-omni","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | | 480p, 720p, 1080p, 1K, 2K, 4K, … | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/kling-v3-omni/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/kling-v3-omni/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/kling-v3-omni - Try in browser: https://playground.aihubmix.com/?model=kling-v3-omni - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/kling-v3-omni/llms.txt --- # Kling Video O1 Model id on AIHubMix: `kling-video-o1` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Kling Video O1 is a major unified multimodal video model launched by Kuaishou. It integrates text, images, video, and subject inputs into a single engine, focusing on addressing the "consistency" pain point in AI video, and is very suitable for professional teams in e-commerce, advertising, and continuity-driven creation that need to maintain the appearance of characters and objects unchanged across scenes. - Developer: KLing - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/kling-video-o1 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"kling-video-o1","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | | 480p, 720p, 1080p, 1K, 2K, 4K, … | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/kling-video-o1/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/kling-video-o1/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/kling-video-o1 - Try in browser: https://playground.aihubmix.com/?model=kling-video-o1 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/kling-video-o1/llms.txt --- # Longcat 2.0 Model id on AIHubMix: `longcat-2.0` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Designed for agent development scenarios, it natively supports tool invocation, multi-step reasoning, and long-context tasks; it excels at code generation, automated workflows, and executing complex instructions; and it is deeply adapted to productivity tools such as Claude Code, OpenClaw, OpenCode, and Kilo Code. - Developer: Meituan - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Release date: 2026-06-30 - Pricing: $0.775/M input tokens, $3.098/M output tokens, $0.015/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"longcat-2.0","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"longcat-2.0","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/longcat-2.0 - Try in browser: https://playground.aihubmix.com/?model=longcat-2.0 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/longcat-2.0.483edce9.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/longcat-2.0/llms.txt --- # Nemotron Nano 9B V2 (free) Model id on AIHubMix: `nemotron-nano-9b-v2-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > NVIDIA-Nemotron-Nano-9B-v2-free is a large language model trained from scratch by NVIDIA. Designed as a unified model, it efficiently handles both reasoning and non-reasoning tasks to respond to a wide range of user queries. With a generous context length of 128,000 tokens, it is highly capable of processing long and complex documents. - Developer: Nvidia - Context window: 128,000 tokens - Input modalities: text - Capabilities: Thinking, Tool calling - Release date: 2025-08-18 - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-nano-9b-v2-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-nano-9b-v2-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-nano-9b-v2-free - Try in browser: https://playground.aihubmix.com/?model=nemotron-nano-9b-v2-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-nano-9b-v2-free.c179b2e9.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-nano-9b-v2-free/llms.txt --- # Hy3 Preview Model id on AIHubMix: `hy3-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Hunyuan Hy3 preview is designed for agent workloads, adopting a MoE architecture with 295B capacity and 21B activated parameters. It provides three modes within the same model—no_think (ultra-fast response), think_low (fast thinking), and think_high (deep reasoning)—to accommodate different latency and depth requirements from high-frequency interactions to complex engineering tasks. On code benchmarks such as SWE-bench Verified it approaches the current state of the art, and its 256K context supports cross-file code refactoring and long-document analysis. It is suitable for developers who require reliable task completion while being sensitive to inference costs. - Developer: Hunyuan - Context window: 256,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Release date: 2026-04-23 - Pricing: $0.17/M input tokens, $0.567/M output tokens, $0.051/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"hy3-preview","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"hy3-preview","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/hy3-preview - Try in browser: https://playground.aihubmix.com/?model=hy3-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/hy3-preview.26bce1bc.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/hy3-preview/llms.txt --- # MiniMax M3 Model id on AIHubMix: `minimax-m3` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The MiniMax M3 is a flagship programming model built for real-world productivity. As a production-grade model natively designed for Agent scenarios, it has achieved state-of-the-art (SOTA) performance in coding, agentic tool use, search, and office work. - Developer: Minimax - Context window: 204,800 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Prompt caching - Release date: 2026-06-01 - Pricing: $0.288/M input tokens, $1.152/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"minimax-m3","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"minimax-m3","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/minimax-m3 - Try in browser: https://playground.aihubmix.com/?model=minimax-m3 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/minimax-m3.43bed83b.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/minimax-m3/llms.txt --- # Nemotron Nano 12B V2 VL (free) Model id on AIHubMix: `nemotron-nano-12b-v2-vl-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Developed by Nvidia, Nemotron-Nano-12B-V2-VL-Free is a 12-billion-parameter open multimodal reasoning model designed for video understanding and document intelligence. It features a powerful 128,000-token context length to handle extensive visual and textual inputs. The model utilizes a hybrid Transformer-Mamba architecture, successfully combining transformer-level accuracy with Mamba's structural advantages. - Developer: Nvidia - Context window: 128,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling - Release date: 2025-10-28 - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-nano-12b-v2-vl-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-nano-12b-v2-vl-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-nano-12b-v2-vl-free - Try in browser: https://playground.aihubmix.com/?model=nemotron-nano-12b-v2-vl-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-nano-12b-v2-vl-free.e8ac7bc8.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-nano-12b-v2-vl-free/llms.txt --- # Qwen3.7 Flash Model id on AIHubMix: `qwen3.7-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen 3.7 series' mid-to-high cost-performance "Plus" model builds on strong text capabilities with a comprehensive upgrade to vision-language abilities, while retaining full agent capabilities in coding, tool use, and productivity workflows. Its core features are multimodal interactive hybrid agent capabilities, able to perceive real-world scenes, read screens and operate GUIs, generate code based on visual references, and provide end-to-end navigation of mobile applications. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Pricing: $0.028/M input tokens, $0.113/M output tokens, $0.0056/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.7-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.7-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.7-flash - Try in browser: https://playground.aihubmix.com/?model=qwen3.7-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.7-flash.05e3be43.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.7-flash/llms.txt --- # Qwen3.7 Plus Model id on AIHubMix: `qwen3.7-plus` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen 3.7 series' mid-to-high cost-performance "Plus" model builds on strong text capabilities with a comprehensive upgrade to vision-language abilities, while retaining full agent capabilities in coding, tool use, and productivity workflows. Its core features are multimodal interactive hybrid agent capabilities, able to perceive real-world scenes, read screens and operate GUIs, generate code based on visual references, and provide end-to-end navigation of mobile applications. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Release date: 2026-05-26 - Pricing: $0.282/M input tokens, $1.128/M output tokens, $0.056/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.7-plus","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.7-plus","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.7-plus - Try in browser: https://playground.aihubmix.com/?model=qwen3.7-plus - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.7-plus.78eeb7cc.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.7-plus/llms.txt --- # Step 3.7 Flash Model id on AIHubMix: `step-3.7-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > step-3.7-flash is stepfun's flagship inference model, designed for high-complexity tasks that require deep reasoning and fast execution. It excels at decomposing multi-step problems, performing tool calls, and maintaining consistency across massive datasets. It is the preferred choice for complex workloads such as long-context agents, advanced software engineering, and end-to-end research automation. - Developer: StepFun - Context window: 256,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $0.22/M input tokens, $1.32/M output tokens, $0.044/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"step-3.7-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"step-3.7-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/step-3.7-flash - Try in browser: https://playground.aihubmix.com/?model=step-3.7-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/step-3.7-flash.af425aae.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/step-3.7-flash/llms.txt --- # Claude Opus 4.8 Thinking Model id on AIHubMix: `claude-opus-4-8-think` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The claude-opus-4-8-think model has adaptive thinking mode pre-enabled; the default thinking intensity is "medium", and it can be invoked directly via the OpenAI unified API. The claude-opus-4-8 model does not display thinking content by default; you need to set the extra parameter "display": "summarized" to enable it. - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-8-think","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-4-8-think","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-4-8-think - Try in browser: https://playground.aihubmix.com/?model=claude-opus-4-8-think - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-4-8-think.a0c1b939.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-4-8-think/llms.txt --- # Nemotron 3 Super 120B A12B (free) Model id on AIHubMix: `nemotron-3-super-120b-a12b-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > NVIDIA Nemotron 3 Super is a 120B-parameter open hybrid MoE model built on a hybrid Mamba-Transformer architecture. Activating just 12B parameters, it delivers maximum compute efficiency and accuracy for complex multi-agent applications. Additionally, it features an expansive context length of 262,144 tokens to handle large-scale inputs seamlessly. - Developer: Nvidia - Context window: 262,144 tokens - Input modalities: text - Capabilities: Thinking, Tool calling, Structured outputs - Release date: 2026-03-11 - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-3-super-120b-a12b-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-3-super-120b-a12b-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-3-super-120b-a12b-free - Try in browser: https://playground.aihubmix.com/?model=nemotron-3-super-120b-a12b-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-3-super-120b-a12b-free.59d76f38.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-3-super-120b-a12b-free/llms.txt --- # Nemotron 3 Nano Omni 30B A3B (reasoning) (free) Model id on AIHubMix: `nemotron-3-nano-omni-30b-a3b-reasoning-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Developed by Nvidia, NVIDIA Nemotron™ 3 Nano Omni is a 30B-A3B open multimodal model designed to function as a perception and context sub-agent in enterprise agent systems. Supporting a massive context length of 256,000 tokens, it accepts and processes inputs across text, images, and video. This model provides powerful multimodal comprehension tailored for complex enterprise workflows. - Developer: Nvidia - Context window: 256,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Structured outputs - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-3-nano-omni-30b-a3b-reasoning-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-3-nano-omni-30b-a3b-reasoning-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-3-nano-omni-30b-a3b-reasoning-free - Try in browser: https://playground.aihubmix.com/?model=nemotron-3-nano-omni-30b-a3b-reasoning-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-3-nano-omni-30b-a3b-reasoning-free.dc0b6ee1.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-3-nano-omni-30b-a3b-reasoning-free/llms.txt --- # Nemotron 3 Ultra 550B A55B (free) Model id on AIHubMix: `nemotron-3-ultra-550b-a55b-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > NVIDIA Nemotron 3 Ultra is an open frontier-reasoning and orchestration model featuring an extensive 1,000,000-token context length. Built on a hybrid Transformer-Mamba mixture-of-experts (MoE) architecture, it operates with 55B active parameters out of a total of 550B parameters. This advanced structure is designed to support sophisticated reasoning and complex task orchestration. - Developer: Nvidia - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-3-ultra-550b-a55b-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-3-ultra-550b-a55b-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-3-ultra-550b-a55b-free - Try in browser: https://playground.aihubmix.com/?model=nemotron-3-ultra-550b-a55b-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-3-ultra-550b-a55b-free.743b40af.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-3-ultra-550b-a55b-free/llms.txt --- # Qwen3.7 Max Model id on AIHubMix: `qwen3.7-max` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Max model, the largest and most capable in the Qwen3.7 series, is currently offering its pure-text model capabilities for trial. Qwen3.7 is a new-generation flagship model designed for the agent era; its core strengths lie in the breadth and depth of its agent capabilities: it performs excellently in programming, office and productivity tasks, and long-term autonomous execution. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Release date: 2026-05-20 - Pricing: $1.69/M input tokens, $5.07/M output tokens, $0.169/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.7-max","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.7-max","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.7-max - Try in browser: https://playground.aihubmix.com/?model=qwen3.7-max - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.7-max.b217d6ca.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.7-max/llms.txt --- # GPT Image 2 Model id on AIHubMix: `gpt-image-2` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-image-2 is OpenAI's latest cutting-edge image generation model. Key value adds include better performance, quality, editing controls, and face preservation. (Currently the model's image generation time may be >5 minutes; it is recommended to set the client timeout to ≥10 minutes.) The model supports high input_fidelity and adding/removing one aspect of the image while retaining others. This model includes improvements in aspect ratio, resolution, and editing capabilities. - Developer: OpenAI - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/gpt-image-2 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-image-2","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `mask` | - | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `output_format` | string,null | no | "png" | png, jpeg, null | | `prompt` | string | yes | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/gpt-image-2/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/gpt-image-2/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/gpt-image-2 - Try in browser: https://playground.aihubmix.com/?model=gpt-image-2 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-image-2/llms.txt --- # Nemotron 3.5 Content Safety (free) Model id on AIHubMix: `nemotron-3.5-content-safety-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Developed by NVIDIA, Nemotron 3.5 Content Safety is a compact 4B-parameter multimodal guardrail model fine-tuned from Google Gemma-3-4B. Supporting an expansive context length of 128,000 tokens, this model moderates both user inputs and generated responses for LLMs and VLMs. It provides robust safety filtering to ensure aligned and secure interactions across multiple modalities. - Developer: Nvidia - Context window: 128,000 tokens - Input modalities: text, image - Capabilities: Thinking - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-3.5-content-safety-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-3.5-content-safety-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-3.5-content-safety-free - Try in browser: https://playground.aihubmix.com/?model=nemotron-3.5-content-safety-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-3.5-content-safety-free.62935e60.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-3.5-content-safety-free/llms.txt --- # Coding GLM 5.2 Model id on AIHubMix: `coding-glm-5.2` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Currently, the special resources for this model are limited, but due to its popularity, the usage is too high, which may result in a large number of 429 errors. Resources have been coordinated, and improvements are expected in the coming weeks, so please stay tuned. In the meantime, it is recommended to use the regular-priced API model, which can ensure absolute stability. The model ID is glm-5.2. - Developer: Z.AI - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Release date: 2026-06-16 - Pricing: $0.06/M input tokens, $0.22/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-glm-5.2","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-glm-5.2","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-glm-5.2 - Try in browser: https://playground.aihubmix.com/?model=coding-glm-5.2 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-glm-5.2.e36b0273.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-glm-5.2/llms.txt --- # ERNIE 5.1 Model id on AIHubMix: `ernie-5.1` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > ERNIE 5.1 is the latest model in the Wenxin series, with comprehensive upgrades to its foundational capabilities and significant improvements in agents, knowledge, reasoning, and deep search. This upgrade uses a decoupled fully-asynchronous reinforcement learning technique to specifically address challenges encountered as large models evolve toward agent-based autonomous decision-making, such as training–inference numerical bias, low utilization of heterogeneous resources, and global issues caused by long-tail effects. It is paired with scaled agent post-training techniques to enhance model capabilities and generalization, enabling a three-step collaboration of environment, expert, and fusion that both ensures training efficiency and significantly improves the model’s stability and performance on complex tasks. - Developer: Baidu - Context window: 119,000 tokens - Input modalities: text - Capabilities: Thinking, Tool calling, Web search - Pricing: $0.563/M input tokens, $2.535/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"ernie-5.1","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"ernie-5.1","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/ernie-5.1 - Try in browser: https://playground.aihubmix.com/?model=ernie-5.1 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/ernie-5.1.09ebe063.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/ernie-5.1/llms.txt --- # Gemini 3.1 Flash Lite Model id on AIHubMix: `gemini-3.1-flash-lite` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > gemini-3.1-flash-lite is currently Google's latest and most cost-effective model, optimized for large-scale agent-based tasks, translation, and simple data processing. - Developer: Google - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, File search, Structured outputs, Prompt caching - Pricing: $0.25/M input tokens, $1.5/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.1-flash-lite:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.1-flash-lite","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.1-flash-lite","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.1-flash-lite - Try in browser: https://playground.aihubmix.com/?model=gemini-3.1-flash-lite - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.1-flash-lite.1d6c92eb.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.1-flash-lite/llms.txt --- # gemini-3.1-flash-lite-nothink Model id on AIHubMix: `gemini-3.1-flash-lite-nothink` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > gemini-3.1-flash-lite is currently Google's latest and most cost-effective model, optimized for large-scale agent-based tasks, translation, and simple data processing. - Developer: Google - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, File search, Structured outputs, Prompt caching - Pricing: $0.25/M input tokens, $1.5/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.1-flash-lite-nothink:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.1-flash-lite-nothink","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.1-flash-lite-nothink","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.1-flash-lite-nothink - Try in browser: https://playground.aihubmix.com/?model=gemini-3.1-flash-lite-nothink - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.1-flash-lite-nothink.251b6025.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.1-flash-lite-nothink/llms.txt --- # Grok 4.3 Model id on AIHubMix: `grok-4.3` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Grok 4.3 is amongst the leading models in intelligence and well priced when comparing to other models of similar price. It's also notably fast, however very verbose. The model supports text and image input, outputs text, and has a 1m tokens context window. - Developer: Grok - Context window: 1,000,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $1.25/M input tokens, $2.5/M output tokens, $0.2/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"grok-4.3","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"grok-4.3","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/grok-4.3 - Try in browser: https://playground.aihubmix.com/?model=grok-4.3 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/grok-4.3.c9d29fd1.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/grok-4.3/llms.txt --- # Happyhorse 1.0 I2v Model id on AIHubMix: `happyhorse-1.0-i2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > HappyHorse-1.0-I2V supports image-to-video generation, featuring highly faithful dynamic visual generation capabilities, accurately understanding textual semantics and producing smooth, natural, and detail-rich high-quality videos. - Developer: Qwen - Input modalities: text, image, video - Pricing: per-generation — see https://aihubmix.com/model/happyhorse-1.0-i2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"happyhorse-1.0-i2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/happyhorse-1.0-i2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/happyhorse-1.0-i2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/happyhorse-1.0-i2v - Try in browser: https://playground.aihubmix.com/?model=happyhorse-1.0-i2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/happyhorse-1.0-i2v/llms.txt --- # Happyhorse 1.0 R2v Model id on AIHubMix: `happyhorse-1.0-r2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > HappyHorse-1.0-R2V supports reference-guided video generation, offering more stable subject and scene referencing, supports up to 9 reference images, and can accurately maintain creative intent to achieve stronger expressive capabilities. - Developer: Qwen - Input modalities: text, video - Pricing: per-generation — see https://aihubmix.com/model/happyhorse-1.0-r2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"happyhorse-1.0-r2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, null | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/happyhorse-1.0-r2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/happyhorse-1.0-r2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/happyhorse-1.0-r2v - Try in browser: https://playground.aihubmix.com/?model=happyhorse-1.0-r2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/happyhorse-1.0-r2v/llms.txt --- # Happyhorse 1.0 T2v Model id on AIHubMix: `happyhorse-1.0-t2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > HappyHorse-1.0-T2V supports text-to-video generation, featuring highly faithful dynamic visual generation capabilities, accurately understanding textual semantics and producing smooth, natural, and detail-rich high-quality videos. - Developer: Qwen - Input modalities: text, video - Pricing: per-generation — see https://aihubmix.com/model/happyhorse-1.0-t2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"happyhorse-1.0-t2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, null | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/happyhorse-1.0-t2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/happyhorse-1.0-t2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/happyhorse-1.0-t2v - Try in browser: https://playground.aihubmix.com/?model=happyhorse-1.0-t2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/happyhorse-1.0-t2v/llms.txt --- # Happyhorse 1.0 Video Edit Model id on AIHubMix: `happyhorse-1.0-video-edit` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > HappyHorse-1.0-Video-Edit supports video editing, allows editing videos via natural language commands, can reference up to 5 images to edit video elements locally or globally, and can accurately replicate video dynamics to achieve stronger expressive capabilities. - Developer: Qwen - Input modalities: text, image, video - Pricing: per-generation — see https://aihubmix.com/model/happyhorse-1.0-video-edit ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"happyhorse-1.0-video-edit","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/happyhorse-1.0-video-edit/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/happyhorse-1.0-video-edit/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/happyhorse-1.0-video-edit - Try in browser: https://playground.aihubmix.com/?model=happyhorse-1.0-video-edit - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/happyhorse-1.0-video-edit/llms.txt --- # North Mini Code (free) Model id on AIHubMix: `north-mini-code-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Developed by Cohere, north-mini-code-free is the debut model of the North family and Cohere's first agentic coding model. This sparse mixture-of-experts model features 30B total parameters and 3B active parameters, designed and optimized for high performance. With an expansive context length of 256,000 tokens, it is well-suited for handling complex developer workflows and large codebases. - Developer: Cohere - Context window: 256,000 tokens - Input modalities: text - Capabilities: Thinking, Tool calling, Structured outputs - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"north-mini-code-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"north-mini-code-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/north-mini-code-free - Try in browser: https://playground.aihubmix.com/?model=north-mini-code-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/north-mini-code-free.113df8e1.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/north-mini-code-free/llms.txt --- # GPT 5.5 Model id on AIHubMix: `gpt-5.5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.5 raises the baseline for complex production workflows. It’s a strong fit for coding use cases, tool-heavy agents, grounded assistants, long-context retrieval, product-spec-to-plan workflows, and customer-facing workflows where execution quality and response polish are critical. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, File search, Structured outputs, Prompt caching, Server-side sessions - Release date: 2026-04-24 - Pricing: $5/M input tokens, $30/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.5 - Try in browser: https://playground.aihubmix.com/?model=gpt-5.5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.5.4eafab0a.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.5/llms.txt --- # GPT 5.5 Pro Model id on AIHubMix: `gpt-5.5-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Please note: this model is extremely expensive and very slow. If a request fails due to network issues, you may still be charged heavily; we cannot refund charges incurred by requests to this model. GPT-5.5 pro is available in the Responses API only to enable support for multi-turn model interactions before responding to API requests, and other advanced API features in the future. Since GPT-5.5 pro is designed to tackle tough problems, some requests may take several minutes to finish. To avoid timeout, please set a longer timeout duration. It is recommended to use this under good network conditions. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Thinking, Tool calling, Web search, Code interpreter, File search, Structured outputs, Prompt caching, Background mode - Pricing: $30/M input tokens, $180/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.5-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.5-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.5-pro - Try in browser: https://playground.aihubmix.com/?model=gpt-5.5-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.5-pro.4618c3ba.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.5-pro/llms.txt --- # Laguna Xs 2.1 (free) Model id on AIHubMix: `laguna-xs-2.1-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Laguna XS 2.1 is the latest coding agent model in the 33B-A3B category from Poolside, representing a step forward from the Laguna XS.2 model released in April 2026. It features an extensive context length of 262,144 tokens, allowing it to process large amounts of code and developer inputs. This model provides a robust solution for a wide range of coding agent tasks. - Developer: Poolside - Context window: 262,144 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"laguna-xs-2.1-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"laguna-xs-2.1-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/laguna-xs-2.1-free - Try in browser: https://playground.aihubmix.com/?model=laguna-xs-2.1-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/laguna-xs-2.1-free.45c6e1d1.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/laguna-xs-2.1-free/llms.txt --- # DeepSeek V4 Flash Model id on AIHubMix: `deepseek-v4-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > (This model currently points to the older 0423 version; if you need to request the latest version, you can choose the model deepseek-v4-flash-0731)DeepSeek-V4 features an ultra-long context of one million characters and achieves leading performance domestically and in the open-source domain in agent capabilities, world knowledge, and reasoning. - Developer: DeepSeek - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $0.142/M input tokens, $0.284/M output tokens, $0.028/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"deepseek-v4-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"deepseek-v4-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/deepseek-v4-flash - Try in browser: https://playground.aihubmix.com/?model=deepseek-v4-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/deepseek-v4-flash.6543811c.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/deepseek-v4-flash/llms.txt --- # DeepSeek V4 Pro Model id on AIHubMix: `deepseek-v4-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > (This model currently points to the older 0423 version; if you need to request the latest version, you can choose the model deepseek-v4-pro-0813)DeepSeek-V4 features an ultra-long context of one million characters and achieves leading performance domestically and in the open-source domain in agent capabilities, world knowledge, and reasoning.( Directly requesting deepseek-v4-pro will route you through the official discount channel.) - Developer: DeepSeek - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Release date: 2026-04-24 - Pricing: $1.69/M input tokens, $3.38/M output tokens, $0.14/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"deepseek-v4-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"deepseek-v4-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/deepseek-v4-pro - Try in browser: https://playground.aihubmix.com/?model=deepseek-v4-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/deepseek-v4-pro.fc294777.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/deepseek-v4-pro/llms.txt --- # Gemma 4 31B It (free) Model id on AIHubMix: `gemma-4-31b-it-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemma 4 31B Instruct is a 30.7B dense multimodal model developed by Google DeepMind that supports both text and image inputs with text outputs. It features an expansive 256K token context window alongside a configurable thinking and reasoning mode. The model also includes native function support to streamline complex tasks. - Developer: Google - Context window: 262,144 tokens - Input modalities: text, image - Capabilities: Thinking, Tool calling, Web search, Document input - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemma-4-31b-it-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemma-4-31b-it-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemma-4-31b-it-free - Try in browser: https://playground.aihubmix.com/?model=gemma-4-31b-it-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemma-4-31b-it-free.ab252180.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemma-4-31b-it-free/llms.txt --- # Command A Plus 05 2026 Model id on AIHubMix: `command-a-plus-05-2026` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Cohere's stronger command model for multilingual agents and enterprise workflows - Developer: Cohere - Context window: 128,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Structured outputs - Pricing: $2.5/M input tokens, $10/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"command-a-plus-05-2026","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"command-a-plus-05-2026","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/command-a-plus-05-2026 - Try in browser: https://playground.aihubmix.com/?model=command-a-plus-05-2026 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/command-a-plus-05-2026.27be472e.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/command-a-plus-05-2026/llms.txt --- # ERNIE 5.0 Model id on AIHubMix: `ernie-5.0` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > ERNIE 5.0 is the next-generation natively multimodal foundation model in the ERNIE family. Built on a unified multimodal architecture, it jointly learns from text, images, audio, and video to deliver broad multimodal capabilities. ERNIE 5.0 features significantly upgraded core capabilities and shows strong performance across benchmarks, with notable gains in multimodal understanding, instruction following, creative writing, factual accuracy, and agent planning with tool use. - Developer: Baidu - Context window: 119,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search - Pricing: $0.822/M input tokens, $3.288/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"ernie-5.0","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"ernie-5.0","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/ernie-5.0 - Try in browser: https://playground.aihubmix.com/?model=ernie-5.0 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/ernie-5.0.681ae4cc.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/ernie-5.0/llms.txt --- # Kimi K2.6 Model id on AIHubMix: `kimi-k2.6` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Kimi K2.6 is Kimi's latest and most intelligent model, with stronger and more stable long-range code-writing capabilities, significantly improved instruction-following and self-correction abilities, and support for text, image, and video inputs, thinking and non-thinking modes, as well as dialogue and Agent tasks.The model has a context length of 256k, supports long-form thinking, and excels at deep reasoning. - Developer: Moonshot AI - Context window: 262,144 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $0.95/M input tokens, $3.999/M output tokens, $0.161/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"kimi-k2.6","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"kimi-k2.6","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/kimi-k2.6 - Try in browser: https://playground.aihubmix.com/?model=kimi-k2.6 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/kimi-k2.6.792e4faf.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/kimi-k2.6/llms.txt --- # Laguna S 2.1 (free) Model id on AIHubMix: `laguna-s-2.1-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Laguna S 2.1 is the latest coding agent model from Poolside, featuring an impressive context length of 262,144 tokens. This model is built with 118B total parameters and 8B active parameters, balancing efficiency with high performance. It delivers strong capabilities for developer tasks, scoring 70.2% on the Terminal-Bench 2.1 benchmark. - Developer: Poolside - Context window: 262,144 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"laguna-s-2.1-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"laguna-s-2.1-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/laguna-s-2.1-free - Try in browser: https://playground.aihubmix.com/?model=laguna-s-2.1-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/laguna-s-2.1-free.df9b7b0a.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/laguna-s-2.1-free/llms.txt --- # Qwen3.6 Max Preview Model id on AIHubMix: `qwen3.6-max-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Max model Preview version, the largest and most capable model in the Qwen3.6 series, currently offers its pure-text model capabilities for trial. Compared with the previously released Qwen3-Max and Qwen3.6-Plus, this model further enhances vibe coding capabilities, executes coding agents more efficiently, significantly improves front-end programming and development capabilities, and further upgrades long-tail knowledge handling. - Developer: Qwen - Context window: 240,000 tokens - Input modalities: text - Capabilities: Thinking, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $1.268/M input tokens, $7.608/M output tokens, $0.127/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.6-max-preview","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.6-max-preview","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.6-max-preview - Try in browser: https://playground.aihubmix.com/?model=qwen3.6-max-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.6-max-preview.bb965632.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.6-max-preview/llms.txt --- # Xiaomi Mimo V2.5 Model id on AIHubMix: `xiaomi-mimo-v2.5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > MiMo-V2.5 is a native, fully multimodal large model designed for agent scenarios; it can see, hear, and read, and translate understanding into action. It has over 1 trillion total parameters (42B active parameters), employs an innovative hybrid-attention architecture, and supports an ultra-long 1M context length. Built on a powerful model base, we continuously scale compute across broader agent scenarios, further expanding the agent’s action space and achieving an important generalization from coding to claw. - Developer: Xiaomi - Context window: 256,000 tokens - Input modalities: text, image, video, audio - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $0.155/M input tokens, $0.31/M output tokens, $0.0031/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"xiaomi-mimo-v2.5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"xiaomi-mimo-v2.5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/xiaomi-mimo-v2.5 - Try in browser: https://playground.aihubmix.com/?model=xiaomi-mimo-v2.5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/xiaomi-mimo-v2.5.25aadd2c.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/xiaomi-mimo-v2.5/llms.txt --- # Xiaomi Mimo V2.5 Pro Model id on AIHubMix: `xiaomi-mimo-v2.5-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > MiMo-V2.5-Pro is Xiaomi's most powerful model to date. In areas such as general agent capabilities, complex software engineering, and long-horizon tasks, it can now directly compete with the world's top agent models (Claude Opus 4.6, GPT-5.4). Compared with the previous-generation MiMo-V2-Pro, it achieves an all-around leap forward. - Developer: Xiaomi - Context window: 1,000,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $0.48/M input tokens, $0.96/M output tokens, $0.0038/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"xiaomi-mimo-v2.5-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"xiaomi-mimo-v2.5-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/xiaomi-mimo-v2.5-pro - Try in browser: https://playground.aihubmix.com/?model=xiaomi-mimo-v2.5-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/xiaomi-mimo-v2.5-pro.021039e5.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/xiaomi-mimo-v2.5-pro/llms.txt --- # Claude Opus 4.7 Model id on AIHubMix: `claude-opus-4-7` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Opus 4.7 is Anthropic’s latest and most powerful publicly available model. It has high autonomy and performs exceptionally well on long-horizon agent tasks, knowledge work, vision tasks, and memory tasks. The claude-opus-4-7 model does not display thinking content by default; you need to set the extra parameter "display": "summarized" to enable it.This page summarizes all the new features at release. - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-7","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-4-7","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-4-7 - Try in browser: https://playground.aihubmix.com/?model=claude-opus-4-7 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-4-7.90c994eb.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-4-7/llms.txt --- # Claude Opus 4.7 Thinking Model id on AIHubMix: `claude-opus-4-7-think` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The claude-opus-4-7-think model has adaptive thinking mode pre-enabled; the default thinking intensity is "medium", and it can be invoked directly via the OpenAI unified API. The claude-opus-4-7 model does not display thinking content by default; you need to set the extra parameter "display": "summarized" to enable it. - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: image, text - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-7-think","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-4-7-think","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-4-7-think - Try in browser: https://playground.aihubmix.com/?model=claude-opus-4-7-think - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-4-7-think.d4f624bd.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-4-7-think/llms.txt --- # GPT Chat Model id on AIHubMix: `gpt-chat-latest` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT Chat Latest points to OpenAI's stable API alias chat-latest that always resolves to the latest Instant chat model used in ChatGPT. As OpenAI rolls out new Instant model updates in the future, they are routed behind this slug automatically. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Streaming, Tool calling, Web search, Code interpreter, File search, Structured outputs, Prompt caching - Pricing: $5/M input tokens, $30/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-chat-latest","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-chat-latest","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-chat-latest - Try in browser: https://playground.aihubmix.com/?model=gpt-chat-latest - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-chat-latest.50d63f04.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-chat-latest/llms.txt --- # Nemotron 3 Nano 30B A3B (free) Model id on AIHubMix: `nemotron-3-nano-30b-a3b-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > NVIDIA Nemotron 3 Nano 30B A3B is a highly efficient small language Mixture of Experts (MoE) model developed by Nvidia. Designed to help developers build specialized agentic AI systems, it delivers exceptional compute efficiency and accuracy. Additionally, it features an impressive context length of 256,000 tokens to support extensive data processing. - Developer: Nvidia - Context window: 256,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nemotron-3-nano-30b-a3b-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"nemotron-3-nano-30b-a3b-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/nemotron-3-nano-30b-a3b-free - Try in browser: https://playground.aihubmix.com/?model=nemotron-3-nano-30b-a3b-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/nemotron-3-nano-30b-a3b-free.f8f50e67.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/nemotron-3-nano-30b-a3b-free/llms.txt --- # Qwen3.6 27B Model id on AIHubMix: `qwen3.6-27b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen3.6 series 27B native vision-language Dense model. Compared with the 3.5-27B, the model notably improves Agentic coding capability and further enhances STEM and reasoning abilities; on the visual modality side, spatial intelligence, object localization and detection capabilities are significantly strengthened, and video understanding, document OCR, and visual agent capabilities have steadily improved. - Developer: Qwen - Context window: 254,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, Structured outputs - Release date: 2026-04-22 - Pricing: $0.422/M input tokens, $2.532/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.6-27b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.6-27b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.6-27b - Try in browser: https://playground.aihubmix.com/?model=qwen3.6-27b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.6-27b.c3994cbe.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.6-27b/llms.txt --- # Qwen3.6 35B A3B Model id on AIHubMix: `qwen3.6-35b-a3b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen 3.6, the native vision-language Plus series model, demonstrates outstanding performance comparable to the current top cutting-edge models, with a significant improvement over the 3.5 series. The model's capabilities have been markedly enhanced in Agentic coding, front-end programming, Vibe coding and other coding abilities, universal multimodal recognition, OCR, object localization, and more. - Developer: Qwen - Context window: 254,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, Code interpreter, Structured outputs - Release date: 2026-04-16 - Pricing: $0.254/M input tokens, $1.524/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.6-35b-a3b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.6-35b-a3b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.6-35b-a3b - Try in browser: https://playground.aihubmix.com/?model=qwen3.6-35b-a3b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.6-35b-a3b.78e010ce.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.6-35b-a3b/llms.txt --- # Qwen3.6 Flash Model id on AIHubMix: `qwen3.6-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen 3.6, the native vision-language Plus series model, demonstrates outstanding performance comparable to the current top cutting-edge models, with a significant improvement over the 3.5 series. The model's capabilities have been markedly enhanced in Agentic coding, front-end programming, Vibe coding and other coding abilities, universal multimodal recognition, OCR, object localization, and more. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Pricing: $0.169/M input tokens, $1.014/M output tokens, $0.017/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.6-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.6-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.6-flash - Try in browser: https://playground.aihubmix.com/?model=qwen3.6-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.6-flash.9ad4183f.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.6-flash/llms.txt --- # Gemma 4 26B A4B It (free) Model id on AIHubMix: `gemma-4-26b-a4b-it-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemma 4 26B A4B IT is an instruction-tuned Mixture-of-Experts (MoE) model developed by Google DeepMind. Featuring an expansive context length of 262,144 tokens, it delivers near-31B quality with highly efficient inference. Despite its 25.2B total parameters, only 3.8B are activated per token, making it an incredibly fast and cost-effective solution. - Developer: Google - Context window: 262,144 tokens - Input modalities: text, image - Capabilities: Thinking, Tool calling, Web search, Document input - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemma-4-26b-a4b-it-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemma-4-26b-a4b-it-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemma-4-26b-a4b-it-free - Try in browser: https://playground.aihubmix.com/?model=gemma-4-26b-a4b-it-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemma-4-26b-a4b-it-free.a15a5547.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemma-4-26b-a4b-it-free/llms.txt --- # grok-4-20-non-reasoning Model id on AIHubMix: `grok-4-20-non-reasoning` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Grok 4.2 is xAI’s latest large language model, built for strong reasoning, multimodal understanding, and enterprise use. It improves instruction following, honesty, and calibration over earlier Grok versions, while supporting both single‑agent and multi‑agent workflows. Designed as a general‑purpose, truth‑seeking assistant, Grok 4.2 is well suited for research, analysis, coding, and complex professional tasks when deployed with appropriate guardrails. - Developer: Grok - Context window: 2,000,000 tokens - Input modalities: text, image - Capabilities: Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $2/M input tokens, $6/M output tokens, $0.2/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"grok-4-20-non-reasoning","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"grok-4-20-non-reasoning","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/grok-4-20-non-reasoning - Try in browser: https://playground.aihubmix.com/?model=grok-4-20-non-reasoning - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/grok-4-20-non-reasoning.f300c558.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/grok-4-20-non-reasoning/llms.txt --- # Grok 4 20 (reasoning) Model id on AIHubMix: `grok-4-20-reasoning` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Grok 4.2 is xAI’s latest large language model, built for strong reasoning, multimodal understanding, and enterprise use. It improves instruction following, honesty, and calibration over earlier Grok versions, while supporting both single‑agent and multi‑agent workflows. Designed as a general‑purpose, truth‑seeking assistant, Grok 4.2 is well suited for research, analysis, coding, and complex professional tasks when deployed with appropriate guardrails. - Developer: Grok - Context window: 2,000,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $2/M input tokens, $6/M output tokens, $0.2/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"grok-4-20-reasoning","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"grok-4-20-reasoning","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/grok-4-20-reasoning - Try in browser: https://playground.aihubmix.com/?model=grok-4-20-reasoning - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/grok-4-20-reasoning.d31dc916.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/grok-4-20-reasoning/llms.txt --- # Qwen Image 2.0 Model id on AIHubMix: `qwen-image-2.0` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen-Image-2.0 series accelerated models integrate image generation and image editing; they offer more professional text rendering with support for 1k-token instructions, finer realistic textures and delicate portrayal of photorealistic scenes, and stronger semantic adherence. The accelerated version effectively achieves an optimal balance between model quality and performance. - Developer: Qwen - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/qwen-image-2.0 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen-image-2.0","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `negative_prompt` | string,null | no | | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/qwen-image-2.0/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/qwen-image-2.0/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/qwen-image-2.0 - Try in browser: https://playground.aihubmix.com/?model=qwen-image-2.0 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen-image-2.0/llms.txt --- # Qwen Image 2.0 Pro Model id on AIHubMix: `qwen-image-2.0-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen-Image-2.0 full-powered models achieve the integration of image generation and image editing; they offer more professional text rendering with support for 1k-token instructions, more refined photorealistic textures and delicate depiction of realistic scenes, and stronger semantic adherence. The full-powered version delivers the strongest text rendering capability and realism in the 2.0 series. - Developer: Qwen - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/qwen-image-2.0-pro ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen-image-2.0-pro","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `negative_prompt` | string,null | no | | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/qwen-image-2.0-pro/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/qwen-image-2.0-pro/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/qwen-image-2.0-pro - Try in browser: https://playground.aihubmix.com/?model=qwen-image-2.0-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen-image-2.0-pro/llms.txt --- # Coding MiniMax M3 (free) Model id on AIHubMix: `coding-minimax-m3-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding-minimax-m3-free is a free and open version offered by AIHubMix specifically for MiniMax users. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: Minimax - Context window: 204,800 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-minimax-m3-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-minimax-m3-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-minimax-m3-free - Try in browser: https://playground.aihubmix.com/?model=coding-minimax-m3-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-minimax-m3-free.f4f99210.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-minimax-m3-free/llms.txt --- # Doubao Seedance 2.0 260128 Model id on AIHubMix: `doubao-seedance-2-0-260128` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Doubao large-model team has launched a new-generation professional-grade multimodal video-creation model, Seedance 2.0. It supports images, videos, and audio as multimodal reference inputs to generate videos, and also offers video editing and extension capabilities. It can accurately reproduce various details while maintaining stable character features, delivers highly realistic audiovisual stability, and is deeply adapted to core scenarios such as commercial advertising, film and TV production, and social media marketing. - Developer: ByteDance - Input modalities: image, text - Pricing: per-generation — see https://aihubmix.com/model/doubao-seedance-2-0-260128 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seedance-2-0-260128","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "adaptive" | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, … | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | true | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 480p, 720p, 1080p, null | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/doubao-seedance-2-0-260128/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/doubao-seedance-2-0-260128/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/doubao-seedance-2-0-260128 - Try in browser: https://playground.aihubmix.com/?model=doubao-seedance-2-0-260128 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seedance-2-0-260128/llms.txt --- # Doubao Seedance 2.0 Fast 260128 Model id on AIHubMix: `doubao-seedance-2-0-fast-260128` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Seedance 2.0 fast is a next-generation multimodal video-creation model launched by the Doubao large-model team; it inherits the core features and advantages of Seedance 2.0 and generates content faster. - Developer: Doubao - Input modalities: image, text - Pricing: per-generation — see https://aihubmix.com/model/doubao-seedance-2-0-fast-260128 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seedance-2-0-fast-260128","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "adaptive" | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, … | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | true | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 480p, 720p, null | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/doubao-seedance-2-0-fast-260128/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/doubao-seedance-2-0-fast-260128/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/doubao-seedance-2-0-fast-260128 - Try in browser: https://playground.aihubmix.com/?model=doubao-seedance-2-0-fast-260128 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seedance-2-0-fast-260128/llms.txt --- # Doubao Seedance 2.0 Mini 260615 Model id on AIHubMix: `doubao-seedance-2-0-mini-260615` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Seedance 2.0 mini is a next-generation, cost-effective video generation model launched to address broader video-generation needs. While maintaining competitive performance, it brings video-generation capabilities to lower barriers to entry, more frequent use, and more scalable/large-scale application scenarios. - Developer: ByteDance - Input modalities: image, text - Pricing: per-generation — see https://aihubmix.com/model/doubao-seedance-2-0-mini-260615 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seedance-2-0-mini-260615","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, … | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | true | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "720p" | 480p, 720p, null | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/doubao-seedance-2-0-mini-260615/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/doubao-seedance-2-0-mini-260615/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/doubao-seedance-2-0-mini-260615 - Try in browser: https://playground.aihubmix.com/?model=doubao-seedance-2-0-mini-260615 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seedance-2-0-mini-260615/llms.txt --- # GLM 5.1 Model id on AIHubMix: `glm-5.1` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5.1 is Zhipu's latest flagship model, with greatly enhanced coding capabilities and significantly improved long-range task performance. It can continuously and autonomously work for up to 8 hours on a single task, completing the full closed loop from planning and execution to iterative optimization, delivering engineering-grade results. In terms of general capability and coding ability, GLM-5.1's overall performance aligns with Claude Opus 4.6, and it demonstrates stronger sustained work capability in long-range autonomous execution, complex engineering optimization, and real-world development scenarios, making it an ideal foundation for building Autonomous Agents and long-horizon Coding Agents. - Developer: Z.AI - Context window: 200,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $0.845/M input tokens, $3.38/M output tokens, $0.183/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-5.1","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"glm-5.1","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/glm-5.1 - Try in browser: https://playground.aihubmix.com/?model=glm-5.1 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/glm-5.1.39b9b2f9.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-5.1/llms.txt --- # GLM Image Model id on AIHubMix: `glm-image` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-Image is Zhipu AI's new flagship image generation model. The model is trained entirely on domestic chips and adopts an original hybrid architecture combining "autoregressive + diffusion decoder," balancing global instruction understanding with local detail depiction. It overcomes generation challenges in knowledge-intensive scenarios such as posters, PPTs, and popular science illustrations. This represents an important exploration towards the new generation of "cognitive generation" technology paradigms exemplified by Nano Banana Pro. - Developer: Z.AI - Input modalities: text - Pricing: per-generation — see https://aihubmix.com/model/glm-image ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-image","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `prompt` | string | yes | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/glm-image/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/glm-image/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/glm-image - Try in browser: https://playground.aihubmix.com/?model=glm-image - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-image/llms.txt --- # Qwen3.6 Plus Model id on AIHubMix: `qwen3.6-plus` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen 3.6, the native vision-language Plus series model, demonstrates outstanding performance comparable to the current top cutting-edge models, with a significant improvement over the 3.5 series. The model's capabilities have been markedly enhanced in Agentic coding, front-end programming, Vibe coding and other coding abilities, universal multimodal recognition, OCR, object localization, and more. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Pricing: $0.282/M input tokens, $1.692/M output tokens, $0.028/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.6-plus","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.6-plus","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.6-plus - Try in browser: https://playground.aihubmix.com/?model=qwen3.6-plus - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.6-plus.bac04376.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.6-plus/llms.txt --- # Wan2.7 I2v Model id on AIHubMix: `wan2.7-i2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wanxiang 2.7 — image-to-video: performance capabilities comprehensively upgraded. Dramatic/dialogue scenes convey delicate, natural emotions; action scenes are fierce, with every punch landing hard. Combined with more dramatic, rhythmically paced camera cuts, it achieves stronger overall performance. - Developer: Qwen - Input modalities: image, text - Pricing: per-generation — see https://aihubmix.com/model/wan2.7-i2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.7-i2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "1080p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.7-i2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.7-i2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.7-i2v - Try in browser: https://playground.aihubmix.com/?model=wan2.7-i2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.7-i2v/llms.txt --- # Wan2.7 R2v Model id on AIHubMix: `wan2.7-r2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wanxiang 2.7 — reference-driven video generation: more stable references for characters, props, and scenes; supports up to five mixed image/video references; supports audio/timbre references; combined with foundational capability upgrades to deliver stronger performance. - Developer: Qwen - Input modalities: text, video - Pricing: per-generation — see https://aihubmix.com/model/wan2.7-r2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.7-r2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, null | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "1080p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.7-r2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.7-r2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.7-r2v - Try in browser: https://playground.aihubmix.com/?model=wan2.7-r2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.7-r2v/llms.txt --- # Wan2.7 T2v Model id on AIHubMix: `wan2.7-t2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wanxiang 2.7 — text-to-video: performance capabilities comprehensively upgraded. Dramatic/dialogue scenes convey delicate, natural emotions; action scenes are intense, with every punch landing hard. Paired with more dramatic and rhythmically paced camera cuts, it achieves stronger overall acting performance. - Developer: Qwen - Input modalities: text - Pricing: per-generation — see https://aihubmix.com/model/wan2.7-t2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.7-t2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, null | | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "1080p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.7-t2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.7-t2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.7-t2v - Try in browser: https://playground.aihubmix.com/?model=wan2.7-t2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.7-t2v/llms.txt --- # Wan2.7 Videoedit Model id on AIHubMix: `wan2.7-videoedit` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wanxiang 2.7 — video editing: edit videos using natural-language commands, supporting local or global edits; can use reference images to replace video elements; supports replicating video actions, special effects, camera movements, and other dynamic processes. - Developer: Qwen - Input modalities: text, video - Pricing: per-generation — see https://aihubmix.com/model/wan2.7-videoedit ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.7-videoedit","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, 1:1, 4:3, 3:4, null | | `duration` | integer|null | no | | | | `extra` | object,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "1080p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.7-videoedit/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.7-videoedit/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.7-videoedit - Try in browser: https://playground.aihubmix.com/?model=wan2.7-videoedit - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.7-videoedit/llms.txt --- # Gemma 4 26B A4B It Model id on AIHubMix: `gemma-4-26b-a4b-it` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > A Mixture-of-Experts model that activates only 4B parameters per inference,delivering high-performance reasoning with a fraction of the memory cost - idealfor cost-efficient, high-throughput server deployments. - Developer: Google - Context window: 262,100 tokens - Capabilities: Thinking, Tool calling, Web search, Document input - Pricing: $0.14/M input tokens, $0.4/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemma-4-26b-a4b-it","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemma-4-26b-a4b-it","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemma-4-26b-a4b-it - Try in browser: https://playground.aihubmix.com/?model=gemma-4-26b-a4b-it - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemma-4-26b-a4b-it.9686e631.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemma-4-26b-a4b-it/llms.txt --- # Gemma 4 31B It Model id on AIHubMix: `gemma-4-31b-it` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license. - Developer: Google - Context window: 262,100 tokens - Capabilities: Thinking, Tool calling, Web search, Document input - Pricing: $0.14/M input tokens, $0.4/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemma-4-31b-it","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemma-4-31b-it","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemma-4-31b-it - Try in browser: https://playground.aihubmix.com/?model=gemma-4-31b-it - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemma-4-31b-it.53a1e9ae.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemma-4-31b-it/llms.txt --- # GPT 5.4 Model id on AIHubMix: `gpt-5.4` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.4 is our frontier model for complex professional work.Reasoning.effort supports: none (default), low, medium, high and xhigh. - Developer: OpenAI - Context window: 400,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, File search, Structured outputs, Prompt caching, Server-side sessions - Release date: 2026-03-05 - Pricing: $2.5/M input tokens, $15/M output tokens, $0.25/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.4","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.4","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.4 - Try in browser: https://playground.aihubmix.com/?model=gpt-5.4 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.4.ac73c60f.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.4/llms.txt --- # Wan2.7 Image Model id on AIHubMix: `wan2.7-image` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wanxiang 2.7 — image generation and editing: supports text-to-image, text-to-multi-image, image-to-multi-image, image editing, multi-image reference generation, and interactive editing, with stronger performance in text rendering, subject consistency, and following complex instructions. - Developer: Qwen - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/wan2.7-image ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.7-image","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.7-image/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.7-image/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.7-image - Try in browser: https://playground.aihubmix.com/?model=wan2.7-image - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.7-image/llms.txt --- # Wan2.7 Image Pro Model id on AIHubMix: `wan2.7-image-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wanxiang 2.7 — image generation and editing: supports text-to-image, text-to-multi-image, image-to-multi-image, image editing, multi-image reference generation, and interactive editing, with stronger performance in text rendering, subject consistency, and following complex instructions. - Developer: Qwen - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/wan2.7-image-pro ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.7-image-pro","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.7-image-pro/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.7-image-pro/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.7-image-pro - Try in browser: https://playground.aihubmix.com/?model=wan2.7-image-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.7-image-pro/llms.txt --- # Claude Sonnet 4.6 Model id on AIHubMix: `claude-sonnet-4-6` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Sonnet 4.6 delivers frontier intelligence at scale—built for coding, agents, and enterprise workflows. Use cases include: Agents: Sonnet 4.6 excels at complex, multi-step tasks requiring sustained reasoning and adaptive decision-making—ideal for workflows where reliability and autonomy matter most. Coding: Sonnet 4.6 is built for iterative development work, handling complex codebases without losing quality as you guide it through building, refactoring, and debugging. It can compress multi-day projects into hours with the technical depth to deliver production-ready solutions. Enterprise workflows: Sonnet 4.6 powers agents that manage professional projects from start to finish, leveraging memory to maintain context across files with a step-change improvement in creating spreadsheets, slides, and docs. Financial analysis: Sonnet 4.6 connects the dots across regulatory filings, market reports, and internal data—enabling sophisticated modeling and proactive compliance. Cybersecurity: Sonnet 4.6 brings professional-grade analysis to security workflows, correlating logs, vulnerability databases, and threat intelligence for proactive threat detection and automated incident response. Computer use: Sonnet 4.6 delivers confident, consistent navigation with more human-like browsing—enabling better web QA, workflow automation, and advanced user experiences. - Developer: Anthropic - Context window: 1,000,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $3/M input tokens, $15/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/claude-sonnet-4-6:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-sonnet-4-6","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-sonnet-4-6","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-sonnet-4-6 - Try in browser: https://playground.aihubmix.com/?model=claude-sonnet-4-6 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-sonnet-4-6.47ea5bdf.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-sonnet-4-6/llms.txt --- # Coding Xiaomi Mimo V2.5 Model id on AIHubMix: `coding-xiaomi-mimo-v2.5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Only supports OpenAI-compatible formats. - Developer: Xiaomi - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $0.08/M input tokens, $0.16/M output tokens, $0.0016/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-xiaomi-mimo-v2.5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-xiaomi-mimo-v2.5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-xiaomi-mimo-v2.5 - Try in browser: https://playground.aihubmix.com/?model=coding-xiaomi-mimo-v2.5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-xiaomi-mimo-v2.5.014ff20b.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-xiaomi-mimo-v2.5/llms.txt --- # Coding Xiaomi Mimo V2.5 Pro Model id on AIHubMix: `coding-xiaomi-mimo-v2.5-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Only supports OpenAI-compatible formats. - Developer: Xiaomi - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $0.2/M input tokens, $0.4/M output tokens, $0.0016/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-xiaomi-mimo-v2.5-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-xiaomi-mimo-v2.5-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-xiaomi-mimo-v2.5-pro - Try in browser: https://playground.aihubmix.com/?model=coding-xiaomi-mimo-v2.5-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-xiaomi-mimo-v2.5-pro.7492264c.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-xiaomi-mimo-v2.5-pro/llms.txt --- # Doubao Seed 2.0 Lite 260428 Model id on AIHubMix: `doubao-seed-2-0-lite-260428` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Doubao Coding model optimized for real-world programming environments that can reliably invoke tools in common IDEs such as Claude Code. The model is specially optimized for frontend capabilities and performs well with common frontend frameworks. The model supports Skills and can work with various custom skills. - Developer: Doubao - Context window: 256,000 tokens - Input modalities: text, image, video, audio - Capabilities: Thinking, Tool calling, Web search, File search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: $0.09/M input tokens, $0.542/M output tokens, $0.018/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seed-2-0-lite-260428","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"doubao-seed-2-0-lite-260428","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/doubao-seed-2-0-lite-260428 - Try in browser: https://playground.aihubmix.com/?model=doubao-seed-2-0-lite-260428 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/doubao-seed-2-0-lite-260428.5b52ded1.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seed-2-0-lite-260428/llms.txt --- # Doubao Seed 2.0 Mini 260428 Model id on AIHubMix: `doubao-seed-2-0-mini-260428` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Doubao Coding model optimized for real-world programming environments that can reliably invoke tools in common IDEs such as Claude Code. The model is specially optimized for frontend capabilities and performs well with common frontend frameworks. The model supports Skills and can work with various custom skills. - Developer: Doubao - Context window: 256,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, File search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: $0.028/M input tokens, $0.282/M output tokens, $0.0056/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seed-2-0-mini-260428","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"doubao-seed-2-0-mini-260428","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/doubao-seed-2-0-mini-260428 - Try in browser: https://playground.aihubmix.com/?model=doubao-seed-2-0-mini-260428 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/doubao-seed-2-0-mini-260428.f8edcaef.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seed-2-0-mini-260428/llms.txt --- # Gemini 3.1 Pro Preview Model id on AIHubMix: `gemini-3.1-pro-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 3.1 Pro Preview is designed to further optimize the performance and reliability of the Gemini 3 Pro series, offering improved reasoning capabilities, greater token efficiency, and a more robust, factually consistent user experience. It is optimized for software-engineering behaviors and usability, and is also suitable for agent workflows that require precise tool invocation and reliable multi-step execution, enabling stable operation across a variety of real-world scenarios. - Developer: Google - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, File search, Structured outputs, Prompt caching - Release date: 2026-02-19 - Pricing: $2/M input tokens, $12/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.1-pro-preview:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.1-pro-preview","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.1-pro-preview","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.1-pro-preview - Try in browser: https://playground.aihubmix.com/?model=gemini-3.1-pro-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.1-pro-preview.9a1a9f0e.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.1-pro-preview/llms.txt --- # Gemini 3.1 Pro Preview Customtools Model id on AIHubMix: `gemini-3.1-pro-preview-customtools` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > gemini-3.1-pro-preview-customtools For users who build applications mixing bash and custom tools, the Gemini 3.1 Pro preview provides a separate endpoint accessible via the API call gemini-3.1-pro-preview-customtools. This endpoint is better at prioritizing your custom tools (for example, view_file or search_code). Please note that while gemini-3.1-pro-preview-customtools is optimized for agent workflows that use custom tools and Bash, you may experience quality fluctuations in some use cases that cannot benefit from these tools. - Developer: Google - Context window: 1,000,000 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, File search, Structured outputs, Prompt caching - Pricing: $2/M input tokens, $12/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /gemini/v1beta/models/gemini-3.1-pro-preview-customtools:generateContent` — Google Gemini (`x-goog-api-key: $AIHUBMIX_API_KEY`; streaming: `:streamGenerateContent?alt=sse`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.1-pro-preview-customtools","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.1-pro-preview-customtools","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.1-pro-preview-customtools - Try in browser: https://playground.aihubmix.com/?model=gemini-3.1-pro-preview-customtools - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.1-pro-preview-customtools.f371fff9.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.1-pro-preview-customtools/llms.txt --- # Gemini 3.1 Pro Preview Search Model id on AIHubMix: `gemini-3.1-pro-preview-search` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini-3.1-pro-preview-search integrates Google's official search functionality; the search feature incurs an additional separate fee log directly incorporated into the scoring, but the log details are not displayed; this will be fixed in the future to show the details; it only supports OpenAI-compatible format calls and does not support the Gemini SDK; for the Gemini native SDK, please directly set the official search parameters. - Developer: Google - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, File search, Structured outputs, Prompt caching - Pricing: $2/M input tokens, $12/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3.1-pro-preview-search","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3.1-pro-preview-search","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3.1-pro-preview-search - Try in browser: https://playground.aihubmix.com/?model=gemini-3.1-pro-preview-search - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3.1-pro-preview-search.19f723b8.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3.1-pro-preview-search/llms.txt --- # GPT 5.4 Mini Model id on AIHubMix: `gpt-5.4-mini` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.4 mini is a faster, more efficient model that inherits the advantages of GPT-5.4 and is specifically optimized for high-volume workloads. - Developer: OpenAI - Context window: 400,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, File search, Structured outputs, Prompt caching - Release date: 2026-03-17 - Pricing: $0.75/M input tokens, $4.5/M output tokens, $0.075/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/responses` — OpenAI Responses (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/messages` — Anthropic Messages (`x-api-key: $AIHUBMIX_API_KEY` + `anthropic-version: 2023-06-01`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.4-mini","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.4-mini","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.4-mini - Try in browser: https://playground.aihubmix.com/?model=gpt-5.4-mini - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.4-mini.be025297.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.4-mini/llms.txt --- # GPT 5.4 Nano Model id on AIHubMix: `gpt-5.4-nano` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.4 nano is designed for tasks where speed and cost are most important, such as classification, data extraction, ranking, and sub-agent scenarios. - Developer: OpenAI - Context window: 400,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, File search, Structured outputs, Prompt caching - Release date: 2026-03-17 - Pricing: $0.2/M input tokens, $1.25/M output tokens, $0.02/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.4-nano","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.4-nano","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.4-nano - Try in browser: https://playground.aihubmix.com/?model=gpt-5.4-nano - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.4-nano.1b1e73fe.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.4-nano/llms.txt --- # GPT 5.5 (free) Model id on AIHubMix: `gpt-5.5-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > This free model API comes from the OpenAI model deployed on Azure. To prevent abuse, the external content filter provided by Azure has been enforced, which will result in additional delays. If you want to experience the full version of the model API without filters, please use the paid version and request the model name ID without "-free". To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, File search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.5-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.5-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.5-free - Try in browser: https://playground.aihubmix.com/?model=gpt-5.5-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.5-free.fc9c3d73.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.5-free/llms.txt --- # Qwen3.5 Plus Model id on AIHubMix: `qwen3.5-plus` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen 3.5 native vision-language Plus model is built on a hybrid architecture that integrates linear attention mechanisms with sparse mixture-of-experts models, achieving higher inference efficiency. In multiple task evaluations, the 3.5 series has demonstrated outstanding performance comparable to current leading frontier models, with leapfrog improvements over the 3 series in both pure-text and multimodal capabilities. This model version is functionally equivalent to the snapshot model qwen3.5-plus-2026-02-15. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Pricing: $0.11/M input tokens, $0.658/M output tokens, $0.011/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.5-plus","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.5-plus","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.5-plus - Try in browser: https://playground.aihubmix.com/?model=qwen3.5-plus - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.5-plus.52c98499.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.5-plus/llms.txt --- # Claude Sonnet 4.6 Thinking Model id on AIHubMix: `claude-sonnet-4-6-think` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude sonnet 4.6 does not enable reasoning mode by default. To access its deep reasoning capabilities, users would typically need to call the native Claude API. To make this capability available through an OpenAI-compatible interface, we provide the claude-sonnet-4-6-think model, which has reasoning mode pre-enabled and a default 32k-token context window, allowing it to be called directly via the OpenAI unified API. Claude sonnet 4.5 Think is a reasoning-focused variant of Claude sonnet 4.6 designed for advanced tasks that require rigorous reasoning, complex decision-making, and long-chain analysis. Aside from its enhanced reasoning mechanism, all other capabilities remain consistent with the standard Claude sonnet 4.6 model, making it well suited for complex engineering problem decomposition, multi-stage planning, and logic-intensive analysis. - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: image, text - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $3/M input tokens, $15/M output tokens, $0.3/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-sonnet-4-6-think","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-sonnet-4-6-think","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-sonnet-4-6-think - Try in browser: https://playground.aihubmix.com/?model=claude-sonnet-4-6-think - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-sonnet-4-6-think.10c63aa3.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-sonnet-4-6-think/llms.txt --- # Coding Xiaomi Mimo V2 Omni Model id on AIHubMix: `coding-xiaomi-mimo-v2-omni` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Only supports OpenAI-compatible formats. - Developer: Xiaomi - Input modalities: text - Capabilities: Tool calling - Pricing: $0.08/M input tokens, $0.4/M output tokens, $0.016/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-xiaomi-mimo-v2-omni","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-xiaomi-mimo-v2-omni","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-xiaomi-mimo-v2-omni - Try in browser: https://playground.aihubmix.com/?model=coding-xiaomi-mimo-v2-omni - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-xiaomi-mimo-v2-omni.58dfac11.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-xiaomi-mimo-v2-omni/llms.txt --- # Coding Xiaomi Mimo V2 Pro Model id on AIHubMix: `coding-xiaomi-mimo-v2-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Only supports OpenAI-compatible formats. - Developer: Xiaomi - Input modalities: text - Capabilities: Tool calling - Pricing: $0.2/M input tokens, $0.6/M output tokens, $0.04/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-xiaomi-mimo-v2-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-xiaomi-mimo-v2-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-xiaomi-mimo-v2-pro - Try in browser: https://playground.aihubmix.com/?model=coding-xiaomi-mimo-v2-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-xiaomi-mimo-v2-pro.5e3e9718.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-xiaomi-mimo-v2-pro/llms.txt --- # GPT 5.3 Chat Model id on AIHubMix: `gpt-5.3-chat-latest` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.3Chat refers to the GPT-5.3 snapshot currently used in ChatGPT and is optimized for conversational use cases. While GPT-5.2 is recommended for most API applications, GPT-5.3Chat is ideal for testing the latest improvements in chat-based interactions. - Developer: OpenAI - Context window: 128,000 tokens - Input modalities: text, image - Capabilities: Streaming, Tool calling, Web search, Code interpreter, File search, Structured outputs, Prompt caching - Pricing: $1.75/M input tokens, $14/M output tokens, $0.175/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.3-chat-latest","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.3-chat-latest","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.3-chat-latest - Try in browser: https://playground.aihubmix.com/?model=gpt-5.3-chat-latest - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.3-chat-latest.38ca5b1f.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.3-chat-latest/llms.txt --- # GPT-5.3-Codex Model id on AIHubMix: `gpt-5.3-codex` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.3-Codex is optimized for agentic coding tasks in Codex or similar environments. GPT-5.3-Codex supports low, medium, high, and xhigh reasoning effort settings. If you want to learn more about prompting GPT-5.3-Codex, refer to our dedicated guide. - Developer: OpenAI - Context window: 400,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: $1.75/M input tokens, $14/M output tokens, $0.175/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.3-codex","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.3-codex","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.3-codex - Try in browser: https://playground.aihubmix.com/?model=gpt-5.3-codex - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.3-codex.b826836c.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.3-codex/llms.txt --- # Qwen3.5 122B A10B Model id on AIHubMix: `qwen3.5-122b-a10b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen 3.5 native vision-language Plus model is built on a hybrid architecture that integrates linear attention mechanisms with sparse mixture-of-experts models, achieving higher inference efficiency. In multiple task evaluations, the 3.5 series has demonstrated outstanding performance comparable to current leading frontier models, with leapfrog improvements over the 3 series in both pure-text and multimodal capabilities. This model version is functionally equivalent to the snapshot model qwen3.5-plus-2026-02-15. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, Code interpreter, Structured outputs - Pricing: $0.113/M input tokens, $0.901/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.5-122b-a10b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.5-122b-a10b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.5-122b-a10b - Try in browser: https://playground.aihubmix.com/?model=qwen3.5-122b-a10b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.5-122b-a10b.3f7f4a5b.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.5-122b-a10b/llms.txt --- # Qwen3.5 27B Model id on AIHubMix: `qwen3.5-27b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen 3.5 native vision-language Plus model is built on a hybrid architecture that integrates linear attention mechanisms with sparse mixture-of-experts models, achieving higher inference efficiency. In multiple task evaluations, the 3.5 series has demonstrated outstanding performance comparable to current leading frontier models, with leapfrog improvements over the 3 series in both pure-text and multimodal capabilities. This model version is functionally equivalent to the snapshot model qwen3.5-plus-2026-02-15. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, Code interpreter, Structured outputs - Pricing: $0.085/M input tokens, $0.677/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.5-27b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.5-27b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.5-27b - Try in browser: https://playground.aihubmix.com/?model=qwen3.5-27b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.5-27b.1fedada2.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.5-27b/llms.txt --- # Qwen3.5 35B A3B Model id on AIHubMix: `qwen3.5-35b-a3b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen 3.5 native vision-language Plus model is built on a hybrid architecture that integrates linear attention mechanisms with sparse mixture-of-experts models, achieving higher inference efficiency. In multiple task evaluations, the 3.5 series has demonstrated outstanding performance comparable to current leading frontier models, with leapfrog improvements over the 3 series in both pure-text and multimodal capabilities. This model version is functionally equivalent to the snapshot model qwen3.5-plus-2026-02-15. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, Code interpreter, Structured outputs - Pricing: $0.056/M input tokens, $0.451/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.5-35b-a3b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.5-35b-a3b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.5-35b-a3b - Try in browser: https://playground.aihubmix.com/?model=qwen3.5-35b-a3b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.5-35b-a3b.90eb19be.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.5-35b-a3b/llms.txt --- # Qwen3.5 397B A17B Model id on AIHubMix: `qwen3.5-397b-a17b` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen 3.5 native vision-language Plus model is built on a hybrid architecture that integrates linear attention mechanisms with sparse mixture-of-experts models, achieving higher inference efficiency. In multiple task evaluations, the 3.5 series has demonstrated outstanding performance comparable to current leading frontier models, with leapfrog improvements over the 3 series in both pure-text and multimodal capabilities. This model version is functionally equivalent to the snapshot model qwen3.5-plus-2026-02-15. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, Code interpreter, Structured outputs - Pricing: $0.164/M input tokens, $0.986/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.5-397b-a17b","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.5-397b-a17b","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.5-397b-a17b - Try in browser: https://playground.aihubmix.com/?model=qwen3.5-397b-a17b - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.5-397b-a17b.67ee4e68.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.5-397b-a17b/llms.txt --- # Qwen3.5 Flash Model id on AIHubMix: `qwen3.5-flash` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen3.5 native vision-language Flash series models are designed with a hybrid architecture that integrates linear attention mechanisms and sparse mixture-of-experts models, achieving higher inference efficiency. Compared with the 3 series, the models deliver leapfrog improvements in both pure-text and multimodal performance; they respond quickly and combine inference speed with high performance. - Developer: Qwen - Context window: 991,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Structured outputs, Prompt caching - Pricing: $0.028/M input tokens, $0.282/M output tokens, $0.0028/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3.5-flash","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3.5-flash","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3.5-flash - Try in browser: https://playground.aihubmix.com/?model=qwen3.5-flash - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3.5-flash.69e7020e.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3.5-flash/llms.txt --- # Coding GLM 5.1 Model id on AIHubMix: `coding-glm-5.1` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Only supports OpenAI-compatible formats. - Developer: Z.AI - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $0.06/M input tokens, $0.22/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-glm-5.1","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-glm-5.1","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-glm-5.1 - Try in browser: https://playground.aihubmix.com/?model=coding-glm-5.1 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-glm-5.1.93e62148.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-glm-5.1/llms.txt --- # Doubao Seed 2.0 Pro Model id on AIHubMix: `doubao-seed-2-0-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Doubao flagship all-purpose general model, targeting complex reasoning and long-chain task execution scenarios in the Agent era. It emphasizes multimodal understanding, long-context reasoning, structured generation, and tool-augmented execution. It excels at handling complex instructions and multi-constraint execution, reliably addressing multi-step complex planning, intricate image-text reasoning, video content understanding, and high-difficulty analysis scenarios. - Developer: Doubao - Context window: 256,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, File search, Document input, Prompt caching, Server-side sessions - Pricing: $0.482/M input tokens, $2.411/M output tokens, $0.096/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seed-2-0-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"doubao-seed-2-0-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/doubao-seed-2-0-pro - Try in browser: https://playground.aihubmix.com/?model=doubao-seed-2-0-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/doubao-seed-2-0-pro.9c90cfce.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seed-2-0-pro/llms.txt --- # GPT 5.4 High Model id on AIHubMix: `gpt-5.4-high` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.4 supports configurable reasoning effort only through the /responses endpoint. To make higher-intensity reasoning available directly via the /chat interface, GPT-5.4-High is provided as a reasoning-enhanced variant of GPT-5.4 with reasoning_effort preset to high. It is designed for tasks that require deeper analysis, stronger result consistency, and greater controllability. By applying more aggressive reasoning strategies and more effective use of extended context, the model delivers clearer and more reliable responses, making it well suited for complex agent workflows, long-chain decision-making, and reliability-critical advanced applications. - Developer: OpenAI - Context window: 400,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, File search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: $2.5/M input tokens, $15/M output tokens, $0.25/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.4-high","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.4-high","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.4-high - Try in browser: https://playground.aihubmix.com/?model=gpt-5.4-high - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.4-high.b66725d8.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.4-high/llms.txt --- # GPT 5.4 Low Model id on AIHubMix: `gpt-5.4-low` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GPT-5.4 supports configuring reasoning strength only through the /responses endpoint. To make lower-overhead reasoning available directly in the /chat endpoint, the GPT-5.4-Low model is provided. This model is based on GPT-5.4 with reasoning_effort preset to low. This model is designed for use cases that are sensitive to response latency and cost. By adopting a lighter reasoning strategy, it delivers stable responses with lower latency and higher throughput. It is well suited for high-concurrency conversations, real-time interactions, basic Q&A, and scenarios where deep reasoning is not required. - Developer: OpenAI - Context window: 400,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, File search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: $2.5/M input tokens, $15/M output tokens, $0.25/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.4-low","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.4-low","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.4-low - Try in browser: https://playground.aihubmix.com/?model=gpt-5.4-low - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.4-low.6e77943d.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.4-low/llms.txt --- # GPT 5.4 Pro Model id on AIHubMix: `gpt-5.4-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Please note: this model is extremely expensive and very slow. If a request fails due to network issues, you may still be charged heavily; we cannot refund charges incurred by requests to this model. GPT-5.4 pro is available in the Responses API only to enable support for multi-turn model interactions before responding to API requests, and other advanced API features in the future. Since GPT-5.4 pro is designed to tackle tough problems, some requests may take several minutes to finish. To avoid timeout, please set a longer timeout duration. It is recommended to use this under good network conditions. - Developer: OpenAI - Context window: 1,050,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Computer use, File search, Prompt caching, Background mode - Pricing: $30/M input tokens, $180/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gpt-5.4-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gpt-5.4-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gpt-5.4-pro - Try in browser: https://playground.aihubmix.com/?model=gpt-5.4-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gpt-5.4-pro.50a130a5.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gpt-5.4-pro/llms.txt --- # Qwen3 Coder Next Model id on AIHubMix: `qwen3-coder-next` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Qwen3 series is a next-generation code-generation model with results close to Qwen3-Coder-Plus while offering superior performance. The model is optimized for repository-level understanding, supports multi-turn tool interactions, and improves compatibility with agentic coding tools. - Developer: Qwen - Context window: 2,000,000 tokens - Input modalities: text - Pricing: $0.137/M input tokens, $0.548/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen3-coder-next","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"qwen3-coder-next","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/qwen3-coder-next - Try in browser: https://playground.aihubmix.com/?model=qwen3-coder-next - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/qwen3-coder-next.cf8f6512.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen3-coder-next/llms.txt --- # Xiaomi Mimo V2 Omni (free) Model id on AIHubMix: `xiaomi-mimo-v2-omni-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > xiaomi-mimo-v2-omni-free is the open free version of xiaomi-mimo-v2-omni. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: Xiaomi - Context window: 256,000 tokens - Input modalities: text, image, video, audio - Capabilities: Tool calling - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"xiaomi-mimo-v2-omni-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"xiaomi-mimo-v2-omni-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/xiaomi-mimo-v2-omni-free - Try in browser: https://playground.aihubmix.com/?model=xiaomi-mimo-v2-omni-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/xiaomi-mimo-v2-omni-free.ff7be7b5.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/xiaomi-mimo-v2-omni-free/llms.txt --- # Xiaomi Mimo V2 Pro (free) Model id on AIHubMix: `xiaomi-mimo-v2-pro-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > xiaomi-mimo-v2-pro-free is the open free version of xiaomi-mimo-v2-pro. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: Xiaomi - Context window: 256,000 tokens - Input modalities: text, image, video, audio - Capabilities: Tool calling - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"xiaomi-mimo-v2-pro-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"xiaomi-mimo-v2-pro-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/xiaomi-mimo-v2-pro-free - Try in browser: https://playground.aihubmix.com/?model=xiaomi-mimo-v2-pro-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/xiaomi-mimo-v2-pro-free.5f934291.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/xiaomi-mimo-v2-pro-free/llms.txt --- # Xiaomi Mimo V2.5 (free) Model id on AIHubMix: `xiaomi-mimo-v2.5-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > xiaomi-mimo-v2.5-free is the open free version of xiaomi-mimo-v2.5. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: Xiaomi - Context window: 256,000 tokens - Input modalities: text, image, video, audio - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"xiaomi-mimo-v2.5-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"xiaomi-mimo-v2.5-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/xiaomi-mimo-v2.5-free - Try in browser: https://playground.aihubmix.com/?model=xiaomi-mimo-v2.5-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/xiaomi-mimo-v2.5-free.a9b69273.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/xiaomi-mimo-v2.5-free/llms.txt --- # Xiaomi Mimo V2.5 Pro (free) Model id on AIHubMix: `xiaomi-mimo-v2.5-pro-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > xiaomi-mimo-v2.5-pro-free is the open free version of xiaomi-mimo-v2.5-pro5. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: Xiaomi - Context window: 256,000 tokens - Input modalities: text, image, video, audio - Capabilities: Thinking, Streaming, Tool calling, Web search, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"xiaomi-mimo-v2.5-pro-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"xiaomi-mimo-v2.5-pro-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/xiaomi-mimo-v2.5-pro-free - Try in browser: https://playground.aihubmix.com/?model=xiaomi-mimo-v2.5-pro-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/xiaomi-mimo-v2.5-pro-free.3842690e.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/xiaomi-mimo-v2.5-pro-free/llms.txt --- # Claude Opus 4.6 Model id on AIHubMix: `claude-opus-4-6` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Opus 4.6 is Anthropic’s latest state-of-the-art reasoning model. It features an adaptive “thinking” mode that dynamically decides when to think and how much to think. At the default effort level (high), Claude will almost always engage in thinking. At lower effort levels, it may skip thinking for simple problems. ⚠️ The minimum cache token for claude-opus-4-6 has been increased from 1,024 to 4,096 tokens. - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-6","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-4-6","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-4-6 - Try in browser: https://playground.aihubmix.com/?model=claude-opus-4-6 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-4-6.ff3edc35.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-4-6/llms.txt --- # Coding GLM 5.1 (free) Model id on AIHubMix: `coding-glm-5.1-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding-glm-5.1-free is the open and free version of coding-glm-5.1. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: Z.AI - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-glm-5.1-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-glm-5.1-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-glm-5.1-free - Try in browser: https://playground.aihubmix.com/?model=coding-glm-5.1-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-glm-5.1-free.47979f88.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-glm-5.1-free/llms.txt --- # Coding MiniMax M2.7 (free) Model id on AIHubMix: `coding-minimax-m2.7-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding-minimax-m2.7-free is a free and open version offered by AIHubMix specifically for MiniMax users. To maintain reliable service, each account is limited to 5 requests per minute, 500 requests per day, and 1 million tokens per day. - Developer: Minimax - Context window: 204,800 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-minimax-m2.7-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-minimax-m2.7-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-minimax-m2.7-free - Try in browser: https://playground.aihubmix.com/?model=coding-minimax-m2.7-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-minimax-m2.7-free.3f6e4f3c.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-minimax-m2.7-free/llms.txt --- # GLM 5 Model id on AIHubMix: `glm-5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5 is an advanced, open-source large language model designed for developers tackling the toughest challenges. It excels at long-context reasoning, multi-step tool orchestration, and complex systems engineering, making it the ideal choice for powering sophisticated agents and applications that require high-level cognitive tasks. - Developer: Z.AI - Context window: 202,752 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $0.88/M input tokens, $2.816/M output tokens, $0.176/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"glm-5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/glm-5 - Try in browser: https://playground.aihubmix.com/?model=glm-5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/glm-5.e58c2c96.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-5/llms.txt --- # GLM 5 Vision Turbo Model id on AIHubMix: `glm-5v-turbo` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5V-Turbo is Zhipu's first multimodal coding foundation model, built for visual programming tasks. It can natively handle multimodal inputs such as images, videos, and text, and is adept at long-horizon planning, complex programming, and action execution; deeply adapted to Agent workflows, it can collaborate closely with agents like Claude Code and OpenClaw to complete the full closed loop of "understand the environment → plan actions → execute tasks." - Developer: Z.AI - Context window: 200,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Streaming, Document input, Prompt caching - Pricing: $0.704/M input tokens, $3.098/M output tokens, $0.169/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-5v-turbo","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"glm-5v-turbo","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/glm-5v-turbo - Try in browser: https://playground.aihubmix.com/?model=glm-5v-turbo - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/glm-5v-turbo.89bb9a8b.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-5v-turbo/llms.txt --- # MiniMax M2.7 Model id on AIHubMix: `minimax-m2.7` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > MiniMax M2.7 can autonomously build complex Agent Harnesses and, leveraging capabilities such as Agent Teams, complex Skills, and the Tool Search tool, complete highly complex productivity tasks. - Developer: Minimax - Context window: 200,000 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Pricing: $0.296/M input tokens, $1.183/M output tokens, $0.059/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"minimax-m2.7","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"minimax-m2.7","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/minimax-m2.7 - Try in browser: https://playground.aihubmix.com/?model=minimax-m2.7 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/minimax-m2.7.84bf5826.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/minimax-m2.7/llms.txt --- # Claude Opus 4.6 Thinking Model id on AIHubMix: `claude-opus-4-6-think` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Opus 4.6 does not enable reasoning mode by default. To access its deep reasoning capabilities, users would typically need to call the native Claude API. To make this capability available through an OpenAI-compatible interface, we provide the claude-opus-4-6-think model, which has reasoning mode pre-enabled and a default 32k-token context window, allowing it to be called directly via the OpenAI unified API. Claude Opus 4.5 Think is a reasoning-focused variant of Claude Opus 4.6 designed for advanced tasks that require rigorous reasoning, complex decision-making, and long-chain analysis. Aside from its enhanced reasoning mechanism, all other capabilities remain consistent with the standard Claude Opus 4.6 model, making it well suited for complex engineering problem decomposition, multi-stage planning, and logic-intensive analysis. - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: image, text - Capabilities: Thinking, Streaming, Tool calling, Web search, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-6-think","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-4-6-think","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-4-6-think - Try in browser: https://playground.aihubmix.com/?model=claude-opus-4-6-think - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-4-6-think.ea3c7077.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-4-6-think/llms.txt --- # Coding GLM 5 (free) Model id on AIHubMix: `coding-glm-5-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding-glm-5-free is the open and free version of coding-glm-5. To ensure stable service performance, usage limits are in place: up to 5 requests per minute, 500 requests per day, and a daily token allowance of 1 million. - Developer: Z.AI - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-glm-5-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-glm-5-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-glm-5-free - Try in browser: https://playground.aihubmix.com/?model=coding-glm-5-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-glm-5-free.7665c1db.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-glm-5-free/llms.txt --- # Coding GLM 5 Turbo (free) Model id on AIHubMix: `coding-glm-5-turbo-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding-glm-5-turbo-free is the open and free version of coding-glm-5-turbo. To ensure stable service performance, usage limits are in place: up to 5 requests per minute, 500 requests per day, and a daily token allowance of 1 million. - Developer: Z.AI - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-glm-5-turbo-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-glm-5-turbo-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-glm-5-turbo-free - Try in browser: https://playground.aihubmix.com/?model=coding-glm-5-turbo-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-glm-5-turbo-free.7a29b7c4.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-glm-5-turbo-free/llms.txt --- # Coding MiniMax M2.5 (free) Model id on AIHubMix: `coding-minimax-m2.5-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > coding-minimax-m2.5-free is a free and open version offered by AIHubMix specifically for MiniMax users. To maintain stable service operations, the following usage limits apply: a maximum of 5 requests per minute, 500 total requests per day, and a daily quota of 1 million tokens. - Developer: Minimax - Context window: 204,800 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"coding-minimax-m2.5-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"coding-minimax-m2.5-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/coding-minimax-m2.5-free - Try in browser: https://playground.aihubmix.com/?model=coding-minimax-m2.5-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/coding-minimax-m2.5-free.0684c9d9.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/coding-minimax-m2.5-free/llms.txt --- # Doubao Seed 2.0 Code Preview Model id on AIHubMix: `doubao-seed-2-0-code-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Doubao 2.0 series is a coding model optimized for real programming environments, capable of reliably invoking tools in common IDEs such as Claude Code. The model is specially optimized for frontend capabilities and performs well with common frontend frameworks. The model supports using Skills and can work with various custom skills. - Developer: Doubao - Context window: 256,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, File search, Document input, Prompt caching, Server-side sessions - Pricing: $0.482/M input tokens, $2.411/M output tokens, $0.096/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seed-2-0-code-preview","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"doubao-seed-2-0-code-preview","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/doubao-seed-2-0-code-preview - Try in browser: https://playground.aihubmix.com/?model=doubao-seed-2-0-code-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/doubao-seed-2-0-code-preview.410b9473.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seed-2-0-code-preview/llms.txt --- # Doubao Seed 2.0 Lite 260215 Model id on AIHubMix: `doubao-seed-2-0-lite-260215` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Doubao Coding model optimized for real-world programming environments that can reliably invoke tools in common IDEs such as Claude Code. The model is specially optimized for frontend capabilities and performs well with common frontend frameworks. The model supports Skills and can work with various custom skills. - Developer: Doubao - Context window: 256,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, File search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: $0.09/M input tokens, $0.542/M output tokens, $0.018/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seed-2-0-lite-260215","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"doubao-seed-2-0-lite-260215","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/doubao-seed-2-0-lite-260215 - Try in browser: https://playground.aihubmix.com/?model=doubao-seed-2-0-lite-260215 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/doubao-seed-2-0-lite-260215.81783eee.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seed-2-0-lite-260215/llms.txt --- # Doubao Seed 2.0 Mini Model id on AIHubMix: `doubao-seed-2-0-mini` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Doubao 2.0 series is designed for low-latency, high-concurrency, and cost-sensitive scenarios, emphasizing fast responses and flexible inference deployment. Model performance is comparable to Doubao-Seed-1.6. It supports a 256k context window, four levels of thinking length, and multimodal understanding, making it suitable for lightweight tasks that prioritize cost and speed. - Developer: Doubao - Context window: 256,000 tokens - Input modalities: text, image, video - Capabilities: Thinking, Tool calling, Web search, File search, Document input, Structured outputs, Prompt caching, Server-side sessions - Pricing: $0.03/M input tokens, $0.301/M output tokens, $0.006/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seed-2-0-mini","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"doubao-seed-2-0-mini","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/doubao-seed-2-0-mini - Try in browser: https://playground.aihubmix.com/?model=doubao-seed-2-0-mini - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/doubao-seed-2-0-mini.e78142d6.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seed-2-0-mini/llms.txt --- # Gemini 3 Flash Preview Model id on AIHubMix: `gemini-3-flash-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > gemini-3-flash-preview is Google's latest released, most balanced model, excelling in speed, scale, and cutting-edge intelligence. - Developer: Google - Context window: 1,048,576 tokens - Input modalities: text, image, audio - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, Computer use, File search, Structured outputs, Prompt caching - Pricing: $0.5/M input tokens, $3/M output tokens, $0.05/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3-flash-preview","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3-flash-preview","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3-flash-preview - Try in browser: https://playground.aihubmix.com/?model=gemini-3-flash-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3-flash-preview.30cafef4.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3-flash-preview/llms.txt --- # Gemini 3 Flash Preview Search Model id on AIHubMix: `gemini-3-flash-preview-search` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini-3-flash-preview-search integrates Google's official search functionality; the search feature incurs an additional separate fee log directly incorporated into the scoring, but the log details are not displayed; this will be fixed in the future to show the details; it only supports OpenAI-compatible format calls and does not support the Gemini SDK; for the Gemini native SDK, please directly set the official search parameters. - Developer: Google - Context window: 1,048,576 tokens - Input modalities: text, image, audio - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, Computer use, File search, Structured outputs, Prompt caching - Pricing: $0.5/M input tokens, $3/M output tokens, $0.05/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3-flash-preview-search","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3-flash-preview-search","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3-flash-preview-search - Try in browser: https://playground.aihubmix.com/?model=gemini-3-flash-preview-search - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3-flash-preview-search.07189bad.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3-flash-preview-search/llms.txt --- # GLM 5 Turbo Model id on AIHubMix: `glm-5-turbo` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > GLM-5-Turbo is a foundational model deeply optimized for the OpenClaw scenario. From the training stage it has been specifically optimized for the core requirements of OpenClaw tasks, enhancing key capabilities such as tool invocation, instruction following, scheduled and persistent tasks, and long-chain execution. - Developer: Z.AI - Context window: 202,752 tokens - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $1.2/M input tokens, $4/M output tokens, $0.24/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"glm-5-turbo","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"glm-5-turbo","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/glm-5-turbo - Try in browser: https://playground.aihubmix.com/?model=glm-5-turbo - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/glm-5-turbo.3d1ace7a.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/glm-5-turbo/llms.txt --- # CC GLM 5.1 Model id on AIHubMix: `cc-glm-5.1` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Supports Claude native interface, can be directly requested in Claude Code. - Developer: Z.AI - Input modalities: text - Capabilities: Thinking, Streaming, Tool calling, Structured outputs, Prompt caching - Pricing: $0.06/M input tokens, $0.22/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"cc-glm-5.1","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"cc-glm-5.1","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/cc-glm-5.1 - Try in browser: https://playground.aihubmix.com/?model=cc-glm-5.1 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/cc-glm-5.1.c47ac5b0.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/cc-glm-5.1/llms.txt --- # Claude Opus 4.5 Model id on AIHubMix: `claude-opus-4-5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Opus 4.5 is Anthropic’s latest frontier reasoning model, optimized for complex engineering, agentic workflows, and long-horizon computer use. It features strong multimodal capabilities, improved resistance to prompt injection, and a new Verbosity parameter to control token efficiency. With advanced tool use, extended context, and multi-agent support, Opus 4.5 excels in autonomous research, debugging, planning, and spreadsheet/browser operations. ⚠️ The minimum cache token for claude-opus-4-5 has been increased from 1,024 to 4,096 tokens. - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-4-5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-4-5 - Try in browser: https://playground.aihubmix.com/?model=claude-opus-4-5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-4-5.19f52896.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-4-5/llms.txt --- # Claude Opus 4.5 Thinking Model id on AIHubMix: `claude-opus-4-5-think` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Opus 4.5 does not enable reasoning mode by default. To access its deep reasoning capabilities, users would typically need to call the native Claude API. To make this capability available through an OpenAI-compatible interface, we provide the claude-opus-4-5-think model, which has reasoning mode pre-enabled and a default 32k-token context window, allowing it to be called directly via the OpenAI unified API. Claude Opus 4.5 Think is a reasoning-focused variant of Claude Opus 4.5 designed for advanced tasks that require rigorous reasoning, complex decision-making, and long-chain analysis. Aside from its enhanced reasoning mechanism, all other capabilities remain consistent with the standard Claude Opus 4.5 model, making it well suited for complex engineering problem decomposition, multi-stage planning, and logic-intensive analysis. - Developer: Anthropic - Context window: 200,000 tokens - Input modalities: image, text - Capabilities: Thinking, Streaming, Tool calling, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Pricing: $5/M input tokens, $25/M output tokens, $0.5/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-opus-4-5-think","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-opus-4-5-think","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-opus-4-5-think - Try in browser: https://playground.aihubmix.com/?model=claude-opus-4-5-think - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-opus-4-5-think.e1feee89.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-opus-4-5-think/llms.txt --- # ERNIE Image Turbo Model id on AIHubMix: `ernie-image-turbo` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > The Ernie-image-Turbo model is an 8-step distilled version of the Ernie-image model, also with 8 billion parameters, offering a 6x speedup compared to pre-distillation, and is suitable for low-latency, local/on-device scenarios. - Developer: Baidu - Pricing: per-generation — see https://aihubmix.com/model/ernie-image-turbo ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"ernie-image-turbo","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `model` | string | yes | | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/ernie-image-turbo/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/ernie-image-turbo/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/ernie-image-turbo - Try in browser: https://playground.aihubmix.com/?model=ernie-image-turbo - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/ernie-image-turbo/llms.txt --- # MiMo V2 Omni Model id on AIHubMix: `mimo-v2-omni` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > MiMo-V2-Omni is designed for complex real-world multimodal interaction and execution scenarios. We've built an all-modal foundation from the ground up that fuses text, vision, and speech, and use a unified architecture to deeply bind "perception" and "action." This not only breaks the traditional models' limitation of emphasizing understanding over execution, but also natively equips the model with multimodal perception, tool invocation, function execution, and GUI operation capabilities. MiMo-V2-Omni can seamlessly integrate with major agent frameworks, achieving a leap from understanding to manipulation and significantly lowering the barrier to deploying full-modal agents. - Developer: Xiaomi - Context window: 256,000 tokens - Input modalities: text, image, video, audio - Capabilities: Tool calling - Pricing: $0.44/M input tokens, $2.2/M output tokens, $0.088/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"mimo-v2-omni","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"mimo-v2-omni","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/mimo-v2-omni - Try in browser: https://playground.aihubmix.com/?model=mimo-v2-omni - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/mimo-v2-omni.3051b465.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/mimo-v2-omni/llms.txt --- # MiMo V2 Pro Model id on AIHubMix: `mimo-v2-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Xiaomi MiMo-V2-Pro is built for high-intensity agent work scenarios in the real world. It has over 1 trillion total parameters (42B active parameters), employs an innovative hybrid-attention architecture, and supports an ultra-long 1M-token context length. On top of a powerful model foundation, we continuously scale compute across broader agent scenarios, further expanding the intelligent action space and achieving significant generalization from Coding to Claw. - Developer: Xiaomi - Context window: 1,000,000 tokens - Input modalities: text, image, video, audio - Capabilities: Tool calling - Pricing: $1.1/M input tokens, $3.3/M output tokens, $0.22/M cached input ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"mimo-v2-pro","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"mimo-v2-pro","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/mimo-v2-pro - Try in browser: https://playground.aihubmix.com/?model=mimo-v2-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/mimo-v2-pro.00417a58.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/mimo-v2-pro/llms.txt --- # Gemini 3 Flash Preview (free) Model id on AIHubMix: `gemini-3-flash-preview-free` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > gemini-3-flash-preview-free is the free, publicly available version of gemini-3-flash-preview, offering the same model capabilities with usage limits in place to ensure service stability. Limits include up to 5 requests per minute, a maximum of 250 requests per day, and a daily quota of 500,000 tokens. Free usage is based on shared capacity and is limited in availability. This version is intended for testing and light usage; for consistent and reliable access, please switch to the paid model. **Free tier of `gemini-3-flash-preview`.** The capability list and parameter schema below are those of `gemini-3-flash-preview` — the two ids are served by the same upstream model through the same gateway, so what the model can do is identical. What differs is quota: the free tier is rate- and volume-limited, and can return HTTP 429 where the paid id would not. Send requests with `"model":"gemini-3-flash-preview-free"`, not `"gemini-3-flash-preview"`. For the paid id's own document see https://aihubmix.com/model/gemini-3-flash-preview/llms.txt. - Developer: Google - Context window: 1,048,576 tokens - Input modalities: text, image, audio, video - Capabilities: Thinking, Tool calling, Web search, URL context, Code interpreter, Computer use, File search, Structured outputs, Prompt caching - Pricing: free tier / see model page ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-3-flash-preview-free","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"gemini-3-flash-preview-free","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/gemini-3-flash-preview-free - Try in browser: https://playground.aihubmix.com/?model=gemini-3-flash-preview-free - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/gemini-3-flash-preview.30cafef4.json — per-protocol parameters with types, ranges, enums and defaults, published under `gemini-3-flash-preview` (same upstream model). Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find `gemini-3-flash-preview`, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-3-flash-preview-free/llms.txt --- # Veo 3.1 Lite Generate Preview Model id on AIHubMix: `veo-3.1-lite-generate-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Veo 3.1 is Google's state-of-the-art model for generating high-fidelity, 8-second 720p , 1080p videos featuring stunning realism and natively generated audio. - Developer: Google - Input modalities: text, image, video - Pricing: per-generation — see https://aihubmix.com/model/veo-3.1-lite-generate-preview ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"veo-3.1-lite-generate-preview","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, null | | `duration` | integer|null | no | 8 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | | 720p, 1080p, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/veo-3.1-lite-generate-preview/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/veo-3.1-lite-generate-preview/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/veo-3.1-lite-generate-preview - Try in browser: https://playground.aihubmix.com/?model=veo-3.1-lite-generate-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/veo-3.1-lite-generate-preview/llms.txt --- # Doubao Seedream 5.0 Lite Model id on AIHubMix: `doubao-seedream-5.0-lite` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Doubao-Seedream-5.0-lite is the latest image-creation model released by ByteDance. For the first time, the model includes an online retrieval capability, allowing it to integrate real-time web information and improve the timeliness of generated images. At the same time, the model’s intelligence has been further upgraded, enabling it to accurately parse complex instructions and visual content. In addition, the model has been enhanced in terms of breadth of world knowledge, reference consistency, and generation quality in professional scenarios, better meeting enterprise-level visual-creation needs. - Developer: Doubao - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/doubao-seedream-5.0-lite ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seedream-5.0-lite","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `output_format` | string,null | no | "jpeg" | png, jpeg | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/doubao-seedream-5.0-lite/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/doubao-seedream-5.0-lite/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/doubao-seedream-5.0-lite - Try in browser: https://playground.aihubmix.com/?model=doubao-seedream-5.0-lite - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seedream-5.0-lite/llms.txt --- # Claude Haiku 4.5 Model id on AIHubMix: `claude-haiku-4-5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Claude Haiku 4.5 is a fast, affordable, and highly capable AI model, excelling at coding and agentic tasks. Its combination of speed and low cost makes it ideal for powering real-time applications like chatbots, high-volume free services, and specialized "sub-agents" for complex tasks in coding, finance, and research. It can also handle common business tasks like creating office documents and assisting with strategy and analysis. ⚠️ The minimum cache token for claude-haiku-4-5 has been increased from 1,024 to 4,096 tokens. - Developer: Anthropic - Context window: 204,800 tokens - Input modalities: text, image - Capabilities: Thinking, Streaming, Tool calling, Code interpreter, Computer use, Memory tool, Structured outputs, Citations, Prompt caching - Release date: 2025-10-01 - Pricing: $1.1/M input tokens, $5.5/M output tokens ## Endpoints (base URL: https://aihubmix.com) - `POST /v1/chat/completions` — OpenAI Chat Completions (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/v1/chat/completions \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"claude-haiku-4-5","messages":[{"role":"user","content":"Hello"}]}' ``` ## Response Without `stream`, `/v1/chat/completions` returns a standard Chat Completions object: ```json {"id":"...","object":"chat.completion","model":"claude-haiku-4-5","choices":[{"message":{"role":"assistant","content":"..."}}],"usage":{"prompt_tokens":12,"completion_tokens":24,"total_tokens":36}} ``` With `"stream": true` the response is `text/event-stream`: read each `data:` JSON chunk until `data: [DONE]`. The Messages and Gemini endpoints return their protocols' native response shapes (Anthropic / Google). ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Model page: https://aihubmix.com/model/claude-haiku-4-5 - Try in browser: https://playground.aihubmix.com/?model=claude-haiku-4-5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Full parameter schema (machine-readable, authoritative): https://aihubmix.com/model-data/models/claude-haiku-4-5.d443cae4.json — per-protocol parameters with types, ranges, enums and defaults. Refreshed together with this page; if it ever 404s, re-resolve via `https://aihubmix.com/model-data/index.json` (find this id, fetch its `path`) - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/claude-haiku-4-5/llms.txt --- # Gemini 2.5 Flash Image Model id on AIHubMix: `gemini-2.5-flash-image` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Gemini 2.5 Flash Image (Nano-Banana) is a state-of-the-art image generation and editing model that enables seamless blending of multiple images into a single composition while maintaining character consistency for rich visual storytelling. It supports precise, targeted image transformations through natural language instructions and leverages built-in world knowledge for both image generation and editing, making it well suited for creative design, content production, advertising, and visual expression workflows. - Developer: Google - Input modalities: image, text - Pricing: per-generation — see https://aihubmix.com/model/gemini-2.5-flash-image ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"gemini-2.5-flash-image","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `negative_prompt` | string,null | no | | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/gemini-2.5-flash-image/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/gemini-2.5-flash-image/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/gemini-2.5-flash-image - Try in browser: https://playground.aihubmix.com/?model=gemini-2.5-flash-image - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/gemini-2.5-flash-image/llms.txt --- # Musesteamer Air Image Model id on AIHubMix: `musesteamer-air-image` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > musesteamer-air-image is a text-to-image model developed by the Baidu Search team aimed at providing extreme cost-effectiveness. It can quickly generate clear images with coherent actions based on user prompts, making it easy to convert users' descriptions into images. - Developer: Baidu - Pricing: per-generation — see https://aihubmix.com/model/musesteamer-air-image ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"musesteamer-air-image","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/musesteamer-air-image/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/musesteamer-air-image/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/musesteamer-air-image - Try in browser: https://playground.aihubmix.com/?model=musesteamer-air-image - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/musesteamer-air-image/llms.txt --- # Doubao Seedream 4.5 Model id on AIHubMix: `doubao-seedream-4-5` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Seedream 4.5 is ByteDance's latest multimodal image model, integrating capabilities such as text-to-image, image-to-image, and multi-image output, along with incorporating common sense and reasoning abilities. Compared to the previous 4.0 model, it significantly improves generation quality, offering better editing consistency and multi-image fusion effects, with more precise control over image details. The generation of small text and small faces is more natural. - Developer: Doubao - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/doubao-seedream-4-5 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seedream-4-5","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/doubao-seedream-4-5/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/doubao-seedream-4-5/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/doubao-seedream-4-5 - Try in browser: https://playground.aihubmix.com/?model=doubao-seedream-4-5 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seedream-4-5/llms.txt --- # Sora 2 Model id on AIHubMix: `sora-2` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Sora-2 is the next-generation text-to-video model evolved from Sora, optimized for higher visual realism, stronger physical consistency, and longer temporal coherence. It delivers more stable character consistency, complex motion rendering, camera control, and narrative continuity, while supporting higher resolutions and minute-level video generation for film production, advertising, virtual content creation, and creative multimedia workflows. - Developer: OpenAI - Pricing: per-generation — see https://aihubmix.com/model/sora-2 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"sora-2","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 4 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/sora-2/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/sora-2/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/sora-2 - Try in browser: https://playground.aihubmix.com/?model=sora-2 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/sora-2/llms.txt --- # Sora 2 Pro Model id on AIHubMix: `sora-2-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > OpenAI video model Sora2-pro official API. - Developer: OpenAI - Pricing: per-generation — see https://aihubmix.com/model/sora-2-pro ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"sora-2-pro","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 4 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/sora-2-pro/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/sora-2-pro/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/sora-2-pro - Try in browser: https://playground.aihubmix.com/?model=sora-2-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/sora-2-pro/llms.txt --- # Wan2.6 I2v Model id on AIHubMix: `wan2.6-i2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wan 2.6 - Text-to-Video generation features intelligent storyboard scheduling supporting multi-shot narration, higher quality sound generation, stable multi-person dialogue, more natural and realistic voice tones, and supports video generation up to 15 seconds in length. - Developer: Qwen - Input modalities: image, text - Pricing: per-generation — see https://aihubmix.com/model/wan2.6-i2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.6-i2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "1080p" | 720p, 1080p, null | | `seed` | integer,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.6-i2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.6-i2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.6-i2v - Try in browser: https://playground.aihubmix.com/?model=wan2.6-i2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.6-i2v/llms.txt --- # Wan2.6 T2v Model id on AIHubMix: `wan2.6-t2v` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Wan 2.6 - Text-to-Video generation features intelligent storyboard scheduling supporting multi-shot narration, higher quality sound generation, stable multi-person dialogue, more natural and realistic voice tones, and supports video generation up to 15 seconds in length. - Developer: Qwen - Input modalities: text - Pricing: per-generation — see https://aihubmix.com/model/wan2.6-t2v ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.6-t2v","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.6-t2v/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.6-t2v/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.6-t2v - Try in browser: https://playground.aihubmix.com/?model=wan2.6-t2v - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.6-t2v/llms.txt --- # Flux 2 Flex Model id on AIHubMix: `flux-2-flex` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > FLUX.2 is purpose-built for real-world creative production workflows. It delivers high-quality images while maintaining character and style consistency across multiple reference images, shows exceptional understanding and execution of structured prompts, and supports complex text reading and writing. It also adheres to brand guidelines, handles lighting, layout, and logo elements with stability, and enables image editing at resolutions up to 4MP — all while preserving fine details, striking a balance between creativity and professional-grade visual output. - Developer: Flux - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/flux-2-flex ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"flux-2-flex","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/flux-2-flex/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/flux-2-flex/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/flux-2-flex - Try in browser: https://playground.aihubmix.com/?model=flux-2-flex - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/flux-2-flex/llms.txt --- # Flux 2 Pro Model id on AIHubMix: `flux-2-pro` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > FLUX.2 is purpose-built for real-world creative production workflows. It delivers high-quality images while maintaining character and style consistency across multiple reference images, shows exceptional understanding and execution of structured prompts, and supports complex text reading and writing. It also adheres to brand guidelines, handles lighting, layout, and logo elements with stability, and enables image editing at resolutions up to 4MP — all while preserving fine details, striking a balance between creativity and professional-grade visual output. - Developer: Flux - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/flux-2-pro ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"flux-2-pro","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/flux-2-pro/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/flux-2-pro/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/flux-2-pro - Try in browser: https://playground.aihubmix.com/?model=flux-2-pro - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/flux-2-pro/llms.txt --- # Wan2.5 I2v Preview Model id on AIHubMix: `wan2.5-i2v-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Tongyi Wanxiang 2.5 - Text-to-Video Preview features a newly upgraded technical architecture, supporting sound generation synchronized with visuals, 10-second long video generation, stronger instruction-following capabilities, and further improvements in motion ability and visual quality. - Developer: Qwen - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/wan2.5-i2v-preview ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.5-i2v-preview","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | "1080p" | 480p, 720p, 1080p, null | | `seed` | integer,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.5-i2v-preview/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.5-i2v-preview/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.5-i2v-preview - Try in browser: https://playground.aihubmix.com/?model=wan2.5-i2v-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.5-i2v-preview/llms.txt --- # Wan2.5 T2v Preview Model id on AIHubMix: `wan2.5-t2v-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Tongyi Wanxiang 2.5 - Text-to-Video Preview, newly upgraded model architecture, supports sound generation synchronized with visuals, supports 10-second long video generation, enhanced instruction compliance, improved motion capability, and further enhanced visual quality. - Developer: Qwen - Input modalities: text - Pricing: per-generation — see https://aihubmix.com/model/wan2.5-t2v-preview ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.5-t2v-preview","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `duration` | integer|null | no | 5 | | | `extra` | object,null | no | | | | `generate_audio` | boolean,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.5-t2v-preview/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.5-t2v-preview/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.5-t2v-preview - Try in browser: https://playground.aihubmix.com/?model=wan2.5-t2v-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.5-t2v-preview/llms.txt --- # Veo 3.1 Fast Generate Preview Model id on AIHubMix: `veo-3.1-fast-generate-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Veo 3.1 is Google's state-of-the-art model for generating high-fidelity, 8-second 720p , 1080p or 4k videos featuring stunning realism and natively generated audio. - Developer: Google - Input modalities: text, image, video - Pricing: per-generation — see https://aihubmix.com/model/veo-3.1-fast-generate-preview ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"veo-3.1-fast-generate-preview","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, null | | `duration` | integer|null | no | 8 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | | 720p, 1080p, 4K, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/veo-3.1-fast-generate-preview/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/veo-3.1-fast-generate-preview/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/veo-3.1-fast-generate-preview - Try in browser: https://playground.aihubmix.com/?model=veo-3.1-fast-generate-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/veo-3.1-fast-generate-preview/llms.txt --- # Veo 3.1 Generate Preview Model id on AIHubMix: `veo-3.1-generate-preview` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Veo 3.1 is Google's state-of-the-art model for generating high-fidelity, 8-second 720p , 1080p or 4k videos featuring stunning realism and natively generated audio. - Developer: Google - Input modalities: text, image, video - Pricing: per-generation — see https://aihubmix.com/model/veo-3.1-generate-preview ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /ai/v1/videos/{id}` until a terminal state - `POST /v1/videos` — video generation (`Authorization: Bearer $AIHUBMIX_API_KEY`); async — poll `GET /v1/videos/{id}` until a terminal state ## Example ```bash curl -s https://aihubmix.com/ai/v1/videos \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"veo-3.1-generate-preview","prompt":""}' ``` The response contains a task id — poll `GET https://aihubmix.com/ai/v1/videos/` until `status` is terminal, then read the output URL(s). Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (video endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | "16:9" | 16:9, 9:16, null | | `duration` | integer|null | no | 8 | | | `extra` | object,null | no | | | | `frame_images` | array,null | no | | | | `generate_audio` | boolean,null | no | | | | `input_references` | array,null | no | | | | `model` | string | yes | | | | `prompt` | string | yes | | | | `resolution` | string,null | no | | 720p, 1080p, 4K, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_url` | string,null | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/veo-3.1-generate-preview/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/veo-3.1-generate-preview/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/veo-3.1-generate-preview - Try in browser: https://playground.aihubmix.com/?model=veo-3.1-generate-preview - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/veo-3.1-generate-preview/llms.txt --- # Doubao Seedream 4.0 Model id on AIHubMix: `doubao-seedream-4-0` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Seedream 4.0 is a SOTA-level multimodal image creation model based on leading architecture. It breaks the creative boundaries of traditional text-to-image models by natively supporting text, single image, and multiple image inputs. Users can freely combine text and images to achieve various creative styles within the same model, such as multi-image fusion creation based on subject consistency, image editing, and set image generation, making image creation more flexible and controllable. Seedream 4.0 supports composite editing with up to 10 images in a single input. Through deep reasoning of prompt words, it automatically adapts the optimal image aspect ratio and generation quantity, enabling continuous output of up to 15 content-related images at one time. Additionally, the model significantly improves the accuracy and content diversity of Chinese generation, supports 4K ultra-high-definition output, and provides a one-stop solution from generation to editing for professional image creation. - Developer: Doubao - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/doubao-seedream-4-0 ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"doubao-seedream-4-0","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/doubao-seedream-4-0/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/doubao-seedream-4-0/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/doubao-seedream-4-0 - Try in browser: https://playground.aihubmix.com/?model=doubao-seedream-4-0 - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/doubao-seedream-4-0/llms.txt --- # Qwen Image Model id on AIHubMix: `qwen-image` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen-Image is a foundational image generation model in the Qwen series, achieving significant progress in complex text rendering and precise image editing. Experiments show that the model has strong general capabilities in image generation and editing, especially excelling in Chinese text rendering. - Developer: Qwen - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/qwen-image ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen-image","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `negative_prompt` | string,null | no | | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/qwen-image/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/qwen-image/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/qwen-image - Try in browser: https://playground.aihubmix.com/?model=qwen-image - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen-image/llms.txt --- # Qwen Image Edit Model id on AIHubMix: `qwen-image-edit` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen-Image-Edit is the image editing version of Qwen-Image. Based on the 20B Qwen-Image model, Qwen-Image-Edit successfully extends Qwen-Image's unique text rendering capabilities to image editing tasks, achieving precise text editing. Additionally, Qwen-Image-Edit can input the same image into Qwen2.5-VL (for visual semantic control) and the VAE encoder (for visual appearance control), enabling both semantic and appearance editing functionalities. - Developer: Qwen - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/qwen-image-edit ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/edits` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen-image-edit","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `image` | - | no | | | | `images` | array,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `negative_prompt` | string,null | no | | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/qwen-image-edit/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/qwen-image-edit/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/qwen-image-edit - Try in browser: https://playground.aihubmix.com/?model=qwen-image-edit - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen-image-edit/llms.txt --- # Qwen Image Max Model id on AIHubMix: `qwen-image-max` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms > Qwen-Image-Edit is the image editing version of Qwen-Image. Based on the 20B Qwen-Image model, Qwen-Image-Edit successfully extends Qwen-Image's unique text rendering capabilities to image editing tasks, achieving precise text editing. Additionally, Qwen-Image-Edit can input the same image into Qwen2.5-VL (for visual semantic control) and the VAE encoder (for visual appearance control), enabling both semantic and appearance editing functionalities. - Developer: Qwen - Input modalities: text, image - Pricing: per-generation — see https://aihubmix.com/model/qwen-image-max ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"qwen-image-max","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `negative_prompt` | string,null | no | | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/qwen-image-max/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/qwen-image-max/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/qwen-image-max - Try in browser: https://playground.aihubmix.com/?model=qwen-image-max - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/qwen-image-max/llms.txt --- # Wan2.6 T2i Model id on AIHubMix: `wan2.6-t2i` Create an API key: https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms - Developer: Qwen - Input modalities: image, text - Pricing: per-generation — see https://aihubmix.com/model/wan2.6-t2i ## Endpoints (base URL: https://aihubmix.com) - `POST /ai/v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) - `POST /v1/images/generations` — image generation (`Authorization: Bearer $AIHUBMIX_API_KEY`) ## Example ```bash curl -s https://aihubmix.com/ai/v1/images/generations \ -H "Authorization: Bearer $AIHUBMIX_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"wan2.6-t2i","prompt":""}' ``` The response carries the output URL(s) directly. Full parameter list: see the schema link below. Generation costs real money — check the price on the model page first. ## Parameters (image endpoint) | name | type | required | default | enum | |---|---|---|---|---| | `aspect_ratio` | string,null | no | | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2, … | | `async` | boolean | no | false | | | `extra` | object,null | no | | | | `model` | string | yes | | | | `n` | integer,null | no | 1 | | | `output_format` | string,null | no | "png" | png, jpeg, webp, null | | `prompt` | string | yes | | | | `response_format` | string,null | no | "url" | url, b64_json, null | | `seed` | integer,null | no | | | | `size` | string,null | no | | | | `webhook_events_filter` | array | no | | | | `webhook_url` | string | no | | | Always-current parameter schema (authoritative, no auth): ```bash curl -s https://aihubmix.com/call/schema/models/wan2.6-t2i/endpoints ``` Output URLs are short-lived (roughly 30 minutes) and are downloaded with the same `Authorization: Bearer` header — fetch them promptly and store the content yourself. ## Errors Error responses carry a `tid` (trace id) — include it when contacting support. Reference: https://docs.aihubmix.com/en/FAQs/HTTP-Codes.md - 400 — parameter error; most are passed through from the upstream provider (media: `prompt_missing`, `size_not_supported`, `n_not_within_range`, …) - 401 — missing `Authorization` header, or the key is invalid/expired - 403 — `insufficient_user_quota` (top up at https://console.aihubmix.com/?utm_source=llms-agent&utm_medium=model-llms), account suspended, or this key is not allowed to use this model - 429 — rate limited; back off and retry - 503 — no channel can serve the request (check the model id and your access), or the upstream provider is throttling; retry later ## More - Machine-readable endpoint schema (no auth): https://aihubmix.com/call/schema/models/wan2.6-t2i/endpoints - Async task guide: https://docs.aihubmix.com/en/api/async-tasks.md - Model page: https://aihubmix.com/model/wan2.6-t2i - Try in browser: https://playground.aihubmix.com/?model=wan2.6-t2i - Compare with another model (human-facing, side-by-side specs and pricing): https://aihubmix.com/compare — pick this model and a peer there; published pairs are listed in https://aihubmix.com/sitemap-compare.xml, unpublished pairs 404 so do not compose the path by hand - Generate runnable code programmatically: npm `@aihubmix/codegen` — the generator behind the Playground's "Get Code" (4 protocols × 7 languages, media endpoints included); the body it builds is the exact wire body the Playground sends, so generated snippets and real requests cannot diverge. `@aihubmix/model-schema` (npm) translates the parameter schema above into codegen input - Site index for agents: https://aihubmix.com/llms.txt · Onboarding: https://aihubmix.com/agents.md --- Canonical version of this document: https://aihubmix.com/model/wan2.6-t2i/llms.txt