API429 / API reference

What is new in API429

Recent API429 changes: new models and their parameters, billing rules and the list of model IDs that are being retired from the catalog.

Reference version 3.31.0 · revised · the same text in the client portal

Version: 3.31.0 | Last Updated: 2026-10-30 | Documentation revised: 2026-11-23

Claude: capabilities depend on the route. json_object and non-strict json_schema may be accepted; on Claude Web these are model instructions, not a guarantee of valid JSON or schema compliance. Claude Web is excluded for strict schemas (strict: true) and strict tools; other compatible routes may support them. Sampling parameters on Claude Web are best effort. Verify forced tool choice and parameter combinations for the selected model; accepting a parameter does not prove a successful tool call. Send the complete messages history, including tool results; provider-owned conversation state is not automatically portable across routes.

ChatGPT models: use current IDs from your token’s GET /v1/models. Capabilities depend on model and route; historical mode names do not prove upstream model identity. Current standard prices are in the public catalog; your account determines your personal discount.

Claude prompt-cache rates (2026-11-23): cache reads on Claude models are billed at the discounted cache-read rate again (0.05× the input price for Opus 5.5 and Sonnet 5.5). From 2026-11-22 to 2026-11-23 they were billed at up to the full input price; that change has been reversed. Cache writes cost at most 1.25× the input price, and no more than the input price where caching is switched on automatically. See Prompt-cache rates for Claude models.

Gemini 4 Neon, Carbon and Hydrogen (2026-11-23): use gemini-4-neon, gemini-4-carbon or gemini-4-hydrogen on POST /v1/chat/completions, with ordinary or streaming responses. thinking_level accepts low, medium and high (default); gemini-4-neon and gemini-4-hydrogen also accept xhigh. A level the model does not have returns 400 before generation. Text, image understanding, client-executed function tools and response_format (json_object / json_schema) are supported under the same rules as Gemini 4 Argon below. For JSON, name the fields you expect in the prompt as well as in the schema: the schema is checked after generation, and a reply with other fields returns 502 and is not billed by API429. Hosted tools, video and combining tools with JSON response_format in one request remain unavailable. Check your key's GET /v1/models for access. Thinking tokens are included in completion_tokens and billed as output. Exact prices and account discounts come from the runtime catalog.

Gemini 4 Argon (2026-10-15): use gemini-4-argon on POST /v1/chat/completions, with ordinary or streaming responses. thinking_level accepts low, medium and high (default). Text, image understanding, client-executed function tools and response_format (json_object / json_schema) are supported. JSON streams are buffered until the complete response passes JSON/schema validation, then emitted as OpenAI SSE. Invalid or truncated JSON returns 502 and is not billed by API429; invalid schemas return 400 before generation. Use local schema references only; external references and $id resources are rejected. Hosted tools, video and combining tools with JSON response_format in one request remain unavailable. Check your key's GET /v1/models for access. Thinking tokens are included in completion_tokens and billed as output. Exact prices and account discounts come from the runtime catalog.

Additional text models (2026-10-13): gemini-3.1-flash-lite, gemini-2.5-flash-thinking and gpt-oss-120b-medium support text chat and streaming. Check availability and your token's permissions with GET /v1/models; use exact IDs. Rates and discounts remain available in the runtime catalog. Hidden GPT-OSS thought parts are not concatenated into the final answer.

Image model names: documentation and the website list each image model once, using its technical ID with the friendly name in parentheses. Nano Banana names are compatibility aliases, not additional models. Existing API calls and authenticated /v1/models compatibility entries are unchanged.

Fish Audio billing (2026-10-10): fish-s2.1-pro is now billed like the official Fish Audio API — $15 per 1M UTF-8 bytes of input text, before your client-level discount. Latin text is 1 byte per character (unchanged); Cyrillic is 2 bytes and Chinese/Japanese/Korean 3 bytes per character.

Claude 5.5 (2026-10-10): claude-opus-5-5, claude-sonnet-5-5 and claude-haiku-5-5 are available on POST /v1/chat/completions. Each answered real requests in production. Prices are Anthropic's official list rates before your client-level discount; Haiku 5.5 bills prompts over 100,000 input tokens at its higher tier. See the Extended text models table.

GPT-6 Astra: gpt-6-astra supports text/images, streaming, reasoning and strict JSON. Use /v1/responses for client-executed tools, including async function calls. Hosted OpenAI tools, WebSocket steering and Fast/Flex are not enabled on this route. See the GPT section below.

GPT-6.1 Sol (2026-09-30): use gpt-6.1-sol (the bare gpt-6.1 is not a separate model ID). GPT-6.1 Sol and gpt-6.1-terra are served; gpt-6.1-luna and gpt-6.1-astra are not available. Terra supports none through max. For Sol, reasoning effort is low through max (no none); use /v1/responses for tools.

GPT-6 Sol and Luna (2026-09-23): use the exact IDs gpt-6-sol and gpt-6-luna. Check your token's GET /v1/models before use. There is no published gpt-6-terra ID; gpt-5.6-terra remains available.

Pricing clarification (2026-09-06): numerical tables here are API429 base/configuration references, not a live official vendor quote or a personal retail quote. Standard API429 retail, conditions and cache rates come from the runtime catalog. Existing GPT-5.6 base rates remain unchanged; OpenAI's current promotional Sol/Terra prices are lower. Do not infer a universal 70% saving against today's vendor price.

Retired model IDs (announced 2026-11-21, retired on 2026-12-01): these IDs are no longer offered or listed. Until 2026-12-01 they keep working as they do today, and every response for them carries Deprecation: @1795219200 (RFC 9745: 2026-11-21), Sunset: Tue, 01 Dec 2026 00:00:00 GMT and Link: <…>; rel="deprecation". From 2026-12-01 a request that uses one gets 400 with code: "model_not_available" at once, before any upstream call and with nothing billed; we never substitute another model. The error names the newer model of the same tier in error.suggested_model and lists the models your key can use in error.available_models (same family first). The message names the suggested model and up to five alternatives; it is in Russian when your Accept-Language prefers Russian. /v1/messages and the Gemini-native API return the same fields in their own error format.

The cabinet (Overview) shows which of these models your keys called in the last 30 days and what to replace them with.

Retired ID (and spellings) Replacement
claude-sonnet-4-5, claude-sonnet-4-5-20250929 (and 4.5) claude-sonnet-5.5
claude-opus-4-8-1m, claude-opus-4-7-1m, claude-opus-4-6-1m (and [1m] / dotted spellings) claude-opus-5-5
gemini-3.6-flash, gemini-3.5-flash, gemini-3.5-flash-low / -medium / -high gemini-3.8-flash
gemini-3-pro-preview, gemini-3-pro gemini-3.1-pro-preview

Reasoning-effort and capability spellings (-low, -high, -search, …) follow their base ID. Example:

{"error": {"message": "Sorry, model claude-sonnet-4-5 has been retired. Please try the newer model of the same tier: claude-sonnet-5.5. Other models available to your key: claude-haiku-5-5, claude-opus-5-5, ...", "type": "invalid_request_error", "param": "model", "code": "model_not_available", "suggested_model": "claude-sonnet-5.5", "available_models": ["claude-sonnet-5.5", "claude-haiku-5-5", "..."]}}

gemini-3.8-flash is the latest stable Flash model published by API429. The public catalog does not list gemini-3.7-flash or gemini-2.5-pro. For an existing integration, check the exact ID with your key on GET /v1/models.

Check access with the same key and endpoint: the website's public catalog is platform-wide; GET /v1/models is filtered for the token used in that request and the currently available serving routes. An older token can have an explicit model allowlist that does not automatically gain new models. Absence from the token's catalog is not, by itself, a reason to upgrade your plan. Ask support to review the token's model permissions, then refresh the catalog.

If a listed model returns not supported: retry the catalog check with the exact same token and base URL used for generation, and use the exact canonical model ID. The current error can also mean the token's allowlist excludes the model. Send support the model ID, endpoint, request time and trace_id (or only the token's last four characters), never the full token. Do not keep retrying a fixed access restriction or assume a plan change will resolve it.

Release history (not the current contract): entries below are retained for history; superseded details are replaced by the current contract.

