Gemini 4 Neon Batch
google/gemini-4-neon:batchThẻ này trình bày các phương thức yêu cầu được hỗ trợ và giá của Gemini 4 Neon Batch trong API Ailoot.
POST /v1/batches- Đầu vào
text- Đầu ra
text- Ngữ cảnh
- Không nêu trong danh mục
- Độ dài câu trả lời tối đa
- Không nêu trong danh mục
- Đầu vào
- 0,003 US$ / 1K
- Đầu ra
- 0,015 US$ / 1K
- Đọc bộ nhớ đệm
- 0,00015 US$ / 1K
Giá theo độ dài yêu cầu · Batches
| Độ dài yêu cầu, token | Đầu vào | Đầu ra | Đọc bộ nhớ đệm | Ghi bộ nhớ đệm | Bộ nhớ đệm 5 phút | Bộ nhớ đệm 1 giờ |
|---|---|---|---|---|---|---|
| Độ dài yêu cầu, token(0; ∞) | Đầu vào0,003 US$ | Đầu ra0,015 US$ | Đọc bộ nhớ đệm0,00015 US$ | Ghi bộ nhớ đệmGiá cơ bản: — | Bộ nhớ đệm 5 phútGiá cơ bản: — | Bộ nhớ đệm 1 giờGiá cơ bản: — |
Mức phí bằng USD cho mỗi 1K token. Nếu chưa đặt mức phí, mức phí cơ bản của phương thức này được kế thừa; «—» nghĩa là chưa đặt mức phí cơ bản.
Tham số phương thức và vòng đời
| Tham số | Hợp đồng |
|---|---|
Tham sốmodalities | Hợp đồngtext |
Vòng đời: 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":"Thẻ này trình bày các phương thức yêu cầu được hỗ trợ và giá của Gemini 4 Neon Batch trong API Ailoot.","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":"Thẻ này trình bày các phương thức yêu cầu được hỗ trợ và giá của Gemini 4 Neon Batch trong API Ailoot."}