Skip to main content
EmberCloud offers 8 models through Lava’s AI Gateway, supporting Chat Completions. Authentication uses Authorization: Bearer. See the EmberCloud API docs for provider-specific parameters.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.

Quick Start

const response = await fetch('https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.embercloud.ai%2Fv1%2Fchat%2Fcompletions', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${forwardToken}`,
  },
  body: JSON.stringify({
    model: 'minimax-m2.5',
    messages: [{ role: "user", content: "Hello!" }],
  }),
});

Chat Completions

Target URL: https://api.embercloud.ai/v1/chat/completions
Content Typeapplication/json
StreamingYes (set stream: true in request body)
ModelInput / 1M tokensOutput / 1M tokens
glm-5$0.72$2.30
glm-4.5$0.60$2.20
kimi-k2.5$0.405$1.98
glm-4.7$0.38$1.98
minimax-m2.5$0.20$1.20
glm-4.5-air$0.13$0.85
qwen3-coder-next$0.108$0.675
glm-4.7-flash$0.06$0.40

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests