mô hình

Gemini 4 Neon

Markdown · JSON

Gemini 4 Neon

google/gemini-4-neon
GoogleVăn bảnAuto · Ultra

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 trong API Ailoot.

context_length 1048576

max_output_tokens 65536

Ultra OpenAI ChatPOST /v1/chat/completions
Đầu vào
text
Đầu ra
text
Ngữ cảnh
1.048.576 token
Độ dài câu trả lời tối đa
65.536 token
Đầu vào
0,006 US$ / 1K
Đầu ra
0,03 US$ / 1K
Đọc bộ nhớ đệm
0,0003 US$ / 1K
Tham số phương thức và vòng đời
Tham sốHợp đồng
Tham sốmodalitiesHợp đồngtext
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
Đầu vào
text
Đầu ra
text
Ngữ cảnh
1.048.576 token
Độ dài câu trả lời tối đa
65.536 token
Đầu vào
0,006 US$ / 1K
Đầu ra
0,03 US$ / 1K
Đọc bộ nhớ đệm
0,0003 US$ / 1K
Tham số phương thức và vòng đời
Tham sốHợp đồng
Tham sốmodalitiesHợp đồngtext
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
Đầu vào
text
Đầu ra
text
Ngữ cảnh
1.048.576 token
Độ dài câu trả lời tối đa
65.536 token
Đầu vào
0,006 US$ / 1K
Đầu ra
0,03 US$ / 1K
Đọc bộ nhớ đệm
0,0003 US$ / 1K
Tham số phương thức và vòng đời
Tham sốHợp đồng
Tham sốmodalitiesHợp đồngtext
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":"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 trong API Ailoot.","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":"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 trong API Ailoot."}

Câu hỏi

Làm sao chọn mô hình cho tác vụ của tôi?

Trước tiên xác định đầu vào và đầu ra cần thiết: văn bản, hình ảnh, âm thanh hay video. Sau đó so sánh phương thức API tương thích, ID mô hình chính xác hoặc mô hình đích hiện tại của bí danh, giá và đơn vị tính phí. GET /v1/models miễn phí và liệt kê các mô hình mà khóa của bạn có thể truy cập.

Mỗi mô hình có hỗ trợ mọi phương thức API và loại nội dung không?

Dùng các phương thức API và loại đầu vào, đầu ra được liệt kê trên thẻ mô hình. Việc hỗ trợ văn bản, hình ảnh, âm thanh hay video phụ thuộc vào mô hình và phương thức đã chọn; xem ví dụ yêu cầu trước khi gửi dữ liệu.

ID mô hình khác bí danh như thế nào?

ID chính xác chỉ một mô hình cụ thể. Bí danh trỏ đến một mô hình và mô hình đích có thể thay đổi. Kiểm tra mô hình đích hiện tại của bí danh trong danh mục; dùng ID chính xác khi tích hợp cần một mô hình cụ thể.

Làm sao so sánh giá trước khi gửi yêu cầu?

Xem giá và đơn vị tính phí của phương thức API đã chọn trên thẻ mô hình. So sánh cùng đơn vị và loại đầu vào, đầu ra; lịch sử yêu cầu hiển thị mức sử dụng thực tế và số tiền đã trừ.

Thuê bao mang lại gì?

Giảm giá mua token cho nhu cầu thường xuyên. Chọn gói theo khối lượng yêu cầu; điều khoản và giá thuê bao hiển thị khi đăng ký.

Làm sao áp dụng mã giảm đến 50%?

Nhập mã khuyến mãi khi mua token. Tổng tiền được tính lại theo điều kiện chương trình; mức giảm hiển thị trước khi thanh toán.