模型

Gemini 4 Neon

Markdown · JSON

Gemini 4 Neon

google/gemini-4-neon
Google文字Auto · Ultra

此卡片列出 Ailoot API 中 Gemini 4 Neon 支援的請求方式與價格。

context_length 1048576

max_output_tokens 65536

Ultra OpenAI ChatPOST /v1/chat/completions
輸入
text
輸出
text
上下文
1,048,576 token
最大回應
65,536 token
輸入
US$0.006 / 1K
輸出
US$0.03 / 1K
讀取快取
US$0.0003 / 1K
方法參數與生命週期
參數規格
參數modalities規格text
cURL
curl -sS https://api.ailoot.ai/v1/chat/completions \
  -H "Authorization: Bearer ${AILOOT_API_KEY}" -H 'Content-Type: application/json' \
  --data '{"model":"google/gemini-4-neon","messages":[{"role":"user","content":"Reply with one word: OK."}],"max_tokens":256}'
Ultra Anthropic MessagesPOST /v1/messages
輸入
text
輸出
text
上下文
1,048,576 token
最大回應
65,536 token
輸入
US$0.006 / 1K
輸出
US$0.03 / 1K
讀取快取
US$0.0003 / 1K
方法參數與生命週期
參數規格
參數modalities規格text
cURL
curl -sS https://api.ailoot.ai/v1/messages \
  -H "Authorization: Bearer ${AILOOT_API_KEY}" -H 'Content-Type: application/json' -H 'anthropic-version: 2023-06-01' \
  --data '{"model":"google/gemini-4-neon","messages":[{"role":"user","content":"Reply with one word: OK."}],"max_tokens":256}'
Ultra OpenAI ResponsesPOST /v1/responses
輸入
text
輸出
text
上下文
1,048,576 token
最大回應
65,536 token
輸入
US$0.006 / 1K
輸出
US$0.03 / 1K
讀取快取
US$0.0003 / 1K
方法參數與生命週期
參數規格
參數modalities規格text
cURL
curl -sS https://api.ailoot.ai/v1/responses \
  -H "Authorization: Bearer ${AILOOT_API_KEY}" -H 'Content-Type: application/json' \
  --data '{"model":"google/gemini-4-neon","input":"Reply with one word: OK.","max_output_tokens":256,"store":false}'
JSON
{"about":"此卡片列出 Ailoot API 中 Gemini 4 Neon 支援的請求方式與價格。","alias_of":null,"aliases":[],"author":"Google","available":true,"canonical_model":"google/gemini-4-neon","card_routes":[{"label":"Ultra","rates":[{"amount":6.0,"amount_unit":"usd_per_million_tokens","key":"in","label":"Input","side":"in"},{"amount":30.0,"amount_unit":"usd_per_million_tokens","key":"out","label":"Output","side":"out"}]}],"ctx":1048576,"entity_type":"model","formats":["chat","messages","responses"],"id":"google/gemini-4-neon","input":["text"],"kind":"text","max_out":65536,"methods":[{"available":true,"cache_read":0.3,"cache_write":null,"cache_write_1h":null,"cache_write_5m":null,"conditional_meter":null,"contract":{"data":{"example_body":{"max_tokens":256,"messages":[{"content":"Reply with one word: OK.","role":"user"}],"model":"google/gemini-4-neon"}},"input":{"modalities":["text"]},"method":{"http":"POST","path":"/v1/chat/completions"},"output":{"modalities":["text"]}},"ctx":1048576,"examples":[{"code":"curl -sS https://api.ailoot.ai/v1/chat/completions \\\n  -H \"Authorization: Bearer ${AILOOT_API_KEY}\" -H 'Content-Type: application/json' \\\n  --data '{\"model\":\"google/gemini-4-neon\",\"messages\":[{\"role\":\"user\",\"content\":\"Reply with one word: OK.\"}],\"max_tokens\":256}'","label":"cURL","language":"bash"}],"family":"openai","fast_multiplier":1,"flex_multiplier":1,"fmt":"chat","http":"POST","img_in":null,"img_out":null,"in":6.0,"input":["text"],"label":"OpenAI Chat","max_out":65536,"max_tool_calls":null,"native_endpoint":"chat_completions","out":30.0,"output":["text"],"path":"/v1/chat/completions","pricing":{"billing_mode":"token","cache_read_usd_per_token":3e-07,"cache_write_1h_usd_per_token":null,"cache_write_5m_usd_per_token":null,"currency":"USD","fast_multiplier":1,"flat_retail_context":true,"flex_multiplier":1,"input_usd_per_token":6e-06,"max_input_tokens":1048576,"max_output_tokens":65536,"max_reasoning_effort_multiplier":1,"output_usd_per_token":3e-05,"status":"configured"},"request_model_id":"google/gemini-4-neon","route_label":"Ultra","route_tier":"ultra","status_reads":[],"tiers":[],"tool_prices":null,"unit":"token","units":[]},{"available":true,"cache_read":0.3,"cache_write":null,"cache_write_1h":null,"cache_write_5m":null,"conditional_meter":null,"contract":{"data":{"example_body":{"max_tokens":256,"messages":[{"content":"Reply with one word: OK.","role":"user"}],"model":"google/gemini-4-neon"}},"input":{"modalities":["text"]},"method":{"http":"POST","path":"/v1/messages"},"output":{"modalities":["text"]}},"ctx":1048576,"examples":[{"code":"curl -sS https://api.ailoot.ai/v1/messages \\\n  -H \"Authorization: Bearer ${AILOOT_API_KEY}\" -H 'Content-Type: application/json' -H 'anthropic-version: 2023-06-01' \\\n  --data '{\"model\":\"google/gemini-4-neon\",\"messages\":[{\"role\":\"user\",\"content\":\"Reply with one word: OK.\"}],\"max_tokens\":256}'","label":"cURL","language":"bash"}],"family":"anthropic","fast_multiplier":1,"flex_multiplier":1,"fmt":"messages","http":"POST","img_in":null,"img_out":null,"in":6.0,"input":["text"],"label":"Anthropic Messages","max_out":65536,"max_tool_calls":null,"native_endpoint":"messages","out":30.0,"output":["text"],"path":"/v1/messages","pricing":{"billing_mode":"token","cache_read_usd_per_token":3e-07,"cache_write_1h_usd_per_token":null,"cache_write_5m_usd_per_token":null,"currency":"USD","fast_multiplier":1,"flat_retail_context":true,"flex_multiplier":1,"input_usd_per_token":6e-06,"max_input_tokens":1048576,"max_output_tokens":65536,"max_reasoning_effort_multiplier":1,"output_usd_per_token":3e-05,"status":"configured"},"request_model_id":"google/gemini-4-neon","route_label":"Ultra","route_tier":"ultra","status_reads":[],"tiers":[],"tool_prices":null,"unit":"token","units":[]},{"available":true,"cache_read":0.3,"cache_write":null,"cache_write_1h":null,"cache_write_5m":null,"conditional_meter":null,"contract":{"data":{"example_body":{"input":"Reply with one word: OK.","max_output_tokens":256,"model":"google/gemini-4-neon","store":false}},"input":{"modalities":["text"]},"method":{"http":"POST","path":"/v1/responses"},"output":{"modalities":["text"]}},"ctx":1048576,"examples":[{"code":"curl -sS https://api.ailoot.ai/v1/responses \\\n  -H \"Authorization: Bearer ${AILOOT_API_KEY}\" -H 'Content-Type: application/json' \\\n  --data '{\"model\":\"google/gemini-4-neon\",\"input\":\"Reply with one word: OK.\",\"max_output_tokens\":256,\"store\":false}'","label":"cURL","language":"bash"}],"family":"openai","fast_multiplier":1,"flex_multiplier":1,"fmt":"responses","http":"POST","img_in":null,"img_out":null,"in":6.0,"input":["text"],"label":"OpenAI Responses","max_out":65536,"max_tool_calls":null,"native_endpoint":"responses","out":30.0,"output":["text"],"path":"/v1/responses","pricing":{"billing_mode":"token","cache_read_usd_per_token":3e-07,"cache_write_1h_usd_per_token":null,"cache_write_5m_usd_per_token":null,"currency":"USD","fast_multiplier":1,"flat_retail_context":true,"flex_multiplier":1,"input_usd_per_token":6e-06,"max_input_tokens":1048576,"max_output_tokens":65536,"max_reasoning_effort_multiplier":1,"output_usd_per_token":3e-05,"status":"configured"},"request_model_id":"google/gemini-4-neon","route_label":"Ultra","route_tier":"ultra","status_reads":[],"tiers":[],"tool_prices":null,"unit":"token","units":[]}],"model_aliases":[{"canonical_model_id":"google/gemini-4-neon","request_model_id":"google/gemini-4-neon","route_label":"Ultra"}],"name":"Gemini 4 Neon","price":{"in":6.0,"in_label":null,"out":30.0,"out_label":null,"sort_in":6.0,"sort_out":30.0,"varies":false},"public_id":"google/gemini-4-neon","short":"此卡片列出 Ailoot API 中 Gemini 4 Neon 支援的請求方式與價格。"}

常見問題

如何為任務選擇模型?

先確定需要的輸入與輸出:文字、圖片、音訊或影片,再比較相容的 API 方法、確切的模型 ID 或別名目前指向的模型、價格與計費單位。免費的 GET /v1/models 會列出金鑰可存取的模型。

每個模型都支援所有 API 方法與媒體類型嗎?

請使用模型卡片列出的 API 方法與輸入、輸出類型。文字、圖片、音訊或影片的支援情況取決於所選模型及方法;傳送資料前請查看對應的請求範例。

模型 ID 與別名有何不同?

確切的 ID 代表特定模型。別名會指向某個模型,而指向的模型可能變更。請在目錄中查看別名目前指向的模型;整合需要特定模型時,請使用確切的 ID。

傳送請求前如何比較價格?

在模型卡片中查看所選 API 方法的價格與計費單位。請以相同單位及輸入、輸出類型比較;請求紀錄會顯示實際用量與扣款金額。

訂閱提供什麼?

持續工作可優惠購買 token。按請求量選方案,訂閱條件與費用在申購時顯示。

如何使用最高 50% 折扣碼?

購買 token 時輸入折扣碼,總額依活動條件重算,付款前即可看到優惠。