Solutions

AI API solutions

Straight answers to common AI API buying questions.

Cheap LLM API

The cheapest LLM bill comes from two things: picking the smallest model that does the job, and paying less per token. See how it works, what it costs, and how

OpenAI-compatible API

If your code uses the OpenAI SDK, you can reach Claude, Gemini, DeepSeek and other makers' models through Somnus by changing two settings: the base URL and th

Cheap Claude API — every Claude model at half price

Use the Claude API for less: Somnus credits every top-up at 2× or more, so Claude Haiku 4.5 effectively costs $0.5 / $2.5 per 1M tokens.

Cheap ChatGPT API — every ChatGPT model at half price

Use the ChatGPT API for less: Somnus credits every top-up at 2× or more, so GPT-5.6 Luna effectively costs $0.5 / $3 per 1M tokens.

Cheap Gemini API — every Gemini model at half price

Use the Gemini API for less: Somnus credits every top-up at 2× or more, so Gemini 3.8 Flash effectively costs $0.38 / $1.88 per 1M tokens.

Cheap Grok API — the Grok model at half price

Use the Grok API for less: Somnus credits every top-up at 2× or more, so Grok 4.7 effectively costs $1 / $3 per 1M tokens.

Cheap DeepSeek API — every DeepSeek model at half price

Use the DeepSeek API for less: Somnus credits every top-up at 2× or more, so DeepSeek V4 Flash effectively costs $0.11 / $0.33 per 1M tokens.

Cheap Kimi API — the Kimi model at half price

Use the Kimi API for less: Somnus credits every top-up at 2× or more, so Kimi K3 effectively costs $1.5 / $7.5 per 1M tokens.

Cheap GLM API — the GLM model at half price

Use the GLM API for less: Somnus credits every top-up at 2× or more, so GLM 5.3 effectively costs $0.7 / $2.2 per 1M tokens.

Cheap Qwen API — the Qwen model at half price

Use the Qwen API for less: Somnus credits every top-up at 2× or more, so Qwen 3.8 Max effectively costs $0.83 / $2.48 per 1M tokens.

Cheap MiMo API — the MiMo model at half price

Use the MiMo API for less: Somnus credits every top-up at 2× or more, so MiMo V2.5 Pro effectively costs $0.22 / $0.44 per 1M tokens.

Cheap Claude Fable 5.1 API from $5 / $25

Claude Fable 5.1 by Anthropic lists at $10 / $50 per 1M tokens. With Somnus's 2×+ credit it effectively costs $5 / $25 or less.

Cheap Claude Opus 5.5 API from $2 / $10

Claude Opus 5.5 by Anthropic lists at $4 / $20 per 1M tokens. With Somnus's 2×+ credit it effectively costs $2 / $10 or less.

Cheap Claude Opus 5 API from $2.5 / $12.5

Claude Opus 5 by Anthropic lists at $5 / $25 per 1M tokens. With Somnus's 2×+ credit it effectively costs $2.5 / $12.5 or less.

Cheap Claude Sonnet 5 API from $1 / $5

Claude Sonnet 5 by Anthropic lists at $2 / $10 per 1M tokens. With Somnus's 2×+ credit it effectively costs $1 / $5 or less.

Cheap Claude Haiku 4.5 API from $0.5 / $2.5

Claude Haiku 4.5 by Anthropic lists at $1 / $5 per 1M tokens. With Somnus's 2×+ credit it effectively costs $0.5 / $2.5 or less.

Cheap GPT-6 Astra API from $5 / $25

GPT-6 Astra by OpenAI lists at $10 / $50 per 1M tokens. With Somnus's 2×+ credit it effectively costs $5 / $25 or less.

Cheap GPT-5.6 Sol API from $2.5 / $15

GPT-5.6 Sol by OpenAI lists at $5 / $30 per 1M tokens. With Somnus's 2×+ credit it effectively costs $2.5 / $15 or less.

Cheap GPT-5.6 Luna API from $0.5 / $3

GPT-5.6 Luna by OpenAI lists at $1 / $6 per 1M tokens. With Somnus's 2×+ credit it effectively costs $0.5 / $3 or less.

Cheap Gemini 3.1 Pro API from $1 / $6

Gemini 3.1 Pro by Google lists at $2 / $12 per 1M tokens. With Somnus's 2×+ credit it effectively costs $1 / $6 or less.

Cheap Gemini 3.8 Flash API from $0.38 / $1.88

Gemini 3.8 Flash by Google lists at $0.75 / $3.75 per 1M tokens. With Somnus's 2×+ credit it effectively costs $0.38 / $1.88 or less.

Cheap Grok 4.7 API from $1 / $3

Grok 4.7 by xAI lists at $2 / $6 per 1M tokens. With Somnus's 2×+ credit it effectively costs $1 / $3 or less.

Cheap DeepSeek V4 Pro API from $0.33 / $0.99

DeepSeek V4 Pro by DeepSeek lists at $0.66 / $1.98 per 1M tokens. With Somnus's 2×+ credit it effectively costs $0.33 / $0.99 or less.

Cheap DeepSeek V4 Flash API from $0.11 / $0.33

DeepSeek V4 Flash by DeepSeek lists at $0.22 / $0.66 per 1M tokens. With Somnus's 2×+ credit it effectively costs $0.11 / $0.33 or less.

Cheap Kimi K3 API from $1.5 / $7.5

Kimi K3 by Moonshot lists at $3 / $15 per 1M tokens. With Somnus's 2×+ credit it effectively costs $1.5 / $7.5 or less.

Cheap GLM 5.3 API from $0.7 / $2.2

GLM 5.3 by Zhipu lists at $1.4 / $4.4 per 1M tokens. With Somnus's 2×+ credit it effectively costs $0.7 / $2.2 or less.

Cheap Qwen 3.8 Max API from $0.83 / $2.48

Qwen 3.8 Max by Alibaba lists at $1.65 / $4.95 per 1M tokens. With Somnus's 2×+ credit it effectively costs $0.83 / $2.48 or less.

Cheap MiMo V2.5 Pro API from $0.22 / $0.44

MiMo V2.5 Pro by Xiaomi lists at $0.44 / $0.87 per 1M tokens. With Somnus's 2×+ credit it effectively costs $0.22 / $0.44 or less.

Cheapest AI API | 17 models

Cheapest AI API: 17 models on one key, every top-up credited 2×+. DeepSeek V4 Flash from $0.11 / $0.33 per 1M tokens.

Cheap LLM API | 17 models

Cheap LLM API: 17 models on one key, every top-up credited 2×+. DeepSeek V4 Flash from $0.11 / $0.33 per 1M tokens.

Cheap AI API for coding | 13 models

Cheap AI API for coding: 13 models on one key, every top-up credited 2×+. DeepSeek V4 Flash from $0.11 / $0.33 per 1M tokens.

Cheap reasoning model API | 12 models

Cheap reasoning model API: 12 models on one key, every top-up credited 2×+. GLM 5.3 from $0.7 / $2.2 per 1M tokens.

Cheap Chinese AI model API | 6 models

Cheap Chinese AI model API: 6 models on one key, every top-up credited 2×+. DeepSeek V4 Flash from $0.11 / $0.33 per 1M tokens.

Cheap OpenAI-compatible API | 17 models

Cheap OpenAI-compatible API: 17 models on one key, every top-up credited 2×+. DeepSeek V4 Flash from $0.11 / $0.33 per 1M tokens.

AI API with free credit | 8 models

AI API with free credit: 8 models on one key, every top-up credited 2×+. DeepSeek V4 Flash from $0.11 / $0.33 per 1M tokens.

WindowsStart with $5 free