LLM Model Gateway
(Phase B / OpenAI Compat) 7 APIs · $0.28/1K+OpenAI-compatible routing for Claude, GPT-4o, Gemini & DeepSeek · platform.openai.com/docs
| Method | Endpoint | Description | Paraméterek | Alap / 1K | Átl. token |
|---|---|---|---|---|---|
| POST | /v1/chat/completions | OpenAI-compatible chat completions with model fallback | model, messages[], temperature, max_tokens | $2.00 | ~500 |
| POST | /v1/embeddings | Generate dense vector embeddings for RAG indexing | model, input[], dimensions | $0.10 | ~120 |
| POST | /v1/rerank | Rerank retrieved search snippets before LLM synthesis | query, documents[], top_n | $1.00 | ~220 |
| POST | /v1/moderations | Fast content safety & policy classification check | input | $0.20 | ~90 |
| POST | /v1/tools/json-prune | Strip nested bloat from social API JSON before prompting | payload, keep_fields[], format | $0.20 | ~350 |
| GET | /v1/models | List active routed models with live per-1M token pricing | provider | $0.00 | ~400 |
| GET | /v1/account/usage | Query hard-capped credit consumption by model & key | from_date, to_date | $0.00 | ~280 |