Gemini 4 Neon Batch
google/gemini-4-neon:batchการ์ดนี้แสดงวิธีส่งคำขอที่รองรับและราคาของ Gemini 4 Neon Batch บน Ailoot API
POST /v1/batches- ขาเข้า
text- ขาออก
text- บริบท
- ไม่ได้ระบุในแค็ตตาล็อก
- ความยาวคำตอบสูงสุด
- ไม่ได้ระบุในแค็ตตาล็อก
- ขาเข้า
- US$0.003 / 1K
- ขาออก
- US$0.015 / 1K
- การอ่านแคช
- US$0.00015 / 1K
ราคาตามความยาวคำขอ · Batches
| ขนาดคำขอ, โทเคน | ขาเข้า | ขาออก | การอ่านแคช | การเขียนแคช | แคช 5 นาที | แคช 1 ชั่วโมง |
|---|---|---|---|---|---|---|
| ขนาดคำขอ, โทเคน(0; ∞) | ขาเข้าUS$0.003 | ขาออกUS$0.015 | การอ่านแคชUS$0.00015 | การเขียนแคชอัตราพื้นฐาน: — | แคช 5 นาทีอัตราพื้นฐาน: — | แคช 1 ชั่วโมงอัตราพื้นฐาน: — |
อัตราเป็น USD ต่อ 1K โทเค็น หากไม่ได้กำหนดอัตรา จะใช้อัตราพื้นฐานของเมธอดนี้ โดย «—» หมายถึงยังไม่ได้กำหนดอัตราพื้นฐาน
พารามิเตอร์และวงจรการทำงานของเมธอด
| พารามิเตอร์ | ข้อกำหนด |
|---|---|
พารามิเตอร์modalities | ข้อกำหนดtext |
วงจรการทำงาน: submit_once_poll_original
GET /v1/batches/{request_id}
cURL
curl -sS https://api.ailoot.ai/v1/batches \
-H "Authorization: Bearer ${AILOOT_API_KEY}" -H 'Content-Type: application/json' \
--data '{"endpoint":"/v1/chat/completions","model":"google/gemini-4-neon:batch","completion_window":"24h","requests":[{"custom_id":"example-1","body":{"messages":[{"role":"user","content":"Reply with exactly one word: OK."}],"max_tokens":256,"reasoning":{"effort":"low"}}}]}'GET /v1/batches/{request_id}
curl -sS "https://api.ailoot.ai/v1/batches/${REQUEST_ID}" \
-H "Authorization: Bearer ${AILOOT_API_KEY}"JSON
{"about":"การ์ดนี้แสดงวิธีส่งคำขอที่รองรับและราคาของ Gemini 4 Neon Batch บน Ailoot API","alias_of":null,"aliases":[],"author":"Google","available":true,"canonical_model":"google/gemini-4-neon:batch","card_routes":[{"label":"Ultra","rates":[{"amount":3.0,"amount_unit":"usd_per_million_tokens","key":"in","label":"Input","side":"in"},{"amount":15.0,"amount_unit":"usd_per_million_tokens","key":"out","label":"Output","side":"out"}]}],"ctx":null,"entity_type":"model","formats":["batches"],"id":"google/gemini-4-neon:batch","input":["text"],"kind":"text","max_out":null,"methods":[{"available":true,"cache_read":0.15,"cache_write":null,"cache_write_1h":null,"cache_write_5m":null,"conditional_meter":null,"contract":{"data":{"example_body":{"completion_window":"24h","endpoint":"/v1/chat/completions","model":"google/gemini-4-neon:batch","requests":[{"body":{"max_tokens":256,"messages":[{"content":"Reply with exactly one word: OK.","role":"user"}],"reasoning":{"effort":"low"}},"custom_id":"example-1"}]}},"input":{"modalities":["text"]},"lifecycle":{"create":{"http":"POST","path":"/v1/batches"},"mode":"submit_once_poll_original","status":[{"http":"GET","path":"/v1/batches/{request_id}"}]},"method":{"http":"POST","path":"/v1/batches"},"output":{"modalities":["text"]}},"ctx":null,"examples":[{"code":"curl -sS https://api.ailoot.ai/v1/batches \\\n -H \"Authorization: Bearer ${AILOOT_API_KEY}\" -H 'Content-Type: application/json' \\\n --data '{\"endpoint\":\"/v1/chat/completions\",\"model\":\"google/gemini-4-neon:batch\",\"completion_window\":\"24h\",\"requests\":[{\"custom_id\":\"example-1\",\"body\":{\"messages\":[{\"role\":\"user\",\"content\":\"Reply with exactly one word: OK.\"}],\"max_tokens\":256,\"reasoning\":{\"effort\":\"low\"}}}]}'","label":"cURL","language":"bash"},{"code":"curl -sS \"https://api.ailoot.ai/v1/batches/${REQUEST_ID}\" \\\n -H \"Authorization: Bearer ${AILOOT_API_KEY}\"","label":"GET /v1/batches/{request_id}","language":"bash"}],"family":"openai","fast_multiplier":null,"flex_multiplier":null,"fmt":"batches","http":"POST","img_in":null,"img_out":null,"in":3.0,"input":["text"],"label":"Batches","max_out":null,"max_tool_calls":null,"native_endpoint":"batches","out":15.0,"output":["text"],"path":"/v1/batches","pricing":{"billing_mode":"token","cache_read_usd_per_token":1.5e-07,"cache_write_1h_usd_per_token":null,"cache_write_5m_usd_per_token":null,"currency":"USD","input_usd_per_token":3e-06,"output_usd_per_token":1.5e-05,"status":"configured","tiers":[{"cache_read_usd_per_token":1.5e-07,"cache_write_1h_usd_per_token":null,"cache_write_5m_usd_per_token":null,"input_usd_per_token":3e-06,"interval_boundary":"min_exclusive_max_inclusive","label":"","min_tokens":0,"null_rate_policy":"inherit_base_rate","output_usd_per_token":1.5e-05}]},"request_model_id":"google/gemini-4-neon:batch","route_label":"Ultra","route_tier":"ultra","status_reads":["GET /v1/batches/{request_id}"],"tiers":[{"cache_read":0.15,"cache_write":null,"cache_write_1h":null,"cache_write_5m":null,"in":3.0,"interval_boundary":"min_exclusive_max_inclusive","label":"","max":null,"min":0,"null_rate_policy":"inherit_base_rate","out":15.0}],"tool_prices":null,"unit":"token","units":[]}],"model_aliases":[{"canonical_model_id":"google/gemini-4-neon:batch","request_model_id":"google/gemini-4-neon:batch","route_label":"Ultra"}],"name":"Gemini 4 Neon Batch","price":{"in":3.0,"in_label":null,"out":15.0,"out_label":null,"sort_in":3.0,"sort_out":15.0,"varies":false},"public_id":"google/gemini-4-neon:batch","short":"การ์ดนี้แสดงวิธีส่งคำขอที่รองรับและราคาของ Gemini 4 Neon Batch บน Ailoot API"}