# above.dev: the fastest agentic AI models, one API One OpenAI-compatible endpoint for DeepSeek, GLM, Qwen and MiMo, optimized for the way AI agents actually consume tokens. Upstream cache discounts passed straight through, from $0.0077 per million cached tokens. ## Why cached-token pricing is the headline Agent sessions re-bill the same prompt on every tool call, so 80 to 95% of your bill is cached input. above.dev passes through DeepSeek's 97% cache discount and Fireworks' 10x GLM discount in full, where many aggregator providers charge $0.10 to $0.33 per million cached tokens. Everything is upstream cost plus a flat 10%, on every token class. ## Quick start ```ts const client = new OpenAI({ apiKey: process.env.ABOVE_API_KEY, baseURL: "https://api.above.dev/v1", }); ``` Works with any OpenAI-compatible tool (GitHub Copilot Chat, Cline, OpenCode, Hermes Agent, OpenClaw, Pi and others). Streaming, tool calls and structured output work out of the box. ## Live model catalog | Model | Slug | Input /1M | Cache hit /1M | Output /1M | |---|---|---|---|---| | DeepSeek V4.1 Flash | `deepseek-v4.1-flash` | $0.165 to $0.33 | $0.0033 to $0.0066 | $0.66 to $1.32 | | DeepSeek V4 Pro | `deepseek-v4-pro` | $0.726 to $1.452 | $0.0242 to $0.0484 | $2.178 to $4.356 | | GLM 5.2 | `glm-5.2` | $1.54 | $0.154 | $4.84 | | GLM 5.3 Flash | `glm-5.3-flash` | $0.165 | $0.0319 | $0.55 | | GLM 5.2 Fast | `glm-5.2-fast` | $2.31 | $0.231 | $7.26 | | Qwen 3.8 Max | `qwen3.8-max` | $2.20 | $0.275 | $6.60 | | MiMo V2.6 Pro | `mimo-v2.6-pro` | $0.5077 | $0.0042 | $1.0154 | | MiMo V2.6 Flash | `mimo-v2.6-flash` | $0.1692 | $0.0034 | $0.3385 | | MiMo V2.6 Pro UltraSpeed | `mimo-v2.6-pro-ultraspeed` | $5.0769 | $0.0423 | $10.1538 | Prices are USD per 1M tokens. Where two prices are shown, the model bills off-peak and peak rates: peak is 01:00-04:00 and 06:00-10:00 UTC on weekdays only; weekends (16:00 UTC Friday to 16:00 UTC Sunday) are entirely off-peak. Every response carries its exact cost in the `x-cost-usd` header. ## Get started Buy a credit pack at https://above.dev/pricing ($10, $20 or $50). Checkout creates your account, emails your API key, and opens the dashboard for usage and balance history. - Docs: https://above.dev/docs - Machine-readable overview: https://above.dev/llms.txt - Support: support@above.dev --- # API reference (condensed) Base URL: https://api.above.dev/v1 Auth: `Authorization: Bearer sk-gw-...` ## Endpoints - POST /v1/chat/completions: OpenAI-compatible chat completions, streaming and non-streaming. Supports tools, structured output, temperature/top_p, and the "developer" role (normalized to "system" for all providers). Reasoning controls are forwarded to the upstream: `thinking.type = enabled|disabled` and `reasoning_effort` on DeepSeek, `thinking.type` on MiMo, `reasoning_effort = "none"|"high"|"max"` (or `chat_template_kwargs = {"thinking": false}`) on GLM 5.2 and Qwen. GLM 5.3 Flash is thinking-only: `reasoning_effort = "high"|"max"` selects depth and thinking cannot be disabled. - GET /v1/models: the live catalog for your key, with per-model pricing and capability flags (supports_vision etc.). ## Response headers - x-cost-usd / x-cost-micro: exact cost of the request - x-input-cache-hit-tokens, x-input-cache-miss-tokens, x-input-cache-hit-rate: prompt-cache performance, where the upstream provider reports it ## Limits - 300 requests/minute per key - 8 MB request body - 1,000,000 input tokens per request (on free-tier keys, 500k+ requests are limited to one per 2 minutes) - Error codes: 401 invalid key, 402 insufficient credit, 403 model not allowed for key, 404 unknown model, 413 body too large, 429 rate limited, 503/504 upstream trouble (status passed through with a request_id) ## Billing Pay-as-you-go dollar credits, purchased as packs ($10/$20/$50) via Stripe at https://above.dev/pricing. Billing keys off the requested model slug. Cache-hit input is billed separately and more cheaply wherever the upstream reports it. Streaming requests settle their exact cost when the stream ends, including on client disconnect. ## Why cache pricing dominates agent costs An agent session re-sends the growing conversation on every tool call. After 50 calls the original prompt has been billed roughly 50 times, and on typical coding-agent traffic 80 to 95% of all input tokens are served from the provider's prompt cache. That makes the cache-hit rate, not the headline input price, the number that decides what a session costs. above.dev passes the full upstream cache discount through: DeepSeek's 97% discount (cache hits from $0.0077/M off-peak on V4 Flash) and Fireworks' 10x discount on GLM 5.2 ($0.154/M, where the official API's own rate is $0.26/M). ## Operator Realtime Comms Ltd. Support: support@above.dev. Terms: https://above.dev/terms. Privacy: https://above.dev/privacy.