What's new in 3.31.0 (2026-10-30) — Google media

  • New image model gemini-nano-banana-2.1 (Nano Banana 2.1, Google GA 2026-10-06): a separate, newer model than gemini-3.1-flash-image / nano-banana-2, with the same request shape; $0.0336 per 1K image and $0.0504 per 2K image at Google's official price, account discount applies. Superseded alias description; see the current contract.
  • Google images (gemini-nano-banana-2.1, gemini-3.1-flash-image / Nano Banana 2, gemini-3-pro-image / Nano Banana Pro, gemini-3.1-flash-lite-image / Nano Banana 2 Lite): n 1–4, aspect_ratio 1:1 / 16:9 / 9:16 / 4:3 / 3:4, resolution 1K / 2K, seed. Edit an image by sending image as a list: the first entry is the image being edited, the rest are references (up to 10 images in total). An option that cannot be served returns 400 with the supported values, and nothing is charged. See "Google image models (Nano Banana family)".
  • Veo 3.1 video: copy-paste examples for text-to-video, image-to-video, first+last frame, reference images and polling. New: extend a finished clip by 7 seconds with previous_job_id (an 8-second clip becomes 15 seconds). Video resolutions are 720p and 1080p; 4k returns 400 listing the supported values. See "Video Generation Models".
  • Gemini Omni 1.1 Flash video: the supported contract is now 4, 6, 8 or 10 seconds at 360p or 720p, text, start frame, first+last frame, up to 3 reference images, and editing a finished Omni clip with mode: "edit" + previous_job_id.
  • Video pricing: billed per generated second at Google's official rates (table in "Video Generation Models"); your account discount applies.
  • Gemini TTS on /v1/audio/speech: response_format now returns the format you ask for (mp3, opus, aac, flac, wav, pcm); instructions carries style / director's notes; the OpenAI voice names (alloy, echo, fable, onyx, nova, shimmer) are accepted; long text is split and joined automatically.
  • gemini-3-flash-preview (alias gemini-3-flash): streaming, image input and reasoning_effort minimal / low / medium / high on POST /v1/chat/completions.

What's new in 3.30.0 (2026-10-28)

  • New text models: kimi-k3.1-pro, minimax-m3.1-flash, mimo-v2.6-pro and mimo-v2.6-flash on POST /v1/chat/completions and POST /v1/messages, at the vendors' official list prices — see Extended text models.
  • No longer available: mimo-v2.5, mimo-v2.5-pro and composer-2.5-fast.
  • No silent model substitution: GPT IDs that are not served as themselves (gpt-5.5, gpt-5.6, gpt-6.1, gpt-5.4, gpt-5.4-mini, gpt-5.3-codex, gpt-5.2, gpt-5.1, gpt-5, gpt-5-mini) are no longer redirected to a different model. Send the exact canonical ID, for example gpt-6.1-sol, gpt-5.6-sol, gpt-5.6-terra or gpt-5.6-luna.
  • Function calling and image input on chatgpt-* models: client-executed tools and tool_choice now work on POST /v1/chat/completions and POST /v1/responses, in ordinary and streaming responses. The model returns standard tool_calls with finish_reason: "tool_calls", and the next turn accepts role: "tool" results. image_url input (data URI or HTTPS) is supported.
  • max_tokens and stop sequences are always honoured for Claude models on every endpoint (/v1/chat/completions, /v1/responses, /v1/messages with stop_sequences). Truncated answers report finish_reason: "length" / "stop" (stop_reason: "max_tokens" / "stop_sequence" on /v1/messages).
  • Live model list: GET /v1/models lists only models that can be served right now. A temporarily unavailable model is hidden and reappears automatically; requests to it return 503.

What's new in 3.26.0

  • More Gemini TTS models: gemini-3.8-flash-tts, gemini-3.8-flash-lite-tts and gemini-2.5-flash-preview-tts join gemini-3.1-flash-tts-preview on POST /v1/audio/speech. See "Text-to-Speech".
  • Speech-to-text: new OpenAI-compatible POST /v1/audio/transcriptions with gemini-3.5-transcribe — json, text, verbose_json (segments with speaker labels, word timestamps), srt and vtt. See "Speech-to-Text".

What's new in 3.25.0

  • Eleven v4 and v4 Turbo: eleven_v4 and eleven_v4_turbo, the newest ElevenLabs speech models (released 2026-09-28, 90+ languages), are available on POST /v1/audio/speech and listed in GET /v1/models. eleven_v3 stays available unchanged. See "ElevenLabs models".

What's new in 3.24.0

  • Extended text catalogue: Kimi (kimi-k3, kimi-k2.7-code), Qwen (qwen-3.8-max, qwen-3.8-flash), GLM (glm-5.3, glm-5.3-flash, glm-5.2, glm-5-turbo), DeepSeek (deepseek-v4-pro, deepseek-v4.1-flash), MiMo (mimo-v2.5-pro, mimo-v2.5), minimax-m3, hy4-preview and composer-2.5-fast on POST /v1/chat/completions. See "Extended text models".
  • New Claude, Gemini and Grok ids: claude-fable-5.1, gemini-3.6-flash and grok-4.5.
  • These models accept text input only.

