Skip to content
Fourohtwo

sol.mapleai.shop/v1/chat/completions

OpenAI-compatible chat completion, priced by counted input tokens + max output tokens at per-model rates

SolanaAnswering
POSThttps://sol.mapleai.shop/v1/chat/completions

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://sol.mapleai.shop/v1/chat/completions" \
  -d '{"model":"openai/gpt-6-luna","messages":[{"role":"user","content":"Hello"}],"max_tokens":64}'

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "model": "openai/gpt-6-luna",
  "messages": [
    {
      "role": "user",
      "content": "Hello"
    }
  ],
  "max_tokens": 64
}