{"slug":"glim-sh-api-v1-inference-v1-chat-completions-42a0c8","title":"LLM chat completion (OpenAI-compatible, streaming supported)","host":"glim.sh","method":"POST","resource":"https://glim.sh/api/v1/inference/v1/chat/completions","category":"other","description":"LLM chat completion (OpenAI-compatible, streaming supported)","price_listed":0.0054,"price_asked":0.0054,"state":"answering","state_label":"Answering","checks_7d":7,"answered_7d":7,"latency_ms_median":901,"reported_calls_30d":71,"reported_payers_30d":4,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"messages":[{"content":"Hello","role":"user"}],"model":"moonshotai/kimi-k2.5"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":{},"description":"ChatCompletionBody","properties":{"max_completion_tokens":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}],"description":"Maximum completion tokens"},"max_tokens":{"anyOf":[{"maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer"},{"type":"null"}],"description":"Max tokens to generate"},"messages":{"description":"Chat messages","items":{"additionalProperties":{},"properties":{"content":{"anyOf":[{"type":"string"},{"type":"null"},{"items":{"additionalProperties":{},"properties":{"type":{"type":"string"}},"required":["type"],"type":"object"},"type":"array"}]},"role":{"description":"Message role","type":"string"}},"required":["role"],"type":"object"},"minItems":1,"type":"array"},"model":{"description":"Model identifier. Available: moonshotai/kimi-k2.5, minimax/minimax-m2.5, anthropic/claude-sonnet-4.5, anthropic/claude-sonnet-4.6, anthropic/claude-opus-4.5, anthropic/claude-opus-4.6, minimax/minimax-m2.7, z-ai/glm-5, z-ai/glm-5-turbo, z-ai/glm-5.1, x-ai/grok-4.20-beta, x-ai/grok-4.20-multi-agent-beta, x-ai/grok-4.20-beta:online, x-ai/grok-4.20-multi-agent-beta:online, google/gemini-3.1-flash-lite-preview, google/gemini-3.1-pro-preview, openai/gpt-6-luna, openai/gpt-5.6-luna, openai/gpt-6.1-terra, openai/gpt-6.2-sol, google/gemini-4-hydrogen, google/gemini-4-neon, anthropic/claude-haiku-5.5, anthropic/claude-sonnet-5.5. openai/gpt-6-luna, openai/gpt-5.6-luna, openai/gpt-6.1-terra, openai/gpt-6.2-sol, google/gemini-4-hydrogen, google/gemini-4-neon, anthropic/claude-haiku-5.5, anthropic/claude-sonnet-5.5 accept only inline text and client function tools. Claude 5.5 cache_control requests are quoted at the cache-write rate for their TTL.","minLength":1,"type":"string"},"stream":{"description":"Enable SSE streaming","type":"boolean"},"temperature":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Sampling temperature (0-2)"},"tools":{"description":"Tool definitions","items":{},"type":"array"},"top_p":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Nucleus sampling"}},"required":["model","messages"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":889,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":1005,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":925,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":901,"error":null},{"day":"2026-11-22","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":907,"error":null},{"day":"2026-11-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":876,"error":null},{"day":"2026-11-20","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":864,"error":null},{"day":"2026-11-19","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":877,"error":null},{"day":"2026-11-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":964,"error":null},{"day":"2026-11-17","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":887,"error":null},{"day":"2026-11-16","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":864,"error":null},{"day":"2026-11-15","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":968,"error":null},{"day":"2026-11-14","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":891,"error":null},{"day":"2026-11-13","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":893,"error":null},{"day":"2026-11-12","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":872,"error":null},{"day":"2026-11-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":890,"error":null},{"day":"2026-11-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":885,"error":null},{"day":"2026-11-09","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":905,"error":null},{"day":"2026-11-08","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":911,"error":null},{"day":"2026-11-07","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":887,"error":null},{"day":"2026-11-06","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":890,"error":null},{"day":"2026-11-05","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":905,"error":null},{"day":"2026-11-04","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":901,"error":null},{"day":"2026-11-03","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":936,"error":null},{"day":"2026-11-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":992,"error":null},{"day":"2026-11-01","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":1047,"error":null},{"day":"2026-10-31","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":1034,"error":null},{"day":"2026-10-29","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0054,"price_match":true,"latency_ms":1035,"error":null}],"description_full":"LLM chat completion (OpenAI-compatible, streaming supported)","last_updated":"2026-11-25T21:42:33.226Z","schemes":["exact"]}