What's new in 3.23.0

  • GPT Image 2.5: gpt-image-2.5-flare (fast mode) and gpt-image-2.5-sunburst (thinking mode) are available on POST /v1/images/generations at a fixed price per image: $0.053 and $0.211 official, $0.0159 and $0.0633 API429 standard. See "GPT Image 2.5".
  • Landscape and portrait sizes keep their shape: on /v1/images/generations, size:"1536x1024" and size:"1024x1536" now produce 3:2 and 2:3 images instead of squares, and any other WIDTHxHEIGHT uses the nearest supported aspect ratio. The DALL·E sizes and gpt-image-2 are unchanged.

What's new in 3.22.1

  • GPT-5.4 / 5.3 / 5.2 retired upstream: on 2026-09-08 OpenAI stopped serving gpt-5.4, gpt-5.4-mini, gpt-5.3-codex and gpt-5.2 through API429. The IDs stay accepted as compatibility aliases: gpt-5.4-mini (and gpt-5-mini) resolve to gpt-5.6-luna, the others to gpt-5.6-terra, and each request is billed at the resolved model's rate. Migrate to the GPT-5.6 IDs explicitly.
  • gpt-5.6-luna is available: the lightweight GPT-5.6 tier now serves on Chat Completions and Responses at $1.00 / $0.10 / $1.25 / $6.00 per 1M (input / cached / cache write / output).

GPT-6.1 Sol release (2026-09-30)

  • Added gpt-6.1-sol to the public catalog, with gpt-6.1 as an alias. Rates: $2.00 / $0.10 / $2.50 / $10.00 per 1M (input / cached / cache write / output); above 272K input $4 / $0.20 / $5 / $15.
  • The other GPT-6.1 tiers answered "not supported" on this route and are not advertised.

GPT-6 Sol/Luna release (2026-09-23)

  • Added canonical gpt-6-sol and gpt-6-luna to the public catalog. gpt-6-terra is not an available model ID.
  • Existing token allowlists remain unchanged.

What's new in 3.20.3

  • Images in Chat Completions: message.images and a real usage: an image model on /v1/chat/completions now returns the picture(s) in message.images as image_url parts (the shape OpenRouter and the Vercel AI SDK use) in addition to the markdown data URI kept in content. usage is no longer {0, 0, 0}: it reports the prompt's text tokens plus 1290 per reference image, 1290 per generated image (completion_tokens_details.image_tokens) and image_count. Streaming sends one image event, a finish chunk and, with stream_options.include_usage, a usage chunk before [DONE]. Billing is unchanged: per generated image. See "Image models on Chat Completions".
  • gemini-2.5-flash-image on /v1/chat/completions generates images again: the model now runs on the image path like the rest of the Gemini image family. A text prompt returns a generated image, image_url parts in the last user message are used as the edit source, and the request is billed at the image rate. Previously the call could answer with empty content (reasoning tokens only) and be billed as text.
  • No charge for an image model that returns no image: if a Gemini image model answers a chat request with neither an image nor visible text, the gateway returns 502 with The image model returned no image; the request was not billed. instead of a paid empty 200.
  • capabilities in GET /v1/models: every model item now carries a capabilities list (for example ["chat", "image_editing", "image_generation", "vision"]), the same values the public catalog publishes. Use image_editing to pick a model for /v1/images/edits instead of probing with paid calls. Standard OpenAI fields are unchanged.
  • Image alias listing: nano-banana and nano-banana-pro are listed in GET /v1/models again (they are served by Google as gemini-2.5-flash-image / gemini-3-pro-image). nana-bana-pro and the retired gemini-3-pro-image-preview / gemini-3.1-flash-image-preview remain accepted as compatibility aliases but are not listed.
  • Gemini 3.5 Flash compatibility: gemini-3.5-flash-low, -medium and -high remain accepted as compatibility aliases of gemini-3.5-flash at the same price. Use thinking_level (low / medium / high) to control reasoning. gemini-3.5-flash-low is no longer listed in GET /v1/models.
  • Retirement notices are errors: a reply containing only a model-retirement notice is treated as a failed request and is never billed.

What's new in 3.20.2

  • Music access for customers: new active external_customer tokens receive both async video and audio scopes by default. Existing customer and project tokens are upgraded only while they retain API429's managed policy.
  • Music permissions: restricted model allowlists must include lyria-3-pro-preview before the token can generate music.

