models

Gemini 4 Neon Batch

Markdown · JSON

Gemini 4 Neon Batch

google/gemini-4-neon:batch
Googleข้อความAuto · Ultra

การ์ดนี้แสดงวิธีส่งคำขอที่รองรับและราคาของ Gemini 4 Neon Batch บน Ailoot API

Ultra BatchesPOST /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"}

คำถาม

จะเลือกโมเดลสำหรับงานของฉันได้อย่างไร?

เริ่มจากระบุอินพุตและเอาต์พุตที่ต้องการ ได้แก่ ข้อความ รูปภาพ เสียง หรือวิดีโอ จากนั้นเปรียบเทียบวิธี API ที่เข้ากันได้ ID โมเดลที่แน่นอนหรือโมเดลที่นามแฝงชี้ไปในปัจจุบัน ราคาและหน่วยคิดค่าบริการ โดย GET /v1/models ใช้งานฟรีและแสดงโมเดลที่คีย์ของคุณเข้าถึงได้

ทุกโมเดลรองรับวิธี API และประเภทสื่อทั้งหมดหรือไม่?

ใช้วิธี API และประเภทอินพุตและเอาต์พุตที่ระบุในหน้าข้อมูลโมเดล การรองรับข้อความ รูปภาพ เสียง หรือวิดีโอขึ้นอยู่กับโมเดลและวิธีที่เลือก ตรวจสอบตัวอย่างคำขอที่เกี่ยวข้องก่อนส่งข้อมูล

ID โมเดลต่างจากนามแฝงอย่างไร?

ID ที่แน่นอนระบุโมเดลเฉพาะ นามแฝงชี้ไปยังโมเดลหนึ่งและโมเดลปลายทางอาจเปลี่ยนได้ ตรวจสอบโมเดลที่นามแฝงชี้ไปในปัจจุบันในแค็ตตาล็อก และใช้ ID ที่แน่นอนเมื่อการเชื่อมต่อต้องใช้โมเดลเฉพาะ

จะเปรียบเทียบราคาก่อนส่งคำขอได้อย่างไร?

ตรวจสอบราคาและหน่วยคิดค่าบริการของวิธี API ที่เลือกในหน้าข้อมูลโมเดล เปรียบเทียบด้วยหน่วยและประเภทอินพุตและเอาต์พุตเดียวกัน ประวัติคำขอจะแสดงการใช้งานจริงและยอดเงินที่หัก

สมาชิกให้อะไร?

ส่วนลดซื้อโทเคนสำหรับงานประจำ เลือกแพ็กเกจตามปริมาณคำขอ เงื่อนไขและราคาสมาชิกแสดงตอนสมัคร

ใช้โค้ดส่วนลดสูงสุด 50% อย่างไร?

ใส่โค้ดเมื่อซื้อโทเคน ยอดรวมคำนวณตามโปรโมชั่น และเห็นส่วนลดก่อนจ่าย