--- name: megaapi description: >- Call 257+ curated AI models (GPT, Claude, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM, MiniMax, Hy4, plus image, video, embedding, rerank and web tools) through MegaAPI's unified gateway at https://megaapi.ru. Use this skill when the user mentions MegaAPI, megaapi.ru or a MEGAAPI_API_KEY / sk-nexus- key; wants one API key across multiple AI vendors; or is configuring an OpenAI, Anthropic or Google GenAI SDK against MegaAPI. license: >- Proprietary. Official integration reference for MegaAPI.ru. Free to read and follow; API calls require a funded MegaAPI account. compatibility: >- Any coding agent or HTTP client. Verified with official OpenAI, Anthropic and Google GenAI SDKs, LangChain, Vercel AI SDK, Claude Code, Cursor, Cline, Codex CLI, Cherry Studio and Open WebUI. metadata: vendor: "MegaAPI.ru" homepage: "https://megaapi.ru" docs: "https://megaapi.ru/docs" developer_kit: "https://megaapi.ru/docs/developer-kit" api_key_env: "MEGAAPI_API_KEY" openai_base_url: "https://megaapi.ru/v1" anthropic_base_url: "https://megaapi.ru" gemini_base_url: "https://megaapi.ru" gemini_api_version: "v1beta" model_list_endpoint: "https://megaapi.ru/v1/models" model_registry: "https://megaapi.ru/model-registry.json" llms_index: "https://megaapi.ru/llms.txt" telegram_bot: "https://t.me/megaapibot" last_reviewed: "2026-11-25" --- # MegaAPI — one key, 257+ AI models, OpenAI / Anthropic / Gemini-compatible gateway MegaAPI (`https://megaapi.ru`) is a unified AI API gateway and browser studio (`https://megaapi.ru/studio`). Point an existing OpenAI, Anthropic, or Google GenAI SDK at MegaAPI with a single `sk-nexus-...` API key and one USDT pay-as-you-go balance (top up with Russian cards, SBP, or crypto via Telegram). No custom SDK is required. ## What MegaAPI is not - **No unattended agent self-registration.** Accounts and `sk-nexus-...` API keys are created by a human via Telegram (`https://t.me/megaapibot`) or `https://megaapi.ru/account`. Ask the user for their key and store it in `MEGAAPI_API_KEY`. - **No free `auto` routing.** Always pick an explicit active model ID from `https://megaapi.ru/model-registry.json` or `GET https://megaapi.ru/v1/models`. - **No cross-vendor fallback fields.** Fields like `models`, `route`, or `provider` are not supported; send one `model` per request and handle fallback in client code. ## Base URL — pick by SDK, not by model | SDK / Wire Format | `base_url` | Why | |---|---|---| | OpenAI SDK / LangChain / Vercel AI SDK / most clients | `https://megaapi.ru/v1` | The SDK appends `/chat/completions`, `/responses`, `/images/generations`, etc. | | Anthropic SDK / Claude Code / native Claude | `https://megaapi.ru` | The SDK appends `/v1/messages` itself. Adding `/v1` causes `/v1/v1/messages`. | | Google GenAI SDK / native Gemini | `https://megaapi.ru` with `api_version="v1beta"` | The SDK builds `/v1beta/models/{model}:generateContent` itself. | Never leave a trailing slash on `base_url`. ## Authentication & self-check Keys start with `sk-nexus-`. Read them from `MEGAAPI_API_KEY` (never hardcode or commit a key): - OpenAI & generic endpoints: `Authorization: Bearer $MEGAAPI_API_KEY` - Anthropic `/v1/messages`: `x-api-key: $MEGAAPI_API_KEY` and `anthropic-version: 2023-06-01` - Gemini `/v1beta/...`: `x-goog-api-key: $MEGAAPI_API_KEY` (or `Authorization: Bearer $MEGAAPI_API_KEY`) Verify a key without spending balance: ```bash curl -s -o /dev/null -w "%{http_code}\n" https://megaapi.ru/v1/models \ -H "Authorization: Bearer $MEGAAPI_API_KEY" ``` - `200` — key is valid and ready. - `401` / `403` — key is wrong or revoked; ask the user to copy it from `https://megaapi.ru/account` or `https://t.me/megaapibot`. - `402` — insufficient USDT balance; ask the user to top up in `https://megaapi.ru/account` or `https://t.me/megaapibot`. ## Endpoint map | Path | Method | Wire format / Purpose | |---|---|---| | `/v1/chat/completions` | POST | OpenAI Chat Completions (streaming SSE, tools, vision) | | `/v1/responses` | POST | OpenAI Responses API (including `gpt-5.4-pro`, `gpt-5.5-pro`, `web_search`) | | `/v1/messages` | POST | Anthropic Messages API (Prompt Caching, `output_config.effort`, adaptive thinking) | | `/v1beta/models/{model}:generateContent` | POST | Native Google Gemini (`generateContent` / `streamGenerateContent`) | | `/v1/embeddings` | POST | OpenAI Embeddings (`text-embedding-3-*`, `bge-m3`, etc.) | | `/v1/rerank` | POST | Reranking (`qwen3-rerank`, etc.) | | `/v1/moderations` | POST | Content moderation (`omni-moderation-latest`) | | `/v1/images/generations` | POST | Image generation (GPT-Image, Nano Banana, MAI-Image, FLUX.2, Seedream) | | `/v1/images/edits` | POST | Image editing / multi-reference fusion | | `/v1/audio/speech` | POST | Text-to-speech (`tts-1`, `tts-1-hd`) | | `/v1/videos` | POST | Async video generation (`oxygen-1.0` + `GET /v1/videos/{id}` + `/content`) | | `/v1/tools/search` | POST | DeepSeek Web Search (`query`, optional `count`, `freshness`, `domain` — no `model` field) | | `/v1/tools/fetch` | POST | DeepSeek URL Fetch (`url`, optional `max_length` — no `model` field) | | `/v1/models` | GET | Active models available to your key | ## Model IDs — verify before writing code Model IDs are **case-sensitive** and **dot-versioned** (e.g. `gpt-6.2-sol`, `gemini-4-neon`, `MAI-Image-2.7`, `MiniMax-H3`, `qwen4-max`). Page URL slugs use hyphens (`/models/gpt-6-2`), not dots. Always confirm live model IDs and current USDT prices from the public registry (no auth needed): ```bash curl -s https://megaapi.ru/model-registry.json | jq -r '.models[] | "\(.id)\t\(.modality)\t\(.billing)"' ``` Current highlights: - **Text:** `gemini-4-neon`, `gpt-6.2-astra`, `qwen4-max`, `deepseek-v4-1-flash-economy-261017`, `claude-fable-5-2`, `hy4`, `kimi-k3.1-pro`, `grok-4.7` - **Images:** `MAI-Image-2.7`, `MAI-Image-2.7-Flash`, `doubao-seedream-5-5-261028`, `seedream-5-5-261028`, `gpt-image-2.6-all`, `gpt-image-2.6-flare` - **Video:** `wan3.0-video`, `wan3.0-video-prime`, `oxygen-1.0`, `MiniMax-H3`, `doubao-seedance-2-5-260628`, `happyhorse-1.0-video-edit` - **Tools API:** `deepseek-search` (`/v1/tools/search`), `deepseek-fetch` (`/v1/tools/fetch`) ## Minimal recipes ### OpenAI SDK (Python) ```python import os from openai import OpenAI client = OpenAI( api_key=os.environ["MEGAAPI_API_KEY"], base_url="https://megaapi.ru/v1", ) resp = client.chat.completions.create( model="gemini-4-neon", messages=[{"role": "user", "content": "Hello from MegaAPI!"}], ) print(resp.choices[0].message.content) ``` ### Anthropic SDK (Python) ```python import os import anthropic client = anthropic.Anthropic( api_key=os.environ["MEGAAPI_API_KEY"], base_url="https://megaapi.ru", # no /v1 suffix ) msg = client.messages.create( model="claude-sonnet-5-5", max_tokens=1024, messages=[{"role": "user", "content": "Write quicksort in Python."}], ) print(msg.content[0].text) ``` ### DeepSeek Web Search & Fetch ```bash curl -s https://megaapi.ru/v1/tools/search \ -H "Authorization: Bearer $MEGAAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query": "FastAPI async lifespan", "count": 5}' curl -s https://megaapi.ru/v1/tools/fetch \ -H "Authorization: Bearer $MEGAAPI_API_KEY" \ -H "Content-Type: application/json" \ -d '{"url": "https://fastapi.tiangolo.com/"}' ``` ## Troubleshooting - **400 invalid parameter / unsupported endpoint:** Check the model's `endpoints` in `https://megaapi.ru/model-registry.json`. For example, `MAI-Image-*` does not accept `response_format` or `negative_prompt`; `gpt-5.4-pro`/`gpt-5.5-pro` require `/v1/responses`; `deepseek-search`/`deepseek-fetch` use `/v1/tools/*` (not `/v1/chat/completions`). - **402 insufficient balance:** Balance is pay-as-you-go in USDT; failed/4xx/5xx upstream calls refund holds automatically. - **404 on Anthropic:** Remove trailing `/v1` from `ANTHROPIC_BASE_URL` (must be `https://megaapi.ru`). - **Long image/reasoning calls timing out:** Set client timeout >= 300s (server waits up to 900s for image generation). --- # Full Active Model Catalog (257 models, USDT final prices) | Model ID | Vendor | Modality | Endpoints | Price (USDT) | Context | NEW | |---|---|---|---|---|---|---| | `gpt-realtime-2.1` | OpenAI | audio | POST /v1/audio/transcriptions | $6.0 / $36.0 per 1M | — | NEW | | `gpt-realtime-2.1-mini` | OpenAI | audio | POST /v1/audio/transcriptions | $0.9 / $3.6 per 1M | — | NEW | | `qwen3.5-omni-flash-realtime` | Qwen | audio | POST /v1/audio/transcriptions | $0.675 / $4.125 per 1M | — | NEW | | `qwen3.5-omni-plus-realtime` | Qwen | audio | POST /v1/audio/transcriptions | $2.07 / $12.375 per 1M | — | NEW | | `gemini-4-neon` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $4.5 / $22.5 per 1M | 1M | NEW | | `MAI-Image-2.7` | Microsoft | image | POST /v1/images/generations, POST /v1/images/edits | $0.18 / req | — | NEW | | `MAI-Image-2.7-Flash` | Microsoft | image | POST /v1/images/generations, POST /v1/images/edits | $0.09 / req | — | NEW | | `gpt-6.2-astra` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $12.0 / $60.0 per 1M (cached $0.6) | 1050K | NEW | | `gpt-6.2-sol` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.0 / $15.0 per 1M (cached $0.15) | 1050K | NEW | | `qwen4-max` | Qwen | text | POST /v1/chat/completions | $2.25 / $6.75 per 1M (cached $0.1125) | 1M | NEW | | `gemini-4-hydrogen` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $2.25 / $11.25 per 1M | 1M | NEW | | `doubao-seedream-5-5-261028` | ByteDance | image | POST /v1/images/generations, POST /v1/images/edits | $0.0525 / req | — | NEW | | `seedream-5-5-261028` | ByteDance | image | POST /v1/images/generations, POST /v1/images/edits | $0.0525 / req | — | NEW | | `gpt-image-2.6-all` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.0375 / req | — | NEW | | `gemini-4-carbon` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $3.0 / $15.0 per 1M | 1M | NEW | | `deepseek-v4-1-flash-economy-261017` | DeepSeek | text | POST /v1/chat/completions | $0.36 / $1.44 per 1M (cached $0.009) | 1M | NEW | | `claude-fable-5-2` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $11.4 / $57.0 per 1M (cached $0.285) | 1M | NEW | | `hy4` | Hunyuan | text | POST /v1/chat/completions | $1.275 / $3.825 per 1M (cached $0.0675) | 960K | NEW | | `gpt-image-2.6-flare` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.3 / req | — | NEW | | `gpt-image-2.6-sunburst` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.3 / req | — | NEW | | `gpt-6.1-terra` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.5 / $7.5 per 1M (cached $0.075) | 1050K | NEW | | `kimi-k3.1-pro` | Kimi | text | POST /v1/chat/completions | $3.0 / $15.0 per 1M (cached $0.3) | 1M | | | `kimi-k3.1-pro-highspeed` | Kimi | text | POST /v1/chat/completions | $6.0 / $30.0 per 1M (cached $0.3) | 1M | | | `deepseek-fetch` | DeepSeek | text | POST /v1/tools/fetch | $0.0014 / req | — | | | `deepseek-search` | DeepSeek | text | POST /v1/tools/search | $0.0014 / req | — | | | `deepseek-flash` | DeepSeek | text | POST /v1/chat/completions | $0.45 / $1.8 per 1M (cached $0.009) | 1M | | | `deepseek-v4.1-flash` | DeepSeek | text | POST /v1/chat/completions | $0.45 / $1.8 per 1M (cached $0.009) | 1M | | | `deepseek-v4.1-flash-1017` | DeepSeek | text | POST /v1/chat/completions | $0.45 / $1.8 per 1M (cached $0.009) | 1M | | | `gemini-4-argon` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $3.0 / $15.0 per 1M | 1M | | | `wan3.0-video` | Qwen | video | POST /api/studio/video/generate | 480: $0.0441/s, 720: $0.0882/s, 1080: $0.1764/s | — | | | `wan3.0-video-prime` | Qwen | video | POST /api/studio/video/generate | 480: $0.0945/s, 720: $0.189/s, 1080: $0.378/s | — | | | `claude-haiku-5-5` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $0.1425 / $0.7125 per 1M (cached $0.0142) | 1M | | | `gemini-nano-banana-2.1` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.0945 / req | — | | | `MAI-Image-2.6` | Microsoft | image | POST /v1/images/generations, POST /v1/images/edits | $0.18 / req | — | | | `MAI-Image-2.6-Flash` | Microsoft | image | POST /v1/images/generations, POST /v1/images/edits | $0.09 / req | — | | | `oxygen-1.0` | AZ8 | video | POST /v1/videos, GET /v1/videos/{video_id} | $0.03/s | — | | | `gpt-6.1-sol` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.0 / $15.0 per 1M (cached $0.15) | 1050K | | | `claude-sonnet-5-5` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $2.85 / $14.25 per 1M (cached $0.1425) | 1M | | | `MiniMax-H3` | MiniMax | video | POST /api/studio/video/generate | $0.045/s | — | | | `grok-4.7` | xAI | text | POST /v1/chat/completions | $3.0 / $9.0 per 1M (cached $0.75) | 500K | | | `seedream-5-0-flash-260915` | ByteDance | image | POST /v1/images/generations, POST /v1/images/edits | $0.027 / req | — | | | `gpt-6-luna` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.15 / $0.75 per 1M (cached $0.015) | 1050K | | | `gpt-6-sol` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.0 / $15.0 per 1M (cached $0.3) | 1050K | | | `claude-opus-5-5` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $5.7 / $28.5 per 1M (cached $0.285) | 1M | | | `deepseek-v4-1-flash-260910` | DeepSeek | text | POST /v1/chat/completions | $0.225 / $0.9 per 1M (cached $0.0045) | 1M | | | `gpt-image-2.5-all` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.0375 / req | — | | | `gpt-image-2.5-flare` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.3 / req | — | | | `gpt-image-2.5-flare-2026-09-08` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $7.5 / $45.0 per 1M | — | | | `gpt-image-2.5-flare-vip` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.045 / req | — | | | `gpt-image-2.5-sunburst` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.3 / req | — | | | `gpt-image-2.5-sunburst-2026-09-08` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $7.5 / $45.0 per 1M | — | | | `gpt-image-2.5-sunburst-vip` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.045 / req | — | | | `gpt-image-2.5-vip` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.045 / req | — | | | `glm-5-3-flash-260828` | GLM | text | POST /v1/chat/completions | $0.225 / $0.75 per 1M (cached $0.045) | 1M | | | `glm-5.3` | GLM | text | POST /v1/chat/completions | $2.1 / $6.594 per 1M (cached $0.3885) | 1M | | | `glm-5.3-flash` | GLM | text | POST /v1/chat/completions | $0.225 / $0.75 per 1M (cached $0.045) | 1M | | | `gpt-6-astra` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $15.0 / $75.0 per 1M (cached $1.5) | 1050K | | | `claude-fable-5-1` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $14.25 / $71.25 per 1M (cached $0.3562) | 1M | | | `gemini-3.8-flash` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $1.125 / $5.625 per 1M | — | | | `qwen3.8-2.4t-a95b` | Qwen | text | POST /v1/chat/completions | $2.58 / $7.74 per 1M (cached $0.3225) | 1M | | | `qwen3.8-27b` | Qwen | text | POST /v1/chat/completions | $0.66 / $2.64 per 1M (cached $0.132) | 1M | | | `qwen3.8-flash` | Qwen | text | POST /v1/chat/completions | $0.171 / $0.5814 per 1M (cached $0.0214) | 1M | | | `qwen3.8-max-0902` | Qwen | text | POST /v1/chat/completions | $2.475 / $7.425 per 1M (cached $0.3094) | 1M | | | `doubao-seedance-2-5-260628` | ByteDance | video | POST /api/studio/video/generate | 480: $0.1832/s, 720: $0.4116/s, 1080: $0.9262/s | — | | | `qwen3.7-flash` | Qwen | text | POST /v1/chat/completions | $0.24 / $0.96 per 1M (cached $0.06) | 1M | | | `deepseek-v4-flash-vision-exp` | DeepSeek | text | POST /v1/chat/completions | $0.66 / $1.98 per 1M (cached $0.021) | 1M | | | `gemini-3.7-flash` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $1.125 / $5.625 per 1M | 1M | | | `grok-4.6` | xAI | text | POST /v1/chat/completions | $3.0 / $9.0 per 1M (cached $0.75) | 500K | | | `deepseek-v3` | DeepSeek | text | POST /v1/chat/completions | $0.429 / $1.716 per 1M | 128K | | | `qwen3.8-max` | Qwen | text | POST /v1/chat/completions | $2.475 / $7.425 per 1M (cached $0.3094) | 1M | | | `qwen3.7-plus` | Qwen | text | POST /v1/chat/completions | $0.9 / $3.6 per 1M (cached $0.09) | 1M | | | `gpt-5.4-pro` | OpenAI | text | POST /v1/responses | $45.0 / $270.0 per 1M (cached $4.5) | — | | | `gpt-5.5-pro` | OpenAI | text | POST /v1/responses | $45.0 / $270.0 per 1M (cached $4.5) | 1M | | | `grok-4.20-0309-non-reasoning` | xAI | text | POST /v1/chat/completions | $1.875 / $3.75 per 1M | 1M | | | `grok-4.20-0309-reasoning` | xAI | text | POST /v1/chat/completions | $1.875 / $3.75 per 1M | 1M | | | `grok-4.20-multi-agent-0309` | xAI | text | POST /v1/chat/completions | $1.875 / $3.75 per 1M | 1M | | | `qwen3.5-omni-flash` | Qwen | text | POST /v1/chat/completions | $0.525 / $3.0 per 1M | — | | | `qwen3.5-omni-plus` | Qwen | text | POST /v1/chat/completions | $1.8 / $9.0 per 1M | — | | | `kimi-k2.7-code` | Kimi | text | POST /v1/chat/completions | $1.425 / $5.985 per 1M | 256K | | | `glm-5.2` | GLM | text | POST /v1/chat/completions | $1.713 / $5.9955 per 1M | 1M | | | `claude-opus-5` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $7.125 / $35.625 per 1M (cached $0.7125) | 1M | | | `gemini-3.5-flash-lite` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $0.45 / $3.75 per 1M | 1M | | | `gemini-3.6-flash` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $2.25 / $11.25 per 1M | 1M | | | `grok-build-0.1` | xAI | text | POST /v1/chat/completions | $1.5 / $3.0 per 1M | 256K | | | `happyhorse-1.0-video-edit` | Qwen | video | POST /api/studio/video/generate | 720: $0.189/s, 1080: $0.336/s | — | | | `happyhorse-1.1-i2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.189/s, 1080: $0.336/s | — | | | `happyhorse-1.1-r2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.189/s, 1080: $0.336/s | — | | | `happyhorse-1.1-t2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.189/s, 1080: $0.336/s | — | | | `dola-seed-2-1-turbo-260628` | ByteDance | text | POST /v1/chat/completions | $0.75 / $3.75 per 1M (cached $0.15) | 256K | | | `seedream-5-0-pro-260628` | ByteDance | image | POST /v1/images/generations, POST /v1/images/edits | $0.18 / req | — | | | `kimi-k3` | Kimi | text | POST /v1/chat/completions | $4.5 / $22.5 per 1M | 1M | | | `doubao-seedance-2-0-mini-260615` | ByteDance | video | POST /api/studio/video/generate | 480: $0.063/s, 720: $0.1353/s | — | | | `gpt-5.6-luna` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.3 / $1.8 per 1M (cached $0.03) | 1M | | | `gpt-5.6-sol` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $6.0 / $30.0 per 1M (cached $0.6) | 1M | | | `gpt-5.6-terra` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.0 / $18.0 per 1M (cached $0.3) | 1M | | | `grok-4.5` | xAI | text | POST /v1/chat/completions | $3.0 / $9.0 per 1M (cached $0.75) | 500K | | | `claude-sonnet-5` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $2.85 / $14.25 per 1M (cached $0.285) | — | | | `gemini-3.1-flash-lite-image` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.0525 / req | — | | | `claude-fable-5` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $14.25 / $71.25 per 1M (cached $1.425) | — | | | `gemini-3-pro-image` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.189 / req | — | | | `gemini-3.1-flash-image` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.1155 / req | — | | | `claude-opus-4-8` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $7.125 / $35.625 per 1M (cached $0.7125) | 1M | | | `chat-latest` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $7.5 / $45.0 per 1M | 400K | | | `gemini-3.1-flash-lite` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $0.375 / $2.25 per 1M | 1M | | | `qwen3.6-27b` | Qwen | text | POST /v1/chat/completions | $0.63 / $3.78 per 1M | 1M | | | `qwen3.6-35b-a3b` | Qwen | text | POST /v1/chat/completions | $0.39 / $2.34 per 1M | 1M | | | `gpt-3.5-turbo-1106` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.5 / $3.0 per 1M | — | | | `gpt-3.5-turbo-16k` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $4.5 / $5.85 per 1M | — | | | `gpt-4.1` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.0 / $12.0 per 1M | 128K | | | `gpt-4.1-2025-04-14` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.0 / $12.0 per 1M | 128K | | | `gpt-4.1-mini` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.6 / $2.4 per 1M | — | | | `gpt-4.1-mini-2025-04-14` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.6 / $2.4 per 1M | — | | | `gpt-4.1-nano` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.15 / $0.6 per 1M | — | | | `gpt-4o` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.75 / $15.0 per 1M | 128K | | | `gpt-4o-2024-05-13` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $7.5 / $22.5 per 1M | 128K | | | `gpt-4o-2024-08-06` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.75 / $15.0 per 1M | 128K | | | `gpt-4o-2024-11-20` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.75 / $15.0 per 1M | 128K | | | `gpt-4o-mini` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.225 / $0.9 per 1M | 128K | | | `gpt-4o-mini-2024-07-18` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.225 / $0.9 per 1M | 128K | | | `gpt-5` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.875 / $15.0 per 1M | 128K | | | `gpt-5-2025-08-07` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.875 / $15.0 per 1M | 128K | | | `gpt-5-mini` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.375 / $3.0 per 1M | 128K | | | `gpt-5-mini-2025-08-07` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.375 / $3.0 per 1M | 128K | | | `gpt-5-nano` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.075 / $0.6 per 1M | — | | | `gpt-5-nano-2025-08-07` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.075 / $0.6 per 1M | — | | | `gpt-5-pro` | OpenAI | text | POST /v1/responses | $22.5 / $180.0 per 1M | — | | | `gpt-5-pro-2025-10-06` | OpenAI | text | POST /v1/responses | $22.5 / $180.0 per 1M | — | | | `gpt-5.1` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.875 / $15.0 per 1M | 128K | | | `gpt-5.2` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $2.625 / $21.0 per 1M | 400K | | | `gpt-5.2-pro` | OpenAI | text | POST /v1/responses | $31.5 / $252.0 per 1M | — | | | `gpt-5.2-pro-2025-12-11` | OpenAI | text | POST /v1/responses | $31.5 / $252.0 per 1M | — | | | `gpt-5.4` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $3.75 / $22.5 per 1M (cached $0.375) | 1M | | | `gpt-5.4-mini` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.125 / $6.75 per 1M | 1M | | | `gpt-5.4-nano` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.3 / $1.875 per 1M | — | | | `gpt-5.4-nano-2026-03-17` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $0.3 / $1.875 per 1M | — | | | `gpt-5.5` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $7.5 / $45.0 per 1M (cached $0.75) | 1M | | | `gpt-image-1` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $7.5 / $60.0 per 1M | — | | | `gpt-image-1-mini` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $3.0 / $12.0 per 1M | — | | | `gpt-image-1.5` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $7.5 / $48.0 per 1M | — | | | `gpt-image-1.5-2025-12-16` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $7.5 / $48.0 per 1M | — | | | `gpt-image-2` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $9.0 / $54.0 per 1M | — | | | `gpt-image-2-all` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.0375 / req | — | | | `gpt-image-2-vip` | OpenAI | image | POST /v1/images/generations, POST /v1/images/edits | $0.045 / req | — | | | `o1` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $22.5 / $90.0 per 1M | — | | | `o1-2024-12-17` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $22.5 / $90.0 per 1M | — | | | `o3` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $4.5 / $18.0 per 1M | 200K | | | `o3-2025-04-16` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $4.5 / $18.0 per 1M | 200K | | | `o3-mini` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.65 / $6.6 per 1M | — | | | `o3-mini-2025-01-31` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.65 / $6.6 per 1M | — | | | `o4-mini` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.65 / $6.6 per 1M | 200K | | | `o4-mini-2025-04-16` | OpenAI | text | POST /v1/chat/completions, POST /v1/responses | $1.65 / $6.6 per 1M | 200K | | | `omni-moderation-2024-09-26` | OpenAI | moderation | POST /v1/moderations | $0.3 / $0.3 per 1M | — | | | `omni-moderation-latest` | OpenAI | moderation | POST /v1/moderations | $0.3 / $0.3 per 1M | — | | | `text-embedding-3-large` | OpenAI | embedding | POST /v1/embeddings | $0.195 / $0.195 per 1M | — | | | `text-embedding-3-small` | OpenAI | embedding | POST /v1/embeddings | $0.03 / $0.03 per 1M | — | | | `text-embedding-ada-002` | OpenAI | embedding | POST /v1/embeddings | $0.15 / $0.15 per 1M | — | | | `tts-1` | OpenAI | audio | POST /v1/audio/speech | $45.0 / $45.0 per 1M | — | | | `tts-1-hd` | OpenAI | audio | POST /v1/audio/speech | $90.0 / $90.0 per 1M | — | | | `claude-haiku-4-5-20251001` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $1.425 / $7.125 per 1M (cached $0.1425) | 200K | | | `claude-opus-4-5-20251101` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $7.125 / $35.625 per 1M (cached $0.7125) | 200K | | | `claude-opus-4-6` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $7.125 / $35.625 per 1M (cached $0.7125) | 1M | | | `claude-opus-4-7` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $7.125 / $35.625 per 1M (cached $0.7125) | 1M | | | `claude-sonnet-4-5-20250929` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $4.275 / $21.375 per 1M (cached $0.4275) | 200K | | | `claude-sonnet-4-6` | Anthropic | text | POST /v1/chat/completions, POST /v1/messages | $4.275 / $21.375 per 1M (cached $0.4275) | 1M | | | `gemini-2.5-flash` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $0.45 / $3.6 per 1M | 1M | | | `gemini-2.5-flash-image` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.042 / req | — | | | `gemini-2.5-flash-image-preview` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.042 / req | — | | | `gemini-2.5-flash-lite` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $0.15 / $0.6 per 1M | 1M | | | `gemini-3-flash-preview` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $0.66 / $3.96 per 1M | 1M | | | `gemini-3-pro-image-preview` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.189 / req | — | | | `gemini-3-pro-image-preview-1k` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.189 / req | — | | | `gemini-3-pro-image-preview-2k` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.189 / req | — | | | `gemini-3-pro-image-preview-4k` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.189 / req | — | | | `gemini-3.1-flash-image-4k` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.1155 / req | — | | | `gemini-3.1-flash-image-preview` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.1155 / req | — | | | `gemini-3.1-flash-image-preview-4k` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.1155 / req | — | | | `gemini-3.1-pro-preview` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $3.0 / $18.0 per 1M | 1M | | | `gemini-3.1-pro-preview-customtools` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $2.7 / $16.2 per 1M | — | | | `gemini-3.5-flash` | Google | text | POST /v1/chat/completions, POST /v1beta/models/{model}:generateContent | $2.25 / $13.5 per 1M | 1M | | | `nano-banana` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.042 / req | — | | | `nano-banana-2` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.1155 / req | — | | | `nano-banana-pro` | Google | image | POST /v1/images/generations, POST /v1/images/edits | $0.189 / req | — | | | `grok-4.20-beta` | xAI | text | POST /v1/chat/completions | $1.875 / $3.75 per 1M | 1M | | | `grok-4.20-multi-agent-beta-0309` | xAI | text | POST /v1/chat/completions | $1.875 / $3.75 per 1M | 1M | | | `grok-4.3` | xAI | text | POST /v1/chat/completions | $1.875 / $3.75 per 1M (cached $0.3) | 1M | | | `grok-code-fast` | xAI | text | POST /v1/chat/completions | $0.3 / $2.25 per 1M | 256K | | | `grok-code-fast-1` | xAI | text | POST /v1/chat/completions | $0.3 / $2.25 per 1M | 256K | | | `deepseek-v4-flash` | DeepSeek | text | POST /v1/chat/completions | $0.66 / $1.98 per 1M (cached $0.0211) | 1M | | | `deepseek-v4-flash-260425` | DeepSeek | text | POST /v1/chat/completions | $0.21 / $0.42 per 1M (cached $0.042) | 1M | | | `deepseek-v4-pro` | DeepSeek | text | POST /v1/chat/completions | $1.98 / $5.94 per 1M (cached $0.066) | 1M | | | `deepseek-v4-pro-260425` | DeepSeek | text | POST /v1/chat/completions | $2.61 / $5.22 per 1M (cached $0.225) | 1M | | | `multimodal-embedding-v1` | Qwen | embedding | POST /v1/embeddings | $0.0 / $0.0 per 1M | — | | | `qwen-long` | Qwen | text | POST /v1/chat/completions | $0.105 / $0.42 per 1M | — | | | `qwen-max` | Qwen | text | POST /v1/chat/completions | $2.4 / $9.6 per 1M | 32K | | | `qwen-mt-plus` | Qwen | text | POST /v1/chat/completions | $3.0 / $12.0 per 1M | — | | | `qwen-plus` | Qwen | text | POST /v1/chat/completions | $0.6 / $1.8 per 1M | 32K | | | `qwen-plus-latest` | Qwen | text | POST /v1/chat/completions | $0.6 / $1.8 per 1M | — | | | `qwen-vl-ocr` | Qwen | text | POST /v1/chat/completions | $1.08 / $1.08 per 1M | — | | | `qwen-vl-ocr-2025-11-20` | Qwen | text | POST /v1/chat/completions | $0.066 / $0.1095 per 1M | — | | | `qwen3-coder-flash` | Qwen | text | POST /v1/chat/completions | $0.75 / $7.5 per 1M | — | | | `qwen3-omni-flash` | Qwen | text | POST /v1/chat/completions | $0.9 / $9.0 per 1M | — | | | `qwen3-vl-embedding` | Qwen | embedding | POST /v1/embeddings | $0.375 / $0.375 per 1M | — | | | `qwen3-vl-plus` | Qwen | text | POST /v1/chat/completions | $0.45 / $3.6 per 1M | — | | | `qwen3.5-122b-a10b` | Qwen | text | POST /v1/chat/completions | $0.18 / $1.44 per 1M | — | | | `qwen3.5-27b` | Qwen | text | POST /v1/chat/completions | $0.135 / $1.08 per 1M | — | | | `qwen3.5-35b-a3b` | Qwen | text | POST /v1/chat/completions | $0.09 / $0.72 per 1M | — | | | `qwen3.5-397b-a17b` | Qwen | text | POST /v1/chat/completions | $0.27 / $1.62 per 1M | — | | | `qwen3.5-flash` | Qwen | text | POST /v1/chat/completions | $0.042 / $0.42 per 1M | — | | | `qwen3.5-flash-2026-02-23` | Qwen | text | POST /v1/chat/completions | $0.042 / $0.42 per 1M | — | | | `qwen3.5-plus` | Qwen | text | POST /v1/chat/completions | $0.171 / $1.026 per 1M | — | | | `qwen3.5-plus-2026-02-15` | Qwen | text | POST /v1/chat/completions | $0.171 / $1.026 per 1M | — | | | `qwen3.6-flash` | Qwen | text | POST /v1/chat/completions | $0.255 / $1.53 per 1M | 1M | | | `qwen3.6-plus` | Qwen | text | POST /v1/chat/completions | $0.45 / $2.7 per 1M | 1M | | | `qwen3.7-max` | Qwen | text | POST /v1/chat/completions | $2.571 / $7.713 per 1M | 1M | | | `wan2.6-i2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.126/s, 1080: $0.21/s | — | | | `wan2.6-r2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.126/s, 1080: $0.21/s | — | | | `wan2.6-r2v-flash` | Qwen | video | POST /api/studio/video/generate | 720: $0.126/s, 1080: $0.21/s | — | | | `wan2.6-t2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.126/s, 1080: $0.21/s | — | | | `wan2.7-i2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.126/s, 1080: $0.21/s | — | | | `wan2.7-r2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.126/s, 1080: $0.21/s | — | | | `wan2.7-t2v` | Qwen | video | POST /api/studio/video/generate | 720: $0.126/s, 1080: $0.21/s | — | | | `wan2.7-videoedit` | Qwen | video | POST /api/studio/video/generate | 720: $0.126/s, 1080: $0.21/s | — | | | `kimi-k2.5` | Kimi | text | POST /v1/chat/completions | $0.9 / $4.725 per 1M (cached $0.15) | 200K | | | `kimi-k2.6` | Kimi | text | POST /v1/chat/completions | $0.9 / $3.6 per 1M (cached $0.1516) | 256K | | | `glm-5` | GLM | text | POST /v1/chat/completions | $0.84 / $3.78 per 1M | 200K | | | `glm-5.1` | GLM | text | POST /v1/chat/completions | $1.26 / $5.04 per 1M | 200K | | | `MiniMax-M2.5` | MiniMax | text | POST /v1/chat/completions | $0.45 / $1.8 per 1M | — | | | `MiniMax-M2.5-lightning` | MiniMax | text | POST /v1/chat/completions | $0.45 / $3.6 per 1M | — | | | `MiniMax-M2.7` | MiniMax | text | POST /v1/chat/completions | $0.45 / $1.8 per 1M | — | | | `MiniMax-M2.7-highspeed` | MiniMax | text | POST /v1/chat/completions | $0.9 / $3.6 per 1M | — | | | `MiniMax-M3` | MiniMax | text | POST /v1/chat/completions | $0.9 / $3.6 per 1M (cached $0.18) | 1M | | | `doubao-seed-1-6-251015` | ByteDance | text | POST /v1/chat/completions | $0.171 / $0.4275 per 1M | — | | | `doubao-seed-1-8-251228` | ByteDance | text | POST /v1/chat/completions | $0.375 / $3.0 per 1M | — | | | `doubao-seedance-2-0-260128` | ByteDance | video | POST /api/studio/video/generate | 480: $0.126/s, 720: $0.27/s, 1080: $0.615/s | — | | | `doubao-seedance-2-0-fast-260128` | ByteDance | video | POST /api/studio/video/generate | 480: $0.1012/s, 720: $0.2176/s | — | | | `seed-1-6-flash-250615` | ByteDance | text | POST /v1/chat/completions | $0.1125 / $0.45 per 1M | — | | | `seed-1-6-flash-250715` | ByteDance | text | POST /v1/chat/completions | $0.1125 / $0.45 per 1M | — | | | `seed-1-8-251228` | ByteDance | text | POST /v1/chat/completions | $0.375 / $3.0 per 1M | — | | | `seed-2-0-code-preview-260328` | ByteDance | text | POST /v1/chat/completions | $0.75 / $4.5 per 1M | — | | | `seed-2-0-lite-260228` | ByteDance | text | POST /v1/chat/completions | $0.375 / $3.0 per 1M | — | | | `seed-2-0-lite-260428` | ByteDance | text | POST /v1/chat/completions | $0.375 / $3.0 per 1M | — | | | `seed-2-0-mini-260215` | ByteDance | text | POST /v1/chat/completions | $0.15 / $0.6 per 1M | — | | | `seed-2-0-mini-260428` | ByteDance | text | POST /v1/chat/completions | $0.15 / $0.6 per 1M | — | | | `seed-2-0-pro-260328` | ByteDance | text | POST /v1/chat/completions | $0.75 / $4.5 per 1M | — | | | `seedream-4-0-250828` | ByteDance | image | POST /v1/images/generations, POST /v1/images/edits | $0.0525 / req | — | | | `seedream-4-5-251128` | ByteDance | image | POST /v1/images/generations, POST /v1/images/edits | $0.06 / req | — | | | `seedream-5-0-260128` | ByteDance | image | POST /v1/images/generations, POST /v1/images/edits | $0.0525 / req | — | | | `flux-2-flex` | Flux | image | POST /v1/images/generations, POST /v1/images/edits | $0.09 / req | — | | | `flux-2-klein-4b` | Flux | image | POST /v1/images/generations, POST /v1/images/edits | $0.015 / req | — | | | `flux-2-klein-9b` | Flux | image | POST /v1/images/generations, POST /v1/images/edits | $0.015 / req | — | | | `flux-2-max` | Flux | image | POST /v1/images/generations, POST /v1/images/edits | $0.105 / req | — | | | `flux-2-pro` | Flux | image | POST /v1/images/generations, POST /v1/images/edits | $0.045 / req | — | | | `flux-dev` | Flux | image | POST /v1/images/generations, POST /v1/images/edits | $0.03 / req | — | | | `flux-kontext-max` | Flux | image | POST /v1/images/generations, POST /v1/images/edits | $0.105 / req | — | | | `flux-kontext-pro` | Flux | image | POST /v1/images/generations, POST /v1/images/edits | $0.0525 / req | — | | | `bge-m3` | Прочее | embedding | POST /v1/embeddings | $0.015 / $0.015 per 1M | — | | | `bge-reranker-v2-m3` | Прочее | embedding | POST /v1/rerank | $0.015 / $0.015 per 1M | — | | --- # MegaAPI.ru — Документация и AI Developer Kit > MegaAPI.ru — единый AI API-шлюз и веб-студия (257+ моделей: GPT, Claude, Gemini, Grok, DeepSeek, Qwen, Kimi, GLM, MiniMax, Hy4, FLUX, Nano Banana, MAI-Image, Seedream, Seedance, Wan, Oxygen). Совместим с OpenAI, Anthropic и Google GenAI SDK. Работает без VPN, оплата картой РФ, СБП и криптовалютой (pay-as-you-go в USDT). ## Точки входа для ИИ-агентов (AI Developer Kit) - [Skill для агентов (skill.md)](https://megaapi.ru/skill.md): инструкция подключения, base_url по SDK, авторизация, примеры, типовые ошибки. - [Реестр моделей (model-registry.json)](https://megaapi.ru/model-registry.json): машиночитаемый список всех 257 активных моделей, эндпоинтов, возможностей и итоговых цен в USDT. - [Полная текстовая выжимка (llms-full.txt)](https://megaapi.ru/llms-full.txt): объединённая справка, правила интеграции и полная таблица моделей. - [Agent Skills Discovery](https://megaapi.ru/.well-known/agent-skills/index.json): стандартный индекс скилла с SHA-256. - [Страница AI Developer Kit](https://megaapi.ru/docs/developer-kit): готовые промпты для Cursor, Claude Code, Codex и Cline. ## Техническая спецификация - OpenAI-совместимый Base URL: `https://megaapi.ru/v1` - Anthropic Messages Base URL: `https://megaapi.ru` (без `/v1`) - Google Gemini Base URL: `https://megaapi.ru` (`api_version: v1beta`) - Авторизация: `Authorization: Bearer sk-nexus-...` (для `/v1/messages` также `x-api-key`) - Список моделей API: `GET https://megaapi.ru/v1/models` - Веб-студия без кода: https://megaapi.ru/studio ## Разделы документации - [Обзор документации](https://megaapi.ru/docs) - [API Reference](https://megaapi.ru/api-reference) ### Начало - [Быстрый старт](https://megaapi.ru/docs/quickstart): Ключ, адрес, первый запрос — три минуты - [API Playground](https://megaapi.ru/docs/playground): Интерактивный тест запросов и сниппеты для IDE / MCP - [AI Developer Kit](https://megaapi.ru/docs/developer-kit): skill.md, model-registry.json и промпты для агентов - [Новые модели](https://megaapi.ru/docs/latest-models): Что появилось за последнее время - [Частые вопросы](https://megaapi.ru/docs/faq): Короткие ответы на то, что спрашивают чаще всего ### Каталог и оплата - [Модели и цены](https://megaapi.ru/docs/models): Весь каталог с тарифами - [Пополнение и промокоды](https://megaapi.ru/docs/bonuses): Как платить и как работают коды - [Для бизнеса (ООО и ИП)](https://megaapi.ru/docs/b2b): Оплата по безналичному счёту, акты и команды - [API-ключи](https://megaapi.ru/docs/tokens): Как выдаётся ключ и что делать, если потерян - [Новости и обновления](https://megaapi.ru/docs/changelog): История изменений ### API и форматы - [Chat Completions](https://megaapi.ru/docs/api): Основной способ обращения к моделям - [Responses API](https://megaapi.ru/docs/responses): Формат OpenAI Responses - [Формат Claude](https://megaapi.ru/docs/claude-format): Нативные запросы Anthropic - [Формат Gemini](https://megaapi.ru/docs/gemini-format): Нативные запросы Google - [Вызов функций](https://megaapi.ru/docs/function-calling): Модель вызывает ваш код - [Кэширование промпта](https://megaapi.ru/docs/prompt-caching): Как платить меньше за повторы - [Веб-поиск](https://megaapi.ru/docs/web-search): Ответы со свежими данными из интернета ### Текст - [Текстовая генерация](https://megaapi.ru/docs/text-generation): Как выбрать модель под задачу - [Qwen](https://megaapi.ru/docs/qwen): Семейство Alibaba - [Kimi](https://megaapi.ru/docs/kimi): Семейство Moonshot - [Векторы и rerank](https://megaapi.ru/docs/embeddings): Поиск по смыслу - [Модерация](https://megaapi.ru/docs/moderation): Проверка текста на запрещённое ### Изображения - [Генерация изображений](https://megaapi.ru/docs/image-generation): Общие правила и параметры - [Nano Banana](https://megaapi.ru/docs/nano-banana): Семейство Google - [GPT-Image](https://megaapi.ru/docs/gpt-image): Семейство OpenAI - [MAI-Image](https://megaapi.ru/docs/mai-image): Семейство Microsoft - [FLUX](https://megaapi.ru/docs/flux): Семейство Black Forest Labs - [Seedream](https://megaapi.ru/docs/seedream): Семейство ByteDance - [Grok Imagine](https://megaapi.ru/docs/grok-imagine): Семейство xAI ### Видео и звук - [Генерация видео](https://megaapi.ru/docs/video): Общие правила и параметры - [Veo](https://megaapi.ru/docs/veo): Семейство Google - [Sora](https://megaapi.ru/docs/sora): Семейство OpenAI - [Wan](https://megaapi.ru/docs/wan): Семейство Alibaba - [Seedance](https://megaapi.ru/docs/seedance): Семейство ByteDance - [Анализ видео](https://megaapi.ru/docs/video-understanding): Что происходит в ролике - [Озвучка](https://megaapi.ru/docs/tts): Текст в речь - [Распознавание речи](https://megaapi.ru/docs/speech-to-text): Речь в текст ### Подключение и правовое - [Интеграции](https://megaapi.ru/docs/integrations): Cursor, Claude Code, LangChain и другие - [Сценарии](https://megaapi.ru/docs/scenarios): Чат-боты, код, документы, агенты - [Условия использования](https://megaapi.ru/docs/terms) - [Политика конфиденциальности](https://megaapi.ru/docs/privacy) ## Страницы популярных моделей - [GPT-6.2 Sol (OpenAI) — `gpt-6.2-sol`](https://megaapi.ru/models/gpt-6-2) - [GPT-6.2 Astra (OpenAI) — `gpt-6.2-astra`](https://megaapi.ru/models/gpt-6-2-astra) - [GPT-6.1 Sol (OpenAI) — `gpt-6.1-sol`](https://megaapi.ru/models/gpt-6-1-sol) - [GPT-6.1 Terra (OpenAI) — `gpt-6.1-terra`](https://megaapi.ru/models/gpt-6-1-terra) - [GPT-6 Luna (OpenAI) — `gpt-6-luna`](https://megaapi.ru/models/gpt-6-luna) - [Claude Sonnet 5.5 (Anthropic) — `claude-sonnet-5-5`](https://megaapi.ru/models/claude-sonnet-5-5) - [Claude Opus 5.5 (Anthropic) — `claude-opus-5-5`](https://megaapi.ru/models/claude-opus-5-5) - [Claude Haiku 5.5 (Anthropic) — `claude-haiku-5-5`](https://megaapi.ru/models/claude-haiku-5-5) - [Claude Fable 5.2 (Anthropic) — `claude-fable-5-2`](https://megaapi.ru/models/claude-fable-5-2) - [Gemini 4 Neon (Google) — `gemini-4-neon`](https://megaapi.ru/models/gemini-4-neon) - [Gemini 4 Hydrogen (Google) — `gemini-4-hydrogen`](https://megaapi.ru/models/gemini-4-hydrogen) - [Gemini 4 Carbon (Google) — `gemini-4-carbon`](https://megaapi.ru/models/gemini-4-carbon) - [Gemini 3.8 Flash (Google) — `gemini-3.8-flash`](https://megaapi.ru/models/gemini-3-8-flash) - [Grok 4.7 (xAI) — `grok-4.7`](https://megaapi.ru/models/grok-4-7) - [DeepSeek V4.1 Flash (DeepSeek) — `deepseek-v4.1-flash`](https://megaapi.ru/models/deepseek-v4-1-flash) - [DeepSeek V4 Pro (DeepSeek) — `deepseek-v4-pro`](https://megaapi.ru/models/deepseek-v4-pro) - [Qwen 4 Max (Alibaba) — `qwen4-max`](https://megaapi.ru/models/qwen4-max) - [Kimi K3.1 Pro (Moonshot AI) — `kimi-k3.1-pro`](https://megaapi.ru/models/kimi-k3-1-pro) - [MiniMax M3 (MiniMax) — `MiniMax-M3`](https://megaapi.ru/models/minimax-m3) - [Nano Banana 2.1 (Google) — `gemini-nano-banana-2.1`](https://megaapi.ru/models/nano-banana-2-1) - [Nano Banana 2 (Google) — `nano-banana-2`](https://megaapi.ru/models/nano-banana-2) - [GPT-Image-2.6 (OpenAI) — `gpt-image-2.6-all`](https://megaapi.ru/models/gpt-image-2-6) - [GPT-Image-1.5 (OpenAI) — `gpt-image-1.5`](https://megaapi.ru/models/gpt-image-1-5) - [MAI-Image 2.7 (Microsoft) — `MAI-Image-2.7`](https://megaapi.ru/models/mai-image-2-7) - [Seedream 5.5 (ByteDance) — `seedream-5-5-261028`](https://megaapi.ru/models/seedream-5-5) - [Seedream 5.0 Pro (ByteDance) — `seedream-5-0-pro-260628`](https://megaapi.ru/models/seedream-5-pro) - [Gemini 3 Pro Image (Google) — `gemini-3-pro-image`](https://megaapi.ru/models/gemini-3-pro-image) - [Seedance 2.5 (ByteDance) — `doubao-seedance-2-5-260628`](https://megaapi.ru/models/seedance-2-5) - [Seedance 2.0 Fast (ByteDance) — `doubao-seedance-2-0-fast-260128`](https://megaapi.ru/models/seedance-2-fast) - [Seedance 2.0 Mini (ByteDance) — `doubao-seedance-2-0-mini-260615`](https://megaapi.ru/models/seedance-2-mini) - [Wan 3.0 (Alibaba) — `wan3.0-video`](https://megaapi.ru/models/wan-3-0) - [Wan 3.0 Prime (Alibaba) — `wan3.0-video-prime`](https://megaapi.ru/models/wan-3-0-prime) - [Wan 2.7 Image-to-Video (Alibaba) — `wan2.7-i2v`](https://megaapi.ru/models/wan-2-7-i2v) - [Oxygen 1.0 (AZ8) — `oxygen-1.0`](https://megaapi.ru/models/oxygen-1-0) - [MiniMax H3 (MiniMax) — `MiniMax-H3`](https://megaapi.ru/models/minimax-h3) - [GPT-5.6 (OpenAI) — `gpt-5.6-sol`](https://megaapi.ru/models/gpt-5-6) - [GPT-5.5 (OpenAI) — `gpt-5.5`](https://megaapi.ru/models/gpt-5-5) - [GPT-5.4 (OpenAI) — `gpt-5.4`](https://megaapi.ru/models/gpt-5-4) - [GPT-5.4 Mini (OpenAI) — `gpt-5.4-mini`](https://megaapi.ru/models/gpt-5-4-mini) - [GPT-5.4 Pro (OpenAI) — `gpt-5.4-pro`](https://megaapi.ru/models/gpt-5-4-pro) - [GPT-5 (OpenAI) — `gpt-5`](https://megaapi.ru/models/gpt-5) - [GPT-4o (OpenAI) — `gpt-4o`](https://megaapi.ru/models/gpt-4o) - [GPT-4o Mini (OpenAI) — `gpt-4o-mini`](https://megaapi.ru/models/gpt-4o-mini) - [OpenAI o3 (OpenAI) — `o3`](https://megaapi.ru/models/o3) - [OpenAI o3-mini (OpenAI) — `o3-mini`](https://megaapi.ru/models/o3-mini) - [OpenAI o4-mini (OpenAI) — `o4-mini`](https://megaapi.ru/models/o4-mini) - [Claude Opus 5 (Anthropic) — `claude-opus-5`](https://megaapi.ru/models/claude-opus-5) - [Claude Sonnet 5 (Anthropic) — `claude-sonnet-5`](https://megaapi.ru/models/claude-sonnet-5) - [Claude Sonnet 4.6 (Anthropic) — `claude-sonnet-4-6`](https://megaapi.ru/models/claude-sonnet-4-6) - [Claude Opus 4.6 (Anthropic) — `claude-opus-4-6`](https://megaapi.ru/models/claude-opus-4-6) - [Claude Opus 4.7 (Anthropic) — `claude-opus-4-7`](https://megaapi.ru/models/claude-opus-4-7) - [Gemini 3.7 Flash (Google) — `gemini-3.7-flash`](https://megaapi.ru/models/gemini-3-7-flash) - [Gemini 3.5 Flash (Google) — `gemini-3.5-flash`](https://megaapi.ru/models/gemini-3-5-flash) - [Gemini 2.5 Flash (Google) — `gemini-2.5-flash`](https://megaapi.ru/models/gemini-2-5-flash) - [Gemini 3.1 Pro (Google) — `gemini-3.1-pro-preview`](https://megaapi.ru/models/gemini-3-1-pro) - [Grok 4.6 (xAI) — `grok-4.6`](https://megaapi.ru/models/grok-4-6) - [Grok Code Fast (xAI) — `grok-code-fast`](https://megaapi.ru/models/grok-code-fast) - [DeepSeek V4 (DeepSeek) — `deepseek-v4-flash`](https://megaapi.ru/models/deepseek-v4) - [DeepSeek V3 (DeepSeek) — `deepseek-v3`](https://megaapi.ru/models/deepseek-v3) - [Qwen 3.8 Max (Alibaba) — `qwen3.8-max`](https://megaapi.ru/models/qwen3-8-max) - [Qwen 3.8 Flash (Alibaba) — `qwen3.8-flash`](https://megaapi.ru/models/qwen3-8-flash) - [Kimi K3 (Moonshot AI) — `kimi-k3`](https://megaapi.ru/models/kimi-k3) - [Kimi K2.7 Code (Moonshot AI) — `kimi-k2.7-code`](https://megaapi.ru/models/kimi-k2-7-code) - [Nano Banana Pro (Google) — `nano-banana-pro`](https://megaapi.ru/models/nano-banana-pro) - [GPT-Image-2 (OpenAI) — `gpt-image-2`](https://megaapi.ru/models/gpt-image-2) - [FLUX.2 Max (Black Forest Labs) — `flux-2-max`](https://megaapi.ru/models/flux-2-max) - [FLUX.2 Pro (Black Forest Labs) — `flux-2-pro`](https://megaapi.ru/models/flux-2-pro) - [FLUX Kontext Pro (Black Forest Labs) — `flux-kontext-pro`](https://megaapi.ru/models/flux-kontext-pro) - [Seedream 5.0 (ByteDance) — `seedream-5-0-260128`](https://megaapi.ru/models/seedream-5) - [Seedance 2.0 (ByteDance) — `doubao-seedance-2-0-260128`](https://megaapi.ru/models/seedance-2) - [Wan 2.7 (Alibaba) — `wan2.7-t2v`](https://megaapi.ru/models/wan-2-7) - [GPT Realtime 2.1 (OpenAI) — `gpt-realtime-2.1`](https://megaapi.ru/models/gpt-realtime-2-1) - [OpenAI TTS-1 HD (OpenAI) — `tts-1-hd`](https://megaapi.ru/models/tts-1-hd) - [Text Embedding 3 Large (OpenAI) — `text-embedding-3-large`](https://megaapi.ru/models/text-embedding-3-large) - [BGE-M3 Embeddings (BAAI) — `bge-m3`](https://megaapi.ru/models/bge-m3)