What's new in 3.20.0

  • Lyria 3 Pro music generation: added lyria-3-pro-preview through the durable async POST /v1/music/generations API.
  • Songs and instrumentals: prompts may request genre, mood, arrangement and structure; optionally provide lyrics or request instrumental-only output. The result is an MP3 delivered by HTTPS URL.
  • Safe paid requests: Idempotency-Key is mandatory, jobs are never automatically replayed after an uncertain upstream outcome, and each completed song costs $0.08.

What's new in 3.19.0

  • Gemini 3.8 Flash GA: added the exact canonical model ID gemini-3.8-flash, generally available since 2026-09-02. API429 exposes it through both client-token and Service Account authentication.
  • Context and reasoning contract: 1,048,576-token input window, 65,536-token output limit, and low / medium / high reasoning effort with medium as the default.
  • Canonical-only requests: do not append -non-thinking or effort suffixes to the model ID. Custom temperature, top_p, top_k, and n / native candidateCount are unsupported.
  • Strict request validation: generation must end with a non-empty user text turn; model-prefill turns are rejected. Native FunctionResponse parts require both a call ID and function name.
  • Promotional pricing: $0.75 input, $0.075 cached input, and $3.75 output (including thought tokens) per 1M tokens through 2026-12-31. The 2027 rates double to $1.50 / $0.15 / $7.50 and require a pricing update before 2027-01-01.

What's new in 3.18.0

  • Gemini Omni 1.1 Flash: use the stable client model ID gemini-omni-1.1-flash. The retired gemini-omni-flash-preview and short gemini-omni-flash spellings remain input-only compatibility aliases.
  • New Omni controls: added 360p, 1080p, and 4k alongside 720p, first/last-frame interpolation, and source-video extension.
  • Resolution-aware video billing: Omni reservations and usage fallback use Google's published token rate for the requested resolution; native provider usage remains authoritative when returned.
  • Safe video access default: active external-customer tokens receive only the async video scope by default. Text, image, and audio async scopes remain explicit admin opt-ins.
  • Native TTS billing parity: Gemini generateContent speech requests now use the same character-based balance preflight and single successful-request charge as /v1/audio/speech, including multi-speaker requests.

What's new in 3.17.0

  • Gemini TTS contract corrected: gemini-3.1-flash-tts-preview is the current Gemini speech model on both API429 TTS surfaces. Cloud TTS model IDs are no longer presented as Gemini generateContent models.
  • Round-trip-safe media: standard and URL-safe base64 inputs are accepted; gateway output is canonical padded standard base64.
  • Image response contract: response_format:"url" always returns url (with a data-URI fallback), the actual returned MIME is preserved.
  • Resolution billing clarified: exact Gemini Flash and Pro prices are listed for 1K, 2K, and 4K, including standard API429 discounted amounts.

What's new in 3.16.0

  • Branded endpoint: the API is now published at https://gateway.api429.com. The previous address keeps working; no migration required.

What's new in 3.16.0

  • Voice cloning: upload a recording to POST /v1/audio/voices and pass the id it returns as voice on POST /v1/audio/speech. The voice is private to the key that created it. Billed per character like any other synthesis; registering a voice is free.
  • Voice catalogue: GET /v1/audio/voices lists the public voices a model accepts, filterable by language and q. Add scope=mine for your own cloned voices.
  • voice is required on fish-s2.1-pro: there is no default. Omitting it, or passing a voice name rather than a 32-character id, returns 400 — a wrong voice is never silently substituted.

What's new in 3.15.0

  • Additional media catalogue: a separate set of image, editing and video models enabled per account rather than served by default — Midjourney, FLUX.1, Qwen Images, Sora Images, DALL·E 3, clothing replacement, and video (Veo, Kling, Pika, face replacement, upscale). Pricing on request.
  • Midjourney batches: a generation returns all 4 images of the job by default (you are billed per job, not per returned image); pass n explicitly to receive fewer. Request-level size/aspect_ratio are ignored — use --ar inside prompt.
  • Midjourney modifications: every generated image returns an id; pass it as source_image_id with mj-upscale, mj-upscale-creative, mj-outpaint-*, mj-variations-subtle, mj-variations-strong or mj-remix to act on that image.

