Version: 3.31.0 | Last Updated: 2026-10-30 | Documentation revised: 2026-11-23
Claude: capabilities depend on the route.
json_objectand non-strictjson_schemamay 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 completemessageshistory, 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-carbonorgemini-4-hydrogenonPOST /v1/chat/completions, with ordinary or streaming responses.thinking_levelacceptslow,mediumandhigh(default);gemini-4-neonandgemini-4-hydrogenalso acceptxhigh. A level the model does not have returns 400 before generation. Text, image understanding, client-executed function tools andresponse_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'sGET /v1/modelsfor access. Thinking tokens are included incompletion_tokensand billed as output. Exact prices and account discounts come from the runtime catalog.Gemini 4 Argon (2026-10-15): use
gemini-4-argononPOST /v1/chat/completions, with ordinary or streaming responses.thinking_levelacceptslow,mediumandhigh(default). Text, image understanding, client-executed function tools andresponse_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$idresources are rejected. Hosted tools, video and combining tools with JSON response_format in one request remain unavailable. Check your key'sGET /v1/modelsfor access. Thinking tokens are included incompletion_tokensand 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-thinkingandgpt-oss-120b-mediumsupport text chat and streaming. Check availability and your token's permissions withGET /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/modelscompatibility entries are unchanged.Fish Audio billing (2026-10-10):
fish-s2.1-prois 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-5andclaude-haiku-5-5are available onPOST /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-astrasupports text/images, streaming, reasoning and strict JSON. Use/v1/responsesfor 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 baregpt-6.1is not a separate model ID). GPT-6.1 Sol andgpt-6.1-terraare served;gpt-6.1-lunaandgpt-6.1-astraare not available. Terra supportsnonethroughmax. For Sol, reasoning effort islowthroughmax(nonone); use/v1/responsesfor tools.GPT-6 Sol and Luna (2026-09-23): use the exact IDs
gpt-6-solandgpt-6-luna. Check your token'sGET /v1/modelsbefore use. There is no publishedgpt-6-terraID;gpt-5.6-terraremains 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 GMTandLink: <…>; rel="deprecation". From 2026-12-01 a request that uses one gets400withcode: "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 inerror.suggested_modeland lists the models your key can use inerror.available_models(same family first). The message names the suggested model and up to five alternatives; it is in Russian when yourAccept-Languageprefers Russian./v1/messagesand 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(and4.5)claude-sonnet-5.5claude-opus-4-8-1m,claude-opus-4-7-1m,claude-opus-4-6-1m(and[1m]/ dotted spellings)claude-opus-5-5gemini-3.6-flash,gemini-3.5-flash,gemini-3.5-flash-low/-medium/-highgemini-3.8-flashgemini-3-pro-preview,gemini-3-progemini-3.1-pro-previewReasoning-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-flashis the latest stable Flash model published by API429. The public catalog does not listgemini-3.7-flashorgemini-2.5-pro. For an existing integration, check the exact ID with your key onGET /v1/models.Check access with the same key and endpoint: the website's public catalog is platform-wide;
GET /v1/modelsis 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 andtrace_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 thangemini-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):n1–4,aspect_ratio1:1/16:9/9:16/4:3/3:4,resolution1K/2K,seed. Edit an image by sendingimageas 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 returns400with 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 are720pand1080p;4kreturns400listing 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
360por720p, text, start frame, first+last frame, up to 3 reference images, and editing a finished Omni clip withmode: "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_formatnow returns the format you ask for (mp3,opus,aac,flac,wav,pcm);instructionscarries 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(aliasgemini-3-flash): streaming, image input andreasoning_effortminimal/low/medium/highonPOST /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-proandmimo-v2.6-flashonPOST /v1/chat/completionsandPOST /v1/messages, at the vendors' official list prices — see Extended text models.- No longer available:
mimo-v2.5,mimo-v2.5-proandcomposer-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 examplegpt-6.1-sol,gpt-5.6-sol,gpt-5.6-terraorgpt-5.6-luna.- Function calling and image input on
chatgpt-*models: client-executedtoolsandtool_choicenow work onPOST /v1/chat/completionsandPOST /v1/responses, in ordinary and streaming responses. The model returns standardtool_callswithfinish_reason: "tool_calls", and the next turn acceptsrole: "tool"results.image_urlinput (data URI or HTTPS) is supported.max_tokensand stop sequences are always honoured for Claude models on every endpoint (/v1/chat/completions,/v1/responses,/v1/messageswithstop_sequences). Truncated answers reportfinish_reason: "length"/"stop"(stop_reason: "max_tokens"/"stop_sequence"on/v1/messages).- Live model list:
GET /v1/modelslists 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-ttsandgemini-2.5-flash-preview-ttsjoingemini-3.1-flash-tts-previewonPOST /v1/audio/speech. See "Text-to-Speech".- Speech-to-text: new OpenAI-compatible
POST /v1/audio/transcriptionswithgemini-3.5-transcribe—json,text,verbose_json(segments with speaker labels, word timestamps),srtandvtt. See "Speech-to-Text".What's new in 3.25.0
- Eleven v4 and v4 Turbo:
eleven_v4andeleven_v4_turbo, the newest ElevenLabs speech models (released 2026-09-28, 90+ languages), are available onPOST /v1/audio/speechand listed inGET /v1/models.eleven_v3stays 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-previewandcomposer-2.5-fastonPOST /v1/chat/completions. See "Extended text models".- New Claude, Gemini and Grok ids:
claude-fable-5.1,gemini-3.6-flashandgrok-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) andgpt-image-2.5-sunburst(thinking mode) are available onPOST /v1/images/generationsat 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"andsize:"1024x1536"now produce 3:2 and 2:3 images instead of squares, and any otherWIDTHxHEIGHTuses the nearest supported aspect ratio. The DALL·E sizes andgpt-image-2are 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-codexandgpt-5.2through API429. The IDs stay accepted as compatibility aliases:gpt-5.4-mini(andgpt-5-mini) resolve togpt-5.6-luna, the others togpt-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-lunais 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-solto the public catalog, withgpt-6.1as 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-solandgpt-6-lunato the public catalog.gpt-6-terrais not an available model ID.- Existing token allowlists remain unchanged.
What's new in 3.20.3
- Images in Chat Completions:
message.imagesand a realusage: an image model on/v1/chat/completionsnow returns the picture(s) inmessage.imagesasimage_urlparts (the shape OpenRouter and the Vercel AI SDK use) in addition to the markdown data URI kept incontent.usageis 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) andimage_count. Streaming sends one image event, a finish chunk and, withstream_options.include_usage, a usage chunk before[DONE]. Billing is unchanged: per generated image. See "Image models on Chat Completions".gemini-2.5-flash-imageon/v1/chat/completionsgenerates 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_urlparts 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
502withThe image model returned no image; the request was not billed.instead of a paid empty200.capabilitiesinGET /v1/models: every model item now carries acapabilitieslist (for example["chat", "image_editing", "image_generation", "vision"]), the same values the public catalog publishes. Useimage_editingto pick a model for/v1/images/editsinstead of probing with paid calls. Standard OpenAI fields are unchanged.- Image alias listing:
nano-bananaandnano-banana-proare listed inGET /v1/modelsagain (they are served by Google asgemini-2.5-flash-image/gemini-3-pro-image).nana-bana-proand the retiredgemini-3-pro-image-preview/gemini-3.1-flash-image-previewremain accepted as compatibility aliases but are not listed.- Gemini 3.5 Flash compatibility:
gemini-3.5-flash-low,-mediumand-highremain accepted as compatibility aliases ofgemini-3.5-flashat the same price. Usethinking_level(low/medium/high) to control reasoning.gemini-3.5-flash-lowis no longer listed inGET /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_customertokens receive both asyncvideoandaudioscopes 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-previewbefore the token can generate music.What's new in 3.20.0
- Lyria 3 Pro music generation: added
lyria-3-pro-previewthrough the durable asyncPOST /v1/music/generationsAPI.- 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-Keyis 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/highreasoning effort withmediumas the default.- Canonical-only requests: do not append
-non-thinkingor effort suffixes to the model ID. Customtemperature,top_p,top_k, andn/ nativecandidateCountare unsupported.- Strict request validation: generation must end with a non-empty user text turn; model-prefill turns are rejected. Native
FunctionResponseparts 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 retiredgemini-omni-flash-previewand shortgemini-omni-flashspellings remain input-only compatibility aliases.- New Omni controls: added
360p,1080p, and4kalongside720p, 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
videoscope by default. Text, image, and audio async scopes remain explicit admin opt-ins.- Native TTS billing parity: Gemini
generateContentspeech 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-previewis the current Gemini speech model on both API429 TTS surfaces. Cloud TTS model IDs are no longer presented as GeminigenerateContentmodels.- 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 returnsurl(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/voicesand pass the id it returns asvoiceonPOST /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/voiceslists the public voices a model accepts, filterable bylanguageandq. Addscope=minefor your own cloned voices.voiceis required onfish-s2.1-pro: there is no default. Omitting it, or passing a voice name rather than a 32-character id, returns400— 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
nexplicitly to receive fewer. Request-levelsize/aspect_ratioare ignored — use--arinsideprompt.- Midjourney modifications: every generated image returns an
id; pass it assource_image_idwithmj-upscale,mj-upscale-creative,mj-outpaint-*,mj-variations-subtle,mj-variations-strongormj-remixto act on that image.What's new in 3.14.0
- Fish Audio TTS: new
fish-s2.1-proonPOST /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-prohonoursresponse_format—mp3(default),wav,pcm,opus. Usewavwhen 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;
opuscannot be joined and returns400for long input.- Link delivery: send
"delivery": "url"on/v1/audio/speechto 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.6after production probes confirmed text, vision, reasoning, function calling, structured output, Chat Completions, and Responses API.- Reasoning:
reasoning_effortacceptslow,medium,high, orxhigh; omit it for xAI'shighdefault. 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-flashmodel, 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_kandthinking_budget; API429 removes those unsupported controls before dispatch. Usethinking_levelorreasoning_effortwithlow,medium, orhigh(default:medium).What's new in 3.11.0
- Nano Banana Pro is GA: use canonical ID
gemini-3-pro-image. The retiredgemini-3-pro-image-previewID and friendly namesnano-banana-pro/nana-bana-proremain accepted as compatibility aliases and are rewritten before the Google request.- Model catalogue re-audited: every
Available Modelstable (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, andapi429-ttskeep routing for backward compatibility but are no longer advertised in the catalogue; new integrations should useelevenlabs-gen.What's new in 3.9.0
- Claude Opus 5 and Claude Fable 5:
claude-opus-5andclaude-fable-5are 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-ttsrequests 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/speechand the Gemini-native gateway isgemini-3.1-flash-tts-preview.- Content filter: TTS input rejected by the speech provider's content filter now returns
422naming how many fragments were blocked, instead of a generic failure.- Fixed reasoning-effort Gemini variants:
gemini-3.5-flash-lowandgemini-3.1-pro-loware documented and billed at their base model's rate.- Catalogue cleanup:
GET /v1/modelslists 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, andeleven_flash_v2_5on the OpenAI-compatiblePOST /v1/audio/speechendpoint.- Native voices: pass an ElevenLabs
voice_idthrough the standardvoicefield; 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-previewgeneration through the async/v1/videos/generationsAPI. The accepted compatibility alias isgemini-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_idare 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/modelsfor availability on your token.What's new in 3.6.0
- GPT-5.6 family: added
gpt-5.6(alias ofgpt-5.6-sol),gpt-5.6-sol, andgpt-5.6-terrafor Chat Completions and Responses API.- Reasoning: GPT-5.6 supports
none,low,medium,high,xhigh, andmax; the default ismedium.- 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-lunawas not available at launch; it is listed since 3.22.1. CheckGET /v1/modelsfor 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 onPOST /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-liteis accepted as an alias ofgemini-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/messagesfor Claude clients that already use the official Anthropic Messages API shape. Usex-api-keyauth and the same API429 client token.- Claude usage transparency: clarified
usage.input_tokens/usage.output_tokenson native Messages responses andprompt_tokens/completion_tokenson OpenAI-compatible responses.- Claude native streaming: documented Anthropic SSE event order for
stream:trueon/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 standardPOST /v1/chat/completionsendpoint.- Extended text catalogue: additional vendor-prefixed chat IDs are now selectable —
openai/gpt-5,openai/gpt-5-instant,openai/gpt-5-thinking, andgoogle/gemini-3-pro,google/gemini-2.5-pro,google/gemini-2.5-flash.- New image models:
nano-banana-2(alias ofgemini-3.1-flash-image),api429-image,gpt-image-1, andgrok-image(xAI Aurora) added toPOST /v1/images/generations.- Confirm availability with
GET /v1/modelsusing 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/completionsusing OpenAI-compatible message content parts.- Supported video input shapes:
input_videowith base64 data, and directvideo_urlinputs that the gateway stages temporarily before sending to Gemini.- Streaming support:
stream:trueworks 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, andveo-3.1-lite-generate-001.- Native migration paths: clients can use the API429/OpenAI-style
/v1/videos/generationsroute or Vertex-compatiblepredictLongRunning/fetchPredictOperationroutes 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-flashis 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
.mdguides 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/modelscatalogue. 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/modelsremains the authoritative per-token allowlist.What's new in 3.5.1
- GPT Image 2 client guide: clarified how to call
gpt-image-2through 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/generationsand/v1/images/editsis documented as a dedicated GPT Image path, not a Gemini image alias.- GPT Image edits/reference images:
/v1/images/editsand Responsesimage_generationguidance now coversinput_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:truechat requests. Text deltas stream through OpenAI-compatible SSE.stream:true + toolsremains synthetic SSE.What's new in 3.2.0
- Claude long-gen optional headers for batch screenwriter / multi-turn workflows:
X-Session-Keyfor conversation continuity andX-Async-Jobs-Optin: truefor 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