What's new in 3.14.0

  • Fish Audio TTS: new fish-s2.1-pro on POST /v1/audio/speech — 80+ languages, a large public voice library, $15 per 1M UTF-8 bytes official ($4.50 after the standard 70% discount).
  • Output formats: fish-s2.1-pro honours response_format — mp3 (default), wav, pcm, opus. Use wav when the consumer requires RIFF/WAVE.
  • Long-form narration: long input is split on sentence boundaries, synthesised in parallel and returned as one joined clip. An hour of speech takes roughly three minutes; opus cannot be joined and returns 400 for long input.
  • Link delivery: send "delivery": "url" on /v1/audio/speech to get a JSON descriptor with a CDN link instead of the audio bytes. Omit it and the raw-bytes response is unchanged.

What's new in 3.13.0

  • Grok 4.6: added the exact canonical xAI model id grok-4.6 after production probes confirmed text, vision, reasoning, function calling, structured output, Chat Completions, and Responses API.
  • Reasoning: reasoning_effort accepts low, medium, high, or xhigh; omit it for xAI's high default. Reasoning cannot be disabled.
  • Exact usage and billing: cached input and reasoning tokens are preserved and charged once. Official Standard rates are $2 input / $0.50 cached input / $6 output per 1M below 200K input tokens, and $4 / $1 / $12 from 200K input tokens onward, before API429 discounts.
  • Fail-closed tools: local function tools are supported. Separately billed xAI web, X, and code-execution tools are not exposed until per-call metering is available.

What's new in 3.12.0

  • Gemini 3.7 Flash: added the stable gemini-3.7-flash model, with a 1,048,576-token input window, 65,536-token output limit, multimodal input and text output. For the latest published Flash model, see the current-model note above.
  • Verified availability: production validation confirmed the canonical ID. At that release API429 published the ID gemini-3.7-flash; provider-specific effort suffixes are not part of the public API.
  • Current promotional pricing: $0.75 input, $0.075 cached input and $3.75 output per 1M tokens through 2026-12-31. Google has announced $1.50 / $0.15 / $7.50 starting 2027-01-01.
  • Compatibility controls: OpenAI clients may send temperature, top_p, top_k and thinking_budget; API429 removes those unsupported controls before dispatch. Use thinking_level or reasoning_effort with low, medium, or high (default: medium).

What's new in 3.11.0

  • Nano Banana Pro is GA: use canonical ID gemini-3-pro-image. The retired gemini-3-pro-image-preview ID and friendly names nano-banana-pro / nana-bana-pro remain accepted as compatibility aliases and are rewritten before the Google request.
  • Model catalogue re-audited: every Available Models table (text, GPT, Claude, image, video, TTS) was verified against live pricing; no other IDs or prices changed.

What's new in 3.10.0

  • Version 3.10 introduced the public ID elevenlabs-gen. Current rate.
  • Legacy ids still accepted: eleven_v3, eleven_multilingual_v2, eleven_flash_v2_5, and api429-tts keep routing for backward compatibility but are no longer advertised in the catalogue; new integrations should use elevenlabs-gen.

What's new in 3.9.0

  • Claude Opus 5 and Claude Fable 5: claude-opus-5 and claude-fable-5 are available for Claude chat workloads. Both are listed in the Claude pricing table below and available through the Claude API.
  • ElevenLabs billing: requests are billed at the requested model’s rate.
  • Generic ElevenLabs alias: api429-tts requests ElevenLabs speech without pinning a specific model; it resolves to the current default (eleven_multilingual_v2).
  • Gemini TTS correction: the earlier multi-model rollout was superseded. The current Gemini TTS model on /v1/audio/speech and the Gemini-native gateway is gemini-3.1-flash-tts-preview.
  • Content filter: TTS input rejected by the speech provider's content filter now returns 422 naming how many fragments were blocked, instead of a generic failure.
  • Fixed reasoning-effort Gemini variants: gemini-3.5-flash-low and gemini-3.1-pro-low are documented and billed at their base model's rate.
  • Catalogue cleanup: GET /v1/models lists supported public model IDs. Use the documented canonical model IDs for new integrations.

What's new in 3.8.0

  • ElevenLabs TTS: added eleven_v3, eleven_multilingual_v2, and eleven_flash_v2_5 on the OpenAI-compatible POST /v1/audio/speech endpoint.
  • Native voices: pass an ElevenLabs voice_id through the standard voice field; the requested ElevenLabs model is preserved end to end.
  • Transparent pricing: the catalogue shows the official ElevenLabs character price and the standard API429 price after the 70% discount.

What's new in 3.7.0

  • Gemini Omni Flash video: added native gemini-omni-flash-preview generation through the async /v1/videos/generations API. The accepted compatibility alias is gemini-omni-flash.
  • Multimodal video workflows: text-to-video, image-to-video, reference-to-video, source-video editing, and stateful follow-up editing with previous_job_id are supported.
  • Usage and billing: completed Omni jobs expose native input/output/thought token usage when Google provides it, and billing settles the initial reservation using the returned usage.
  • Model integrity: Omni requests are not silently routed to Veo or another video model. Check GET /v1/models for availability on your token.

What's new in 3.6.0

  • GPT-5.6 family: added gpt-5.6 (alias of gpt-5.6-sol), gpt-5.6-sol, and gpt-5.6-terra for Chat Completions and Responses API.
  • Reasoning: GPT-5.6 supports none, low, medium, high, xhigh, and max; the default is medium.
  • Usage and billing: cache-read/cache-write usage is preserved, streaming requests are billed from the final usage event, and requests above 272K input tokens use the published long-context rates.
  • Availability: gpt-5.6-luna was not available at launch; it is listed since 3.22.1. Check GET /v1/models for the authoritative per-token catalogue.

What's new in 3.5.10

  • Nano Banana 2 Lite (gemini-3.1-flash-lite-image / nano-banana-2-lite) is now available on POST /v1/images/generations.
  • Pricing: Lite image generation is billed at $0.0336 per 1K output image; batch image jobs use the $0.0168 batch unit.
  • Compatibility alias: nano-banana-2-lite is accepted as an alias of gemini-3.1-flash-lite-image.

What's new in 3.5.9

  • Claude Sonnet 5 (claude-sonnet-5 / claude-sonnet-5.0) is now available for Claude chat workloads through the Claude API.
  • Pricing and context: Sonnet 5 is listed at $2 input / $10 output per 1M tokens during the current launch pricing window and supports a 1M-token context window.
  • Availability note: Sonnet 5 is available through the gateway's current Claude routes; provider-specific route details are intentionally not part of the public contract.

What's new in 3.5.8

  • Anthropic-compatible Messages API: documented POST /v1/messages for Claude clients that already use the official Anthropic Messages API shape. Use x-api-key auth and the same API429 client token.
  • Claude usage transparency: clarified usage.input_tokens / usage.output_tokens on native Messages responses and prompt_tokens / completion_tokens on OpenAI-compatible responses.
  • Claude native streaming: documented Anthropic SSE event order for stream:true on /v1/messages.
  • Claude cache and web search notes: documented the current public contract for prompt-cache usage fields and Anthropic server-tool passthrough.

What's new in 3.5.7

  • Grok models: added xAI Grok text models — x-ai/grok-4, x-ai/grok-4-reasoning, x-ai/grok-3, x-ai/grok-3-reasoning — on the standard POST /v1/chat/completions endpoint.
  • Extended text catalogue: additional vendor-prefixed chat IDs are now selectable — openai/gpt-5, openai/gpt-5-instant, openai/gpt-5-thinking, and google/gemini-3-pro, google/gemini-2.5-pro, google/gemini-2.5-flash.
  • New image models: nano-banana-2 (alias of gemini-3.1-flash-image), api429-image, gpt-image-1, and grok-image (xAI Aurora) added to POST /v1/images/generations.
  • Confirm availability with GET /v1/models using the same token and base URL as generation. The response reflects model permissions and serving availability, not an automatic promise of access after a plan change.

What's new in 3.5.6

  • Gemini video input for chat: token-gated Gemini text routes now accept video input on POST /v1/chat/completions using OpenAI-compatible message content parts.
  • Supported video input shapes: input_video with base64 data, and direct video_url inputs that the gateway stages temporarily before sending to Gemini.
  • Streaming support: stream:true works for video-input chat requests and returns standard OpenAI-compatible SSE chunks.

What's new in 3.5.5

  • Veo 3.1 video generation: added async video generation docs for veo-3.1-generate-001, veo-3.1-fast-generate-001, and veo-3.1-lite-generate-001.
  • Native migration paths: clients can use the API429/OpenAI-style /v1/videos/generations route or Vertex-compatible predictLongRunning / fetchPredictOperation routes by changing only the base URL and token.
  • Video billing: documented per-second Veo 3.1 list prices and async polling behavior.

What's new in 3.5.4

  • Gemini 3.5 Flash (gemini-3.5-flash) is now part of the public Gemini text catalogue. It supports chat, streaming, multimodal input, function/tools, structured output, search grounding, code execution and thinking. Output is text only.
  • Pricing: gemini-3.5-flash is billed at the Google Standard PayGo Global text rate: $1.50 input / $9.00 output per 1M tokens. Image generation, TTS and embeddings use their own model IDs.

What's new in 3.5.3

  • Self-contained client docs: removed links to separate .md guides that are not served publicly. GPT Image 2, Claude, TTS, embeddings and multimodal examples now live in this API Reference.
  • Claude public contract cleanup: public docs list only canonical Claude model IDs (claude-*).
  • Client troubleshooting cookbook: added concrete guidance for SSE parsing, image edits/reference images, 429/503 retries, unsupported fields and endpoint/model mismatches.

What's new in 3.5.2

  • Public model catalogue audit: the GPT and Gemini tables now match the current client-visible /v1/models catalogue. Unsupported legacy GPT/Codex IDs and the allowlist-gated Gemini custom-tools preview are no longer advertised as public model IDs.
  • Canonical IDs clarified: use the exact model IDs in these tables for new integrations. GET /v1/models remains the authoritative per-token allowlist.

What's new in 3.5.1

  • GPT Image 2 client guide: clarified how to call gpt-image-2 through API429 Images endpoints and how billing is calculated from text input, image input and image output.
  • GPT Image 2 pricing refresh: updated API429 billing notes to match OpenAI's current GPT-Image-2 token rates and official per-image calculator examples.

What's new in 3.5.0

  • Claude catalogue refresh: all public Anthropic/Claude text models are listed with canonical model IDs, accepted aliases, context windows and API429 list prices.
  • Claude integration guide cleanup: public docs now describe only the client-facing API contract (/v1/chat/completions, streaming and jobs).

What's new in 3.4.0

  • GPT Image 2: model:"gpt-image-2" on /v1/images/generations and /v1/images/edits is documented as a dedicated GPT Image path, not a Gemini image alias.
  • GPT Image edits/reference images: /v1/images/edits and Responses image_generation guidance now covers input_image, masks, supported output options, concrete GPT Image 2 pricing, and client-visible retry/error behavior.

What's new in 3.3.0

  • Claude streaming updates for plain stream:true chat requests. Text deltas stream through OpenAI-compatible SSE. stream:true + tools remains synthetic SSE.

What's new in 3.2.0

  • Claude long-gen optional headers for batch screenwriter / multi-turn workflows: X-Session-Key for conversation continuity and X-Async-Jobs-Optin: true for durable jobs on overload. See "Optional headers" under Claude Models below.

What's new in 3.1.0

  • Claude Sonnet 4.5 (claude-sonnet-4-5 / claude-sonnet-4.5) — same pricing as 4.6 ($3 / $15 per 1M), 200k context, Extended Thinking enabled.
  • GPT-5.5 (gpt-5.5) — frontier model from OpenAI, $5 / $30 per 1M.
  • Gemini 3.1 TTS preview (gemini-3.1-flash-tts-preview) — the current Gemini speech model on API429.

OpenAI-compatible gateway for chat, image, text-to-speech and embedding models across the Gemini, GPT and Claude families, plus native-compatible Gemini and Anthropic entry points for clients that already use those SDKs. Supports both Chat Completions and Responses API formats. Works with any OpenAI SDK client (Python, JS, Go, Rust, Ruby, Java, cURL).


Argon function round trip

Send OpenAI tools with type: "function". tool_choice supports auto, none, required, or a declared function name in the standard object form. The API returns finish_reason: "tool_calls"; your application executes the functions. Append the complete assistant message, including each call's id and any extra_content.google.thought_signature provided, then append a role: "tool" message with the matching tool_call_id and the function result for every call. Send the resulting history with the same model and function declarations, usually with tool_choice: "auto", to obtain the final answer. This also works with streaming and multiple calls in a turn; assemble calls by their stream index and preserve their signatures. API429 does not execute your functions. Google may sign only the first call in a batch; preserve signatures where present.

For structured output, send for example {"type":"json_schema","json_schema":{"name":"answer","strict":true,"schema":{"type":"object","properties":{"answer":{"type":"integer","enum":[42]}},"required":["answer"],"additionalProperties":false}}} as response_format. API429 validates the original schema, including required fields, enums and additionalProperties, and removes a complete Markdown JSON fence if the response includes one. It does not repair malformed JSON or make a second paid generation to fix it. For json_object, the result must be a JSON object.

Quickstart: the first request · Models and prices · Get an API key

Telegram